All of lore.kernel.org
 help / color / mirror / Atom feed
From: dz-tor <dz-tor@wp.pl>
To: linux-media@vger.kernel.org
Cc: dz-tor@wp.pl
Subject: [PATCH] drivers/media/video/saa7134: Add support for Leadtek Winfast TV2100 FM card
Date: Sun, 10 Jan 2010 22:15:17 +0100	[thread overview]
Message-ID: <4B4A4365.3050900@wp.pl> (raw)

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

Signed-off-by: Darek Zielski <dz-tor@wp.pl>
---
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



                 reply	other threads:[~2010-01-10 21:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B4A4365.3050900@wp.pl \
    --to=dz-tor@wp.pl \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.