Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  * Panasonic MN88473 DVB-T/T2/C demodulator driver
0004  *
0005  * Copyright (C) 2014 Antti Palosaari <crope@iki.fi>
0006  */
0007 
0008 #ifndef MN88473_PRIV_H
0009 #define MN88473_PRIV_H
0010 
0011 #include <media/dvb_frontend.h>
0012 #include <media/dvb_math.h>
0013 #include "mn88473.h"
0014 #include <linux/math64.h>
0015 #include <linux/firmware.h>
0016 #include <linux/regmap.h>
0017 
0018 #define MN88473_FIRMWARE "dvb-demod-mn88473-01.fw"
0019 
0020 struct mn88473_dev {
0021     struct i2c_client *client[3];
0022     struct regmap *regmap[3];
0023     struct dvb_frontend frontend;
0024     u16 i2c_wr_max;
0025     bool active;
0026     u32 clk;
0027 };
0028 
0029 #endif