V4L/DVB (5362): Dvb-pll: add code for doing tuner initialization
authorTrent Piepho <xyzzy@speakeasy.org>
Fri, 27 Apr 2007 15:31:29 +0000 (12:31 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 27 Apr 2007 18:44:04 +0000 (15:44 -0300)
commit26aed92289ae8caffeedebb3f841a9e0371119a9
tree4849113223a8b1ac52df30ff3a8d45b6bfba100e
parent9ab1ba38e6a25a480234f196aa26239e28ac2407
V4L/DVB (5362): Dvb-pll: add code for doing tuner initialization

Some tuners need or benefit from initialization, to change certain
settings from their power on default values.

Typically, tuners with TUA603x PLLs can benefit from setting the AGC TOP
value to something else.  This patch includes code to set the AGC TOP to
103 dBuV for the Thomson DTT-761x tuners, which I have experimentally
verified gives the best SNR readings, increasing SNR by about 0.19 dB
over the default value.

Other tuners can make use of this as well.  For example, the separate LG
TDVS-H06xF driver's only difference from dvb-pll is this same setting of
AGC TOP value.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/frontends/dvb-pll.c
drivers/media/dvb/frontends/dvb-pll.h