[PATCH] drivers/media/video/saa7134: Add support for Leadtek Winfast TV2100 FM card

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Added support for Leadtek Winfast TV2100 FM card. Support for remote control is missing.

Signed-off-by: Darek Zielski <dz-tor@xxxxx>
---
diff -r dd3338c55018 linux/drivers/media/video/saa7134/saa7134-cards.c
--- a/linux/drivers/media/video/saa7134/saa7134-cards.c Sun Jan 10 10:20:28 2010 -0200 +++ b/linux/drivers/media/video/saa7134/saa7134-cards.c Sun Jan 10 21:42:27 2010 +0100
@@ -5359,6 +5359,43 @@
             .vmux = 8,
         } },
     },
+    [SAA7134_BOARD_LEADTEK_WINFAST_TV2100_FM] = {
+        .name           = "Leadtek Winfast 2100 FM",
+        .audio_clock    = 0x00187de7,
+        .tuner_type     = TUNER_TNF_5335MF,
+        .radio_type     = UNSET,
+        .tuner_addr    = ADDR_UNSET,
+        .radio_addr    = ADDR_UNSET,
+
+        .gpiomask       = 0x0d,
+        .inputs         = {{
+            .name = name_tv,
+            .vmux = 1,
+            .amux = LINE1,
+            .gpio = 0x00,
+            .tv   = 1,
+        }, {
+            .name = name_comp1,
+            .vmux = 3,
+            .amux = LINE2,
+            .gpio = 0x08,
+        }, {
+            .name = name_svideo,
+            .vmux = 8,
+            .amux = LINE2,
+            .gpio = 0x08,
+        } },
+        .radio = {
+            .name = name_radio,
+            .amux = LINE1,
+            .gpio = 0x04,
+        },
+        .mute = {
+            .name = name_mute,
+            .amux = LINE1,
+            .gpio = 0x08,
+        },
+    },

 };

@@ -6510,6 +6547,12 @@
         .subdevice    = 0x6655,
         .driver_data  = SAA7134_BOARD_LEADTEK_WINFAST_DTV1000S,
     }, {
+        .vendor       = PCI_VENDOR_ID_PHILIPS,
+        .device       = PCI_DEVICE_ID_PHILIPS_SAA7130,
+        .subvendor    = 0x107d,
+        .subdevice    = 0x6f3a,
+        .driver_data  = SAA7134_BOARD_LEADTEK_WINFAST_TV2100_FM,
+    }, {
         /* --- boards without eeprom + subsystem ID --- */
         .vendor       = PCI_VENDOR_ID_PHILIPS,
         .device       = PCI_DEVICE_ID_PHILIPS_SAA7134,
diff -r dd3338c55018 linux/drivers/media/video/saa7134/saa7134.h
--- a/linux/drivers/media/video/saa7134/saa7134.h Sun Jan 10 10:20:28 2010 -0200 +++ b/linux/drivers/media/video/saa7134/saa7134.h Sun Jan 10 21:42:27 2010 +0100
@@ -300,6 +300,7 @@
 #define SAA7134_BOARD_ZOLID_HYBRID_PCI        173
 #define SAA7134_BOARD_ASUS_EUROPA_HYBRID    174
 #define SAA7134_BOARD_LEADTEK_WINFAST_DTV1000S 175
+#define SAA7134_BOARD_LEADTEK_WINFAST_TV2100_FM 176

 #define SAA7134_MAXBOARDS 32
 #define SAA7134_INPUT_MAX 8


--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux