Commit 22ef8fc9 authored by Michael Krufky's avatar Michael Krufky Committed by Mauro Carvalho Chehab

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: default avatarMichael Krufky <mkrufky@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent bed6d189
...@@ -855,6 +855,11 @@ static struct tuner_range tuner_thomson_dtt761x_ntsc_ranges[] = { ...@@ -855,6 +855,11 @@ static struct tuner_range tuner_thomson_dtt761x_ntsc_ranges[] = {
{ 16 * 999.99 , 0x8e, 0x3c, }, { 16 * 999.99 , 0x8e, 0x3c, },
}; };
static struct tuner_range tuner_thomson_dtt761x_atsc_ranges[] = {
{ 16 * 147.00 /*MHz*/, 0x8e, 0x39, },
{ 16 * 417.00 /*MHz*/, 0x8e, 0x3a, },
{ 16 * 999.99 , 0x8e, 0x3c, },
};
static struct tuner_params tuner_thomson_dtt761x_params[] = { static struct tuner_params tuner_thomson_dtt761x_params[] = {
{ {
...@@ -865,6 +870,12 @@ static struct tuner_params tuner_thomson_dtt761x_params[] = { ...@@ -865,6 +870,12 @@ static struct tuner_params tuner_thomson_dtt761x_params[] = {
.fm_gain_normal = 1, .fm_gain_normal = 1,
.radio_if = 2, /* 41.3 MHz */ .radio_if = 2, /* 41.3 MHz */
}, },
{
.type = TUNER_PARAM_TYPE_DIGITAL,
.ranges = tuner_thomson_dtt761x_atsc_ranges,
.count = ARRAY_SIZE(tuner_thomson_dtt761x_atsc_ranges),
.iffreq = 16 * 44.00, /*MHz*/
},
}; };
/* ------------ TUNER_TENA_9533_DI - Philips PAL ------------ */ /* ------------ TUNER_TENA_9533_DI - Philips PAL ------------ */
...@@ -1411,6 +1422,9 @@ struct tunertype tuners[] = { ...@@ -1411,6 +1422,9 @@ struct tunertype tuners[] = {
.name = "Thomson DTT 761X (ATSC/NTSC)", .name = "Thomson DTT 761X (ATSC/NTSC)",
.params = tuner_thomson_dtt761x_params, .params = tuner_thomson_dtt761x_params,
.count = ARRAY_SIZE(tuner_thomson_dtt761x_params), .count = ARRAY_SIZE(tuner_thomson_dtt761x_params),
.min = 16 * 57.00,
.max = 16 * 863.00,
.stepsize = 62500,
}, },
[TUNER_TENA_9533_DI] = { /* Philips PAL */ [TUNER_TENA_9533_DI] = { /* Philips PAL */
.name = "Tena TNF9533-D/IF/TNF9533-B/DF", .name = "Tena TNF9533-D/IF/TNF9533-B/DF",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment