diff options
Diffstat (limited to 'drivers/media/video/saa7134/saa7134-cards.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-cards.c | 52 |
1 files changed, 51 insertions, 1 deletions
diff --git a/drivers/media/video/saa7134/saa7134-cards.c b/drivers/media/video/saa7134/saa7134-cards.c index ddc5402c5fb0..a2e3f6729c5b 100644 --- a/drivers/media/video/saa7134/saa7134-cards.c +++ b/drivers/media/video/saa7134/saa7134-cards.c | |||
@@ -4606,6 +4606,43 @@ struct saa7134_board saa7134_boards[] = { | |||
4606 | .gpio = 0x0200000, | 4606 | .gpio = 0x0200000, |
4607 | }, | 4607 | }, |
4608 | }, | 4608 | }, |
4609 | [SAA7134_BOARD_KWORLD_PLUS_TV_ANALOG] = { | ||
4610 | .name = "Kworld Plus TV Analog Lite PCI", | ||
4611 | .audio_clock = 0x00187de7, | ||
4612 | .tuner_type = TUNER_YMEC_TVF_5533MF, | ||
4613 | .radio_type = TUNER_TEA5767, | ||
4614 | .tuner_addr = ADDR_UNSET, | ||
4615 | .radio_addr = ADDR_UNSET, | ||
4616 | .gpiomask = 0x80000700, | ||
4617 | .inputs = { { | ||
4618 | .name = name_tv, | ||
4619 | .vmux = 1, | ||
4620 | .amux = LINE2, | ||
4621 | .tv = 1, | ||
4622 | .gpio = 0x100, | ||
4623 | }, { | ||
4624 | .name = name_comp1, | ||
4625 | .vmux = 3, | ||
4626 | .amux = LINE1, | ||
4627 | .gpio = 0x200, | ||
4628 | }, { | ||
4629 | .name = name_svideo, | ||
4630 | .vmux = 8, | ||
4631 | .amux = LINE1, | ||
4632 | .gpio = 0x200, | ||
4633 | } }, | ||
4634 | .radio = { | ||
4635 | .name = name_radio, | ||
4636 | .vmux = 1, | ||
4637 | .amux = LINE1, | ||
4638 | .gpio = 0x100, | ||
4639 | }, | ||
4640 | .mute = { | ||
4641 | .name = name_mute, | ||
4642 | .vmux = 8, | ||
4643 | .amux = 2, | ||
4644 | }, | ||
4645 | }, | ||
4609 | }; | 4646 | }; |
4610 | 4647 | ||
4611 | const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards); | 4648 | const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards); |
@@ -4736,6 +4773,12 @@ struct pci_device_id saa7134_pci_tbl[] = { | |||
4736 | .driver_data = SAA7134_BOARD_MD7134, | 4773 | .driver_data = SAA7134_BOARD_MD7134, |
4737 | },{ | 4774 | },{ |
4738 | .vendor = PCI_VENDOR_ID_PHILIPS, | 4775 | .vendor = PCI_VENDOR_ID_PHILIPS, |
4776 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, | ||
4777 | .subvendor = 0x16be, /* CTX946 analog TV, HW mpeg, DVB-T */ | ||
4778 | .subdevice = 0x5000, /* only analog TV and DVB-T for now */ | ||
4779 | .driver_data = SAA7134_BOARD_MD7134, | ||
4780 | }, { | ||
4781 | .vendor = PCI_VENDOR_ID_PHILIPS, | ||
4739 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, | 4782 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
4740 | .subvendor = 0x1048, | 4783 | .subvendor = 0x1048, |
4741 | .subdevice = 0x226b, | 4784 | .subdevice = 0x226b, |
@@ -5653,6 +5696,12 @@ struct pci_device_id saa7134_pci_tbl[] = { | |||
5653 | .subdevice = 0x4878, /* REV:1.02G */ | 5696 | .subdevice = 0x4878, /* REV:1.02G */ |
5654 | .driver_data = SAA7134_BOARD_ASUSTeK_TIGER_3IN1, | 5697 | .driver_data = SAA7134_BOARD_ASUSTeK_TIGER_3IN1, |
5655 | }, { | 5698 | }, { |
5699 | .vendor = PCI_VENDOR_ID_PHILIPS, | ||
5700 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, | ||
5701 | .subvendor = 0x17de, | ||
5702 | .subdevice = 0x7128, | ||
5703 | .driver_data = SAA7134_BOARD_KWORLD_PLUS_TV_ANALOG, | ||
5704 | }, { | ||
5656 | /* --- boards without eeprom + subsystem ID --- */ | 5705 | /* --- boards without eeprom + subsystem ID --- */ |
5657 | .vendor = PCI_VENDOR_ID_PHILIPS, | 5706 | .vendor = PCI_VENDOR_ID_PHILIPS, |
5658 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, | 5707 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
@@ -5880,6 +5929,7 @@ int saa7134_board_init1(struct saa7134_dev *dev) | |||
5880 | case SAA7134_BOARD_BEHOLD_507_9FM: | 5929 | case SAA7134_BOARD_BEHOLD_507_9FM: |
5881 | case SAA7134_BOARD_GENIUS_TVGO_A11MCE: | 5930 | case SAA7134_BOARD_GENIUS_TVGO_A11MCE: |
5882 | case SAA7134_BOARD_REAL_ANGEL_220: | 5931 | case SAA7134_BOARD_REAL_ANGEL_220: |
5932 | case SAA7134_BOARD_KWORLD_PLUS_TV_ANALOG: | ||
5883 | dev->has_remote = SAA7134_REMOTE_GPIO; | 5933 | dev->has_remote = SAA7134_REMOTE_GPIO; |
5884 | break; | 5934 | break; |
5885 | case SAA7134_BOARD_FLYDVBS_LR300: | 5935 | case SAA7134_BOARD_FLYDVBS_LR300: |
@@ -6048,7 +6098,7 @@ static void saa7134_tuner_setup(struct saa7134_dev *dev) | |||
6048 | struct v4l2_priv_tun_config xc2028_cfg; | 6098 | struct v4l2_priv_tun_config xc2028_cfg; |
6049 | struct xc2028_ctrl ctl; | 6099 | struct xc2028_ctrl ctl; |
6050 | 6100 | ||
6051 | memset(&xc2028_cfg, 0, sizeof(ctl)); | 6101 | memset(&xc2028_cfg, 0, sizeof(xc2028_cfg)); |
6052 | memset(&ctl, 0, sizeof(ctl)); | 6102 | memset(&ctl, 0, sizeof(ctl)); |
6053 | 6103 | ||
6054 | ctl.fname = XC2028_DEFAULT_FIRMWARE; | 6104 | ctl.fname = XC2028_DEFAULT_FIRMWARE; |