Skip to content

Commit

Permalink
V4L/DVB (7353): tuner-simple: enable digital tuning support for Phili…
Browse files Browse the repository at this point in the history
…ps 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: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Apr 24, 2008
1 parent 23a8810 commit dbe3127
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions drivers/media/video/tuner-types.c
Original file line number Diff line number Diff line change
Expand Up @@ -1048,13 +1048,24 @@ static struct tuner_range tuner_tuv1236d_ntsc_ranges[] = {
{ 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[] = {
{
.type = TUNER_PARAM_TYPE_NTSC,
.ranges = 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--------- */
Expand Down Expand Up @@ -1510,6 +1521,9 @@ struct tunertype tuners[] = {
.name = "Philips TUV1236D ATSC/NTSC dual in",
.params = 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 */
.name = "Tena TNF 5335 and similar models",
Expand Down

0 comments on commit dbe3127

Please sign in to comment.