diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2008-04-22 13:45:56 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 13:07:50 -0400 |
commit | a33b42c6bbe6c5b9067489df9e5650de751b798e (patch) | |
tree | 24b6563a9ffc9877a97daf7722e01bfe4f02da85 /drivers | |
parent | 0db5fd4b063e8ea746c08f8630fd6f64cb511a55 (diff) |
V4L/DVB (7357): tuner-simple: enable digital tuning support for Microtune 4042 FI5
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 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/drivers/media/video/tuner-types.c b/drivers/media/video/tuner-types.c index 71cadd84bcdd..db3320519f8c 100644 --- a/drivers/media/video/tuner-types.c +++ b/drivers/media/video/tuner-types.c | |||
@@ -734,12 +734,24 @@ static struct tuner_range tuner_microtune_4042fi5_ntsc_ranges[] = { | |||
734 | { 16 * 999.99 , 0x8e, 0x31, }, | 734 | { 16 * 999.99 , 0x8e, 0x31, }, |
735 | }; | 735 | }; |
736 | 736 | ||
737 | static struct tuner_range tuner_microtune_4042fi5_atsc_ranges[] = { | ||
738 | { 16 * 162.00 /*MHz*/, 0x8e, 0xa1, }, | ||
739 | { 16 * 457.00 /*MHz*/, 0x8e, 0x91, }, | ||
740 | { 16 * 999.99 , 0x8e, 0x31, }, | ||
741 | }; | ||
742 | |||
737 | static struct tuner_params tuner_microtune_4042fi5_params[] = { | 743 | static struct tuner_params tuner_microtune_4042fi5_params[] = { |
738 | { | 744 | { |
739 | .type = TUNER_PARAM_TYPE_NTSC, | 745 | .type = TUNER_PARAM_TYPE_NTSC, |
740 | .ranges = tuner_microtune_4042fi5_ntsc_ranges, | 746 | .ranges = tuner_microtune_4042fi5_ntsc_ranges, |
741 | .count = ARRAY_SIZE(tuner_microtune_4042fi5_ntsc_ranges), | 747 | .count = ARRAY_SIZE(tuner_microtune_4042fi5_ntsc_ranges), |
742 | }, | 748 | }, |
749 | { | ||
750 | .type = TUNER_PARAM_TYPE_DIGITAL, | ||
751 | .ranges = tuner_microtune_4042fi5_atsc_ranges, | ||
752 | .count = ARRAY_SIZE(tuner_microtune_4042fi5_atsc_ranges), | ||
753 | .iffreq = 16 * 44.00 /*MHz*/, | ||
754 | }, | ||
743 | }; | 755 | }; |
744 | 756 | ||
745 | /* 50-59 */ | 757 | /* 50-59 */ |
@@ -1433,6 +1445,9 @@ struct tunertype tuners[] = { | |||
1433 | .name = "Microtune 4042 FI5 ATSC/NTSC dual in", | 1445 | .name = "Microtune 4042 FI5 ATSC/NTSC dual in", |
1434 | .params = tuner_microtune_4042fi5_params, | 1446 | .params = tuner_microtune_4042fi5_params, |
1435 | .count = ARRAY_SIZE(tuner_microtune_4042fi5_params), | 1447 | .count = ARRAY_SIZE(tuner_microtune_4042fi5_params), |
1448 | .min = 16 * 57.00, | ||
1449 | .max = 16 * 858.00, | ||
1450 | .stepsize = 62500, | ||
1436 | }, | 1451 | }, |
1437 | 1452 | ||
1438 | /* 50-59 */ | 1453 | /* 50-59 */ |