diff options
author | Adam Glover <aglover.v4l@mindspring.com> | 2008-05-06 02:20:27 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-12 07:37:10 -0400 |
commit | f689d9083a3a46ae3801c37d0dbcb170fc6a9608 (patch) | |
tree | 06473d401dc6987023a8494d2b401e72a343dd00 /drivers/media/video/saa7134 | |
parent | a31d2bb773f23f55cc6713f2d1a9b60977bb8f89 (diff) |
V4L/DVB (9063): Add ADS Tech Instant HDTV PCI support
Add PCI ID and device specific tables for ADS Tech Instant HDTV.
[mchehab@redhat.com: make checkpatch happy and fix merge conflicts]
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7134')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-cards.c | 31 | ||||
-rw-r--r-- | drivers/media/video/saa7134/saa7134-dvb.c | 1 | ||||
-rw-r--r-- | drivers/media/video/saa7134/saa7134.h | 3 |
3 files changed, 34 insertions, 1 deletions
diff --git a/drivers/media/video/saa7134/saa7134-cards.c b/drivers/media/video/saa7134/saa7134-cards.c index 2a5e0dbc4d48..a2653b82e06b 100644 --- a/drivers/media/video/saa7134/saa7134-cards.c +++ b/drivers/media/video/saa7134/saa7134-cards.c | |||
@@ -4548,6 +4548,30 @@ struct saa7134_board saa7134_boards[] = { | |||
4548 | .amux = TV, | 4548 | .amux = TV, |
4549 | }, | 4549 | }, |
4550 | }, | 4550 | }, |
4551 | [SAA7134_BOARD_ADS_INSTANT_HDTV_PCI] = { | ||
4552 | .name = "ADS Tech Instant HDTV", | ||
4553 | .audio_clock = 0x00187de7, | ||
4554 | .tuner_type = TUNER_PHILIPS_TUV1236D, | ||
4555 | .radio_type = UNSET, | ||
4556 | .tuner_addr = ADDR_UNSET, | ||
4557 | .radio_addr = ADDR_UNSET, | ||
4558 | .tda9887_conf = TDA9887_PRESENT, | ||
4559 | .mpeg = SAA7134_MPEG_DVB, | ||
4560 | .inputs = { { | ||
4561 | .name = name_tv, | ||
4562 | .vmux = 1, | ||
4563 | .amux = TV, | ||
4564 | .tv = 1, | ||
4565 | }, { | ||
4566 | .name = name_comp, | ||
4567 | .vmux = 4, | ||
4568 | .amux = LINE1, | ||
4569 | }, { | ||
4570 | .name = name_svideo, | ||
4571 | .vmux = 8, | ||
4572 | .amux = LINE1, | ||
4573 | } }, | ||
4574 | }, | ||
4551 | }; | 4575 | }; |
4552 | 4576 | ||
4553 | const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards); | 4577 | const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards); |
@@ -5566,6 +5590,12 @@ struct pci_device_id saa7134_pci_tbl[] = { | |||
5566 | .driver_data = SAA7134_BOARD_VIDEOMATE_T750, | 5590 | .driver_data = SAA7134_BOARD_VIDEOMATE_T750, |
5567 | }, { | 5591 | }, { |
5568 | .vendor = PCI_VENDOR_ID_PHILIPS, | 5592 | .vendor = PCI_VENDOR_ID_PHILIPS, |
5593 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA7135HL */ | ||
5594 | .subvendor = 0x1421, | ||
5595 | .subdevice = 0x0380, | ||
5596 | .driver_data = SAA7134_BOARD_ADS_INSTANT_HDTV_PCI, | ||
5597 | }, { | ||
5598 | .vendor = PCI_VENDOR_ID_PHILIPS, | ||
5569 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, | 5599 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
5570 | .subvendor = 0x5169, | 5600 | .subvendor = 0x5169, |
5571 | .subdevice = 0x1502, | 5601 | .subdevice = 0x1502, |
@@ -6195,6 +6225,7 @@ int saa7134_board_init2(struct saa7134_dev *dev) | |||
6195 | i2c_transfer(&dev->i2c_adap, &msg, 1); | 6225 | i2c_transfer(&dev->i2c_adap, &msg, 1); |
6196 | break; | 6226 | break; |
6197 | } | 6227 | } |
6228 | case SAA7134_BOARD_ADS_INSTANT_HDTV_PCI: | ||
6198 | case SAA7134_BOARD_KWORLD_ATSC110: | 6229 | case SAA7134_BOARD_KWORLD_ATSC110: |
6199 | { | 6230 | { |
6200 | /* enable tuner */ | 6231 | /* enable tuner */ |
diff --git a/drivers/media/video/saa7134/saa7134-dvb.c b/drivers/media/video/saa7134/saa7134-dvb.c index 0dd6b988820f..2c5185778af4 100644 --- a/drivers/media/video/saa7134/saa7134-dvb.c +++ b/drivers/media/video/saa7134/saa7134-dvb.c | |||
@@ -1156,6 +1156,7 @@ static int dvb_init(struct saa7134_dev *dev) | |||
1156 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, | 1156 | dvb_attach(dvb_pll_attach, dev->dvb.frontend, 0x61, |
1157 | NULL, DVB_PLL_TDHU2); | 1157 | NULL, DVB_PLL_TDHU2); |
1158 | break; | 1158 | break; |
1159 | case SAA7134_BOARD_ADS_INSTANT_HDTV_PCI: | ||
1159 | case SAA7134_BOARD_KWORLD_ATSC110: | 1160 | case SAA7134_BOARD_KWORLD_ATSC110: |
1160 | dev->dvb.frontend = dvb_attach(nxt200x_attach, &kworldatsc110, | 1161 | dev->dvb.frontend = dvb_attach(nxt200x_attach, &kworldatsc110, |
1161 | &dev->i2c_adap); | 1162 | &dev->i2c_adap); |
diff --git a/drivers/media/video/saa7134/saa7134.h b/drivers/media/video/saa7134/saa7134.h index c17919a16952..0907c70dc48a 100644 --- a/drivers/media/video/saa7134/saa7134.h +++ b/drivers/media/video/saa7134/saa7134.h | |||
@@ -272,7 +272,8 @@ struct saa7134_format { | |||
272 | #define SAA7134_BOARD_ASUSTeK_TIGER_3IN1 147 | 272 | #define SAA7134_BOARD_ASUSTeK_TIGER_3IN1 147 |
273 | #define SAA7134_BOARD_ENCORE_ENLTV_FM53 148 | 273 | #define SAA7134_BOARD_ENCORE_ENLTV_FM53 148 |
274 | #define SAA7134_BOARD_AVERMEDIA_M135A 149 | 274 | #define SAA7134_BOARD_AVERMEDIA_M135A 149 |
275 | #define SAA7134_BOARD_REAL_ANGEL_220 147 | 275 | #define SAA7134_BOARD_REAL_ANGEL_220 150 |
276 | #define SAA7134_BOARD_ADS_INSTANT_HDTV_PCI 151 | ||
276 | 277 | ||
277 | #define SAA7134_MAXBOARDS 8 | 278 | #define SAA7134_MAXBOARDS 8 |
278 | #define SAA7134_INPUT_MAX 8 | 279 | #define SAA7134_INPUT_MAX 8 |