diff options
author | Hartmut Hackmann <hartmut.hackmann@t-online.de> | 2006-11-15 19:31:54 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-12-10 05:51:27 -0500 |
commit | 550a9a5e5f8086ae410832f134a5d80b9bd7fdb6 (patch) | |
tree | b8475cb1eeed049dd6b6cafa1cdf5dfb9fcc1521 /drivers/media/video/saa7134/saa7134-cards.c | |
parent | ab33668f8e1bd686ebc87d51be3a0cf99a267a9f (diff) |
V4L/DVB (4835): Added support for the Terratec Cinergy HT PCMCIA module
This is a hybrid cardbus module. Besides the card support, i
modified the definition names for AGC and GPIO of the tda10046.
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
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 | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/drivers/media/video/saa7134/saa7134-cards.c b/drivers/media/video/saa7134/saa7134-cards.c index d8d8142d921b..d0ddc65d7eb1 100644 --- a/drivers/media/video/saa7134/saa7134-cards.c +++ b/drivers/media/video/saa7134/saa7134-cards.c | |||
@@ -3148,6 +3148,29 @@ struct saa7134_board saa7134_boards[] = { | |||
3148 | .gpio = 0x0200000, | 3148 | .gpio = 0x0200000, |
3149 | }, | 3149 | }, |
3150 | }, | 3150 | }, |
3151 | [SAA7134_BOARD_CINERGY_HT_PCMCIA] = { | ||
3152 | .name = "Terratec Cinergy HT PCMCIA", | ||
3153 | .audio_clock = 0x00187de7, | ||
3154 | .tuner_type = TUNER_PHILIPS_TDA8290, | ||
3155 | .radio_type = UNSET, | ||
3156 | .tuner_addr = ADDR_UNSET, | ||
3157 | .radio_addr = ADDR_UNSET, | ||
3158 | .mpeg = SAA7134_MPEG_DVB, | ||
3159 | .inputs = {{ | ||
3160 | .name = name_tv, | ||
3161 | .vmux = 1, | ||
3162 | .amux = TV, | ||
3163 | .tv = 1, | ||
3164 | },{ | ||
3165 | .name = name_comp1, | ||
3166 | .vmux = 0, | ||
3167 | .amux = LINE1, | ||
3168 | },{ | ||
3169 | .name = name_svideo, | ||
3170 | .vmux = 6, | ||
3171 | .amux = LINE1, | ||
3172 | }}, | ||
3173 | }, | ||
3151 | }; | 3174 | }; |
3152 | 3175 | ||
3153 | const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards); | 3176 | const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards); |
@@ -3781,6 +3804,12 @@ struct pci_device_id saa7134_pci_tbl[] = { | |||
3781 | .subdevice = 0x6701, | 3804 | .subdevice = 0x6701, |
3782 | .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110, | 3805 | .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110, |
3783 | },{ | 3806 | },{ |
3807 | .vendor = PCI_VENDOR_ID_PHILIPS, | ||
3808 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, | ||
3809 | .subvendor = 0x153b, | ||
3810 | .subdevice = 0x1172, | ||
3811 | .driver_data = SAA7134_BOARD_CINERGY_HT_PCMCIA, | ||
3812 | },{ | ||
3784 | /* --- boards without eeprom + subsystem ID --- */ | 3813 | /* --- boards without eeprom + subsystem ID --- */ |
3785 | .vendor = PCI_VENDOR_ID_PHILIPS, | 3814 | .vendor = PCI_VENDOR_ID_PHILIPS, |
3786 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, | 3815 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
@@ -4107,6 +4136,14 @@ int saa7134_board_init2(struct saa7134_dev *dev) | |||
4107 | i2c_transfer(&dev->i2c_adap, &msg, 1); | 4136 | i2c_transfer(&dev->i2c_adap, &msg, 1); |
4108 | } | 4137 | } |
4109 | break; | 4138 | break; |
4139 | case SAA7134_BOARD_CINERGY_HT_PCMCIA: | ||
4140 | /* make the tda10046 find its eeprom */ | ||
4141 | { | ||
4142 | u8 data[] = { 0x3c, 0x33, 0x60}; | ||
4143 | struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)}; | ||
4144 | i2c_transfer(&dev->i2c_adap, &msg, 1); | ||
4145 | } | ||
4146 | break; | ||
4110 | case SAA7134_BOARD_KWORLD_ATSC110: | 4147 | case SAA7134_BOARD_KWORLD_ATSC110: |
4111 | { | 4148 | { |
4112 | /* enable tuner */ | 4149 | /* enable tuner */ |