mn88473_priv.h 586 B

123456789101112131415161718192021222324252627282930
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. * Panasonic MN88473 DVB-T/T2/C demodulator driver
  4. *
  5. * Copyright (C) 2014 Antti Palosaari <crope@iki.fi>
  6. */
  7. #ifndef MN88473_PRIV_H
  8. #define MN88473_PRIV_H
  9. #include <media/dvb_frontend.h>
  10. #include <media/dvb_math.h>
  11. #include "mn88473.h"
  12. #include <linux/math64.h>
  13. #include <linux/firmware.h>
  14. #include <linux/regmap.h>
  15. #define MN88473_FIRMWARE "dvb-demod-mn88473-01.fw"
  16. struct mn88473_dev {
  17. struct i2c_client *client[3];
  18. struct regmap *regmap[3];
  19. struct dvb_frontend frontend;
  20. u16 i2c_wr_max;
  21. bool active;
  22. u32 clk;
  23. };
  24. #endif