diff options
author | Edgar Simo <bobbens@gmail.com> | 2007-08-20 13:14:50 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-09 21:06:01 -0400 |
commit | d90d9f5a0ae9eb80bb3a33472074a114af7e548d (patch) | |
tree | a2877d0dddf6c0c4ba04d5a38a9fdcf72d03e4f1 /drivers/media/video/saa7134/saa7134-cards.c | |
parent | 261f5081a4dbcd148be0a0e744fb454a4f688441 (diff) |
V4L/DVB (6072): saa7134: add DVB-T support for Avermedia Super 007
Add DVB-T support for Avermedia Super 007
Analog television is untested. The device lacks input adapters for radio,
svideo & composite -- seems to be a DVB-T ONLY device.
Signed-off-by: Edgar Simo <bobbens@gmail.com>
Acked-by: Hermann Pitton <hermann-pitton@arcor.de>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-cards.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-cards.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/drivers/media/video/saa7134/saa7134-cards.c b/drivers/media/video/saa7134/saa7134-cards.c index 25ec16810818..5c3174a62e58 100644 --- a/drivers/media/video/saa7134/saa7134-cards.c +++ b/drivers/media/video/saa7134/saa7134-cards.c | |||
@@ -3534,6 +3534,22 @@ struct saa7134_board saa7134_boards[] = { | |||
3534 | .gpio = 0x3000, | 3534 | .gpio = 0x3000, |
3535 | }, | 3535 | }, |
3536 | }, | 3536 | }, |
3537 | [SAA7134_BOARD_AVERMEDIA_SUPER_007] = { | ||
3538 | .name = "Avermedia Super 007", | ||
3539 | .audio_clock = 0x00187de7, | ||
3540 | .tuner_type = TUNER_PHILIPS_TDA8290, | ||
3541 | .radio_type = UNSET, | ||
3542 | .tuner_addr = ADDR_UNSET, | ||
3543 | .radio_addr = ADDR_UNSET, | ||
3544 | .tuner_config = 0, | ||
3545 | .mpeg = SAA7134_MPEG_DVB, | ||
3546 | .inputs = {{ | ||
3547 | .name = name_tv, /* FIXME: analog tv untested */ | ||
3548 | .vmux = 1, | ||
3549 | .amux = TV, | ||
3550 | .tv = 1, | ||
3551 | }}, | ||
3552 | }, | ||
3537 | }; | 3553 | }; |
3538 | 3554 | ||
3539 | const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards); | 3555 | const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards); |
@@ -4257,6 +4273,12 @@ struct pci_device_id saa7134_pci_tbl[] = { | |||
4257 | .subdevice = 0x2304, | 4273 | .subdevice = 0x2304, |
4258 | .driver_data = SAA7134_BOARD_10MOONSTVMASTER3, | 4274 | .driver_data = SAA7134_BOARD_10MOONSTVMASTER3, |
4259 | },{ | 4275 | },{ |
4276 | .vendor = PCI_VENDOR_ID_PHILIPS, | ||
4277 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, | ||
4278 | .subvendor = 0x1461, /* Avermedia Technologies Inc */ | ||
4279 | .subdevice = 0xf01d, /* AVerTV DVB-T Super 007 */ | ||
4280 | .driver_data = SAA7134_BOARD_AVERMEDIA_SUPER_007, | ||
4281 | },{ | ||
4260 | /* --- boards without eeprom + subsystem ID --- */ | 4282 | /* --- boards without eeprom + subsystem ID --- */ |
4261 | .vendor = PCI_VENDOR_ID_PHILIPS, | 4283 | .vendor = PCI_VENDOR_ID_PHILIPS, |
4262 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, | 4284 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
@@ -4564,6 +4586,7 @@ int saa7134_board_init2(struct saa7134_dev *dev) | |||
4564 | break; | 4586 | break; |
4565 | case SAA7134_BOARD_PHILIPS_TIGER: | 4587 | case SAA7134_BOARD_PHILIPS_TIGER: |
4566 | case SAA7134_BOARD_PHILIPS_TIGER_S: | 4588 | case SAA7134_BOARD_PHILIPS_TIGER_S: |
4589 | case SAA7134_BOARD_AVERMEDIA_SUPER_007: | ||
4567 | { | 4590 | { |
4568 | u8 data[] = { 0x3c, 0x33, 0x60}; | 4591 | u8 data[] = { 0x3c, 0x33, 0x60}; |
4569 | struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)}; | 4592 | struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)}; |