diff options
author | Hermann Pitton <hermann-pitton@arcor.de> | 2008-10-04 20:37:36 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-12 07:37:14 -0400 |
commit | 028165a336ab7d097d23e2af936dea373e3d3afc (patch) | |
tree | f7533a4a9acf59c379dd5ba34699b12cef4daf64 /drivers/media/video/saa7134 | |
parent | 1e758265f4df731fcd20e559af3a8eb849db3b4d (diff) |
V4L/DVB (9113): saa7134: fixes for the Asus Tiger Revision 1.00
In opposite to the P7131 Dual this early OEM card has a male
radio antenna connector and also no remote.
We currently switch the DVB-T RF feed to the radio input, like
on the P7131 with female radio connector used also for DVB-T
and should improve this.
Signed-off-by: Hermann Pitton <hermann-pitton@arcor.de>
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 | 45 | ||||
-rw-r--r-- | drivers/media/video/saa7134/saa7134-dvb.c | 5 | ||||
-rw-r--r-- | drivers/media/video/saa7134/saa7134.h | 1 |
3 files changed, 46 insertions, 5 deletions
diff --git a/drivers/media/video/saa7134/saa7134-cards.c b/drivers/media/video/saa7134/saa7134-cards.c index a2653b82e06b..c9392c4e92fd 100644 --- a/drivers/media/video/saa7134/saa7134-cards.c +++ b/drivers/media/video/saa7134/saa7134-cards.c | |||
@@ -4527,7 +4527,7 @@ struct saa7134_board saa7134_boards[] = { | |||
4527 | .amux = LINE2, | 4527 | .amux = LINE2, |
4528 | .tv = 1, | 4528 | .tv = 1, |
4529 | .gpio = 0x624000, | 4529 | .gpio = 0x624000, |
4530 | }, { | 4530 | }, { |
4531 | .name = name_comp1, | 4531 | .name = name_comp1, |
4532 | .vmux = 1, | 4532 | .vmux = 1, |
4533 | .amux = LINE1, | 4533 | .amux = LINE1, |
@@ -4564,14 +4564,48 @@ struct saa7134_board saa7134_boards[] = { | |||
4564 | .tv = 1, | 4564 | .tv = 1, |
4565 | }, { | 4565 | }, { |
4566 | .name = name_comp, | 4566 | .name = name_comp, |
4567 | .vmux = 4, | 4567 | .vmux = 4, |
4568 | .amux = LINE1, | 4568 | .amux = LINE1, |
4569 | }, { | 4569 | }, { |
4570 | .name = name_svideo, | 4570 | .name = name_svideo, |
4571 | .vmux = 8, | 4571 | .vmux = 8, |
4572 | .amux = LINE1, | 4572 | .amux = LINE1, |
4573 | } }, | 4573 | } }, |
4574 | }, | 4574 | }, |
4575 | [SAA7134_BOARD_ASUSTeK_TIGER] = { | ||
4576 | .name = "Asus Tiger Rev:1.00", | ||
4577 | .audio_clock = 0x00187de7, | ||
4578 | .tuner_type = TUNER_PHILIPS_TDA8290, | ||
4579 | .radio_type = UNSET, | ||
4580 | .tuner_addr = ADDR_UNSET, | ||
4581 | .radio_addr = ADDR_UNSET, | ||
4582 | .tuner_config = 0, | ||
4583 | .mpeg = SAA7134_MPEG_DVB, | ||
4584 | .gpiomask = 0x0200000, | ||
4585 | .inputs = { { | ||
4586 | .name = name_tv, | ||
4587 | .vmux = 1, | ||
4588 | .amux = TV, | ||
4589 | .tv = 1, | ||
4590 | }, { | ||
4591 | .name = name_comp1, | ||
4592 | .vmux = 3, | ||
4593 | .amux = LINE2, | ||
4594 | }, { | ||
4595 | .name = name_comp2, | ||
4596 | .vmux = 0, | ||
4597 | .amux = LINE2, | ||
4598 | }, { | ||
4599 | .name = name_svideo, | ||
4600 | .vmux = 8, | ||
4601 | .amux = LINE2, | ||
4602 | } }, | ||
4603 | .radio = { | ||
4604 | .name = name_radio, | ||
4605 | .amux = TV, | ||
4606 | .gpio = 0x0200000, | ||
4607 | }, | ||
4608 | }, | ||
4575 | }; | 4609 | }; |
4576 | 4610 | ||
4577 | const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards); | 4611 | const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards); |
@@ -5358,8 +5392,8 @@ struct pci_device_id saa7134_pci_tbl[] = { | |||
5358 | .vendor = PCI_VENDOR_ID_PHILIPS, | 5392 | .vendor = PCI_VENDOR_ID_PHILIPS, |
5359 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, | 5393 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
5360 | .subvendor = 0x1043, | 5394 | .subvendor = 0x1043, |
5361 | .subdevice = 0x4857, | 5395 | .subdevice = 0x4857, /* REV:1.00 */ |
5362 | .driver_data = SAA7134_BOARD_ASUSTeK_P7131_DUAL, | 5396 | .driver_data = SAA7134_BOARD_ASUSTeK_TIGER, |
5363 | },{ | 5397 | },{ |
5364 | .vendor = PCI_VENDOR_ID_PHILIPS, | 5398 | .vendor = PCI_VENDOR_ID_PHILIPS, |
5365 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, | 5399 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
@@ -6177,6 +6211,7 @@ int saa7134_board_init2(struct saa7134_dev *dev) | |||
6177 | case SAA7134_BOARD_PINNACLE_PCTV_310i: | 6211 | case SAA7134_BOARD_PINNACLE_PCTV_310i: |
6178 | case SAA7134_BOARD_KWORLD_DVBT_210: | 6212 | case SAA7134_BOARD_KWORLD_DVBT_210: |
6179 | case SAA7134_BOARD_TEVION_DVBT_220RF: | 6213 | case SAA7134_BOARD_TEVION_DVBT_220RF: |
6214 | case SAA7134_BOARD_ASUSTeK_TIGER: | ||
6180 | case SAA7134_BOARD_ASUSTeK_P7131_DUAL: | 6215 | case SAA7134_BOARD_ASUSTeK_P7131_DUAL: |
6181 | case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA: | 6216 | case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA: |
6182 | case SAA7134_BOARD_MEDION_MD8800_QUADRO: | 6217 | case SAA7134_BOARD_MEDION_MD8800_QUADRO: |
diff --git a/drivers/media/video/saa7134/saa7134-dvb.c b/drivers/media/video/saa7134/saa7134-dvb.c index 2c5185778af4..87c10983266f 100644 --- a/drivers/media/video/saa7134/saa7134-dvb.c +++ b/drivers/media/video/saa7134/saa7134-dvb.c | |||
@@ -1335,6 +1335,11 @@ static int dvb_init(struct saa7134_dev *dev) | |||
1335 | } | 1335 | } |
1336 | } | 1336 | } |
1337 | break; | 1337 | break; |
1338 | case SAA7134_BOARD_ASUSTeK_TIGER: | ||
1339 | if (configure_tda827x_fe(dev, &philips_tiger_config, | ||
1340 | &tda827x_cfg_0) < 0) | ||
1341 | goto dettach_frontend; | ||
1342 | break; | ||
1338 | default: | 1343 | default: |
1339 | wprintk("Huh? unknown DVB card?\n"); | 1344 | wprintk("Huh? unknown DVB card?\n"); |
1340 | break; | 1345 | break; |
diff --git a/drivers/media/video/saa7134/saa7134.h b/drivers/media/video/saa7134/saa7134.h index 0907c70dc48a..491ab1f8fdd3 100644 --- a/drivers/media/video/saa7134/saa7134.h +++ b/drivers/media/video/saa7134/saa7134.h | |||
@@ -274,6 +274,7 @@ struct saa7134_format { | |||
274 | #define SAA7134_BOARD_AVERMEDIA_M135A 149 | 274 | #define SAA7134_BOARD_AVERMEDIA_M135A 149 |
275 | #define SAA7134_BOARD_REAL_ANGEL_220 150 | 275 | #define SAA7134_BOARD_REAL_ANGEL_220 150 |
276 | #define SAA7134_BOARD_ADS_INSTANT_HDTV_PCI 151 | 276 | #define SAA7134_BOARD_ADS_INSTANT_HDTV_PCI 151 |
277 | #define SAA7134_BOARD_ASUSTeK_TIGER 152 | ||
277 | 278 | ||
278 | #define SAA7134_MAXBOARDS 8 | 279 | #define SAA7134_MAXBOARDS 8 |
279 | #define SAA7134_INPUT_MAX 8 | 280 | #define SAA7134_INPUT_MAX 8 |