diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2008-04-22 13:45:52 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 13:07:50 -0400 |
commit | bed6d189b965974a13c8c13313f9ebce06c12c3c (patch) | |
tree | 59b996617471101ad1b6921f20e7c85620bf8fd3 | |
parent | a81df363554fb6439b5eb4ada06ad546a1df5ce3 (diff) |
V4L/DVB (7349): tuner-simple: enable digital tuning support for LG TDVS-H06xF
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>
-rw-r--r-- | drivers/media/video/tuner-types.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/media/video/tuner-types.c b/drivers/media/video/tuner-types.c index 9276ad33d03b..40cc43e82887 100644 --- a/drivers/media/video/tuner-types.c +++ b/drivers/media/video/tuner-types.c | |||
@@ -915,6 +915,11 @@ static struct tuner_range tuner_tua6034_ntsc_ranges[] = { | |||
915 | { 16 * 999.99 , 0x8e, 0x04 }, | 915 | { 16 * 999.99 , 0x8e, 0x04 }, |
916 | }; | 916 | }; |
917 | 917 | ||
918 | static struct tuner_range tuner_tua6034_atsc_ranges[] = { | ||
919 | { 16 * 165.00 /*MHz*/, 0xce, 0x01 }, | ||
920 | { 16 * 450.00 /*MHz*/, 0xce, 0x02 }, | ||
921 | { 16 * 999.99 , 0xce, 0x04 }, | ||
922 | }; | ||
918 | 923 | ||
919 | static struct tuner_params tuner_lg_tdvs_h06xf_params[] = { | 924 | static struct tuner_params tuner_lg_tdvs_h06xf_params[] = { |
920 | { | 925 | { |
@@ -922,6 +927,12 @@ static struct tuner_params tuner_lg_tdvs_h06xf_params[] = { | |||
922 | .ranges = tuner_tua6034_ntsc_ranges, | 927 | .ranges = tuner_tua6034_ntsc_ranges, |
923 | .count = ARRAY_SIZE(tuner_tua6034_ntsc_ranges), | 928 | .count = ARRAY_SIZE(tuner_tua6034_ntsc_ranges), |
924 | }, | 929 | }, |
930 | { | ||
931 | .type = TUNER_PARAM_TYPE_DIGITAL, | ||
932 | .ranges = tuner_tua6034_atsc_ranges, | ||
933 | .count = ARRAY_SIZE(tuner_tua6034_atsc_ranges), | ||
934 | .iffreq = 16 * 44.00, | ||
935 | }, | ||
925 | }; | 936 | }; |
926 | 937 | ||
927 | /* ------------ TUNER_YMEC_TVF66T5_B_DFF - Philips PAL ------------ */ | 938 | /* ------------ TUNER_YMEC_TVF66T5_B_DFF - Philips PAL ------------ */ |
@@ -1419,6 +1430,9 @@ struct tunertype tuners[] = { | |||
1419 | .name = "LG TDVS-H06xF", /* H061F, H062F & H064F */ | 1430 | .name = "LG TDVS-H06xF", /* H061F, H062F & H064F */ |
1420 | .params = tuner_lg_tdvs_h06xf_params, | 1431 | .params = tuner_lg_tdvs_h06xf_params, |
1421 | .count = ARRAY_SIZE(tuner_lg_tdvs_h06xf_params), | 1432 | .count = ARRAY_SIZE(tuner_lg_tdvs_h06xf_params), |
1433 | .min = 16 * 54.00, | ||
1434 | .max = 16 * 863.00, | ||
1435 | .stepsize = 62500, | ||
1422 | }, | 1436 | }, |
1423 | [TUNER_YMEC_TVF66T5_B_DFF] = { /* Philips PAL */ | 1437 | [TUNER_YMEC_TVF66T5_B_DFF] = { /* Philips PAL */ |
1424 | .name = "Ymec TVF66T5-B/DFF", | 1438 | .name = "Ymec TVF66T5-B/DFF", |