diff options
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-dvb.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-dvb.c | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/drivers/media/video/saa7134/saa7134-dvb.c b/drivers/media/video/saa7134/saa7134-dvb.c index a0c8fa393501..56ca3fad55c4 100644 --- a/drivers/media/video/saa7134/saa7134-dvb.c +++ b/drivers/media/video/saa7134/saa7134-dvb.c | |||
@@ -885,6 +885,38 @@ static struct tda1004x_config ads_tech_duo_config = { | |||
885 | .request_firmware = NULL, | 885 | .request_firmware = NULL, |
886 | }; | 886 | }; |
887 | 887 | ||
888 | /* ------------------------------------------------------------------ */ | ||
889 | |||
890 | static int tevion_dvb220rf_pll_set(struct dvb_frontend *fe, struct dvb_frontend_parameters *params) | ||
891 | { | ||
892 | int ret; | ||
893 | ret = philips_tda827xa_pll_set(0x60, fe, params); | ||
894 | return ret; | ||
895 | } | ||
896 | |||
897 | static int tevion_dvb220rf_pll_init(struct dvb_frontend *fe) | ||
898 | { | ||
899 | return 0; | ||
900 | } | ||
901 | |||
902 | static void tevion_dvb220rf_pll_sleep(struct dvb_frontend *fe) | ||
903 | { | ||
904 | philips_tda827xa_pll_sleep( 0x61, fe); | ||
905 | } | ||
906 | |||
907 | static struct tda1004x_config tevion_dvbt220rf_config = { | ||
908 | .demod_address = 0x08, | ||
909 | .invert = 1, | ||
910 | .invert_oclk = 0, | ||
911 | .xtal_freq = TDA10046_XTAL_16M, | ||
912 | .agc_config = TDA10046_AGC_TDA827X, | ||
913 | .if_freq = TDA10046_FREQ_045, | ||
914 | .pll_init = tevion_dvb220rf_pll_init, | ||
915 | .pll_set = tevion_dvb220rf_pll_set, | ||
916 | .pll_sleep = tevion_dvb220rf_pll_sleep, | ||
917 | .request_firmware = NULL, | ||
918 | }; | ||
919 | |||
888 | #endif | 920 | #endif |
889 | 921 | ||
890 | /* ------------------------------------------------------------------ */ | 922 | /* ------------------------------------------------------------------ */ |
@@ -971,6 +1003,10 @@ static int dvb_init(struct saa7134_dev *dev) | |||
971 | dev->dvb.frontend = tda10046_attach(&ads_tech_duo_config, | 1003 | dev->dvb.frontend = tda10046_attach(&ads_tech_duo_config, |
972 | &dev->i2c_adap); | 1004 | &dev->i2c_adap); |
973 | break; | 1005 | break; |
1006 | case SAA7134_BOARD_TEVION_DVBT_220RF: | ||
1007 | dev->dvb.frontend = tda10046_attach(&tevion_dvbt220rf_config, | ||
1008 | &dev->i2c_adap); | ||
1009 | break; | ||
974 | #endif | 1010 | #endif |
975 | #ifdef HAVE_NXT200X | 1011 | #ifdef HAVE_NXT200X |
976 | case SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180: | 1012 | case SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180: |