summaryrefslogtreecommitdiffstats
path: root/drivers/media/tuners/m88ts2022_priv.h
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2013-02-25 08:43:32 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-12-19 09:19:01 -0200
commit695efd010b1328b25462128e48856e87c8df4314 (patch)
tree1016e1af74a2572d36f8e29b0212652142d30a87 /drivers/media/tuners/m88ts2022_priv.h
parent395d00d1ca8947887fd0fbdec4fff90c4da21877 (diff)
downloadop-kernel-dev-695efd010b1328b25462128e48856e87c8df4314.zip
op-kernel-dev-695efd010b1328b25462128e48856e87c8df4314.tar.gz
[media] Montage M88TS2022 silicon tuner driver
M88TS2022 is DVB-S/S2 RF tuner used usually in conjunction with Montage M88DS3103 DVB-S/S2 demodulator. Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/tuners/m88ts2022_priv.h')
-rw-r--r--drivers/media/tuners/m88ts2022_priv.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/drivers/media/tuners/m88ts2022_priv.h b/drivers/media/tuners/m88ts2022_priv.h
new file mode 100644
index 0000000..190299a
--- /dev/null
+++ b/drivers/media/tuners/m88ts2022_priv.h
@@ -0,0 +1,38 @@
+/*
+ * Montage M88TS2022 silicon tuner 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.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#ifndef M88TS2022_PRIV_H
+#define M88TS2022_PRIV_H
+
+#include "m88ts2022.h"
+
+struct m88ts2022_priv {
+ const struct m88ts2022_config *cfg;
+ struct i2c_adapter *i2c;
+ struct dvb_frontend *fe;
+ u32 frequency_khz;
+};
+
+struct m88ts2022_reg_val {
+ u8 reg;
+ u8 val;
+};
+
+#endif
OpenPOWER on IntegriCloud