Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f3629be8 authored by Michael Krufky's avatar Michael Krufky Committed by Linus Torvalds
Browse files

V4L/DVB (3445): LG TALN series: add PAL / SECAM support



- 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: default avatarMichael Krufky <mkrufky@linuxtv.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent fd2f2677
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -64,7 +64,7 @@ tuner=62 - Philips TEA5767HN FM Radio
tuner=63 - Philips FMD1216ME MK3 Hybrid Tuner
tuner=63 - Philips FMD1216ME MK3 Hybrid Tuner
tuner=64 - LG TDVS-H062F/TUA6034
tuner=64 - LG TDVS-H062F/TUA6034
tuner=65 - Ymec TVF66T5-B/DFF
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=67 - Philips TD1316 Hybrid Tuner
tuner=68 - Philips TUV1236D ATSC/NTSC dual in
tuner=68 - Philips TUV1236D ATSC/NTSC dual in
tuner=69 - Tena TNF 5335 and similar models
tuner=69 - Tena TNF 5335 and similar models
+1 −1
Original line number Original line Diff line number Diff line
@@ -2028,7 +2028,7 @@ struct saa7134_board saa7134_boards[] = {
	[SAA7134_BOARD_FLYTV_DIGIMATRIX] = {
	[SAA7134_BOARD_FLYTV_DIGIMATRIX] = {
		.name		= "FlyTV mini Asus Digimatrix",
		.name		= "FlyTV mini Asus Digimatrix",
		.audio_clock	= 0x00200000,
		.audio_clock	= 0x00200000,
		.tuner_type	= TUNER_LG_NTSC_TALN_MINI,
		.tuner_type	= TUNER_LG_TALN,
		.radio_type     = UNSET,
		.radio_type     = UNSET,
		.tuner_addr	= ADDR_UNSET,
		.tuner_addr	= ADDR_UNSET,
		.radio_addr	= ADDR_UNSET,
		.radio_addr	= ADDR_UNSET,
+18 −8
Original line number Original line Diff line number Diff line
@@ -903,17 +903,27 @@ static struct tuner_params tuner_ymec_tvf66t5_b_dff_params[] = {


/* ------------ TUNER_LG_NTSC_TALN_MINI - LGINNOTEK NTSC ------------ */
/* ------------ 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 * 137.25 /*MHz*/, 0x8e, 0x01, },
	{ 16 * 373.25 /*MHz*/, 0x8e, 0x02, },
	{ 16 * 373.25 /*MHz*/, 0x8e, 0x02, },
	{ 16 * 999.99        , 0x8e, 0x08, },
	{ 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,
		.type   = TUNER_PARAM_TYPE_NTSC,
		.ranges = tuner_lg_taln_mini_ntsc_ranges,
		.ranges = tuner_lg_taln_ntsc_ranges,
		.count  = ARRAY_SIZE(tuner_lg_taln_mini_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),
	},
	},
};
};


@@ -1354,10 +1364,10 @@ struct tunertype tuners[] = {
		.params = tuner_ymec_tvf66t5_b_dff_params,
		.params = tuner_ymec_tvf66t5_b_dff_params,
		.count  = ARRAY_SIZE(tuner_ymec_tvf66t5_b_dff_params),
		.count  = ARRAY_SIZE(tuner_ymec_tvf66t5_b_dff_params),
	},
	},
	[TUNER_LG_NTSC_TALN_MINI] = { /* LGINNOTEK NTSC */
	[TUNER_LG_TALN] = { /* LGINNOTEK NTSC / PAL / SECAM */
		.name   = "LG NTSC (TALN mini series)",
		.name   = "LG TALN series",
		.params = tuner_lg_taln_mini_params,
		.params = tuner_lg_taln_params,
		.count  = ARRAY_SIZE(tuner_lg_taln_mini_params),
		.count  = ARRAY_SIZE(tuner_lg_taln_params),
	},
	},
	[TUNER_PHILIPS_TD1316] = { /* Philips PAL */
	[TUNER_PHILIPS_TD1316] = { /* Philips PAL */
		.name   = "Philips TD1316 Hybrid Tuner",
		.name   = "Philips TD1316 Hybrid Tuner",
+1 −1
Original line number Original line Diff line number Diff line
@@ -110,7 +110,7 @@


#define TUNER_LG_TDVS_H062F		64	/* DViCO FusionHDTV 5 */
#define TUNER_LG_TDVS_H062F		64	/* DViCO FusionHDTV 5 */
#define TUNER_YMEC_TVF66T5_B_DFF	65	/* Acorp Y878F */
#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_TD1316		67


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