diff options
author | Henk Vergonet <Henk.Vergonet@gmail.com> | 2009-09-18 19:44:37 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-18 23:52:12 -0400 |
commit | 6c119ff493039af862ae57d88d52b4383c9d8ece (patch) | |
tree | 818210b8e3f1ed09db09b785ce272d9dee2e282c | |
parent | 2d21ffe05a188ee7e5583172c06f2b820c4ad44a (diff) |
V4L/DVB (13002): Adds support for Zolid Hybrid PCI card:
http://linuxtv.org/wiki/index.php/Zolid_Hybrid_TV_Tuner
test status analog (PAL-B):
- Sometimes picture is noisy, but it becomes crystal clear after
switching between channels. (happens for example at 687.25 Mhz)
- On a lower frequency (511.25 Mhz) the picture is always sharp, but
lacks colour.
- No sound problems.
- radio untested.
Digital:
- DVB-T/H stream reception works.
- Would expect to see some more channels in the higher frequency region.
Overall is the impression that sensitivity still needs improvement
both in analog and digital modes.
Signed-off-by: Henk Vergonet <Henk.Vergonet@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | Documentation/video4linux/CARDLIST.saa7134 | 1 | ||||
-rw-r--r-- | drivers/media/video/saa7134/saa7134-cards.c | 27 | ||||
-rw-r--r-- | drivers/media/video/saa7134/saa7134-dvb.c | 29 | ||||
-rw-r--r-- | drivers/media/video/saa7134/saa7134.h | 1 |
4 files changed, 58 insertions, 0 deletions
diff --git a/Documentation/video4linux/CARDLIST.saa7134 b/Documentation/video4linux/CARDLIST.saa7134 index 0ac4d2544778..2620d60341ee 100644 --- a/Documentation/video4linux/CARDLIST.saa7134 +++ b/Documentation/video4linux/CARDLIST.saa7134 | |||
@@ -171,3 +171,4 @@ | |||
171 | 170 -> AverMedia AverTV Studio 505 [1461:a115] | 171 | 170 -> AverMedia AverTV Studio 505 [1461:a115] |
172 | 171 -> Beholder BeholdTV X7 [5ace:7595] | 172 | 171 -> Beholder BeholdTV X7 [5ace:7595] |
173 | 172 -> RoverMedia TV Link Pro FM [19d1:0138] | 173 | 172 -> RoverMedia TV Link Pro FM [19d1:0138] |
174 | 173 -> Zolid Hybrid TV Tuner PCI [1131:2004] | ||
diff --git a/drivers/media/video/saa7134/saa7134-cards.c b/drivers/media/video/saa7134/saa7134-cards.c index 14b9ba4579b7..9210d3ea6942 100644 --- a/drivers/media/video/saa7134/saa7134-cards.c +++ b/drivers/media/video/saa7134/saa7134-cards.c | |||
@@ -5257,6 +5257,27 @@ struct saa7134_board saa7134_boards[] = { | |||
5257 | .amux = TV, | 5257 | .amux = TV, |
5258 | }, | 5258 | }, |
5259 | }, | 5259 | }, |
5260 | [SAA7134_BOARD_ZOLID_HYBRID_PCI] = { | ||
5261 | .name = "Zolid Hybrid TV Tuner PCI", | ||
5262 | .audio_clock = 0x00187de7, | ||
5263 | .tuner_type = TUNER_PHILIPS_TDA8290, | ||
5264 | .radio_type = UNSET, | ||
5265 | .tuner_addr = ADDR_UNSET, | ||
5266 | .radio_addr = ADDR_UNSET, | ||
5267 | .tuner_config = 0, | ||
5268 | .mpeg = SAA7134_MPEG_DVB, | ||
5269 | .ts_type = SAA7134_MPEG_TS_PARALLEL, | ||
5270 | .inputs = {{ | ||
5271 | .name = name_tv, | ||
5272 | .vmux = 1, | ||
5273 | .amux = TV, | ||
5274 | .tv = 1, | ||
5275 | } }, | ||
5276 | .radio = { /* untested */ | ||
5277 | .name = name_radio, | ||
5278 | .amux = TV, | ||
5279 | }, | ||
5280 | }, | ||
5260 | 5281 | ||
5261 | }; | 5282 | }; |
5262 | 5283 | ||
@@ -6390,6 +6411,12 @@ struct pci_device_id saa7134_pci_tbl[] = { | |||
6390 | .subdevice = 0x0138, /* LifeView FlyTV Prime30 OEM */ | 6411 | .subdevice = 0x0138, /* LifeView FlyTV Prime30 OEM */ |
6391 | .driver_data = SAA7134_BOARD_ROVERMEDIA_LINK_PRO_FM, | 6412 | .driver_data = SAA7134_BOARD_ROVERMEDIA_LINK_PRO_FM, |
6392 | }, { | 6413 | }, { |
6414 | .vendor = PCI_VENDOR_ID_PHILIPS, | ||
6415 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, | ||
6416 | .subvendor = PCI_VENDOR_ID_PHILIPS, | ||
6417 | .subdevice = 0x2004, | ||
6418 | .driver_data = SAA7134_BOARD_ZOLID_HYBRID_PCI, | ||
6419 | }, { | ||
6393 | /* --- boards without eeprom + subsystem ID --- */ | 6420 | /* --- boards without eeprom + subsystem ID --- */ |
6394 | .vendor = PCI_VENDOR_ID_PHILIPS, | 6421 | .vendor = PCI_VENDOR_ID_PHILIPS, |
6395 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, | 6422 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
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; |
diff --git a/drivers/media/video/saa7134/saa7134.h b/drivers/media/video/saa7134/saa7134.h index d18bb9643856..6ee3e9b7769e 100644 --- a/drivers/media/video/saa7134/saa7134.h +++ b/drivers/media/video/saa7134/saa7134.h | |||
@@ -296,6 +296,7 @@ struct saa7134_format { | |||
296 | #define SAA7134_BOARD_AVERMEDIA_STUDIO_505 170 | 296 | #define SAA7134_BOARD_AVERMEDIA_STUDIO_505 170 |
297 | #define SAA7134_BOARD_BEHOLD_X7 171 | 297 | #define SAA7134_BOARD_BEHOLD_X7 171 |
298 | #define SAA7134_BOARD_ROVERMEDIA_LINK_PRO_FM 172 | 298 | #define SAA7134_BOARD_ROVERMEDIA_LINK_PRO_FM 172 |
299 | #define SAA7134_BOARD_ZOLID_HYBRID_PCI 173 | ||
299 | 300 | ||
300 | #define SAA7134_MAXBOARDS 32 | 301 | #define SAA7134_MAXBOARDS 32 |
301 | #define SAA7134_INPUT_MAX 8 | 302 | #define SAA7134_INPUT_MAX 8 |