[PATCH] v4l: 863: added pinnacle dazzle dvc 90
authorMauro Carvalho Chehab <mchehab@brturbo.com.br>
Wed, 9 Nov 2005 05:38:15 +0000 (21:38 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 9 Nov 2005 15:56:25 +0000 (07:56 -0800)
- Added Pinnacle Dazzle DVC 90

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.em28xx
drivers/media/video/em28xx/em28xx-cards.c
drivers/media/video/em28xx/em28xx.h

index 4fa58de4b86029ebd8db44f266c1c28353425189..a0c7cad20971f5b8fa5d2d0280ae83d9d761bad0 100644 (file)
@@ -7,3 +7,4 @@
   6 -> Terratec Cinergy 200 USB                 (em2800)
   7 -> Leadtek Winfast USB II                   (em2800)
   8 -> Kworld USB2800                           (em2800)
+  9 -> Pinnacle Dazzle DVC 90                   (em2820/em2840) [2304:0207]
index 4ab30476807d54ff7c20ab08308af6ce10f68fa4..32c2c7fdad2c6418a3d249ed6a18c08614685ab1 100644 (file)
@@ -227,6 +227,22 @@ struct em2820_board em2820_boards[] = {
                        .amux     = 1,
                }},
        },
+       [EM2820_BOARD_PINNACLE_DVC_90] = {
+               .name         = "Pinnacle Dazzle DVC 90",
+               .vchannels    = 3,
+               .norm         = VIDEO_MODE_PAL,
+               .has_tuner    = 0,
+               .decoder      = EM2820_SAA7113,
+               .input          = {{
+                       .type     = EM2820_VMUX_COMPOSITE1,
+                       .vmux     = 0,
+                       .amux     = 1,
+               },{
+                       .type     = EM2820_VMUX_SVIDEO,
+                       .vmux     = 9,
+                       .amux     = 1,
+               }},
+       },
 };
 const unsigned int em2820_bcount = ARRAY_SIZE(em2820_boards);
 
@@ -237,6 +253,7 @@ struct usb_device_id em2820_id_table [] = {
        { USB_DEVICE(0x0ccd, 0x0036), .driver_info = EM2820_BOARD_TERRATEC_CINERGY_250 },
        { USB_DEVICE(0x2304, 0x0208), .driver_info = EM2820_BOARD_PINNACLE_USB_2 },
        { USB_DEVICE(0x2040, 0x4200), .driver_info = EM2820_BOARD_HAUPPAUGE_WINTV_USB_2 },
+       { USB_DEVICE(0x2304, 0x0207), .driver_info = EM2820_BOARD_PINNACLE_DVC_90 },
        { },
 };
 
@@ -258,6 +275,9 @@ void em2820_card_setup(struct em2820 *dev)
                if (tv.audio_processor == AUDIO_CHIP_MSP34XX) {
                        dev->has_msp34xx=1;
                } else dev->has_msp34xx=0;
+               em2820_write_regs_req(dev,0x06,0x00,"\x40",1);// Serial Bus Frequency Select Register
+               em2820_write_regs_req(dev,0x0f,0x00,"\x87",1);// XCLK Frequency Select Register
+               em2820_write_regs_req(dev,0x88,0x0d,"\xd0",1);
        }
 }
 
index 15760d3d753d1ff3fdf82d61b2fc977d114f7066..8c58c5b5fa3667966fff89cfc9be5a4640673c77 100644 (file)
@@ -40,6 +40,7 @@
 #define EM2800_BOARD_TERRATEC_CINERGY_200       6
 #define EM2800_BOARD_LEADTEK_WINFAST_USBII      7
 #define EM2800_BOARD_KWORLD_USB2800             8
+#define EM2820_BOARD_PINNACLE_DVC_90           9
 
 #define UNSET -1