summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/it913x-fe.h
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2011-11-28 22:04:21 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-12-11 11:13:27 +0100
commit990f49af3f564b9a0f572e06f22e2ae34c79c37d (patch)
tree87858d195c1cb942dd2269f0cc46d79fe6f3b205 /drivers/media/dvb/frontends/it913x-fe.h
parent[media] saa7164: fix endian conversion in saa7164_bus_set() (diff)
downloadlinux-990f49af3f564b9a0f572e06f22e2ae34c79c37d.tar.xz
linux-990f49af3f564b9a0f572e06f22e2ae34c79c37d.zip
[media] it913x: support for different tuner regs
There appears to be differences in the tuner registers on earlier IT9135 devices. Using the current IT9137 settings cause corruptions on some channels This patch is in preparation for multi firmware loading and current unsupported types. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/it913x-fe.h')
-rw-r--r--drivers/media/dvb/frontends/it913x-fe.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/it913x-fe.h b/drivers/media/dvb/frontends/it913x-fe.h
index 43f879a053c9..4143ef9c4fab 100644
--- a/drivers/media/dvb/frontends/it913x-fe.h
+++ b/drivers/media/dvb/frontends/it913x-fe.h
@@ -28,6 +28,8 @@ struct ite_config {
u8 chip_ver;
u16 chip_type;
u32 firmware;
+ u8 firmware_ver;
+ u8 adc_x2;
u8 tuner_id_0;
u8 tuner_id_1;
u8 dual_mode;
@@ -211,4 +213,11 @@ enum {
WRITE_CMD,
};
+enum {
+ IT9135_AUTO = 0,
+ IT9137_FW,
+ IT9135_V1_FW,
+ IT9135_V2_FW,
+};
+
#endif /* IT913X_FE_H */