Merge tag 'block-5.11-2021-01-10' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / media / dvb-frontends / mn88472_priv.h
blob337562723f88d12a2b962a2150d288a7eee917b1
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3 * Panasonic MN88472 DVB-T/T2/C demodulator driver
5 * Copyright (C) 2013 Antti Palosaari <crope@iki.fi>
6 */
8 #ifndef MN88472_PRIV_H
9 #define MN88472_PRIV_H
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>
17 #define MN88472_FIRMWARE "dvb-demod-mn88472-02.fw"
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;
30 #endif