diff options
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-dvb.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-dvb.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/drivers/media/video/saa7134/saa7134-dvb.c b/drivers/media/video/saa7134/saa7134-dvb.c index 7e1ffd8ba26d..a26e997a9ce6 100644 --- a/drivers/media/video/saa7134/saa7134-dvb.c +++ b/drivers/media/video/saa7134/saa7134-dvb.c | |||
@@ -1014,6 +1014,22 @@ static struct tda829x_config tda829x_no_probe = { | |||
1014 | .probe_tuner = TDA829X_DONT_PROBE, | 1014 | .probe_tuner = TDA829X_DONT_PROBE, |
1015 | }; | 1015 | }; |
1016 | 1016 | ||
1017 | static struct tda10048_config zolid_tda10048_config = { | ||
1018 | .demod_address = 0x10 >> 1, | ||
1019 | .output_mode = TDA10048_PARALLEL_OUTPUT, | ||
1020 | .fwbulkwritelen = TDA10048_BULKWRITE_200, | ||
1021 | .inversion = TDA10048_INVERSION_ON, | ||
1022 | .dtv6_if_freq_khz = TDA10048_IF_3300, | ||
1023 | .dtv7_if_freq_khz = TDA10048_IF_3500, | ||
1024 | .dtv8_if_freq_khz = TDA10048_IF_4000, | ||
1025 | .clk_freq_khz = TDA10048_CLK_16000, | ||
1026 | .disable_gate_access = 1, | ||
1027 | }; | ||
1028 | |||
1029 | static struct tda18271_config zolid_tda18271_config = { | ||
1030 | .gate = TDA18271_GATE_ANALOG, | ||
1031 | }; | ||
1032 | |||
1017 | /* ================================================================== | 1033 | /* ================================================================== |
1018 | * Core code | 1034 | * Core code |
1019 | */ | 1035 | */ |
@@ -1489,6 +1505,19 @@ static int dvb_init(struct saa7134_dev *dev) | |||
1489 | __func__); | 1505 | __func__); |
1490 | 1506 | ||
1491 | break; | 1507 | break; |
1508 | case SAA7134_BOARD_ZOLID_HYBRID_PCI: | ||
1509 | fe0->dvb.frontend = dvb_attach(tda10048_attach, | ||
1510 | &zolid_tda10048_config, | ||
1511 | &dev->i2c_adap); | ||
1512 | if (fe0->dvb.frontend != NULL) { | ||
1513 | dvb_attach(tda829x_attach, fe0->dvb.frontend, | ||
1514 | &dev->i2c_adap, 0x4b, | ||
1515 | &tda829x_no_probe); | ||
1516 | dvb_attach(tda18271_attach, fe0->dvb.frontend, | ||
1517 | 0x60, &dev->i2c_adap, | ||
1518 | &zolid_tda18271_config); | ||
1519 | } | ||
1520 | break; | ||
1492 | default: | 1521 | default: |
1493 | wprintk("Huh? unknown DVB card?\n"); | 1522 | wprintk("Huh? unknown DVB card?\n"); |
1494 | break; | 1523 | break; |