[PATCH] v4l: 833: analog support for asus p7131 dual tda8275a
authorHermann Pitton <hermann.pitton@onlinehome.de>
Wed, 9 Nov 2005 05:38:03 +0000 (21:38 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 9 Nov 2005 15:56:23 +0000 (07:56 -0800)
- Analog support for Asus P7131 Dual - TDA8275A

Signed-off-by: Hermann Pitton <hermann.pitton@onlinehome.de>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Documentation/video4linux/CARDLIST.saa7134
drivers/media/video/saa7134/saa7134-cards.c
drivers/media/video/saa7134/saa7134.h

index 9b3ef0031ef6068da26cbc98347f4a7ad99e8453..d476f8e15bae7f812cb331ac964c67cde4ec7c27 100644 (file)
@@ -76,3 +76,4 @@
  75 -> AVerMedia AVerTVHD MCE A180              [1461:1044]
  76 -> SKNet MonsterTV Mobile                   [1131:4ee9]
  77 -> Pinnacle PCTV 110i (saa7133)             [11bd:002e]
+ 78 -> ASUSTeK P7131 Dual                       [1043:4862]
index 0147d8342f8dbe906512bce682baa814e8af449c..155a66b3a2d2d2f86fadb087eb487fcac15ee7ad 100644 (file)
@@ -2418,6 +2418,34 @@ struct saa7134_board saa7134_boards[] = {
                          .amux = LINE1,
                },
        },
+       [SAA7134_BOARD_ASUSTeK_P7131_DUAL] = {
+               .name           = "ASUSTeK P7131 Dual",
+               .audio_clock    = 0x00187de7,
+               .tuner_type     = TUNER_PHILIPS_TDA8290,
+               .radio_type     = UNSET,
+               .tuner_addr     = ADDR_UNSET,
+               .radio_addr     = ADDR_UNSET,
+               .gpiomask       = 1 << 21,
+               .inputs         = {{
+                       .name = name_tv,
+                       .vmux = 1,
+                       .amux = TV,
+                       .tv   = 1,
+               },{
+                       .name = name_comp1,
+                       .vmux = 3,
+                       .amux = LINE2,
+               },{
+                       .name = name_svideo,
+                       .vmux = 8,
+                       .amux = LINE2,
+               }},
+               .radio = {
+                       .name = name_radio,
+                       .amux = TV,
+                       .gpio = 0x0200000,
+               },
+       },
 };
 
 const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards);
@@ -2841,6 +2869,12 @@ struct pci_device_id saa7134_pci_tbl[] = {
                .subvendor    = 0x11bd,
                .subdevice    = 0x002e,
                .driver_data  = SAA7134_BOARD_PINNACLE_PCTV_110i,
+       },{
+               .vendor       = PCI_VENDOR_ID_PHILIPS,
+               .device       = PCI_DEVICE_ID_PHILIPS_SAA7133,
+               .subvendor    = 0x1043,
+               .subdevice    = 0x4862,
+               .driver_data  = SAA7134_BOARD_ASUSTeK_P7131_DUAL,
        },{
                /* --- boards without eeprom + subsystem ID --- */
                .vendor       = PCI_VENDOR_ID_PHILIPS,
index 99d000be095e3688d852b33d8f42afaf367bd00a..ae89a3368ffec1b6604d307b376bda9a14a6aa99 100644 (file)
@@ -205,6 +205,7 @@ struct saa7134_format {
 #define SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180 75
 #define SAA7134_BOARD_MONSTERTV_MOBILE 76
 #define SAA7134_BOARD_PINNACLE_PCTV_110i 77
+#define SAA7134_BOARD_ASUSTeK_P7131_DUAL 78
 
 #define SAA7134_MAXBOARDS 8
 #define SAA7134_INPUT_MAX 8