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 8 #ifndef MN88472_PRIV_H 9 #define MN88472_PRIV_H 10 11 #include <media/dvb_frontend.h> 12 #include <media/dvb_math.h> 13 #include "mn88472.h" 14 #include <linux/firmware.h> 15 #include <linux/regmap.h> 16 17 #define MN88472_FIRMWARE "dvb-demod-mn88472-02.fw" 18 19 struct mn88472_dev { 20 struct i2c_client *client[3]; 21 struct regmap *regmap[3]; 22 struct dvb_frontend fe; 23 u16 i2c_write_max; 24 unsigned int clk; 25 unsigned int active:1; 26 unsigned int ts_mode:1; 27 unsigned int ts_clk:1; 28 }; 29 30 #endif 31