aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-04-22 13:45:54 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 13:07:50 -0400
commitdbe3127d72b42a81749efb48aa315bbacfbf89b8 (patch)
treeba9e086ce9dd462467debdd6fe4a77eb88180f60 /drivers
parent23a88108cf6d5fa8073a3b2af804fff7305e86e3 (diff)
V4L/DVB (7353): tuner-simple: enable digital tuning support for Philips TUV1236D
Enable digital tuning support within tuner-simple. This will allow for a single tuner module to manage the hardware, without having dvb-pll loaded. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/tuner-types.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/media/video/tuner-types.c b/drivers/media/video/tuner-types.c
index f2e6630731bf..e61fc37a03d9 100644
--- a/drivers/media/video/tuner-types.c
+++ b/drivers/media/video/tuner-types.c
@@ -1048,6 +1048,11 @@ static struct tuner_range tuner_tuv1236d_ntsc_ranges[] = {
1048 { 16 * 999.99 , 0xce, 0x04, }, 1048 { 16 * 999.99 , 0xce, 0x04, },
1049}; 1049};
1050 1050
1051static struct tuner_range tuner_tuv1236d_atsc_ranges[] = {
1052 { 16 * 157.25 /*MHz*/, 0xc6, 0x41, },
1053 { 16 * 454.00 /*MHz*/, 0xc6, 0x42, },
1054 { 16 * 999.99 , 0xc6, 0x44, },
1055};
1051 1056
1052static struct tuner_params tuner_tuv1236d_params[] = { 1057static struct tuner_params tuner_tuv1236d_params[] = {
1053 { 1058 {
@@ -1055,6 +1060,12 @@ static struct tuner_params tuner_tuv1236d_params[] = {
1055 .ranges = tuner_tuv1236d_ntsc_ranges, 1060 .ranges = tuner_tuv1236d_ntsc_ranges,
1056 .count = ARRAY_SIZE(tuner_tuv1236d_ntsc_ranges), 1061 .count = ARRAY_SIZE(tuner_tuv1236d_ntsc_ranges),
1057 }, 1062 },
1063 {
1064 .type = TUNER_PARAM_TYPE_DIGITAL,
1065 .ranges = tuner_tuv1236d_atsc_ranges,
1066 .count = ARRAY_SIZE(tuner_tuv1236d_atsc_ranges),
1067 .iffreq = 16 * 44.00,
1068 },
1058}; 1069};
1059 1070
1060/* ------------ TUNER_TNF_xxx5 - Texas Instruments--------- */ 1071/* ------------ TUNER_TNF_xxx5 - Texas Instruments--------- */
@@ -1510,6 +1521,9 @@ struct tunertype tuners[] = {
1510 .name = "Philips TUV1236D ATSC/NTSC dual in", 1521 .name = "Philips TUV1236D ATSC/NTSC dual in",
1511 .params = tuner_tuv1236d_params, 1522 .params = tuner_tuv1236d_params,
1512 .count = ARRAY_SIZE(tuner_tuv1236d_params), 1523 .count = ARRAY_SIZE(tuner_tuv1236d_params),
1524 .min = 16 * 54.00,
1525 .max = 16 * 864.00,
1526 .stepsize = 62500,
1513 }, 1527 },
1514 [TUNER_TNF_5335MF] = { /* Tenna PAL/NTSC */ 1528 [TUNER_TNF_5335MF] = { /* Tenna PAL/NTSC */
1515 .name = "Tena TNF 5335 and similar models", 1529 .name = "Tena TNF 5335 and similar models",