summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa7134
diff options
context:
space:
mode:
authorMichael Krufky <devnull@localhost>2005-08-22 18:47:58 +0000
committerMichael Krufky <devnull@localhost>2005-08-22 18:47:58 +0000
commit6e002c57d04e09895fa075535cb52b749fad2bd8 (patch)
treef63a7cbf9d44311cc8285b016e1800207f6638fe /linux/drivers/media/video/saa7134
parentcb7eddfd2779d0cd2f0f79fad5cb1fdf398d259b (diff)
downloadmediapointer-dvb-s2-6e002c57d04e09895fa075535cb52b749fad2bd8.tar.gz
mediapointer-dvb-s2-6e002c57d04e09895fa075535cb52b749fad2bd8.tar.bz2
- Add saa713x card #66: Yuan TUN-900 (saa7135)
PCI subsystem ID of this board is 12ab:0800, same as 36 -> UPMOST PURPLE TV, which SHOULD be 1154:0522. We are applying this for now without autodetection based on PCI subsystem ID. This will be fixed later. Signed-off-by: De Greef Sebastien <sebdg@hotmail.com> Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Diffstat (limited to 'linux/drivers/media/video/saa7134')
-rw-r--r--linux/drivers/media/video/saa7134/saa7134-cards.c43
-rw-r--r--linux/drivers/media/video/saa7134/saa7134.h3
2 files changed, 44 insertions, 2 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-cards.c b/linux/drivers/media/video/saa7134/saa7134-cards.c
index 9552fe63a..a8e0ed3b0 100644
--- a/linux/drivers/media/video/saa7134/saa7134-cards.c
+++ b/linux/drivers/media/video/saa7134/saa7134-cards.c
@@ -1,5 +1,5 @@
/*
- * $Id: saa7134-cards.c,v 1.84 2005/08/21 19:03:29 mkrufky Exp $
+ * $Id: saa7134-cards.c,v 1.85 2005/08/22 18:47:58 mkrufky Exp $
*
* device driver for philips saa7134 based TV cards
* card-specific stuff.
@@ -2070,6 +2070,47 @@ struct saa7134_board saa7134_boards[] = {
.gpio = 0x0200000,
},
},
+ [SAA7134_BOARD_YUAN_TUN900] = {
+ /* FIXME:
+ * S-Video and composite sources untested.
+ * Radio not working.
+ * Remote control not yet implemented.
+ * From : codemaster@webgeeks.be */
+ .name = "Yuan TUN-900 (saa7135)",
+ .audio_clock = 0x00187de7,
+ .tuner_type = TUNER_PHILIPS_TDA8290,
+ .radio_type = UNSET,
+ .tuner_addr= ADDR_UNSET,
+ .radio_addr= ADDR_UNSET,
+ .gpiomask = 0x00010003,
+ .inputs = {{
+ .name = name_tv,
+ .vmux = 1,
+ .amux = TV,
+ .tv = 1,
+ .gpio = 0x01,
+ },{
+ .name = name_comp1,
+ .vmux = 0,
+ .amux = LINE2,
+ .gpio = 0x02,
+ },{
+ .name = name_svideo,
+ .vmux = 6,
+ .amux = LINE2,
+ .gpio = 0x02,
+ }},
+ .radio = {
+ .name = name_radio,
+ .amux = LINE1,
+ .gpio = 0x00010003,
+ },
+ .mute = {
+ .name = name_mute,
+ .amux = TV,
+ .gpio = 0x01,
+ },
+ },
};
diff --git a/linux/drivers/media/video/saa7134/saa7134.h b/linux/drivers/media/video/saa7134/saa7134.h
index 587ea700c..df81bd61c 100644
--- a/linux/drivers/media/video/saa7134/saa7134.h
+++ b/linux/drivers/media/video/saa7134/saa7134.h
@@ -1,5 +1,5 @@
/*
- * $Id: saa7134.h,v 1.51 2005/08/21 19:03:29 mkrufky Exp $
+ * $Id: saa7134.h,v 1.52 2005/08/22 18:47:58 mkrufky Exp $
*
* v4l2 device driver for philips saa7134 based TV cards
*
@@ -197,6 +197,7 @@ struct saa7134_format {
#define SAA7134_BOARD_KWORLD_XPERT 63
#define SAA7134_BOARD_FLYTV_DIGIMATRIX 64
#define SAA7134_BOARD_KWORLD_TERMINATOR 65
+#define SAA7134_BOARD_YUAN_TUN900 66
#define SAA7134_MAXBOARDS 8
#define SAA7134_INPUT_MAX 8