]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] v4l: SAA7134 updates and board additions
authorMauro Carvalho Chehab <mchehab@brturbo.com.br>
Fri, 9 Sep 2005 20:03:46 +0000 (13:03 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 9 Sep 2005 20:57:50 +0000 (13:57 -0700)
- Remove $Id CVS logs for V4L files
- linux/version.h replaced by linux/utsname.h
- Add new Digimatrix card and LG TAPC Mini tuner for it

Signed-off-by: Hermann Pitton <hermann.pitton@onlinehome.de>
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>
14 files changed:
Documentation/video4linux/CARDLIST.saa7134
drivers/media/video/saa7134/saa7134-cards.c
drivers/media/video/saa7134/saa7134-core.c
drivers/media/video/saa7134/saa7134-dvb.c
drivers/media/video/saa7134/saa7134-empress.c
drivers/media/video/saa7134/saa7134-i2c.c
drivers/media/video/saa7134/saa7134-input.c
drivers/media/video/saa7134/saa7134-oss.c
drivers/media/video/saa7134/saa7134-reg.h
drivers/media/video/saa7134/saa7134-ts.c
drivers/media/video/saa7134/saa7134-tvaudio.c
drivers/media/video/saa7134/saa7134-vbi.c
drivers/media/video/saa7134/saa7134-video.c
drivers/media/video/saa7134/saa7134.h

index 1b5a3a9ffbe2bbf7913a934888e23c034260ff5c..9c8b1ca1ccc081420b9346e1b1946f77f21f1530 100644 (file)
@@ -62,3 +62,4 @@
  61 -> Philips TOUGH DVB-T reference design     [1131:2004]
  62 -> Compro VideoMate TV Gold+II
  63 -> Kworld Xpert TV PVR7134
+ 64 -> FlyTV mini Asus Digimatrix               [1043:0210,1043:0210]
index 88b71a20b602fa79985914735653766c0fbc37e9..c277b3b46512fb25e5da2bc853d274ddd3fa51ea 100644 (file)
@@ -1,5 +1,4 @@
 /*
- * $Id: saa7134-cards.c,v 1.80 2005/07/07 01:49:30 mkrufky Exp $
  *
  * device driver for philips saa7134 based TV cards
  * card-specific stuff.
@@ -2001,6 +2000,41 @@ struct saa7134_board saa7134_boards[] = {
                        .gpio = 0x000,
                },
        },
+       [SAA7134_BOARD_FLYTV_DIGIMATRIX] = {
+               .name           = "FlyTV mini Asus Digimatrix",
+               .audio_clock    = 0x00200000,
+               .tuner_type     = TUNER_LG_NTSC_TALN_MINI,
+               .radio_type     = UNSET,
+               .tuner_addr     = ADDR_UNSET,
+               .radio_addr     = ADDR_UNSET,
+               .inputs         = {{
+                       .name = name_tv,
+                       .vmux = 1,
+                       .amux = TV,
+                       .tv   = 1,
+               },{
+                       .name = name_tv_mono,
+                       .vmux = 1,
+                       .amux = LINE2,
+                       .tv   = 1,
+               },{
+                       .name = name_comp1,
+                       .vmux = 0,
+                       .amux = LINE2,
+               },{
+                       .name = name_comp2,
+                       .vmux = 3,
+                       .amux = LINE2,
+               },{
+                       .name = name_svideo,
+                       .vmux = 8,
+                       .amux = LINE2,
+               }},
+               .radio = {
+                       .name = name_radio,             /* radio unconfirmed */
+                       .amux = LINE2,
+               },
+       },
 };
 
 
@@ -2346,6 +2380,18 @@ struct pci_device_id saa7134_pci_tbl[] = {
                .subvendor    = 0x4e42,
                .subdevice    = 0x0502,
                .driver_data  = SAA7134_BOARD_THYPHOON_DVBT_DUO_CARDBUS,
+       },{
+               .vendor       = PCI_VENDOR_ID_PHILIPS,
+               .device       = PCI_DEVICE_ID_PHILIPS_SAA7133,
+               .subvendor    = 0x1043,
+               .subdevice    = 0x0210,         /* mini pci NTSC version */
+               .driver_data  = SAA7134_BOARD_FLYTV_DIGIMATRIX,
+       },{
+               .vendor       = PCI_VENDOR_ID_PHILIPS,
+               .device       = PCI_DEVICE_ID_PHILIPS_SAA7134,
+               .subvendor    = 0x1043,
+               .subdevice    = 0x0210,         /* mini pci PAL/SECAM version */
+               .driver_data  = SAA7134_BOARD_FLYTV_DIGIMATRIX,
 
        },{
                /* --- boards without eeprom + subsystem ID --- */
index 1dbe61755e9fc9e70693c99c8225d681ec37e00d..e5e36f3c6250cd534bc5cc79e30de08363ef16c4 100644 (file)
@@ -1,5 +1,4 @@
 /*
- * $Id: saa7134-core.c,v 1.39 2005/07/05 17:37:35 nsh Exp $
  *
  * device driver for philips saa7134 based TV cards
  * driver core
index 8be6a90358c84db36c0a4ca54bf6cb17d3d2e570..fa29dd5f7f04cc33342bc4ed710040ec947a5980 100644 (file)
@@ -1,5 +1,4 @@
 /*
- * $Id: saa7134-dvb.c,v 1.23 2005/07/24 22:12:47 mkrufky Exp $
  *
  * (c) 2004 Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]
  *
index c85348d0239fda3119b1852ee7777153d97cb6fe..77b627eb6483c38c259d7ea9c6f2614d3f8f7170 100644 (file)
@@ -1,5 +1,4 @@
 /*
- * $Id: saa7134-empress.c,v 1.11 2005/05/22 19:23:39 nsh Exp $
  *
  * (c) 2004 Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]
  *
index eae6b529713fe6cb3ff77673878fbcaeda776aae..711aa8e85fac3c801d87b5c45641cfb5d39560c9 100644 (file)
@@ -1,5 +1,4 @@
 /*
- * $Id: saa7134-i2c.c,v 1.22 2005/07/22 04:09:41 mkrufky Exp $
  *
  * device driver for philips saa7134 based TV cards
  * i2c interface support
index 213740122fe660cab906508e1081ba48eb483402..0e97b1eec20ef6dd6923919f9f0017e6add6936e 100644 (file)
@@ -1,5 +1,4 @@
 /*
- * $Id: saa7134-input.c,v 1.21 2005/06/22 23:37:34 nsh Exp $
  *
  * handle saa7134 IR remotes via linux kernel input layer.
  *
index b5bede95dbf50e2c4570c217e7a662b61e3deb2b..c20630c82f1c4007e1de79b36a59e4faadaef101 100644 (file)
@@ -1,5 +1,4 @@
 /*
- * $Id: saa7134-oss.c,v 1.17 2005/06/28 23:41:47 mkrufky Exp $
  *
  * device driver for philips saa7134 based TV cards
  * oss dsp interface
index 87734f22af7d95f5224aeac9adabd4610688c800..ae0c7a165390a2f88fd1a7326eec51738c524710 100644 (file)
@@ -1,5 +1,4 @@
 /*
- * $Id: saa7134-reg.h,v 1.2 2004/09/15 16:15:24 kraxel Exp $
  *
  * philips saa7134 registers
  */
index 4dd9f1b2392834b18095ec689e1fdd8c2daa13a7..463885601ab43041cab0c83a14a98da20f280908 100644 (file)
@@ -1,5 +1,4 @@
 /*
- * $Id: saa7134-ts.c,v 1.15 2005/06/14 22:48:18 hhackmann Exp $
  *
  * device driver for philips saa7134 based TV cards
  * video4linux video interface
index eeafa5a71d2ba4615dd33c4f84f627783b7daeee..badf2f9e3072bf8befeaba2278551ee463903e60 100644 (file)
@@ -1,5 +1,4 @@
 /*
- * $Id: saa7134-tvaudio.c,v 1.30 2005/06/28 23:41:47 mkrufky Exp $
  *
  * device driver for philips saa7134 based TV cards
  * tv audio decoder (fm stereo, nicam, ...)
index 29e51cad2aafae5fd55708fe231705b5273ec338..f4aee0af80e19a942e7d10e28b7321cae709c34c 100644 (file)
@@ -1,5 +1,4 @@
 /*
- * $Id: saa7134-vbi.c,v 1.7 2005/05/24 23:13:06 nsh Exp $
  *
  * device driver for philips saa7134 based TV cards
  * video4linux video interface
index a4c2f751d097976fe9448d0f6774ff94de06672b..35e5e85f669a4056534ddab47d70438045572557 100644 (file)
@@ -1,5 +1,4 @@
 /*
- * $Id: saa7134-video.c,v 1.36 2005/06/28 23:41:47 mkrufky Exp $
  *
  * device driver for philips saa7134 based TV cards
  * video4linux video interface
@@ -1368,29 +1367,7 @@ static int video_release(struct inode *inode, struct file *file)
        saa_andorb(SAA7134_OFMT_DATA_A, 0x1f, 0);
        saa_andorb(SAA7134_OFMT_DATA_B, 0x1f, 0);
 
-       if (dev->tuner_type == TUNER_PHILIPS_TDA8290) {
-               u8 data[2];
-               int ret;
-               struct i2c_msg msg = {.addr=I2C_ADDR_TDA8290, .flags=0, .buf=data, .len = 2};
-               data[0] = 0x21;
-               data[1] = 0xc0;
-               ret = i2c_transfer(&dev->i2c_adap, &msg, 1);
-               if (ret != 1)
-                       printk(KERN_ERR "TDA8290 access failure\n");
-               msg.addr = I2C_ADDR_TDA8275;
-               data[0] = 0x30;
-               data[1] = 0xd0;
-               ret = i2c_transfer(&dev->i2c_adap, &msg, 1);
-               if (ret != 1)
-                       printk(KERN_ERR "TDA8275 access failure\n");
-               msg.addr = I2C_ADDR_TDA8290;
-               data[0] = 0x21;
-               data[1] = 0x80;
-               i2c_transfer(&dev->i2c_adap, &msg, 1);
-               data[0] = 0x00;
-               data[1] = 0x02;
-               i2c_transfer(&dev->i2c_adap, &msg, 1);
-       }
+       saa7134_i2c_call_clients(dev, TUNER_SET_STANDBY, NULL);
 
        /* free stuff */
        videobuf_mmap_free(&fh->cap);
index 2af0cb2a731b77b551752a79430dace51c0f1816..7a7fa42e1d22aa16adfac5a79b31ef4c23702448 100644 (file)
@@ -1,5 +1,4 @@
 /*
- * $Id: saa7134.h,v 1.49 2005/07/13 17:25:25 mchehab Exp $
  *
  * v4l2 device driver for philips saa7134 based TV cards
  *
@@ -20,7 +19,7 @@
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-#include <linux/version.h>
+#include <linux/utsname.h>
 #define SAA7134_VERSION_CODE KERNEL_VERSION(0,2,14)
 
 #include <linux/pci.h>
@@ -185,6 +184,7 @@ struct saa7134_format {
 #define SAA7134_BOARD_PHILIPS_TOUGH 61
 #define SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII 62
 #define SAA7134_BOARD_KWORLD_XPERT 63
+#define SAA7134_BOARD_FLYTV_DIGIMATRIX 64
 
 #define SAA7134_MAXBOARDS 8
 #define SAA7134_INPUT_MAX 8