summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/af9033_priv.h
diff options
context:
space:
mode:
authorGianluca Gennari <gennarone@gmail.com>2012-04-02 17:25:14 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-04-09 14:52:34 -0300
commitce1fe3799c0e92b9219ab123002d0383c5c3cc07 (patch)
treecb42b3ae6650197cf3a7f24d3155c5e5d1bed2cd /drivers/media/dvb/frontends/af9033_priv.h
parent728827b8d32319a2989f89b656e2d9fc6d7a3ab3 (diff)
downloadlinux-ce1fe3799c0e92b9219ab123002d0383c5c3cc07.tar.gz
linux-ce1fe3799c0e92b9219ab123002d0383c5c3cc07.tar.xz
linux-ce1fe3799c0e92b9219ab123002d0383c5c3cc07.zip
[media] af9035: add support for the tda18218 tuner
Add basic support for the tda18218 tuner and the AVerMedia A835 devices. Signed-off-by: Gianluca Gennari <gennarone@gmail.com> Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/af9033_priv.h')
-rw-r--r--drivers/media/dvb/frontends/af9033_priv.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/af9033_priv.h b/drivers/media/dvb/frontends/af9033_priv.h
index e6041bc7c2fc..0b783b9ed75e 100644
--- a/drivers/media/dvb/frontends/af9033_priv.h
+++ b/drivers/media/dvb/frontends/af9033_priv.h
@@ -432,5 +432,39 @@ static const struct reg_val tuner_init_mxl5007t[] = {
{ 0x80f1e6, 0x00 },
};
+/* NXP TDA 18218HN tuner init
+ AF9033_TUNER_TDA18218 = 0xa1 */
+static const struct reg_val tuner_init_tda18218[] = {
+ {0x800046, 0xa1},
+ {0x800057, 0x01},
+ {0x800058, 0x01},
+ {0x80005f, 0x00},
+ {0x800060, 0x00},
+ {0x800071, 0x05},
+ {0x800072, 0x02},
+ {0x800074, 0x01},
+ {0x800079, 0x01},
+ {0x800093, 0x00},
+ {0x800094, 0x00},
+ {0x800095, 0x00},
+ {0x800096, 0x00},
+ {0x8000b3, 0x01},
+ {0x8000c3, 0x01},
+ {0x8000c4, 0x00},
+ {0x80f007, 0x00},
+ {0x80f00c, 0x19},
+ {0x80f00d, 0x1a},
+ {0x80f012, 0xda},
+ {0x80f013, 0x00},
+ {0x80f014, 0x00},
+ {0x80f015, 0x02},
+ {0x80f01f, 0x82},
+ {0x80f020, 0x00},
+ {0x80f029, 0x82},
+ {0x80f02a, 0x00},
+ {0x80f077, 0x02},
+ {0x80f1e6, 0x00},
+};
+
#endif /* AF9033_PRIV_H */