xref: /linux/drivers/media/dvb-frontends/mn88473_priv.h (revision 249ebf3f65f8530beb2cbfb91bff1d83ba88d23c)
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 
8 #ifndef MN88473_PRIV_H
9 #define MN88473_PRIV_H
10 
11 #include <media/dvb_frontend.h>
12 #include <linux/int_log.h>
13 #include "mn88473.h"
14 #include <linux/math64.h>
15 #include <linux/firmware.h>
16 #include <linux/regmap.h>
17 
18 #define MN88473_FIRMWARE "dvb-demod-mn88473-01.fw"
19 
20 struct mn88473_dev {
21 	struct i2c_client *client[3];
22 	struct regmap *regmap[3];
23 	struct dvb_frontend frontend;
24 	u16 i2c_wr_max;
25 	bool active;
26 	u32 clk;
27 };
28 
29 #endif
30