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 | 26cd8972fb5cf673489005bf9b7d16e6f273422b (patch) | |
tree | 06b059c8da28562c4fada92e4c0f858d36d6e74b /drivers | |
parent | 0e5d383b0aca78c70c46b378f6b0e9d03a28c1af (diff) |
V4L/DVB (7359): tuner-simple: enable digital tuning support for Thomson FE6600
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 | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/drivers/media/video/tuner-types.c b/drivers/media/video/tuner-types.c index afb88ff7db50..ad16bc25197a 100644 --- a/drivers/media/video/tuner-types.c +++ b/drivers/media/video/tuner-types.c | |||
@@ -1168,17 +1168,30 @@ static struct tuner_params tuner_samsung_tcpn_2121p30a_params[] = { | |||
1168 | 1168 | ||
1169 | /* ------------ TUNER_THOMSON_FE6600 - DViCO Hybrid PAL ------------ */ | 1169 | /* ------------ TUNER_THOMSON_FE6600 - DViCO Hybrid PAL ------------ */ |
1170 | 1170 | ||
1171 | static struct tuner_range tuner_thomson_fe6600_ranges[] = { | 1171 | static struct tuner_range tuner_thomson_fe6600_pal_ranges[] = { |
1172 | { 16 * 160.00 /*MHz*/, 0xfe, 0x11, }, | 1172 | { 16 * 160.00 /*MHz*/, 0xfe, 0x11, }, |
1173 | { 16 * 442.00 /*MHz*/, 0xf6, 0x12, }, | 1173 | { 16 * 442.00 /*MHz*/, 0xf6, 0x12, }, |
1174 | { 16 * 999.99 , 0xf6, 0x18, }, | 1174 | { 16 * 999.99 , 0xf6, 0x18, }, |
1175 | }; | 1175 | }; |
1176 | 1176 | ||
1177 | static struct tuner_range tuner_thomson_fe6600_dvb_ranges[] = { | ||
1178 | { 16 * 250.00 /*MHz*/, 0xb4, 0x12, }, | ||
1179 | { 16 * 455.00 /*MHz*/, 0xfe, 0x11, }, | ||
1180 | { 16 * 775.50 /*MHz*/, 0xbc, 0x18, }, | ||
1181 | { 16 * 999.99 , 0xf4, 0x18, }, | ||
1182 | }; | ||
1183 | |||
1177 | static struct tuner_params tuner_thomson_fe6600_params[] = { | 1184 | static struct tuner_params tuner_thomson_fe6600_params[] = { |
1178 | { | 1185 | { |
1179 | .type = TUNER_PARAM_TYPE_PAL, | 1186 | .type = TUNER_PARAM_TYPE_PAL, |
1180 | .ranges = tuner_thomson_fe6600_ranges, | 1187 | .ranges = tuner_thomson_fe6600_pal_ranges, |
1181 | .count = ARRAY_SIZE(tuner_thomson_fe6600_ranges), | 1188 | .count = ARRAY_SIZE(tuner_thomson_fe6600_pal_ranges), |
1189 | }, | ||
1190 | { | ||
1191 | .type = TUNER_PARAM_TYPE_DIGITAL, | ||
1192 | .ranges = tuner_thomson_fe6600_dvb_ranges, | ||
1193 | .count = ARRAY_SIZE(tuner_thomson_fe6600_dvb_ranges), | ||
1194 | .iffreq = 16 * 36.125 /*MHz*/, | ||
1182 | }, | 1195 | }, |
1183 | }; | 1196 | }; |
1184 | 1197 | ||
@@ -1606,6 +1619,9 @@ struct tunertype tuners[] = { | |||
1606 | .name = "Thomson FE6600", | 1619 | .name = "Thomson FE6600", |
1607 | .params = tuner_thomson_fe6600_params, | 1620 | .params = tuner_thomson_fe6600_params, |
1608 | .count = ARRAY_SIZE(tuner_thomson_fe6600_params), | 1621 | .count = ARRAY_SIZE(tuner_thomson_fe6600_params), |
1622 | .min = 16 * 44.25, | ||
1623 | .max = 16 * 858.00, | ||
1624 | .stepsize = 166667, | ||
1609 | }, | 1625 | }, |
1610 | [TUNER_SAMSUNG_TCPG_6121P30A] = { /* Samsung PAL */ | 1626 | [TUNER_SAMSUNG_TCPG_6121P30A] = { /* Samsung PAL */ |
1611 | .name = "Samsung TCPG 6121P30A", | 1627 | .name = "Samsung TCPG 6121P30A", |