V4L/DVB (7356): tuner-simple: enable digital tuning support for Thomson DTT 7610
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>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
02f5f44484
commit
0db5fd4b06
@@ -773,6 +773,7 @@ static struct tuner_params tuner_philips_fm1256_ih3_params[] = {
|
|||||||
|
|
||||||
/* ------------ TUNER_THOMSON_DTT7610 - THOMSON ATSC ------------ */
|
/* ------------ TUNER_THOMSON_DTT7610 - THOMSON ATSC ------------ */
|
||||||
|
|
||||||
|
/* single range used for both ntsc and atsc */
|
||||||
static struct tuner_range tuner_thomson_dtt7610_ntsc_ranges[] = {
|
static struct tuner_range tuner_thomson_dtt7610_ntsc_ranges[] = {
|
||||||
{ 16 * 157.25 /*MHz*/, 0x8e, 0x39, },
|
{ 16 * 157.25 /*MHz*/, 0x8e, 0x39, },
|
||||||
{ 16 * 454.00 /*MHz*/, 0x8e, 0x3a, },
|
{ 16 * 454.00 /*MHz*/, 0x8e, 0x3a, },
|
||||||
@@ -785,6 +786,12 @@ static struct tuner_params tuner_thomson_dtt7610_params[] = {
|
|||||||
.ranges = tuner_thomson_dtt7610_ntsc_ranges,
|
.ranges = tuner_thomson_dtt7610_ntsc_ranges,
|
||||||
.count = ARRAY_SIZE(tuner_thomson_dtt7610_ntsc_ranges),
|
.count = ARRAY_SIZE(tuner_thomson_dtt7610_ntsc_ranges),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
.type = TUNER_PARAM_TYPE_DIGITAL,
|
||||||
|
.ranges = tuner_thomson_dtt7610_ntsc_ranges,
|
||||||
|
.count = ARRAY_SIZE(tuner_thomson_dtt7610_ntsc_ranges),
|
||||||
|
.iffreq = 16 * 44.00 /*MHz*/,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
/* ------------ TUNER_PHILIPS_FQ1286 - Philips NTSC ------------ */
|
/* ------------ TUNER_PHILIPS_FQ1286 - Philips NTSC ------------ */
|
||||||
@@ -1443,6 +1450,9 @@ struct tunertype tuners[] = {
|
|||||||
.name = "Thomson DTT 7610 (ATSC/NTSC)",
|
.name = "Thomson DTT 7610 (ATSC/NTSC)",
|
||||||
.params = tuner_thomson_dtt7610_params,
|
.params = tuner_thomson_dtt7610_params,
|
||||||
.count = ARRAY_SIZE(tuner_thomson_dtt7610_params),
|
.count = ARRAY_SIZE(tuner_thomson_dtt7610_params),
|
||||||
|
.min = 16 * 44.00,
|
||||||
|
.max = 16 * 958.00,
|
||||||
|
.stepsize = 62500,
|
||||||
},
|
},
|
||||||
[TUNER_PHILIPS_FQ1286] = { /* Philips NTSC */
|
[TUNER_PHILIPS_FQ1286] = { /* Philips NTSC */
|
||||||
.name = "Philips FQ1286",
|
.name = "Philips FQ1286",
|
||||||
|
Reference in New Issue
Block a user