diff options
author | Dmitri Belimov <d.belimov@gmail.com> | 2010-04-06 00:00:05 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-19 11:58:41 -0400 |
commit | 0faa2ed5bfd08d94a04c8d4b55823676175f451f (patch) | |
tree | 427bf73edaaa5a474a61f82fb8a382604e57b118 /drivers/media/video/saa7134/saa7134-cards.c | |
parent | 1b0e48ad5530881d11d3caba62e59b82646c5e64 (diff) |
V4L/DVB: saa7134: Add support new Behold TV cards
[dougsland@redhat.com: Fixed cards numbers reject due changes in saa7134.h]
Signed-off-by: Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
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 | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/drivers/media/video/saa7134/saa7134-cards.c b/drivers/media/video/saa7134/saa7134-cards.c index 435f821b5921..72700d4e3941 100644 --- a/drivers/media/video/saa7134/saa7134-cards.c +++ b/drivers/media/video/saa7134/saa7134-cards.c | |||
@@ -5372,6 +5372,62 @@ struct saa7134_board saa7134_boards[] = { | |||
5372 | .gpio = 0x01fc00, | 5372 | .gpio = 0x01fc00, |
5373 | } }, | 5373 | } }, |
5374 | }, | 5374 | }, |
5375 | [SAA7134_BOARD_BEHOLD_H7] = { | ||
5376 | /* Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> */ | ||
5377 | .name = "Beholder BeholdTV H7", | ||
5378 | .audio_clock = 0x00187de7, | ||
5379 | .tuner_type = TUNER_XC5000, | ||
5380 | .radio_type = UNSET, | ||
5381 | .tuner_addr = ADDR_UNSET, | ||
5382 | .radio_addr = ADDR_UNSET, | ||
5383 | .mpeg = SAA7134_MPEG_DVB, | ||
5384 | .ts_type = SAA7134_MPEG_TS_PARALLEL, | ||
5385 | .inputs = { { | ||
5386 | .name = name_tv, | ||
5387 | .vmux = 2, | ||
5388 | .amux = TV, | ||
5389 | .tv = 1, | ||
5390 | }, { | ||
5391 | .name = name_comp1, | ||
5392 | .vmux = 0, | ||
5393 | .amux = LINE1, | ||
5394 | }, { | ||
5395 | .name = name_svideo, | ||
5396 | .vmux = 9, | ||
5397 | .amux = LINE1, | ||
5398 | } }, | ||
5399 | .radio = { | ||
5400 | .name = name_radio, | ||
5401 | .amux = TV, | ||
5402 | }, | ||
5403 | }, | ||
5404 | [SAA7134_BOARD_BEHOLD_A7] = { | ||
5405 | /* Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> */ | ||
5406 | .name = "Beholder BeholdTV A7", | ||
5407 | .audio_clock = 0x00187de7, | ||
5408 | .tuner_type = TUNER_XC5000, | ||
5409 | .radio_type = UNSET, | ||
5410 | .tuner_addr = ADDR_UNSET, | ||
5411 | .radio_addr = ADDR_UNSET, | ||
5412 | .inputs = { { | ||
5413 | .name = name_tv, | ||
5414 | .vmux = 2, | ||
5415 | .amux = TV, | ||
5416 | .tv = 1, | ||
5417 | }, { | ||
5418 | .name = name_comp1, | ||
5419 | .vmux = 0, | ||
5420 | .amux = LINE1, | ||
5421 | }, { | ||
5422 | .name = name_svideo, | ||
5423 | .vmux = 9, | ||
5424 | .amux = LINE1, | ||
5425 | } }, | ||
5426 | .radio = { | ||
5427 | .name = name_radio, | ||
5428 | .amux = TV, | ||
5429 | }, | ||
5430 | }, | ||
5375 | 5431 | ||
5376 | }; | 5432 | }; |
5377 | 5433 | ||
@@ -6566,6 +6622,18 @@ struct pci_device_id saa7134_pci_tbl[] = { | |||
6566 | .subvendor = PCI_ANY_ID, | 6622 | .subvendor = PCI_ANY_ID, |
6567 | .subdevice = PCI_ANY_ID, | 6623 | .subdevice = PCI_ANY_ID, |
6568 | .driver_data = SAA7134_BOARD_UNKNOWN, | 6624 | .driver_data = SAA7134_BOARD_UNKNOWN, |
6625 | }, { | ||
6626 | .vendor = PCI_VENDOR_ID_PHILIPS, | ||
6627 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, | ||
6628 | .subvendor = 0x5ace, /* Beholder Intl. Ltd. */ | ||
6629 | .subdevice = 0x7190, | ||
6630 | .driver_data = SAA7134_BOARD_BEHOLD_H7, | ||
6631 | }, { | ||
6632 | .vendor = PCI_VENDOR_ID_PHILIPS, | ||
6633 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, | ||
6634 | .subvendor = 0x5ace, /* Beholder Intl. Ltd. */ | ||
6635 | .subdevice = 0x7090, | ||
6636 | .driver_data = SAA7134_BOARD_BEHOLD_A7, | ||
6569 | },{ | 6637 | },{ |
6570 | /* --- end of list --- */ | 6638 | /* --- end of list --- */ |
6571 | } | 6639 | } |
@@ -6619,6 +6687,8 @@ static int saa7134_xc5000_callback(struct saa7134_dev *dev, | |||
6619 | { | 6687 | { |
6620 | switch (dev->board) { | 6688 | switch (dev->board) { |
6621 | case SAA7134_BOARD_BEHOLD_X7: | 6689 | case SAA7134_BOARD_BEHOLD_X7: |
6690 | case SAA7134_BOARD_BEHOLD_H7: | ||
6691 | case SAA7134_BOARD_BEHOLD_A7: | ||
6622 | if (command == XC5000_TUNER_RESET) { | 6692 | if (command == XC5000_TUNER_RESET) { |
6623 | /* Down and UP pheripherial RESET pin for reset all chips */ | 6693 | /* Down and UP pheripherial RESET pin for reset all chips */ |
6624 | saa_writeb(SAA7134_SPECIAL_MODE, 0x00); | 6694 | saa_writeb(SAA7134_SPECIAL_MODE, 0x00); |
@@ -6990,6 +7060,8 @@ int saa7134_board_init1(struct saa7134_dev *dev) | |||
6990 | case SAA7134_BOARD_BEHOLD_M6_EXTRA: | 7060 | case SAA7134_BOARD_BEHOLD_M6_EXTRA: |
6991 | case SAA7134_BOARD_BEHOLD_H6: | 7061 | case SAA7134_BOARD_BEHOLD_H6: |
6992 | case SAA7134_BOARD_BEHOLD_X7: | 7062 | case SAA7134_BOARD_BEHOLD_X7: |
7063 | case SAA7134_BOARD_BEHOLD_H7: | ||
7064 | case SAA7134_BOARD_BEHOLD_A7: | ||
6993 | dev->has_remote = SAA7134_REMOTE_I2C; | 7065 | dev->has_remote = SAA7134_REMOTE_I2C; |
6994 | break; | 7066 | break; |
6995 | case SAA7134_BOARD_AVERMEDIA_A169_B: | 7067 | case SAA7134_BOARD_AVERMEDIA_A169_B: |