summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/mn88472_priv.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2013-11-29 20:19:50 +0100
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-11-14 20:18:19 +0100
commitca25cb54ace0e77fa559f3634380f4ed92c520d1 (patch)
treec2d57a591c9d3cf3e23676c77d23c270709a1a75 /drivers/media/dvb-frontends/mn88472_priv.h
parent[media] dvb-usb-dvbsky: fix i2c adapter for sp2 device (diff)
downloadlinux-ca25cb54ace0e77fa559f3634380f4ed92c520d1.tar.xz
linux-ca25cb54ace0e77fa559f3634380f4ed92c520d1.zip
[media] mn88472: Panasonic MN88472 demod driver (DVB-C only)
Only DVB-C mode is supported, DVB-T and DVB-T2 are not supported. Very much feature reduced version, no signal statistics nor normal chip configuration options. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/mn88472_priv.h')
-rw-r--r--drivers/media/dvb-frontends/mn88472_priv.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/mn88472_priv.h b/drivers/media/dvb-frontends/mn88472_priv.h
new file mode 100644
index 000000000000..ecade84a0cf4
--- /dev/null
+++ b/drivers/media/dvb-frontends/mn88472_priv.h
@@ -0,0 +1,36 @@
+/*
+ * 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"
+#include "mn88472.h"
+#include "dvb_math.h"
+#include <linux/firmware.h>
+#include <linux/i2c-mux.h>
+
+#define MN88472_FIRMWARE "dvb-demod-mn88472-02.fw"
+
+struct mn88472_state {
+ struct i2c_adapter *i2c;
+ const struct mn88472_c_config *cfg;
+ struct dvb_frontend fe;
+ fe_delivery_system_t delivery_system;
+ bool warm; /* FW running */
+};
+
+#endif