2019-05-27 06:55:06 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2014-09-30 04:01:47 +00:00
|
|
|
/*
|
|
|
|
* Panasonic MN88473 DVB-T/T2/C demodulator driver
|
|
|
|
*
|
|
|
|
* Copyright (C) 2014 Antti Palosaari <crope@iki.fi>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef MN88473_PRIV_H
|
|
|
|
#define MN88473_PRIV_H
|
|
|
|
|
2017-12-28 18:03:51 +00:00
|
|
|
#include <media/dvb_frontend.h>
|
|
|
|
#include <media/dvb_math.h>
|
2014-09-30 04:01:47 +00:00
|
|
|
#include "mn88473.h"
|
2016-11-13 07:25:54 +00:00
|
|
|
#include <linux/math64.h>
|
2014-09-30 04:01:47 +00:00
|
|
|
#include <linux/firmware.h>
|
2014-10-03 03:28:18 +00:00
|
|
|
#include <linux/regmap.h>
|
2014-09-30 04:01:47 +00:00
|
|
|
|
|
|
|
#define MN88473_FIRMWARE "dvb-demod-mn88473-01.fw"
|
|
|
|
|
|
|
|
struct mn88473_dev {
|
2014-10-03 01:41:26 +00:00
|
|
|
struct i2c_client *client[3];
|
2014-10-03 03:28:18 +00:00
|
|
|
struct regmap *regmap[3];
|
2016-02-04 19:01:51 +00:00
|
|
|
struct dvb_frontend frontend;
|
2014-10-03 01:41:26 +00:00
|
|
|
u16 i2c_wr_max;
|
2016-02-04 19:01:51 +00:00
|
|
|
bool active;
|
|
|
|
u32 clk;
|
2014-09-30 04:01:47 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|