Skip to content

Commit

Permalink
V4L/DVB (3445): LG TALN series: add PAL / SECAM support
Browse files Browse the repository at this point in the history
- added tuner_lg_taln_pal_secam_ranges
- renamed tuner 66 from TUNER_LG_NTSC_TALN_MINI to TUNER_LG_TALN
- updated FlyTV mini Asus Digimatrix with new tuner

Thanks-to: Rickard Osser <ricky@osser.se>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Michael Krufky authored and Linus Torvalds committed Mar 21, 2006
1 parent fd2f267 commit f3629be
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Documentation/video4linux/CARDLIST.tuner
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ tuner=62 - Philips TEA5767HN FM Radio
tuner=63 - Philips FMD1216ME MK3 Hybrid Tuner
tuner=64 - LG TDVS-H062F/TUA6034
tuner=65 - Ymec TVF66T5-B/DFF
tuner=66 - LG NTSC (TALN mini series)
tuner=66 - LG TALN series
tuner=67 - Philips TD1316 Hybrid Tuner
tuner=68 - Philips TUV1236D ATSC/NTSC dual in
tuner=69 - Tena TNF 5335 and similar models
Expand Down
2 changes: 1 addition & 1 deletion drivers/media/video/saa7134/saa7134-cards.c
Original file line number Diff line number Diff line change
Expand Up @@ -2028,7 +2028,7 @@ struct saa7134_board saa7134_boards[] = {
[SAA7134_BOARD_FLYTV_DIGIMATRIX] = {
.name = "FlyTV mini Asus Digimatrix",
.audio_clock = 0x00200000,
.tuner_type = TUNER_LG_NTSC_TALN_MINI,
.tuner_type = TUNER_LG_TALN,
.radio_type = UNSET,
.tuner_addr = ADDR_UNSET,
.radio_addr = ADDR_UNSET,
Expand Down
26 changes: 18 additions & 8 deletions drivers/media/video/tuner-types.c
Original file line number Diff line number Diff line change
Expand Up @@ -903,17 +903,27 @@ static struct tuner_params tuner_ymec_tvf66t5_b_dff_params[] = {

/* ------------ TUNER_LG_NTSC_TALN_MINI - LGINNOTEK NTSC ------------ */

static struct tuner_range tuner_lg_taln_mini_ntsc_ranges[] = {
static struct tuner_range tuner_lg_taln_ntsc_ranges[] = {
{ 16 * 137.25 /*MHz*/, 0x8e, 0x01, },
{ 16 * 373.25 /*MHz*/, 0x8e, 0x02, },
{ 16 * 999.99 , 0x8e, 0x08, },
};

static struct tuner_params tuner_lg_taln_mini_params[] = {
static struct tuner_range tuner_lg_taln_pal_secam_ranges[] = {
{ 16 * 150.00 /*MHz*/, 0x8e, 0x01, },
{ 16 * 425.00 /*MHz*/, 0x8e, 0x02, },
{ 16 * 999.99 , 0x8e, 0x08, },
};

static struct tuner_params tuner_lg_taln_params[] = {
{
.type = TUNER_PARAM_TYPE_NTSC,
.ranges = tuner_lg_taln_mini_ntsc_ranges,
.count = ARRAY_SIZE(tuner_lg_taln_mini_ntsc_ranges),
.ranges = tuner_lg_taln_ntsc_ranges,
.count = ARRAY_SIZE(tuner_lg_taln_ntsc_ranges),
},{
.type = TUNER_PARAM_TYPE_PAL,
.ranges = tuner_lg_taln_pal_secam_ranges,
.count = ARRAY_SIZE(tuner_lg_taln_pal_secam_ranges),
},
};

Expand Down Expand Up @@ -1354,10 +1364,10 @@ struct tunertype tuners[] = {
.params = tuner_ymec_tvf66t5_b_dff_params,
.count = ARRAY_SIZE(tuner_ymec_tvf66t5_b_dff_params),
},
[TUNER_LG_NTSC_TALN_MINI] = { /* LGINNOTEK NTSC */
.name = "LG NTSC (TALN mini series)",
.params = tuner_lg_taln_mini_params,
.count = ARRAY_SIZE(tuner_lg_taln_mini_params),
[TUNER_LG_TALN] = { /* LGINNOTEK NTSC / PAL / SECAM */
.name = "LG TALN series",
.params = tuner_lg_taln_params,
.count = ARRAY_SIZE(tuner_lg_taln_params),
},
[TUNER_PHILIPS_TD1316] = { /* Philips PAL */
.name = "Philips TD1316 Hybrid Tuner",
Expand Down
2 changes: 1 addition & 1 deletion include/media/tuner.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@

#define TUNER_LG_TDVS_H062F 64 /* DViCO FusionHDTV 5 */
#define TUNER_YMEC_TVF66T5_B_DFF 65 /* Acorp Y878F */
#define TUNER_LG_NTSC_TALN_MINI 66
#define TUNER_LG_TALN 66
#define TUNER_PHILIPS_TD1316 67

#define TUNER_PHILIPS_TUV1236D 68 /* ATI HDTV Wonder */
Expand Down

0 comments on commit f3629be

Please sign in to comment.