summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-02-03 14:57:29 -0500
committerMichael Krufky <mkrufky@linuxtv.org>2008-02-03 14:57:29 -0500
commitdeb8dba41edf2a1bf079395f06f8fc8782f83b79 (patch)
tree8bffb4dc28b081b06681d487ce19ebe0ffbaa29e /linux/drivers
parent2657086110540fc8cdf1b8a697efffa612bb1558 (diff)
downloadmediapointer-dvb-s2-deb8dba41edf2a1bf079395f06f8fc8782f83b79.tar.gz
mediapointer-dvb-s2-deb8dba41edf2a1bf079395f06f8fc8782f83b79.tar.bz2
tuner-simple: enable digital tuning support for Philips TUV1236D
From: Michael Krufky <mkrufky@linuxtv.org> 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>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/video/tuner-types.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/linux/drivers/media/video/tuner-types.c b/linux/drivers/media/video/tuner-types.c
index 0ea7b791c..734f58fae 100644
--- a/linux/drivers/media/video/tuner-types.c
+++ b/linux/drivers/media/video/tuner-types.c
@@ -1049,10 +1049,11 @@ static struct tuner_range tuner_tuv1236d_ntsc_ranges[] = {
{ 16 * 999.99 , 0xce, 0x04, },
};
-#if 0
static struct tuner_range tuner_tuv1236d_atsc_ranges[] = {
+ { 16 * 157.25 /*MHz*/, 0xc6, 0x41, },
+ { 16 * 454.00 /*MHz*/, 0xc6, 0x42, },
+ { 16 * 999.99 , 0xc6, 0x44, },
};
-#endif
static struct tuner_params tuner_tuv1236d_params[] = {
{
@@ -1060,13 +1061,12 @@ static struct tuner_params tuner_tuv1236d_params[] = {
.ranges = tuner_tuv1236d_ntsc_ranges,
.count = ARRAY_SIZE(tuner_tuv1236d_ntsc_ranges),
},
-#if 0
{
- .type = TUNER_PARAM_TYPE_ATSC,
+ .type = TUNER_PARAM_TYPE_DIGITAL,
.ranges = tuner_tuv1236d_atsc_ranges,
.count = ARRAY_SIZE(tuner_tuv1236d_atsc_ranges),
+ .iffreq = 16 * 44.00,
},
-#endif
};
/* ------------ TUNER_TNF_xxx5 - Texas Instruments--------- */
@@ -1522,6 +1522,9 @@ struct tunertype tuners[] = {
.name = "Philips TUV1236D ATSC/NTSC dual in",
.params = tuner_tuv1236d_params,
.count = ARRAY_SIZE(tuner_tuv1236d_params),
+ .min = 16 * 54.00,
+ .max = 16 * 864.00,
+ .stepsize = 62500,
},
[TUNER_TNF_5335MF] = { /* Tenna PAL/NTSC */
.name = "Tena TNF 5335 and similar models",