aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-04-22 13:45:55 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 13:07:50 -0400
commit0db5fd4b063e8ea746c08f8630fd6f64cb511a55 (patch)
tree616d64eb8ccf9c8d55295c26f129008719246d24 /drivers
parent02f5f4448464fea9c19e6b5ff5c67e874c898834 (diff)
V4L/DVB (7356): tuner-simple: enable digital tuning support for Thomson DTT 7610
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.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/media/video/tuner-types.c b/drivers/media/video/tuner-types.c
index 7a8a828bf89b..71cadd84bcdd 100644
--- a/drivers/media/video/tuner-types.c
+++ b/drivers/media/video/tuner-types.c
@@ -773,6 +773,7 @@ static struct tuner_params tuner_philips_fm1256_ih3_params[] = {
773 773
774/* ------------ TUNER_THOMSON_DTT7610 - THOMSON ATSC ------------ */ 774/* ------------ TUNER_THOMSON_DTT7610 - THOMSON ATSC ------------ */
775 775
776/* single range used for both ntsc and atsc */
776static struct tuner_range tuner_thomson_dtt7610_ntsc_ranges[] = { 777static struct tuner_range tuner_thomson_dtt7610_ntsc_ranges[] = {
777 { 16 * 157.25 /*MHz*/, 0x8e, 0x39, }, 778 { 16 * 157.25 /*MHz*/, 0x8e, 0x39, },
778 { 16 * 454.00 /*MHz*/, 0x8e, 0x3a, }, 779 { 16 * 454.00 /*MHz*/, 0x8e, 0x3a, },
@@ -785,6 +786,12 @@ static struct tuner_params tuner_thomson_dtt7610_params[] = {
785 .ranges = tuner_thomson_dtt7610_ntsc_ranges, 786 .ranges = tuner_thomson_dtt7610_ntsc_ranges,
786 .count = ARRAY_SIZE(tuner_thomson_dtt7610_ntsc_ranges), 787 .count = ARRAY_SIZE(tuner_thomson_dtt7610_ntsc_ranges),
787 }, 788 },
789 {
790 .type = TUNER_PARAM_TYPE_DIGITAL,
791 .ranges = tuner_thomson_dtt7610_ntsc_ranges,
792 .count = ARRAY_SIZE(tuner_thomson_dtt7610_ntsc_ranges),
793 .iffreq = 16 * 44.00 /*MHz*/,
794 },
788}; 795};
789 796
790/* ------------ TUNER_PHILIPS_FQ1286 - Philips NTSC ------------ */ 797/* ------------ TUNER_PHILIPS_FQ1286 - Philips NTSC ------------ */
@@ -1443,6 +1450,9 @@ struct tunertype tuners[] = {
1443 .name = "Thomson DTT 7610 (ATSC/NTSC)", 1450 .name = "Thomson DTT 7610 (ATSC/NTSC)",
1444 .params = tuner_thomson_dtt7610_params, 1451 .params = tuner_thomson_dtt7610_params,
1445 .count = ARRAY_SIZE(tuner_thomson_dtt7610_params), 1452 .count = ARRAY_SIZE(tuner_thomson_dtt7610_params),
1453 .min = 16 * 44.00,
1454 .max = 16 * 958.00,
1455 .stepsize = 62500,
1446 }, 1456 },
1447 [TUNER_PHILIPS_FQ1286] = { /* Philips NTSC */ 1457 [TUNER_PHILIPS_FQ1286] = { /* Philips NTSC */
1448 .name = "Philips FQ1286", 1458 .name = "Philips FQ1286",