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 | 22ef8fc945b28398d93a5d362e54915b66eba23f (patch) | |
tree | 7956b7d2bd345ec0ceb5c340886d3320d713532b | |
parent | bed6d189b965974a13c8c13313f9ebce06c12c3c (diff) |
V4L/DVB (7350): tuner-simple: enable digital tuning support for Thomson DTT 761X
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 40cc43e82887..8b53d0d05b23 100644 --- a/drivers/media/video/tuner-types.c +++ b/drivers/media/video/tuner-types.c | |||
@@ -855,6 +855,11 @@ static struct tuner_range tuner_thomson_dtt761x_ntsc_ranges[] = { | |||
855 | { 16 * 999.99 , 0x8e, 0x3c, }, | 855 | { 16 * 999.99 , 0x8e, 0x3c, }, |
856 | }; | 856 | }; |
857 | 857 | ||
858 | static struct tuner_range tuner_thomson_dtt761x_atsc_ranges[] = { | ||
859 | { 16 * 147.00 /*MHz*/, 0x8e, 0x39, }, | ||
860 | { 16 * 417.00 /*MHz*/, 0x8e, 0x3a, }, | ||
861 | { 16 * 999.99 , 0x8e, 0x3c, }, | ||
862 | }; | ||
858 | 863 | ||
859 | static struct tuner_params tuner_thomson_dtt761x_params[] = { | 864 | static struct tuner_params tuner_thomson_dtt761x_params[] = { |
860 | { | 865 | { |
@@ -865,6 +870,12 @@ static struct tuner_params tuner_thomson_dtt761x_params[] = { | |||
865 | .fm_gain_normal = 1, | 870 | .fm_gain_normal = 1, |
866 | .radio_if = 2, /* 41.3 MHz */ | 871 | .radio_if = 2, /* 41.3 MHz */ |
867 | }, | 872 | }, |
873 | { | ||
874 | .type = TUNER_PARAM_TYPE_DIGITAL, | ||
875 | .ranges = tuner_thomson_dtt761x_atsc_ranges, | ||
876 | .count = ARRAY_SIZE(tuner_thomson_dtt761x_atsc_ranges), | ||
877 | .iffreq = 16 * 44.00, /*MHz*/ | ||
878 | }, | ||
868 | }; | 879 | }; |
869 | 880 | ||
870 | /* ------------ TUNER_TENA_9533_DI - Philips PAL ------------ */ | 881 | /* ------------ TUNER_TENA_9533_DI - Philips PAL ------------ */ |
@@ -1411,6 +1422,9 @@ struct tunertype tuners[] = { | |||
1411 | .name = "Thomson DTT 761X (ATSC/NTSC)", | 1422 | .name = "Thomson DTT 761X (ATSC/NTSC)", |
1412 | .params = tuner_thomson_dtt761x_params, | 1423 | .params = tuner_thomson_dtt761x_params, |
1413 | .count = ARRAY_SIZE(tuner_thomson_dtt761x_params), | 1424 | .count = ARRAY_SIZE(tuner_thomson_dtt761x_params), |
1425 | .min = 16 * 57.00, | ||
1426 | .max = 16 * 863.00, | ||
1427 | .stepsize = 62500, | ||
1414 | }, | 1428 | }, |
1415 | [TUNER_TENA_9533_DI] = { /* Philips PAL */ | 1429 | [TUNER_TENA_9533_DI] = { /* Philips PAL */ |
1416 | .name = "Tena TNF9533-D/IF/TNF9533-B/DF", | 1430 | .name = "Tena TNF9533-D/IF/TNF9533-B/DF", |