summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tuner-types.c
diff options
context:
space:
mode:
authorHans Verkuil2006-04-19 23:50:35 +0200
committerMauro Carvalho Chehab2006-06-25 06:58:14 +0200
commitc344933af5a8610d71bd0d92fe43a1519ed72ed8 (patch)
treed82bcdd85c83a2f8483c35b88dd813b6642c8fbb /drivers/media/video/tuner-types.c
parentV4L/DVB (3811): Cxusb: lgh064f: set auxiliary byte in pll_set (diff)
downloadkernel-qcow2-linux-c344933af5a8610d71bd0d92fe43a1519ed72ed8.tar.gz
kernel-qcow2-linux-c344933af5a8610d71bd0d92fe43a1519ed72ed8.tar.xz
kernel-qcow2-linux-c344933af5a8610d71bd0d92fe43a1519ed72ed8.zip
V4L/DVB (3814): Add support for Samsung TCPG 6121P30A PAL tuner.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/tuner-types.c')
-rw-r--r--drivers/media/video/tuner-types.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/media/video/tuner-types.c b/drivers/media/video/tuner-types.c
index a1ae036b44ec..79410566030f 100644
--- a/drivers/media/video/tuner-types.c
+++ b/drivers/media/video/tuner-types.c
@@ -1024,6 +1024,22 @@ static struct tuner_params tuner_thomson_fe6600_params[] = {
},
};
+/* ------------ TUNER_SAMSUNG_TCPG_6121P30A - Samsung PAL ------------ */
+
+static struct tuner_range tuner_samsung_tcpg_6121p30a_pal_ranges[] = {
+ { 16 * 146.25 /*MHz*/, 0xce, 0x01, },
+ { 16 * 428.50 /*MHz*/, 0xce, 0x02, },
+ { 16 * 999.99 , 0xce, 0x08, },
+};
+
+static struct tuner_params tuner_samsung_tcpg_6121p30a_params[] = {
+ {
+ .type = TUNER_PARAM_TYPE_PAL,
+ .ranges = tuner_samsung_tcpg_6121p30a_pal_ranges,
+ .count = ARRAY_SIZE(tuner_samsung_tcpg_6121p30a_pal_ranges),
+ },
+};
+
/* --------------------------------------------------------------------- */
struct tunertype tuners[] = {
@@ -1400,6 +1416,11 @@ struct tunertype tuners[] = {
.params = tuner_thomson_fe6600_params,
.count = ARRAY_SIZE(tuner_thomson_fe6600_params),
},
+ [TUNER_SAMSUNG_TCPG_6121P30A] = { /* Samsung PAL */
+ .name = "Samsung TCPG 6121P30A",
+ .params = tuner_samsung_tcpg_6121p30a_params,
+ .count = ARRAY_SIZE(tuner_samsung_tcpg_6121p30a_params),
+ },
};
unsigned const int tuner_count = ARRAY_SIZE(tuners);