2013-11-30 02:19:50 +07:00
|
|
|
/*
|
|
|
|
* Panasonic MN88472 DVB-T/T2/C demodulator driver
|
|
|
|
*
|
|
|
|
* Copyright (C) 2013 Antti Palosaari <crope@iki.fi>
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef MN88472_PRIV_H
|
|
|
|
#define MN88472_PRIV_H
|
|
|
|
|
|
|
|
#include "dvb_frontend.h"
|
2017-03-17 23:34:44 +07:00
|
|
|
#include "dvb_math.h"
|
2013-11-30 02:19:50 +07:00
|
|
|
#include "mn88472.h"
|
|
|
|
#include <linux/firmware.h>
|
2014-10-27 09:26:04 +07:00
|
|
|
#include <linux/regmap.h>
|
2013-11-30 02:19:50 +07:00
|
|
|
|
|
|
|
#define MN88472_FIRMWARE "dvb-demod-mn88472-02.fw"
|
|
|
|
|
2014-10-26 08:58:18 +07:00
|
|
|
struct mn88472_dev {
|
2014-10-27 09:01:07 +07:00
|
|
|
struct i2c_client *client[3];
|
2014-10-27 09:26:04 +07:00
|
|
|
struct regmap *regmap[3];
|
2013-11-30 02:19:50 +07:00
|
|
|
struct dvb_frontend fe;
|
2016-05-13 22:19:19 +07: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 02:19:50 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|