diff options
author | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2005-09-09 16:03:51 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-09 16:57:51 -0400 |
commit | 4279f02478c2c4f106ec9efb80ca152e8d406844 (patch) | |
tree | c057acc0ea1e799aa87f343337e99f9420351e80 /drivers | |
parent | 260784dcca44b5a526cece1f275cb81ccd186a3e (diff) |
[PATCH] v4l: add saa713x card #66: Yuan TUN-900 (saa7135)
- Add saa713x card #66: Yuan TUN-900 (saa7135)
Signed-off-by: De Greef Sebastien <sebdg@hotmail.com>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-cards.c | 41 | ||||
-rw-r--r-- | drivers/media/video/saa7134/saa7134.h | 1 |
2 files changed, 42 insertions, 0 deletions
diff --git a/drivers/media/video/saa7134/saa7134-cards.c b/drivers/media/video/saa7134/saa7134-cards.c index ea0237a0b563..f991f2325340 100644 --- a/drivers/media/video/saa7134/saa7134-cards.c +++ b/drivers/media/video/saa7134/saa7134-cards.c | |||
@@ -2068,6 +2068,47 @@ struct saa7134_board saa7134_boards[] = { | |||
2068 | .gpio = 0x0200000, | 2068 | .gpio = 0x0200000, |
2069 | }, | 2069 | }, |
2070 | }, | 2070 | }, |
2071 | [SAA7134_BOARD_YUAN_TUN900] = { | ||
2072 | /* FIXME: | ||
2073 | * S-Video and composite sources untested. | ||
2074 | * Radio not working. | ||
2075 | * Remote control not yet implemented. | ||
2076 | * From : codemaster@webgeeks.be */ | ||
2077 | .name = "Yuan TUN-900 (saa7135)", | ||
2078 | .audio_clock = 0x00187de7, | ||
2079 | .tuner_type = TUNER_PHILIPS_TDA8290, | ||
2080 | .radio_type = UNSET, | ||
2081 | .tuner_addr= ADDR_UNSET, | ||
2082 | .radio_addr= ADDR_UNSET, | ||
2083 | .gpiomask = 0x00010003, | ||
2084 | .inputs = {{ | ||
2085 | .name = name_tv, | ||
2086 | .vmux = 1, | ||
2087 | .amux = TV, | ||
2088 | .tv = 1, | ||
2089 | .gpio = 0x01, | ||
2090 | },{ | ||
2091 | .name = name_comp1, | ||
2092 | .vmux = 0, | ||
2093 | .amux = LINE2, | ||
2094 | .gpio = 0x02, | ||
2095 | },{ | ||
2096 | .name = name_svideo, | ||
2097 | .vmux = 6, | ||
2098 | .amux = LINE2, | ||
2099 | .gpio = 0x02, | ||
2100 | }}, | ||
2101 | .radio = { | ||
2102 | .name = name_radio, | ||
2103 | .amux = LINE1, | ||
2104 | .gpio = 0x00010003, | ||
2105 | }, | ||
2106 | .mute = { | ||
2107 | .name = name_mute, | ||
2108 | .amux = TV, | ||
2109 | .gpio = 0x01, | ||
2110 | }, | ||
2111 | }, | ||
2071 | }; | 2112 | }; |
2072 | 2113 | ||
2073 | 2114 | ||
diff --git a/drivers/media/video/saa7134/saa7134.h b/drivers/media/video/saa7134/saa7134.h index 26ec9446dff5..1d70f3415e90 100644 --- a/drivers/media/video/saa7134/saa7134.h +++ b/drivers/media/video/saa7134/saa7134.h | |||
@@ -186,6 +186,7 @@ struct saa7134_format { | |||
186 | #define SAA7134_BOARD_KWORLD_XPERT 63 | 186 | #define SAA7134_BOARD_KWORLD_XPERT 63 |
187 | #define SAA7134_BOARD_FLYTV_DIGIMATRIX 64 | 187 | #define SAA7134_BOARD_FLYTV_DIGIMATRIX 64 |
188 | #define SAA7134_BOARD_KWORLD_TERMINATOR 65 | 188 | #define SAA7134_BOARD_KWORLD_TERMINATOR 65 |
189 | #define SAA7134_BOARD_YUAN_TUN900 66 | ||
189 | 190 | ||
190 | #define SAA7134_MAXBOARDS 8 | 191 | #define SAA7134_MAXBOARDS 8 |
191 | #define SAA7134_INPUT_MAX 8 | 192 | #define SAA7134_INPUT_MAX 8 |