diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2008-04-22 13:45:55 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 13:07:50 -0400 |
commit | f4173d0f75e55091d8b52145005bee11bc26c046 (patch) | |
tree | 83b8ad18d7c47be0cb822eca319264abdf54f32d /drivers | |
parent | dbe3127d72b42a81749efb48aa315bbacfbf89b8 (diff) |
V4L/DVB (7354): tuner-simple: enable digital tuning support for Philips FCV1236D
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.c | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/drivers/media/video/tuner-types.c b/drivers/media/video/tuner-types.c index e61fc37a03d9..7a8a828bf89b 100644 --- a/drivers/media/video/tuner-types.c +++ b/drivers/media/video/tuner-types.c | |||
@@ -617,17 +617,29 @@ static struct tuner_params tuner_philips_pal_mk_params[] = { | |||
617 | 617 | ||
618 | /* ---- TUNER_PHILIPS_ATSC - Philips FCV1236D (ATSC/NTSC) ---- */ | 618 | /* ---- TUNER_PHILIPS_ATSC - Philips FCV1236D (ATSC/NTSC) ---- */ |
619 | 619 | ||
620 | static struct tuner_range tuner_philips_fcv1236d_ranges[] = { | 620 | static struct tuner_range tuner_philips_fcv1236d_ntsc_ranges[] = { |
621 | { 16 * 157.25 /*MHz*/, 0x8e, 0xa0, }, | 621 | { 16 * 157.25 /*MHz*/, 0x8e, 0xa2, }, |
622 | { 16 * 451.25 /*MHz*/, 0x8e, 0x90, }, | 622 | { 16 * 451.25 /*MHz*/, 0x8e, 0x92, }, |
623 | { 16 * 999.99 , 0x8e, 0x32, }, | ||
624 | }; | ||
625 | |||
626 | static struct tuner_range tuner_philips_fcv1236d_atsc_ranges[] = { | ||
627 | { 16 * 159.00 /*MHz*/, 0x8e, 0xa0, }, | ||
628 | { 16 * 453.00 /*MHz*/, 0x8e, 0x90, }, | ||
623 | { 16 * 999.99 , 0x8e, 0x30, }, | 629 | { 16 * 999.99 , 0x8e, 0x30, }, |
624 | }; | 630 | }; |
625 | 631 | ||
626 | static struct tuner_params tuner_philips_fcv1236d_params[] = { | 632 | static struct tuner_params tuner_philips_fcv1236d_params[] = { |
627 | { | 633 | { |
628 | .type = TUNER_PARAM_TYPE_NTSC, | 634 | .type = TUNER_PARAM_TYPE_NTSC, |
629 | .ranges = tuner_philips_fcv1236d_ranges, | 635 | .ranges = tuner_philips_fcv1236d_ntsc_ranges, |
630 | .count = ARRAY_SIZE(tuner_philips_fcv1236d_ranges), | 636 | .count = ARRAY_SIZE(tuner_philips_fcv1236d_ntsc_ranges), |
637 | }, | ||
638 | { | ||
639 | .type = TUNER_PARAM_TYPE_DIGITAL, | ||
640 | .ranges = tuner_philips_fcv1236d_atsc_ranges, | ||
641 | .count = ARRAY_SIZE(tuner_philips_fcv1236d_atsc_ranges), | ||
642 | .iffreq = 16 * 44.00, | ||
631 | }, | 643 | }, |
632 | }; | 644 | }; |
633 | 645 | ||
@@ -1376,6 +1388,9 @@ struct tunertype tuners[] = { | |||
1376 | .name = "Philips FCV1236D ATSC/NTSC dual in", | 1388 | .name = "Philips FCV1236D ATSC/NTSC dual in", |
1377 | .params = tuner_philips_fcv1236d_params, | 1389 | .params = tuner_philips_fcv1236d_params, |
1378 | .count = ARRAY_SIZE(tuner_philips_fcv1236d_params), | 1390 | .count = ARRAY_SIZE(tuner_philips_fcv1236d_params), |
1391 | .min = 16 * 53.00, | ||
1392 | .max = 16 * 803.00, | ||
1393 | .stepsize = 62500, | ||
1379 | }, | 1394 | }, |
1380 | [TUNER_PHILIPS_FM1236_MK3] = { /* Philips NTSC */ | 1395 | [TUNER_PHILIPS_FM1236_MK3] = { /* Philips NTSC */ |
1381 | .name = "Philips NTSC MK3 (FM1236MK3 or FM1236/F)", | 1396 | .name = "Philips NTSC MK3 (FM1236MK3 or FM1236/F)", |