diff options
author | Andy Shevchenko <andy@smile.org.ua> | 2009-04-08 13:01:19 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-06-16 17:20:42 -0400 |
commit | df0dbbe24053b7c669f63341d3d3f090560c3217 (patch) | |
tree | 009fadbd56569d61e6da43a01b6ba7e1b5dc4f6d /drivers/media/video/saa7134/saa7134-cards.c | |
parent | abce21f40f1c7a52c9a126c6c00db1bd76e96b1d (diff) |
V4L/DVB (11442): saa7134: BZ#7524: Add AVerTV Studio 507UA support
[mchehab@redhat.com: Fix merge conflicts and CodingStyle issues]
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-cards.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-cards.c | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/drivers/media/video/saa7134/saa7134-cards.c b/drivers/media/video/saa7134/saa7134-cards.c index fdb19449d269..eab4782861fe 100644 --- a/drivers/media/video/saa7134/saa7134-cards.c +++ b/drivers/media/video/saa7134/saa7134-cards.c | |||
@@ -4753,6 +4753,44 @@ struct saa7134_board saa7134_boards[] = { | |||
4753 | .gpio = 0x01, | 4753 | .gpio = 0x01, |
4754 | }, | 4754 | }, |
4755 | }, | 4755 | }, |
4756 | [SAA7134_BOARD_AVERMEDIA_STUDIO_507UA] = { | ||
4757 | /* Andy Shevchenko <andy@smile.org.ua> */ | ||
4758 | .name = "Avermedia AVerTV Studio 507UA", | ||
4759 | .audio_clock = 0x00187de7, | ||
4760 | .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, /* Should be MK5 */ | ||
4761 | .radio_type = UNSET, | ||
4762 | .tuner_addr = ADDR_UNSET, | ||
4763 | .radio_addr = ADDR_UNSET, | ||
4764 | .tda9887_conf = TDA9887_PRESENT, | ||
4765 | .gpiomask = 0x03, | ||
4766 | .inputs = { { | ||
4767 | .name = name_tv, | ||
4768 | .vmux = 1, | ||
4769 | .amux = TV, | ||
4770 | .tv = 1, | ||
4771 | .gpio = 0x00, | ||
4772 | }, { | ||
4773 | .name = name_comp1, | ||
4774 | .vmux = 3, | ||
4775 | .amux = LINE1, | ||
4776 | .gpio = 0x00, | ||
4777 | }, { | ||
4778 | .name = name_svideo, | ||
4779 | .vmux = 8, | ||
4780 | .amux = LINE1, | ||
4781 | .gpio = 0x00, | ||
4782 | } }, | ||
4783 | .radio = { | ||
4784 | .name = name_radio, | ||
4785 | .amux = LINE2, | ||
4786 | .gpio = 0x01, | ||
4787 | }, | ||
4788 | .mute = { | ||
4789 | .name = name_mute, | ||
4790 | .amux = LINE1, | ||
4791 | .gpio = 0x00, | ||
4792 | }, | ||
4793 | }, | ||
4756 | }; | 4794 | }; |
4757 | 4795 | ||
4758 | const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards); | 4796 | const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards); |
@@ -5441,6 +5479,12 @@ struct pci_device_id saa7134_pci_tbl[] = { | |||
5441 | .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_507, | 5479 | .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_507, |
5442 | },{ | 5480 | },{ |
5443 | .vendor = PCI_VENDOR_ID_PHILIPS, | 5481 | .vendor = PCI_VENDOR_ID_PHILIPS, |
5482 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, | ||
5483 | .subvendor = 0x1461, /* Avermedia Technologies Inc */ | ||
5484 | .subdevice = 0xa11b, | ||
5485 | .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_507UA, | ||
5486 | }, { | ||
5487 | .vendor = PCI_VENDOR_ID_PHILIPS, | ||
5444 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, | 5488 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
5445 | .subvendor = 0x1043, | 5489 | .subvendor = 0x1043, |
5446 | .subdevice = 0x4876, | 5490 | .subdevice = 0x4876, |