summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-01-27 19:14:05 -0500
committerMichael Krufky <mkrufky@linuxtv.org>2008-01-27 19:14:05 -0500
commit25cb281fec952cd4ec04d53c44558defa4be91bd (patch)
tree1349d3c2bc9f088fce7071dd93569d269998f970 /linux/drivers/media
parent63d1236173763de03a559afb07ab06076b58c94d (diff)
downloadmediapointer-dvb-s2-25cb281fec952cd4ec04d53c44558defa4be91bd.tar.gz
mediapointer-dvb-s2-25cb281fec952cd4ec04d53c44558defa4be91bd.tar.bz2
tuner-simple: enable digital tuning support for LG TDVS-H06xF
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/media')
-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 7eb3c6315..faa1b8181 100644
--- a/linux/drivers/media/video/tuner-types.c
+++ b/linux/drivers/media/video/tuner-types.c
@@ -941,10 +941,11 @@ static struct tuner_range tuner_tua6034_ntsc_ranges[] = {
{ 16 * 999.99 , 0x8e, 0x04 },
};
-#if 0
static struct tuner_range tuner_tua6034_atsc_ranges[] = {
+ { 16 * 165.00 /*MHz*/, 0xce, 0x01 },
+ { 16 * 450.00 /*MHz*/, 0xce, 0x02 },
+ { 16 * 999.99 , 0xce, 0x04 },
};
-#endif
static struct tuner_params tuner_lg_tdvs_h06xf_params[] = {
{
@@ -952,13 +953,12 @@ static struct tuner_params tuner_lg_tdvs_h06xf_params[] = {
.ranges = tuner_tua6034_ntsc_ranges,
.count = ARRAY_SIZE(tuner_tua6034_ntsc_ranges),
},
-#if 0
{
- .type = TUNER_PARAM_TYPE_ATSC,
+ .type = TUNER_PARAM_TYPE_DIGITAL,
.ranges = tuner_tua6034_atsc_ranges,
.count = ARRAY_SIZE(tuner_tua6034_atsc_ranges),
+ .iffreq = 16 * 44.00,
},
-#endif
};
/* ------------ TUNER_YMEC_TVF66T5_B_DFF - Philips PAL ------------ */
@@ -1467,6 +1467,9 @@ struct tunertype tuners[] = {
.name = "LG TDVS-H06xF", /* H061F, H062F & H064F */
.params = tuner_lg_tdvs_h06xf_params,
.count = ARRAY_SIZE(tuner_lg_tdvs_h06xf_params),
+ .min = 16 * 54.00,
+ .max = 16 * 863.00,
+ .stepsize = 62500,
},
[TUNER_YMEC_TVF66T5_B_DFF] = { /* Philips PAL */
.name = "Ymec TVF66T5-B/DFF",