2019-05-27 14:55:06 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2013-11-30 03:19:50 +08:00
|
|
|
/*
|
|
|
|
* Panasonic MN88472 DVB-T/T2/C demodulator driver
|
|
|
|
*
|
|
|
|
* Copyright (C) 2013 Antti Palosaari <crope@iki.fi>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef MN88472_PRIV_H
|
|
|
|
#define MN88472_PRIV_H
|
|
|
|
|
2017-12-29 02:03:51 +08:00
|
|
|
#include <media/dvb_frontend.h>
|
|
|
|
#include <media/dvb_math.h>
|
2013-11-30 03:19:50 +08:00
|
|
|
#include "mn88472.h"
|
|
|
|
#include <linux/firmware.h>
|
2014-10-27 10:26:04 +08:00
|
|
|
#include <linux/regmap.h>
|
2013-11-30 03:19:50 +08:00
|
|
|
|
|
|
|
#define MN88472_FIRMWARE "dvb-demod-mn88472-02.fw"
|
|
|
|
|
2014-10-26 09:58:18 +08:00
|
|
|
struct mn88472_dev {
|
2014-10-27 10:01:07 +08:00
|
|
|
struct i2c_client *client[3];
|
2014-10-27 10:26:04 +08:00
|
|
|
struct regmap *regmap[3];
|
2013-11-30 03:19:50 +08:00
|
|
|
struct dvb_frontend fe;
|
2016-05-13 23:19:19 +08:00
|
|
|
u16 i2c_write_max;
|
|
|
|
unsigned int clk;
|
|
|
|
unsigned int active:1;
|
|
|
|
unsigned int ts_mode:1;
|
|
|
|
unsigned int ts_clk:1;
|
2013-11-30 03:19:50 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|