diff options
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-cards.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-cards.c | 66 |
1 files changed, 63 insertions, 3 deletions
diff --git a/drivers/media/video/saa7134/saa7134-cards.c b/drivers/media/video/saa7134/saa7134-cards.c index fdd7f48f3b76..e666a4465ca4 100644 --- a/drivers/media/video/saa7134/saa7134-cards.c +++ b/drivers/media/video/saa7134/saa7134-cards.c | |||
@@ -208,7 +208,7 @@ struct saa7134_board saa7134_boards[] = { | |||
208 | [SAA7134_BOARD_FLYTVPLATINUM_FM] = { | 208 | [SAA7134_BOARD_FLYTVPLATINUM_FM] = { |
209 | /* LifeView FlyTV Platinum FM (LR214WF) */ | 209 | /* LifeView FlyTV Platinum FM (LR214WF) */ |
210 | /* "Peter Missel <peter.missel@onlinehome.de> */ | 210 | /* "Peter Missel <peter.missel@onlinehome.de> */ |
211 | .name = "LifeView FlyTV Platinum FM", | 211 | .name = "LifeView FlyTV Platinum FM / Gold", |
212 | .audio_clock = 0x00200000, | 212 | .audio_clock = 0x00200000, |
213 | .tuner_type = TUNER_PHILIPS_TDA8290, | 213 | .tuner_type = TUNER_PHILIPS_TDA8290, |
214 | .radio_type = UNSET, | 214 | .radio_type = UNSET, |
@@ -2660,7 +2660,7 @@ struct saa7134_board saa7134_boards[] = { | |||
2660 | .mpeg = SAA7134_MPEG_DVB, | 2660 | .mpeg = SAA7134_MPEG_DVB, |
2661 | .inputs = {{ | 2661 | .inputs = {{ |
2662 | .name = name_comp1, | 2662 | .name = name_comp1, |
2663 | .vmux = 0, | 2663 | .vmux = 1, |
2664 | .amux = LINE1, | 2664 | .amux = LINE1, |
2665 | },{ | 2665 | },{ |
2666 | .name = name_svideo, | 2666 | .name = name_svideo, |
@@ -2671,7 +2671,7 @@ struct saa7134_board saa7134_boards[] = { | |||
2671 | [SAA7134_BOARD_FLYDVBT_LR301] = { | 2671 | [SAA7134_BOARD_FLYDVBT_LR301] = { |
2672 | /* LifeView FlyDVB-T */ | 2672 | /* LifeView FlyDVB-T */ |
2673 | /* Giampiero Giancipoli <gianci@libero.it> */ | 2673 | /* Giampiero Giancipoli <gianci@libero.it> */ |
2674 | .name = "LifeView FlyDVB-T", | 2674 | .name = "LifeView FlyDVB-T / Genius VideoWonder DVB-T", |
2675 | .audio_clock = 0x00200000, | 2675 | .audio_clock = 0x00200000, |
2676 | .tuner_type = TUNER_ABSENT, | 2676 | .tuner_type = TUNER_ABSENT, |
2677 | .radio_type = UNSET, | 2677 | .radio_type = UNSET, |
@@ -2808,6 +2808,40 @@ struct saa7134_board saa7134_boards[] = { | |||
2808 | .tuner_addr = ADDR_UNSET, | 2808 | .tuner_addr = ADDR_UNSET, |
2809 | .radio_addr = ADDR_UNSET, | 2809 | .radio_addr = ADDR_UNSET, |
2810 | }, | 2810 | }, |
2811 | [SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS] = { | ||
2812 | .name = "LifeView FlyDVB-T Hybrid Cardbus", | ||
2813 | .audio_clock = 0x00200000, | ||
2814 | .tuner_type = TUNER_PHILIPS_TDA8290, | ||
2815 | .radio_type = UNSET, | ||
2816 | .tuner_addr = ADDR_UNSET, | ||
2817 | .radio_addr = ADDR_UNSET, | ||
2818 | .mpeg = SAA7134_MPEG_DVB, | ||
2819 | .gpiomask = 0x00600000, /* Bit 21 0=Radio, Bit 22 0=TV */ | ||
2820 | .inputs = {{ | ||
2821 | .name = name_tv, | ||
2822 | .vmux = 1, | ||
2823 | .amux = TV, | ||
2824 | .gpio = 0x200000, /* GPIO21=High for TV input */ | ||
2825 | .tv = 1, | ||
2826 | },{ | ||
2827 | .name = name_svideo, /* S-Video signal on S-Video input */ | ||
2828 | .vmux = 8, | ||
2829 | .amux = LINE2, | ||
2830 | },{ | ||
2831 | .name = name_comp1, /* Composite signal on S-Video input */ | ||
2832 | .vmux = 0, | ||
2833 | .amux = LINE2, | ||
2834 | },{ | ||
2835 | .name = name_comp2, /* Composite input */ | ||
2836 | .vmux = 3, | ||
2837 | .amux = LINE2, | ||
2838 | }}, | ||
2839 | .radio = { | ||
2840 | .name = name_radio, | ||
2841 | .amux = TV, | ||
2842 | .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */ | ||
2843 | }, | ||
2844 | }, | ||
2811 | }; | 2845 | }; |
2812 | 2846 | ||
2813 | const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards); | 2847 | const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards); |
@@ -3333,6 +3367,30 @@ struct pci_device_id saa7134_pci_tbl[] = { | |||
3333 | .subdevice = 0x0005, | 3367 | .subdevice = 0x0005, |
3334 | .driver_data = SAA7134_BOARD_MD7134_BRIDGE_2, | 3368 | .driver_data = SAA7134_BOARD_MD7134_BRIDGE_2, |
3335 | },{ | 3369 | },{ |
3370 | .vendor = PCI_VENDOR_ID_PHILIPS, | ||
3371 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, | ||
3372 | .subvendor = 0x1489, | ||
3373 | .subdevice = 0x0301, | ||
3374 | .driver_data = SAA7134_BOARD_FLYDVBT_LR301, | ||
3375 | },{ | ||
3376 | .vendor = PCI_VENDOR_ID_PHILIPS, | ||
3377 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, | ||
3378 | .subvendor = 0x5168, /* Animation Technologies (LifeView) */ | ||
3379 | .subdevice = 0x0304, | ||
3380 | .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM, | ||
3381 | },{ | ||
3382 | .vendor = PCI_VENDOR_ID_PHILIPS, | ||
3383 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, | ||
3384 | .subvendor = 0x5168, | ||
3385 | .subdevice = 0x3306, | ||
3386 | .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS, | ||
3387 | },{ | ||
3388 | .vendor = PCI_VENDOR_ID_PHILIPS, | ||
3389 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, | ||
3390 | .subvendor = 0x5168, | ||
3391 | .subdevice = 0x3502, /* whats the difference to 0x3306 ?*/ | ||
3392 | .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS, | ||
3393 | },{ | ||
3336 | /* --- boards without eeprom + subsystem ID --- */ | 3394 | /* --- boards without eeprom + subsystem ID --- */ |
3337 | .vendor = PCI_VENDOR_ID_PHILIPS, | 3395 | .vendor = PCI_VENDOR_ID_PHILIPS, |
3338 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, | 3396 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
@@ -3462,6 +3520,7 @@ int saa7134_board_init1(struct saa7134_dev *dev) | |||
3462 | saa_writeb(SAA7134_GPIO_GPSTATUS3, 0x06); | 3520 | saa_writeb(SAA7134_GPIO_GPSTATUS3, 0x06); |
3463 | break; | 3521 | break; |
3464 | case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331: | 3522 | case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331: |
3523 | case SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS: | ||
3465 | saa_writeb(SAA7134_GPIO_GPMODE3, 0x08); | 3524 | saa_writeb(SAA7134_GPIO_GPMODE3, 0x08); |
3466 | saa_writeb(SAA7134_GPIO_GPSTATUS3, 0x00); | 3525 | saa_writeb(SAA7134_GPIO_GPSTATUS3, 0x00); |
3467 | break; | 3526 | break; |
@@ -3633,6 +3692,7 @@ int saa7134_board_init2(struct saa7134_dev *dev) | |||
3633 | } | 3692 | } |
3634 | break; | 3693 | break; |
3635 | case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331: | 3694 | case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331: |
3695 | case SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS: | ||
3636 | /* make the tda10046 find its eeprom */ | 3696 | /* make the tda10046 find its eeprom */ |
3637 | { | 3697 | { |
3638 | u8 data[] = { 0x3c, 0x33, 0x62}; | 3698 | u8 data[] = { 0x3c, 0x33, 0x62}; |