diff mbox

Leadtek WinFast PxPVR2200

Message ID AANLkTi=P57eJV8MuWDNbVG=LouhD04_d3TdUHQWoVfoX@mail.gmail.com (mailing list archive)
State Superseded
Headers show

Commit Message

Anca Emanuel Nov. 12, 2010, 2:51 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/media/video/cx23885/cx23885-cards.c b/drivers/media/video/c
index db05400..d42145d 100644
--- a/drivers/media/video/cx23885/cx23885-cards.c
+++ b/drivers/media/video/cx23885/cx23885-cards.c
@@ -309,6 +309,12 @@  struct cx23885_board cx23885_boards[] = {
                                  CX25840_COMPONENT_ON,
                } },
        },
+       [CX23885_BOARD_LEADTEK_WINFAST_PXTV2200] = {
+               .name           = "LEADTEK WinFast PxTV2200",
+               .porta          = CX23885_ANALOG_VIDEO,
+               .tuner_type     = TUNER_XC2028,
+               .tuner_addr     = 0x64,
+       },
 };
 const unsigned int cx23885_bcount = ARRAY_SIZE(cx23885_boards);

@@ -496,6 +502,10 @@  struct cx23885_subid cx23885_subids[] = {
                .subvendor = 0x107d,
                .subdevice = 0x6f22,
                .card      = CX23885_BOARD_LEADTEK_WINFAST_PXTV1200,
+       }, {
+               .subvendor = 0x107d,
+               .subdevice = 0x6f21,
+               .card      = CX23885_BOARD_LEADTEK_WINFAST_PXTV2200,
        },
 };
 const unsigned int cx23885_idcount = ARRAY_SIZE(cx23885_subids);
@@ -749,6 +759,7 @@  void cx23885_gpio_setup(struct cx23885_dev *dev)
                cx_set(GP0_IO, 0x00050005); /* Bring the part out of reset */
                break;
        case CX23885_BOARD_HAUPPAUGE_HVR1800:
+       case CX23885_BOARD_LEADTEK_WINFAST_PXTV2200:
                /* GPIO-0 656_CLK */
                /* GPIO-0 656_CLK */
                /* GPIO-1 656_D0 */
                /* GPIO-2 8295A Reset */
diff --git a/drivers/media/video/cx23885/cx23885.h b/drivers/media/video/cx23885
index ed94b17..c2fce8c 100644
--- a/drivers/media/video/cx23885/cx23885.h
+++ b/drivers/media/video/cx23885/cx23885.h
@@ -84,6 +84,7 @@ 
 #define CX23885_BOARD_HAUPPAUGE_HVR1290        26
 #define CX23885_BOARD_MYGICA_X8558PRO          27
 #define CX23885_BOARD_LEADTEK_WINFAST_PXTV1200 28
+#define CX23885_BOARD_LEADTEK_WINFAST_PXTV2200 29

 #define GPIO_0 0x00000001
 #define GPIO_1 0x00000002