2019-05-27 09:55:06 +03:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2013-11-29 23:19:50 +04: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-28 21:03:51 +03:00
|
|
|
#include <media/dvb_frontend.h>
|
|
|
|
#include <media/dvb_math.h>
|
2013-11-29 23:19:50 +04:00
|
|
|
#include "mn88472.h"
|
|
|
|
#include <linux/firmware.h>
|
2014-10-27 05:26:04 +03:00
|
|
|
#include <linux/regmap.h>
|
2013-11-29 23:19:50 +04:00
|
|
|
|
|
|
|
#define MN88472_FIRMWARE "dvb-demod-mn88472-02.fw"
|
|
|
|
|
2014-10-26 04:58:18 +03:00
|
|
|
struct mn88472_dev {
|
2014-10-27 05:01:07 +03:00
|
|
|
struct i2c_client *client[3];
|
2014-10-27 05:26:04 +03:00
|
|
|
struct regmap *regmap[3];
|
2013-11-29 23:19:50 +04:00
|
|
|
struct dvb_frontend fe;
|
2016-05-13 18:19:19 +03:00
|
|
|
u16 i2c_write_max;
|
|
|
|
unsigned int clk;
|
|
|
|
unsigned int active:1;
|
|
|
|
unsigned int ts_mode:1;
|
|
|
|
unsigned int ts_clk:1;
|
2013-11-29 23:19:50 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|