aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Schummer <joerg.schummer@web.de>2006-01-09 12:25:01 -0500
committerMauro Carvalho Chehab <mchehab@brturbo.com.br>2006-01-09 12:25:01 -0500
commitf639c9b21b763441bd6bd76185be6d2504d83d54 (patch)
tree9ab955d9a272211e1b68db17f50e67ceef979633
parentf3c5987a386300abea9854b32814d0eab7af7841 (diff)
V4L (1019): Added basic support (tv + radio) for TerraTec Cinergy 250 PCI
- Added "TerraTec Cinergy 250 PCI" board (tv and radio). - svideo not tested - IR yet not working Signed-off-by: Jörg Schummer <joerg.schummer@web.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
-rw-r--r--Documentation/video4linux/CARDLIST.saa71341
-rw-r--r--drivers/media/video/saa7134/saa7134-cards.c34
-rw-r--r--drivers/media/video/saa7134/saa7134.h1
3 files changed, 36 insertions, 0 deletions
diff --git a/Documentation/video4linux/CARDLIST.saa7134 b/Documentation/video4linux/CARDLIST.saa7134
index 53cd3e7e9e14..0fb6c4a29f5b 100644
--- a/Documentation/video4linux/CARDLIST.saa7134
+++ b/Documentation/video4linux/CARDLIST.saa7134
@@ -81,3 +81,4 @@
81 80 -> ASUS Digimatrix TV [1043:0210] 81 80 -> ASUS Digimatrix TV [1043:0210]
82 81 -> Philips Tiger reference design [1131:2018] 82 81 -> Philips Tiger reference design [1131:2018]
83 82 -> MSI TV@Anywhere plus [1462:6231] 83 82 -> MSI TV@Anywhere plus [1462:6231]
84 83 -> Terratec Cinergy 250 PCI TV [153b:1160]
diff --git a/drivers/media/video/saa7134/saa7134-cards.c b/drivers/media/video/saa7134/saa7134-cards.c
index 672fb205959f..66ff6862468e 100644
--- a/drivers/media/video/saa7134/saa7134-cards.c
+++ b/drivers/media/video/saa7134/saa7134-cards.c
@@ -2555,6 +2555,34 @@ struct saa7134_board saa7134_boards[] = {
2555 .amux = LINE1, 2555 .amux = LINE1,
2556 }, 2556 },
2557 }, 2557 },
2558 [SAA7134_BOARD_CINERGY250PCI] = {
2559 /* remote-control does not work. The signal about a
2560 key press comes in via gpio, but the key code
2561 doesn't. Neither does it have an i2c remote control
2562 interface. */
2563 .name = "Terratec Cinergy 250 PCI TV",
2564 .audio_clock = 0x00187de7,
2565 .tuner_type = TUNER_PHILIPS_TDA8290,
2566 .radio_type = UNSET,
2567 .tuner_addr = ADDR_UNSET,
2568 .radio_addr = ADDR_UNSET,
2569 .gpiomask = 0x80200000,
2570 .inputs = {{
2571 .name = name_tv,
2572 .vmux = 1,
2573 .amux = TV,
2574 .tv = 1,
2575 },{
2576 .name = name_svideo, /* NOT tested */
2577 .vmux = 8,
2578 .amux = LINE1,
2579 }},
2580 .radio = {
2581 .name = name_radio,
2582 .amux = LINE1,
2583 .gpio = 0x0200000,
2584 },
2585 },
2558}; 2586};
2559 2587
2560const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards); 2588const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards);
@@ -3002,6 +3030,12 @@ struct pci_device_id saa7134_pci_tbl[] = {
3002 .subdevice = 0x6231, 3030 .subdevice = 0x6231,
3003 .driver_data = SAA7134_BOARD_MSI_TVATANYWHERE_PLUS, 3031 .driver_data = SAA7134_BOARD_MSI_TVATANYWHERE_PLUS,
3004 },{ 3032 },{
3033 .vendor = PCI_VENDOR_ID_PHILIPS,
3034 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3035 .subvendor = 0x153b,
3036 .subdevice = 0x1160,
3037 .driver_data = SAA7134_BOARD_CINERGY250PCI,
3038 },{
3005 /* --- boards without eeprom + subsystem ID --- */ 3039 /* --- boards without eeprom + subsystem ID --- */
3006 .vendor = PCI_VENDOR_ID_PHILIPS, 3040 .vendor = PCI_VENDOR_ID_PHILIPS,
3007 .device = PCI_DEVICE_ID_PHILIPS_SAA7134, 3041 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
diff --git a/drivers/media/video/saa7134/saa7134.h b/drivers/media/video/saa7134/saa7134.h
index add49db1ad41..185115226b4b 100644
--- a/drivers/media/video/saa7134/saa7134.h
+++ b/drivers/media/video/saa7134/saa7134.h
@@ -209,6 +209,7 @@ struct saa7134_format {
209#define SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV 80 209#define SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV 80
210#define SAA7134_BOARD_PHILIPS_TIGER 81 210#define SAA7134_BOARD_PHILIPS_TIGER 81
211#define SAA7134_BOARD_MSI_TVATANYWHERE_PLUS 82 211#define SAA7134_BOARD_MSI_TVATANYWHERE_PLUS 82
212#define SAA7134_BOARD_CINERGY250PCI 83
212 213
213#define SAA7134_MAXBOARDS 8 214#define SAA7134_MAXBOARDS 8
214#define SAA7134_INPUT_MAX 8 215#define SAA7134_INPUT_MAX 8