linux/drivers/media/video/saa7134
Trent Piepho b7754d74d2 V4L/DVB (5636): Integrate all users of the fmd1216 tuner with dvb-pll
Enhance the dvb-pll definition of the fmd1216 tuner by adding an init sequence
and a sleep sequence.

The init sequence sets the AGC control register to 0xa0, selecting the fast
time constant and 112 dBuV take-over point.  This the recommended value for
DVB-T operation.

The sleep sequence sets bit P4 (which is believed to turn the analog
demodulator on), turns off the tuning voltage, and sets the AGC control
register to 0x60 (external AGC voltage, the recommended value for analog
operation).

The existing dvb-pll users in the cx88 driver, listed below, will gain these
init and sleep sequences.

CX88_BOARD_HAUPPAUGE_HVR1100    Hauppauge WinTV-HVR1100 DVB-T/Hybrid
CX88_BOARD_HAUPPAUGE_HVR1100LP  Hauppauge WinTV-HVR1100 DVB-T/Hybrid (Low Profi
CX88_BOARD_WINFAST_DTV2000H     WinFast DTV2000 H
CX88_BOARD_HAUPPAUGE_HVR3000    Hauppauge WinTV-HVR3000 TriMode Analog/DVB-S/DV
CX88_BOARD_HAUPPAUGE_HVR1300    Hauppauge WinTV-HVR1300 DVB-T/Hybrid MPEG Encod

This non-dvb-pll user in the cx88 driver should only gain the sleep sequence,
as it already had an equivalent init sequence.  The non-dvb-pll code for this
user is removed.

X88_BOARD_DNTV_LIVE_DVB_T_PRO   digitalnow DNTV Live! DVB-T Pro

In these saa7134 driver, these non-dvb-pll users are converted to use dvb-pll:

SAA7134_BOARD_MD7134                    Medion 7134
SAA7134_BOARD_ASUS_EUROPA2_HYBRID       Asus Europa2 OEM

The saa7134 functions philips_fmd1216_tuner_init(),
philips_fmd1216_tuner_sleep(), and philips_fmd1216_tuner_set_params() are
deleted and the dvb-pll versions are used.

This should result in equivalent sleep, init, and tuning sequences being sent
to the tuner.

For the cxusb driver, only one board is effected:

USB_PID_MEDION_MD95700          	Medion MD95700

This board used dvb_usb_tuner_init_i2c() and dvb_usb_tuner_set_params_i2c()
for init and tuning, respectively.  These functions are effectively the same
as the dvb-pll versions.  They call a tuner pass control function defined at
the dvb-usb level, but this does not matter, as this card does not have a
tuner pass control function (only the dib3000mb does).  This board will gain
the sleep sequence, while init and tuning should be unchanged.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-07-18 14:23:29 -03:00
..
Kconfig V4L/DVB (5317): Create tda827x dvb tuner module 2007-04-27 15:43:35 -03:00
Makefile V4L/DVB (5166): Remove obsolete alias defines of CONFIG_* settings 2007-02-21 13:35:11 -02:00
saa6752hs.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
saa7134-alsa.c V4L/DVB (4872): Saa7134-alsa improvements 2006-12-10 09:05:08 -02:00
saa7134-cards.c V4L/DVB (5647): Saa7134: enable ir-remote for 10moons TM300 2007-07-18 14:23:21 -03:00
saa7134-core.c V4L/DVB (5443): Saa7134: put tuner to sleep mode after board initialization 2007-04-27 15:44:49 -03:00
saa7134-dvb.c V4L/DVB (5636): Integrate all users of the fmd1216 tuner with dvb-pll 2007-07-18 14:23:29 -03:00
saa7134-empress.c [PATCH] mark struct file_operations const 4 2007-02-12 09:48:45 -08:00
saa7134-i2c.c V4L/DVB (5479): Use ARRAY_SIZE instead of a magic number 2007-04-27 15:45:12 -03:00
saa7134-input.c V4L/DVB (5647): Saa7134: enable ir-remote for 10moons TM300 2007-07-18 14:23:21 -03:00
saa7134-oss.c [PATCH] mark struct file_operations const 4 2007-02-12 09:48:45 -08:00
saa7134-reg.h [PATCH] v4l: 800: whitespace cleanups 2005-11-09 07:56:20 -08:00
saa7134-ts.c V4L/DVB (3516): Make video_buf more generic 2006-03-24 16:26:49 -03:00
saa7134-tvaudio.c saa7134: fix thread shutdown handling 2007-06-28 11:34:54 -07:00
saa7134-vbi.c V4L/DVB (3516): Make video_buf more generic 2006-03-24 16:26:49 -03:00
saa7134-video.c V4L/DVB (5329): Some saa7134 cleanups 2007-04-27 15:43:43 -03:00
saa7134.h V4L/DVB (5646): V4l: saa7134: add support for 10moons TM300 card 2007-07-18 14:23:20 -03:00