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

V4L/DVB (7353): tuner-simple: enable digital tuning support for Philips TUV1236D

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 23a88108
...@@ -1048,6 +1048,11 @@ static struct tuner_range tuner_tuv1236d_ntsc_ranges[] = { ...@@ -1048,6 +1048,11 @@ static struct tuner_range tuner_tuv1236d_ntsc_ranges[] = {
{ 16 * 999.99 , 0xce, 0x04, }, { 16 * 999.99 , 0xce, 0x04, },
}; };
static struct tuner_range tuner_tuv1236d_atsc_ranges[] = {
{ 16 * 157.25 /*MHz*/, 0xc6, 0x41, },
{ 16 * 454.00 /*MHz*/, 0xc6, 0x42, },
{ 16 * 999.99 , 0xc6, 0x44, },
};
static struct tuner_params tuner_tuv1236d_params[] = { static struct tuner_params tuner_tuv1236d_params[] = {
{ {
...@@ -1055,6 +1060,12 @@ static struct tuner_params tuner_tuv1236d_params[] = { ...@@ -1055,6 +1060,12 @@ static struct tuner_params tuner_tuv1236d_params[] = {
.ranges = tuner_tuv1236d_ntsc_ranges, .ranges = tuner_tuv1236d_ntsc_ranges,
.count = ARRAY_SIZE(tuner_tuv1236d_ntsc_ranges), .count = ARRAY_SIZE(tuner_tuv1236d_ntsc_ranges),
}, },
{
.type = TUNER_PARAM_TYPE_DIGITAL,
.ranges = tuner_tuv1236d_atsc_ranges,
.count = ARRAY_SIZE(tuner_tuv1236d_atsc_ranges),
.iffreq = 16 * 44.00,
},
}; };
/* ------------ TUNER_TNF_xxx5 - Texas Instruments--------- */ /* ------------ TUNER_TNF_xxx5 - Texas Instruments--------- */
...@@ -1510,6 +1521,9 @@ struct tunertype tuners[] = { ...@@ -1510,6 +1521,9 @@ struct tunertype tuners[] = {
.name = "Philips TUV1236D ATSC/NTSC dual in", .name = "Philips TUV1236D ATSC/NTSC dual in",
.params = tuner_tuv1236d_params, .params = tuner_tuv1236d_params,
.count = ARRAY_SIZE(tuner_tuv1236d_params), .count = ARRAY_SIZE(tuner_tuv1236d_params),
.min = 16 * 54.00,
.max = 16 * 864.00,
.stepsize = 62500,
}, },
[TUNER_TNF_5335MF] = { /* Tenna PAL/NTSC */ [TUNER_TNF_5335MF] = { /* Tenna PAL/NTSC */
.name = "Tena TNF 5335 and similar models", .name = "Tena TNF 5335 and similar models",
......
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