android_kernel_xiaomi_sm8350/drivers/media/dvb/frontends
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
..
bcm3510_priv.h
bcm3510.c
bcm3510.h
bsbe1.h
bsru6.h
cx22700.c
cx22700.h
cx22702.c V4L/DVB (5648): Dvb/frontends: remove unnecessary #include's of "dvb-pll.h" 2007-07-18 14:23:22 -03:00
cx22702.h
cx24110.c V4L/DVB (5202): DVB: Use ARRAY_SIZE macro when appropriate 2007-02-21 13:35:18 -02:00
cx24110.h
cx24123.c V4L/DVB (5202): DVB: Use ARRAY_SIZE macro when appropriate 2007-02-21 13:35:18 -02:00
cx24123.h
dib3000.h
dib3000mb_priv.h
dib3000mb.c
dib3000mc.c
dib3000mc.h
dib7000m.c Fix misspellings collected by members of KJ list. 2007-05-09 07:14:03 +02:00
dib7000m.h
dib7000p.c Fix misspellings collected by members of KJ list. 2007-05-09 07:14:03 +02:00
dib7000p.h
dibx000_common.c i2c: Shrink struct i2c_client 2007-05-01 23:26:28 +02:00
dibx000_common.h
dvb_dummy_fe.c
dvb_dummy_fe.h
dvb-pll.c V4L/DVB (5636): Integrate all users of the fmd1216 tuner with dvb-pll 2007-07-18 14:23:29 -03:00
dvb-pll.h V4L/DVB (5632): Dvb-pll: pass dvb_frontend_parameters to generic set() function 2007-07-18 14:23:12 -03:00
isl6421.c V4L/DVB (5472): Isl6421: don't reference freed memory 2007-03-27 08:45:56 -03:00
isl6421.h
Kconfig V4L/DVB (5543): Tda10023: Add support for frontend TDA10023 2007-04-27 15:45:47 -03:00
l64781.c
l64781.h
lgdt330x_priv.h
lgdt330x.c V4L/DVB (5494): Lgdt330x: Fix some warnings 2007-04-27 15:45:24 -03:00
lgdt330x.h
lnbp21.c
lnbp21.h
Makefile V4L/DVB (5543): Tda10023: Add support for frontend TDA10023 2007-04-27 15:45:47 -03:00
mt312_priv.h
mt312.c
mt312.h
mt352_priv.h
mt352.c
mt352.h
mt2060_priv.h
mt2060.c
mt2060.h
nxt200x.c V4L/DVB (5648): Dvb/frontends: remove unnecessary #include's of "dvb-pll.h" 2007-07-18 14:23:22 -03:00
nxt200x.h V4L/DVB (5633): Tuv1236d: move rf input switching code into dvb-pll 2007-07-18 14:23:14 -03:00
nxt6000_priv.h
nxt6000.c
nxt6000.h
or51132.c V4L/DVB (5648): Dvb/frontends: remove unnecessary #include's of "dvb-pll.h" 2007-07-18 14:23:22 -03:00
or51132.h
or51211.c
or51211.h
qt1010_priv.h V4L/DVB (5137): Dvb: add new qt1010 tuner module 2007-02-21 13:34:53 -02:00
qt1010.c V4L/DVB (5253): Qt1010: whitespace / 80 column cleanups 2007-02-21 13:35:33 -02:00
qt1010.h V4L/DVB (5137): Dvb: add new qt1010 tuner module 2007-02-21 13:34:53 -02:00
s5h1420.c
s5h1420.h
sp887x.c
sp887x.h
sp8870.c
sp8870.h
stv0297.c V4L/DVB (5247): Stv0297: Enable BER/UNC counting 2007-02-21 13:35:32 -02:00
stv0297.h
stv0299.c V4L/DVB (5195): Frontends: make 4 functions static 2007-02-21 13:35:16 -02:00
stv0299.h
tda826x.c V4L/DVB (5716): Tda10086,tda826x: fix tuning, STR/SNR values 2007-06-08 08:21:13 -03:00
tda826x.h
tda827x.c V4L/DVB (5485): Tda827x: delayed probing of tuner version 2007-04-27 15:45:17 -03:00
tda827x.h V4L/DVB (5317): Create tda827x dvb tuner module 2007-04-27 15:43:35 -03:00
tda1002x.h V4L/DVB (5544): Budget-av: Make inversion setting configurable, add KNC ONE V1.0 card 2007-04-27 15:45:48 -03:00
tda1004x.c V4L/DVB (5458): Tda1004x: add ts_mode option to config struct 2007-04-27 15:44:58 -03:00
tda1004x.h V4L/DVB (5458): Tda1004x: add ts_mode option to config struct 2007-04-27 15:44:58 -03:00
tda8083.c
tda8083.h
tda10021.c Fix occurrences of "the the " 2007-05-09 08:57:56 +02:00
tda10023.c V4L/DVB (5543): Tda10023: Add support for frontend TDA10023 2007-04-27 15:45:47 -03:00
tda10086.c V4L/DVB (5716): Tda10086,tda826x: fix tuning, STR/SNR values 2007-06-08 08:21:13 -03:00
tda10086.h
tua6100.c
tua6100.h
ves1x93.c Fix occurrences of "the the " 2007-05-09 08:57:56 +02:00
ves1x93.h
ves1820.c
ves1820.h
zl10353_priv.h V4L/DVB (5218): Zl10353: register definitions update 2007-02-21 13:35:25 -02:00
zl10353.c V4L/DVB (5218): Zl10353: register definitions update 2007-02-21 13:35:25 -02:00
zl10353.h V4L/DVB (5217): Zl10353: Implement TRL nominal rate calculation 2007-02-21 13:35:24 -02:00