mn88472_priv.h 625 B

12345678910111213141516171819202122232425262728293031
  1. /* SPDX-License-Identifier: GPL-2.0-or-later */
  2. /*
  3. * Panasonic MN88472 DVB-T/T2/C demodulator driver
  4. *
  5. * Copyright (C) 2013 Antti Palosaari <crope@iki.fi>
  6. */
  7. #ifndef MN88472_PRIV_H
  8. #define MN88472_PRIV_H
  9. #include <media/dvb_frontend.h>
  10. #include <media/dvb_math.h>
  11. #include "mn88472.h"
  12. #include <linux/firmware.h>
  13. #include <linux/regmap.h>
  14. #define MN88472_FIRMWARE "dvb-demod-mn88472-02.fw"
  15. struct mn88472_dev {
  16. struct i2c_client *client[3];
  17. struct regmap *regmap[3];
  18. struct dvb_frontend fe;
  19. u16 i2c_write_max;
  20. unsigned int clk;
  21. unsigned int active:1;
  22. unsigned int ts_mode:1;
  23. unsigned int ts_clk:1;
  24. };
  25. #endif