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

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

[PATCH] dvb: lgdt330x frontend: some bug fixes & add lgdt3303 support



- Structural changes within lgdt330x driver, framework now supports
  both chips... tested OK on lgdt3302 and lgdt3303.
- Add LG/TUA6034 dvb_pll_desc for ATSC with LG TDVS-H062F & DViCO FusionHDTV5.
- Fixed LGDT330X signal strength: For now, always set it to 0.
- Corrected LGDT330X boundary condition error in read_snr: dB calculation.

Signed-off-by: default avatarMac Michaels <wmichaels1@earthlink.net>
Signed-off-by: default avatarMichael Krufky <mkrufky@m1k.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 66aea23f
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -225,6 +225,22 @@ struct dvb_pll_desc dvb_pll_tua6034 = {
};
EXPORT_SYMBOL(dvb_pll_tua6034);

/* Infineon TUA6034
 * used in LG Innotek TDVS-H062F
 */
struct dvb_pll_desc dvb_pll_tdvs_tua6034 = {
	.name  = "LG/Infineon TUA6034",
	.min   =  54000000,
	.max   = 863000000,
	.count = 3,
	.entries = {
		{  160000000, 44000000, 62500, 0xce, 0x01 },
		{  455000000, 44000000, 62500, 0xce, 0x02 },
		{  999999999, 44000000, 62500, 0xce, 0x04 },
	},
};
EXPORT_SYMBOL(dvb_pll_tdvs_tua6034);

/* Philips FMD1216ME
 * used in Medion Hybrid PCMCIA card and USB Box
 */
+1 −0
Original line number Diff line number Diff line
@@ -31,6 +31,7 @@ extern struct dvb_pll_desc dvb_pll_unknown_1;
extern struct dvb_pll_desc dvb_pll_tua6010xs;
extern struct dvb_pll_desc dvb_pll_env57h1xd5;
extern struct dvb_pll_desc dvb_pll_tua6034;
extern struct dvb_pll_desc dvb_pll_tdvs_tua6034;
extern struct dvb_pll_desc dvb_pll_tda665x;
extern struct dvb_pll_desc dvb_pll_fmd1216me;
extern struct dvb_pll_desc dvb_pll_tded4;
+387 −162

File changed.

Preview size limit exceeded, changes collapsed.

+14 −2

File changed.

Preview size limit exceeded, changes collapsed.

+5 −3
Original line number Diff line number Diff line
/*
 *    Support for LGDT3302 & LGDT3303 (DViCO FustionHDTV Gold) - VSB/QAM
 *    Support for LGDT3302 and LGDT3303 - VSB/QAM
 *
 *    Copyright (C) 2005 Wilson Michaels <wilsonmichaels@earthlink.net>
 *
@@ -57,8 +57,10 @@ enum I2C_REG {
	PH_ERR1= 0x4a,
	PH_ERR2= 0x4b,
	DEMUX_CONTROL= 0x66,
	PACKET_ERR_COUNTER1= 0x6a,
	PACKET_ERR_COUNTER2= 0x6b,
	LGDT3302_PACKET_ERR_COUNTER1= 0x6a,
	LGDT3302_PACKET_ERR_COUNTER2= 0x6b,
	LGDT3303_PACKET_ERR_COUNTER1= 0x8b,
	LGDT3303_PACKET_ERR_COUNTER2= 0x8c,
};

#endif /* _LGDT330X_PRIV_ */
Loading