2014-09-29 22:01:47 -06:00
|
|
|
/*
|
|
|
|
* Panasonic MN88473 DVB-T/T2/C demodulator driver
|
|
|
|
*
|
|
|
|
* Copyright (C) 2014 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 MN88473_PRIV_H
|
|
|
|
#define MN88473_PRIV_H
|
|
|
|
|
|
|
|
#include "dvb_frontend.h"
|
|
|
|
#include "mn88473.h"
|
|
|
|
#include <linux/firmware.h>
|
2014-10-02 21:28:18 -06:00
|
|
|
#include <linux/regmap.h>
|
2014-09-29 22:01:47 -06:00
|
|
|
|
|
|
|
#define MN88473_FIRMWARE "dvb-demod-mn88473-01.fw"
|
|
|
|
|
|
|
|
struct mn88473_dev {
|
2014-10-02 19:41:26 -06:00
|
|
|
struct i2c_client *client[3];
|
2014-10-02 21:28:18 -06:00
|
|
|
struct regmap *regmap[3];
|
2014-09-29 22:01:47 -06:00
|
|
|
struct dvb_frontend fe;
|
2014-10-02 19:41:26 -06:00
|
|
|
u16 i2c_wr_max;
|
2015-06-07 11:53:52 -06:00
|
|
|
enum fe_delivery_system delivery_system;
|
2014-09-29 22:01:47 -06:00
|
|
|
bool warm; /* FW running */
|
2015-01-12 16:23:25 -07:00
|
|
|
u32 xtal;
|
2014-09-29 22:01:47 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|