Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | * |
| 3 | * device driver for philips saa7134 based TV cards |
| 4 | * card-specific stuff. |
| 5 | * |
| 6 | * (c) 2001-04 Gerd Knorr <kraxel@bytesex.org> [SuSE Labs] |
| 7 | * |
| 8 | * This program is free software; you can redistribute it and/or modify |
| 9 | * it under the terms of the GNU General Public License as published by |
| 10 | * the Free Software Foundation; either version 2 of the License, or |
| 11 | * (at your option) any later version. |
| 12 | * |
| 13 | * This program is distributed in the hope that it will be useful, |
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 | * GNU General Public License for more details. |
| 17 | * |
| 18 | * You should have received a copy of the GNU General Public License |
| 19 | * along with this program; if not, write to the Free Software |
| 20 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 21 | */ |
| 22 | |
| 23 | #include <linux/init.h> |
| 24 | #include <linux/module.h> |
| 25 | |
| 26 | #include "saa7134-reg.h" |
| 27 | #include "saa7134.h" |
Michael Krufky | 5e453dc | 2006-01-09 15:32:31 -0200 | [diff] [blame] | 28 | #include <media/v4l2-common.h> |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 29 | |
| 30 | /* commly used strings */ |
| 31 | static char name_mute[] = "mute"; |
| 32 | static char name_radio[] = "Radio"; |
| 33 | static char name_tv[] = "Television"; |
| 34 | static char name_tv_mono[] = "TV (mono only)"; |
| 35 | static char name_comp1[] = "Composite1"; |
| 36 | static char name_comp2[] = "Composite2"; |
| 37 | static char name_comp3[] = "Composite3"; |
| 38 | static char name_comp4[] = "Composite4"; |
| 39 | static char name_svideo[] = "S-Video"; |
| 40 | |
| 41 | /* ------------------------------------------------------------------ */ |
| 42 | /* board config info */ |
| 43 | |
| 44 | struct saa7134_board saa7134_boards[] = { |
| 45 | [SAA7134_BOARD_UNKNOWN] = { |
| 46 | .name = "UNKNOWN/GENERIC", |
| 47 | .audio_clock = 0x00187de7, |
| 48 | .tuner_type = TUNER_ABSENT, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 49 | .radio_type = UNSET, |
| 50 | .tuner_addr = ADDR_UNSET, |
| 51 | .radio_addr = ADDR_UNSET, |
| 52 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 53 | .inputs = {{ |
| 54 | .name = "default", |
| 55 | .vmux = 0, |
| 56 | .amux = LINE1, |
| 57 | }}, |
| 58 | }, |
| 59 | [SAA7134_BOARD_PROTEUS_PRO] = { |
| 60 | /* /me */ |
| 61 | .name = "Proteus Pro [philips reference design]", |
| 62 | .audio_clock = 0x00187de7, |
| 63 | .tuner_type = TUNER_PHILIPS_PAL, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 64 | .radio_type = UNSET, |
| 65 | .tuner_addr = ADDR_UNSET, |
| 66 | .radio_addr = ADDR_UNSET, |
| 67 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 68 | .inputs = {{ |
| 69 | .name = name_comp1, |
| 70 | .vmux = 0, |
| 71 | .amux = LINE1, |
| 72 | },{ |
| 73 | .name = name_tv, |
| 74 | .vmux = 1, |
| 75 | .amux = TV, |
| 76 | .tv = 1, |
| 77 | },{ |
| 78 | .name = name_tv_mono, |
| 79 | .vmux = 1, |
| 80 | .amux = LINE2, |
| 81 | .tv = 1, |
| 82 | }}, |
| 83 | .radio = { |
| 84 | .name = name_radio, |
| 85 | .amux = LINE2, |
| 86 | }, |
| 87 | }, |
| 88 | [SAA7134_BOARD_FLYVIDEO3000] = { |
| 89 | /* "Marco d'Itri" <md@Linux.IT> */ |
| 90 | .name = "LifeView FlyVIDEO3000", |
| 91 | .audio_clock = 0x00200000, |
| 92 | .tuner_type = TUNER_PHILIPS_PAL, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 93 | .radio_type = UNSET, |
| 94 | .tuner_addr = ADDR_UNSET, |
| 95 | .radio_addr = ADDR_UNSET, |
| 96 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 97 | .gpiomask = 0xe000, |
| 98 | .inputs = {{ |
| 99 | .name = name_tv, |
| 100 | .vmux = 1, |
| 101 | .amux = TV, |
| 102 | .gpio = 0x8000, |
| 103 | .tv = 1, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 104 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 105 | .name = name_tv_mono, |
| 106 | .vmux = 1, |
| 107 | .amux = LINE2, |
| 108 | .gpio = 0x0000, |
| 109 | .tv = 1, |
| 110 | },{ |
| 111 | .name = name_comp1, |
| 112 | .vmux = 0, |
| 113 | .amux = LINE2, |
| 114 | .gpio = 0x4000, |
| 115 | },{ |
| 116 | .name = name_comp2, |
| 117 | .vmux = 3, |
| 118 | .amux = LINE2, |
| 119 | .gpio = 0x4000, |
| 120 | },{ |
| 121 | .name = name_svideo, |
| 122 | .vmux = 8, |
| 123 | .amux = LINE2, |
| 124 | .gpio = 0x4000, |
| 125 | }}, |
| 126 | .radio = { |
| 127 | .name = name_radio, |
| 128 | .amux = LINE2, |
| 129 | .gpio = 0x2000, |
| 130 | }, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 131 | .mute = { |
| 132 | .name = name_mute, |
| 133 | .amux = TV, |
| 134 | .gpio = 0x8000, |
| 135 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 136 | }, |
| 137 | [SAA7134_BOARD_FLYVIDEO2000] = { |
| 138 | /* "TC Wan" <tcwan@cs.usm.my> */ |
Peter Missel | 10b7a90 | 2006-01-23 17:11:06 -0200 | [diff] [blame] | 139 | .name = "LifeView/Typhoon FlyVIDEO2000", |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 140 | .audio_clock = 0x00200000, |
| 141 | .tuner_type = TUNER_LG_PAL_NEW_TAPC, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 142 | .radio_type = UNSET, |
| 143 | .tuner_addr = ADDR_UNSET, |
| 144 | .radio_addr = ADDR_UNSET, |
| 145 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 146 | .gpiomask = 0xe000, |
| 147 | .inputs = {{ |
| 148 | .name = name_tv, |
| 149 | .vmux = 1, |
| 150 | .amux = LINE2, |
| 151 | .gpio = 0x0000, |
| 152 | .tv = 1, |
| 153 | },{ |
| 154 | .name = name_comp1, |
| 155 | .vmux = 0, |
| 156 | .amux = LINE2, |
| 157 | .gpio = 0x4000, |
| 158 | },{ |
| 159 | .name = name_comp2, |
| 160 | .vmux = 3, |
| 161 | .amux = LINE2, |
| 162 | .gpio = 0x4000, |
| 163 | },{ |
| 164 | .name = name_svideo, |
| 165 | .vmux = 8, |
| 166 | .amux = LINE2, |
| 167 | .gpio = 0x4000, |
| 168 | }}, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 169 | .radio = { |
| 170 | .name = name_radio, |
| 171 | .amux = LINE2, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 172 | .gpio = 0x2000, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 173 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 174 | .mute = { |
| 175 | .name = name_mute, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 176 | .amux = LINE2, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 177 | .gpio = 0x8000, |
| 178 | }, |
| 179 | }, |
| 180 | [SAA7134_BOARD_FLYTVPLATINUM_MINI] = { |
| 181 | /* "Arnaud Quette" <aquette@free.fr> */ |
| 182 | .name = "LifeView FlyTV Platinum Mini", |
| 183 | .audio_clock = 0x00200000, |
| 184 | .tuner_type = TUNER_PHILIPS_TDA8290, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 185 | .radio_type = UNSET, |
| 186 | .tuner_addr = ADDR_UNSET, |
| 187 | .radio_addr = ADDR_UNSET, |
| 188 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 189 | .inputs = {{ |
| 190 | .name = name_tv, |
| 191 | .vmux = 1, |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 192 | .amux = TV, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 193 | .tv = 1, |
| 194 | },{ |
Glen Gray | 2d14f78 | 2005-11-08 21:36:12 -0800 | [diff] [blame] | 195 | .name = name_comp1, /* Composite signal on S-Video input */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 196 | .vmux = 0, |
| 197 | .amux = LINE2, |
| 198 | },{ |
Glen Gray | 2d14f78 | 2005-11-08 21:36:12 -0800 | [diff] [blame] | 199 | .name = name_comp2, /* Composite input */ |
| 200 | .vmux = 3, |
| 201 | .amux = LINE2, |
| 202 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 203 | .name = name_svideo, |
| 204 | .vmux = 8, |
| 205 | .amux = LINE2, |
| 206 | }}, |
| 207 | }, |
| 208 | [SAA7134_BOARD_FLYTVPLATINUM_FM] = { |
| 209 | /* LifeView FlyTV Platinum FM (LR214WF) */ |
| 210 | /* "Peter Missel <peter.missel@onlinehome.de> */ |
| 211 | .name = "LifeView FlyTV Platinum FM", |
| 212 | .audio_clock = 0x00200000, |
| 213 | .tuner_type = TUNER_PHILIPS_TDA8290, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 214 | .radio_type = UNSET, |
| 215 | .tuner_addr = ADDR_UNSET, |
| 216 | .radio_addr = ADDR_UNSET, |
| 217 | |
Peter Missel | 6c9e737 | 2005-05-01 08:59:05 -0700 | [diff] [blame] | 218 | .gpiomask = 0x1E000, /* Set GP16 and unused 15,14,13 to Output */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 219 | .inputs = {{ |
| 220 | .name = name_tv, |
| 221 | .vmux = 1, |
| 222 | .amux = TV, |
Peter Missel | 6c9e737 | 2005-05-01 08:59:05 -0700 | [diff] [blame] | 223 | .gpio = 0x10000, /* GP16=1 selects TV input */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 224 | .tv = 1, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 225 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 226 | /* .name = name_tv_mono, |
| 227 | .vmux = 1, |
| 228 | .amux = LINE2, |
| 229 | .gpio = 0x0000, |
| 230 | .tv = 1, |
| 231 | },{ |
| 232 | */ .name = name_comp1, /* Composite signal on S-Video input */ |
| 233 | .vmux = 0, |
| 234 | .amux = LINE2, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 235 | /* .gpio = 0x4000, */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 236 | },{ |
| 237 | .name = name_comp2, /* Composite input */ |
| 238 | .vmux = 3, |
| 239 | .amux = LINE2, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 240 | /* .gpio = 0x4000, */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 241 | },{ |
| 242 | .name = name_svideo, /* S-Video signal on S-Video input */ |
| 243 | .vmux = 8, |
| 244 | .amux = LINE2, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 245 | /* .gpio = 0x4000, */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 246 | }}, |
Peter Missel | 6c9e737 | 2005-05-01 08:59:05 -0700 | [diff] [blame] | 247 | .radio = { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 248 | .name = name_radio, |
Peter Missel | 6c9e737 | 2005-05-01 08:59:05 -0700 | [diff] [blame] | 249 | .amux = TV, |
| 250 | .gpio = 0x00000, /* GP16=0 selects FM radio antenna */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 251 | }, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 252 | .mute = { |
| 253 | .name = name_mute, |
| 254 | .amux = TV, |
| 255 | .gpio = 0x10000, |
| 256 | }, |
Peter Missel | 6c9e737 | 2005-05-01 08:59:05 -0700 | [diff] [blame] | 257 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 258 | [SAA7134_BOARD_EMPRESS] = { |
| 259 | /* "Gert Vervoort" <gert.vervoort@philips.com> */ |
| 260 | .name = "EMPRESS", |
| 261 | .audio_clock = 0x00187de7, |
| 262 | .tuner_type = TUNER_PHILIPS_PAL, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 263 | .radio_type = UNSET, |
| 264 | .tuner_addr = ADDR_UNSET, |
| 265 | .radio_addr = ADDR_UNSET, |
| 266 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 267 | .inputs = {{ |
| 268 | .name = name_comp1, |
| 269 | .vmux = 0, |
| 270 | .amux = LINE1, |
| 271 | },{ |
| 272 | .name = name_svideo, |
| 273 | .vmux = 8, |
| 274 | .amux = LINE1, |
| 275 | },{ |
| 276 | .name = name_tv, |
| 277 | .vmux = 1, |
| 278 | .amux = LINE2, |
| 279 | .tv = 1, |
| 280 | }}, |
| 281 | .radio = { |
| 282 | .name = name_radio, |
| 283 | .amux = LINE2, |
| 284 | }, |
| 285 | .mpeg = SAA7134_MPEG_EMPRESS, |
| 286 | .video_out = CCIR656, |
| 287 | }, |
| 288 | [SAA7134_BOARD_MONSTERTV] = { |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 289 | /* "K.Ohta" <alpha292@bremen.or.jp> */ |
| 290 | .name = "SKNet Monster TV", |
| 291 | .audio_clock = 0x00187de7, |
| 292 | .tuner_type = TUNER_PHILIPS_NTSC_M, |
| 293 | .radio_type = UNSET, |
| 294 | .tuner_addr = ADDR_UNSET, |
| 295 | .radio_addr = ADDR_UNSET, |
| 296 | |
| 297 | .inputs = {{ |
| 298 | .name = name_tv, |
| 299 | .vmux = 1, |
| 300 | .amux = TV, |
| 301 | .tv = 1, |
| 302 | },{ |
| 303 | .name = name_comp1, |
| 304 | .vmux = 0, |
| 305 | .amux = LINE1, |
| 306 | },{ |
| 307 | .name = name_svideo, |
| 308 | .vmux = 8, |
| 309 | .amux = LINE1, |
| 310 | }}, |
| 311 | .radio = { |
| 312 | .name = name_radio, |
| 313 | .amux = LINE2, |
| 314 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 315 | }, |
| 316 | [SAA7134_BOARD_MD9717] = { |
| 317 | .name = "Tevion MD 9717", |
| 318 | .audio_clock = 0x00200000, |
| 319 | .tuner_type = TUNER_PHILIPS_PAL, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 320 | .radio_type = UNSET, |
| 321 | .tuner_addr = ADDR_UNSET, |
| 322 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 323 | .inputs = {{ |
| 324 | .name = name_tv, |
| 325 | .vmux = 1, |
| 326 | .amux = TV, |
| 327 | .tv = 1, |
| 328 | },{ |
| 329 | /* workaround for problems with normal TV sound */ |
| 330 | .name = name_tv_mono, |
| 331 | .vmux = 1, |
| 332 | .amux = LINE2, |
| 333 | .tv = 1, |
| 334 | },{ |
| 335 | .name = name_comp1, |
| 336 | .vmux = 2, |
| 337 | .amux = LINE1, |
| 338 | },{ |
| 339 | .name = name_comp2, |
| 340 | .vmux = 3, |
| 341 | .amux = LINE1, |
| 342 | },{ |
| 343 | .name = name_svideo, |
| 344 | .vmux = 8, |
| 345 | .amux = LINE1, |
| 346 | }}, |
| 347 | .radio = { |
| 348 | .name = name_radio, |
| 349 | .amux = LINE2, |
| 350 | }, |
| 351 | }, |
| 352 | [SAA7134_BOARD_TVSTATION_RDS] = { |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 353 | /* Typhoon TV Tuner RDS: Art.Nr. 50694 */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 354 | .name = "KNC One TV-Station RDS / Typhoon TV Tuner RDS", |
| 355 | .audio_clock = 0x00200000, |
| 356 | .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 357 | .radio_type = UNSET, |
| 358 | .tuner_addr = ADDR_UNSET, |
| 359 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 360 | .tda9887_conf = TDA9887_PRESENT, |
| 361 | .inputs = {{ |
| 362 | .name = name_tv, |
| 363 | .vmux = 1, |
| 364 | .amux = TV, |
| 365 | .tv = 1, |
| 366 | },{ |
| 367 | .name = name_tv_mono, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 368 | .vmux = 1, |
| 369 | .amux = LINE2, |
| 370 | .tv = 1, |
| 371 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 372 | |
| 373 | .name = name_svideo, |
| 374 | .vmux = 8, |
| 375 | .amux = LINE1, |
| 376 | },{ |
| 377 | .name = name_comp1, |
| 378 | .vmux = 3, |
| 379 | .amux = LINE1, |
| 380 | },{ |
| 381 | |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 382 | .name = "CVid over SVid", |
| 383 | .vmux = 0, |
| 384 | .amux = LINE1, |
| 385 | }}, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 386 | .radio = { |
| 387 | .name = name_radio, |
| 388 | .amux = LINE2, |
| 389 | }, |
| 390 | }, |
| 391 | [SAA7134_BOARD_TVSTATION_DVR] = { |
| 392 | .name = "KNC One TV-Station DVR", |
| 393 | .audio_clock = 0x00200000, |
| 394 | .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 395 | .radio_type = UNSET, |
| 396 | .tuner_addr = ADDR_UNSET, |
| 397 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 398 | .tda9887_conf = TDA9887_PRESENT, |
| 399 | .gpiomask = 0x820000, |
| 400 | .inputs = {{ |
| 401 | .name = name_tv, |
| 402 | .vmux = 1, |
| 403 | .amux = LINE2, |
| 404 | .tv = 1, |
| 405 | .gpio = 0x20000, |
| 406 | },{ |
| 407 | .name = name_svideo, |
| 408 | .vmux = 8, |
| 409 | .amux = LINE1, |
| 410 | .gpio = 0x20000, |
| 411 | },{ |
| 412 | .name = name_comp1, |
| 413 | .vmux = 3, |
| 414 | .amux = LINE1, |
| 415 | .gpio = 0x20000, |
| 416 | }}, |
| 417 | .radio = { |
| 418 | .name = name_radio, |
| 419 | .amux = LINE2, |
| 420 | .gpio = 0x20000, |
| 421 | }, |
| 422 | .mpeg = SAA7134_MPEG_EMPRESS, |
| 423 | .video_out = CCIR656, |
| 424 | }, |
| 425 | [SAA7134_BOARD_CINERGY400] = { |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 426 | .name = "Terratec Cinergy 400 TV", |
| 427 | .audio_clock = 0x00200000, |
| 428 | .tuner_type = TUNER_PHILIPS_PAL, |
| 429 | .radio_type = UNSET, |
| 430 | .tuner_addr = ADDR_UNSET, |
| 431 | .radio_addr = ADDR_UNSET, |
| 432 | .inputs = {{ |
| 433 | .name = name_tv, |
| 434 | .vmux = 1, |
| 435 | .amux = TV, |
| 436 | .tv = 1, |
| 437 | },{ |
| 438 | .name = name_comp1, |
| 439 | .vmux = 4, |
| 440 | .amux = LINE1, |
| 441 | },{ |
| 442 | .name = name_svideo, |
| 443 | .vmux = 8, |
| 444 | .amux = LINE1, |
| 445 | },{ |
| 446 | .name = name_comp2, /* CVideo over SVideo Connector */ |
| 447 | .vmux = 0, |
| 448 | .amux = LINE1, |
| 449 | }} |
| 450 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 451 | [SAA7134_BOARD_MD5044] = { |
| 452 | .name = "Medion 5044", |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 453 | .audio_clock = 0x00187de7, /* was: 0x00200000, */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 454 | .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 455 | .radio_type = UNSET, |
| 456 | .tuner_addr = ADDR_UNSET, |
| 457 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 458 | .tda9887_conf = TDA9887_PRESENT, |
| 459 | .inputs = {{ |
| 460 | .name = name_tv, |
| 461 | .vmux = 1, |
| 462 | .amux = TV, |
| 463 | .tv = 1, |
| 464 | },{ |
| 465 | /* workaround for problems with normal TV sound */ |
| 466 | .name = name_tv_mono, |
| 467 | .vmux = 1, |
| 468 | .amux = LINE2, |
| 469 | .tv = 1, |
| 470 | },{ |
| 471 | .name = name_comp1, |
| 472 | .vmux = 0, |
| 473 | .amux = LINE2, |
| 474 | },{ |
| 475 | .name = name_comp2, |
| 476 | .vmux = 3, |
| 477 | .amux = LINE2, |
| 478 | },{ |
| 479 | .name = name_svideo, |
| 480 | .vmux = 8, |
| 481 | .amux = LINE2, |
| 482 | }}, |
| 483 | .radio = { |
| 484 | .name = name_radio, |
| 485 | .amux = LINE2, |
| 486 | }, |
| 487 | }, |
| 488 | [SAA7134_BOARD_KWORLD] = { |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 489 | .name = "Kworld/KuroutoShikou SAA7130-TVPCI", |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 490 | .audio_clock = 0x00187de7, |
| 491 | .tuner_type = TUNER_PHILIPS_NTSC_M, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 492 | .radio_type = UNSET, |
| 493 | .tuner_addr = ADDR_UNSET, |
| 494 | .radio_addr = ADDR_UNSET, |
| 495 | .inputs = {{ |
| 496 | .name = name_svideo, |
| 497 | .vmux = 8, |
| 498 | .amux = LINE1, |
| 499 | },{ |
| 500 | .name = name_comp1, |
| 501 | .vmux = 3, |
| 502 | .amux = LINE1, |
| 503 | },{ |
| 504 | .name = name_tv, |
| 505 | .vmux = 1, |
| 506 | .amux = LINE2, |
| 507 | .tv = 1, |
| 508 | }}, |
| 509 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 510 | [SAA7134_BOARD_CINERGY600] = { |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 511 | .name = "Terratec Cinergy 600 TV", |
| 512 | .audio_clock = 0x00200000, |
| 513 | .tuner_type = TUNER_PHILIPS_PAL, |
| 514 | .radio_type = UNSET, |
| 515 | .tuner_addr = ADDR_UNSET, |
| 516 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 517 | .tda9887_conf = TDA9887_PRESENT, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 518 | .inputs = {{ |
| 519 | .name = name_tv, |
| 520 | .vmux = 1, |
| 521 | .amux = TV, |
| 522 | .tv = 1, |
| 523 | },{ |
| 524 | .name = name_comp1, |
| 525 | .vmux = 4, |
| 526 | .amux = LINE1, |
| 527 | },{ |
| 528 | .name = name_svideo, |
| 529 | .vmux = 8, |
| 530 | .amux = LINE1, |
| 531 | },{ |
| 532 | .name = name_comp2, /* CVideo over SVideo Connector */ |
| 533 | .vmux = 0, |
| 534 | .amux = LINE1, |
| 535 | }}, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 536 | .radio = { |
| 537 | .name = name_radio, |
| 538 | .amux = LINE2, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 539 | }, |
| 540 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 541 | [SAA7134_BOARD_MD7134] = { |
| 542 | .name = "Medion 7134", |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 543 | .audio_clock = 0x00187de7, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 544 | .tuner_type = TUNER_PHILIPS_FMD1216ME_MK3, |
| 545 | .radio_type = UNSET, |
| 546 | .tuner_addr = ADDR_UNSET, |
| 547 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 548 | .tda9887_conf = TDA9887_PRESENT, |
| 549 | .mpeg = SAA7134_MPEG_DVB, |
| 550 | .inputs = {{ |
| 551 | .name = name_tv, |
| 552 | .vmux = 1, |
| 553 | .amux = TV, |
| 554 | .tv = 1, |
| 555 | },{ |
| 556 | .name = name_comp1, |
| 557 | .vmux = 0, |
| 558 | .amux = LINE1, |
| 559 | },{ |
| 560 | .name = name_svideo, |
| 561 | .vmux = 8, |
| 562 | .amux = LINE1, |
| 563 | }}, |
| 564 | .radio = { |
| 565 | .name = name_radio, |
| 566 | .amux = LINE2, |
| 567 | }, |
| 568 | }, |
| 569 | [SAA7134_BOARD_TYPHOON_90031] = { |
| 570 | /* aka Typhoon "TV+Radio", Art.Nr 90031 */ |
| 571 | /* Tom Zoerner <tomzo at users sourceforge net> */ |
| 572 | .name = "Typhoon TV+Radio 90031", |
| 573 | .audio_clock = 0x00200000, |
| 574 | .tuner_type = TUNER_PHILIPS_PAL, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 575 | .radio_type = UNSET, |
| 576 | .tuner_addr = ADDR_UNSET, |
| 577 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 578 | .tda9887_conf = TDA9887_PRESENT, |
| 579 | .inputs = {{ |
| 580 | .name = name_tv, |
| 581 | .vmux = 1, |
| 582 | .amux = TV, |
| 583 | .tv = 1, |
| 584 | },{ |
| 585 | .name = name_comp1, |
| 586 | .vmux = 3, |
| 587 | .amux = LINE1, |
| 588 | },{ |
| 589 | .name = name_svideo, |
| 590 | .vmux = 8, |
| 591 | .amux = LINE1, |
| 592 | }}, |
| 593 | .radio = { |
| 594 | .name = name_radio, |
| 595 | .amux = LINE2, |
| 596 | }, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 597 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 598 | [SAA7134_BOARD_ELSA] = { |
| 599 | .name = "ELSA EX-VISION 300TV", |
| 600 | .audio_clock = 0x00187de7, |
| 601 | .tuner_type = TUNER_HITACHI_NTSC, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 602 | .radio_type = UNSET, |
| 603 | .tuner_addr = ADDR_UNSET, |
| 604 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 605 | .inputs = {{ |
| 606 | .name = name_svideo, |
| 607 | .vmux = 8, |
| 608 | .amux = LINE1, |
| 609 | },{ |
| 610 | .name = name_comp1, |
| 611 | .vmux = 0, |
| 612 | .amux = LINE1, |
| 613 | },{ |
| 614 | .name = name_tv, |
| 615 | .vmux = 4, |
| 616 | .amux = LINE2, |
| 617 | .tv = 1, |
| 618 | }}, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 619 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 620 | [SAA7134_BOARD_ELSA_500TV] = { |
| 621 | .name = "ELSA EX-VISION 500TV", |
| 622 | .audio_clock = 0x00187de7, |
| 623 | .tuner_type = TUNER_HITACHI_NTSC, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 624 | .radio_type = UNSET, |
| 625 | .tuner_addr = ADDR_UNSET, |
| 626 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 627 | .inputs = {{ |
| 628 | .name = name_svideo, |
| 629 | .vmux = 7, |
| 630 | .amux = LINE1, |
| 631 | },{ |
| 632 | .name = name_tv, |
| 633 | .vmux = 8, |
| 634 | .amux = TV, |
| 635 | .tv = 1, |
| 636 | },{ |
| 637 | .name = name_tv_mono, |
| 638 | .vmux = 8, |
| 639 | .amux = LINE2, |
| 640 | .tv = 1, |
| 641 | }}, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 642 | }, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 643 | [SAA7134_BOARD_ASUSTeK_TVFM7134] = { |
| 644 | .name = "ASUS TV-FM 7134", |
| 645 | .audio_clock = 0x00187de7, |
| 646 | .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, |
| 647 | .radio_type = UNSET, |
| 648 | .tuner_addr = ADDR_UNSET, |
| 649 | .radio_addr = ADDR_UNSET, |
| 650 | .tda9887_conf = TDA9887_PRESENT, |
| 651 | .inputs = {{ |
| 652 | .name = name_tv, |
| 653 | .vmux = 1, |
| 654 | .amux = TV, |
| 655 | .tv = 1, |
| 656 | },{ |
| 657 | .name = name_comp1, |
| 658 | .vmux = 4, |
| 659 | .amux = LINE2, |
| 660 | },{ |
| 661 | .name = name_svideo, |
| 662 | .vmux = 6, |
| 663 | .amux = LINE2, |
| 664 | }}, |
| 665 | .radio = { |
| 666 | .name = name_radio, |
| 667 | .amux = LINE1, |
| 668 | }, |
| 669 | }, |
| 670 | [SAA7134_BOARD_ASUSTeK_TVFM7135] = { |
| 671 | .name = "ASUS TV-FM 7135", |
| 672 | .audio_clock = 0x00187de7, |
| 673 | .tuner_type = TUNER_PHILIPS_TDA8290, |
| 674 | .radio_type = UNSET, |
| 675 | .tuner_addr = ADDR_UNSET, |
| 676 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 677 | .gpiomask = 0x200000, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 678 | .inputs = {{ |
| 679 | .name = name_tv, |
| 680 | .vmux = 1, |
| 681 | .amux = TV, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 682 | .gpio = 0x0000, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 683 | .tv = 1, |
| 684 | },{ |
| 685 | .name = name_comp1, |
| 686 | .vmux = 4, |
| 687 | .amux = LINE2, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 688 | .gpio = 0x0000, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 689 | },{ |
| 690 | .name = name_svideo, |
| 691 | .vmux = 6, |
| 692 | .amux = LINE2, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 693 | .gpio = 0x0000, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 694 | }}, |
| 695 | .radio = { |
| 696 | .name = name_radio, |
| 697 | .amux = TV, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 698 | .gpio = 0x200000, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 699 | }, |
| 700 | .mute = { |
| 701 | .name = name_mute, |
| 702 | .gpio = 0x0000, |
| 703 | }, |
| 704 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 705 | }, |
| 706 | [SAA7134_BOARD_VA1000POWER] = { |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 707 | .name = "AOPEN VA1000 POWER", |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 708 | .audio_clock = 0x00187de7, |
| 709 | .tuner_type = TUNER_PHILIPS_NTSC, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 710 | .radio_type = UNSET, |
| 711 | .tuner_addr = ADDR_UNSET, |
| 712 | .radio_addr = ADDR_UNSET, |
| 713 | .inputs = {{ |
| 714 | .name = name_svideo, |
| 715 | .vmux = 8, |
| 716 | .amux = LINE1, |
| 717 | },{ |
| 718 | .name = name_comp1, |
| 719 | .vmux = 3, |
| 720 | .amux = LINE1, |
| 721 | },{ |
| 722 | .name = name_tv, |
| 723 | .vmux = 1, |
| 724 | .amux = LINE2, |
| 725 | .tv = 1, |
| 726 | }}, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 727 | }, |
| 728 | [SAA7134_BOARD_10MOONSTVMASTER] = { |
| 729 | /* "lilicheng" <llc@linuxfans.org> */ |
| 730 | .name = "10MOONS PCI TV CAPTURE CARD", |
| 731 | .audio_clock = 0x00200000, |
| 732 | .tuner_type = TUNER_LG_PAL_NEW_TAPC, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 733 | .radio_type = UNSET, |
| 734 | .tuner_addr = ADDR_UNSET, |
| 735 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 736 | .gpiomask = 0xe000, |
| 737 | .inputs = {{ |
| 738 | .name = name_tv, |
| 739 | .vmux = 1, |
| 740 | .amux = LINE2, |
| 741 | .gpio = 0x0000, |
| 742 | .tv = 1, |
| 743 | },{ |
| 744 | .name = name_comp1, |
| 745 | .vmux = 0, |
| 746 | .amux = LINE2, |
| 747 | .gpio = 0x4000, |
| 748 | },{ |
| 749 | .name = name_comp2, |
| 750 | .vmux = 3, |
| 751 | .amux = LINE2, |
| 752 | .gpio = 0x4000, |
| 753 | },{ |
| 754 | .name = name_svideo, |
| 755 | .vmux = 8, |
| 756 | .amux = LINE2, |
| 757 | .gpio = 0x4000, |
| 758 | }}, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 759 | .radio = { |
| 760 | .name = name_radio, |
| 761 | .amux = LINE2, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 762 | .gpio = 0x2000, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 763 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 764 | .mute = { |
| 765 | .name = name_mute, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 766 | .amux = LINE2, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 767 | .gpio = 0x8000, |
| 768 | }, |
| 769 | }, |
| 770 | [SAA7134_BOARD_BMK_MPEX_NOTUNER] = { |
| 771 | /* "Andrew de Quincey" <adq@lidskialf.net> */ |
| 772 | .name = "BMK MPEX No Tuner", |
| 773 | .audio_clock = 0x200000, |
| 774 | .tuner_type = TUNER_ABSENT, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 775 | .radio_type = UNSET, |
| 776 | .tuner_addr = ADDR_UNSET, |
| 777 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 778 | .inputs = {{ |
| 779 | .name = name_comp1, |
| 780 | .vmux = 4, |
| 781 | .amux = LINE1, |
| 782 | },{ |
| 783 | .name = name_comp2, |
| 784 | .vmux = 3, |
| 785 | .amux = LINE1, |
| 786 | },{ |
| 787 | .name = name_comp3, |
| 788 | .vmux = 0, |
| 789 | .amux = LINE1, |
| 790 | },{ |
| 791 | .name = name_comp4, |
| 792 | .vmux = 1, |
| 793 | .amux = LINE1, |
| 794 | },{ |
| 795 | .name = name_svideo, |
| 796 | .vmux = 8, |
| 797 | .amux = LINE1, |
| 798 | }}, |
| 799 | .mpeg = SAA7134_MPEG_EMPRESS, |
| 800 | .video_out = CCIR656, |
| 801 | }, |
| 802 | [SAA7134_BOARD_VIDEOMATE_TV] = { |
| 803 | .name = "Compro VideoMate TV", |
| 804 | .audio_clock = 0x00187de7, |
| 805 | .tuner_type = TUNER_PHILIPS_NTSC_M, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 806 | .radio_type = UNSET, |
| 807 | .tuner_addr = ADDR_UNSET, |
| 808 | .radio_addr = ADDR_UNSET, |
| 809 | .inputs = {{ |
| 810 | .name = name_svideo, |
| 811 | .vmux = 8, |
| 812 | .amux = LINE1, |
| 813 | },{ |
| 814 | .name = name_comp1, |
| 815 | .vmux = 3, |
| 816 | .amux = LINE1, |
| 817 | },{ |
| 818 | .name = name_tv, |
| 819 | .vmux = 1, |
| 820 | .amux = LINE2, |
| 821 | .tv = 1, |
| 822 | }}, |
| 823 | }, |
| 824 | [SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS] = { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 825 | .name = "Compro VideoMate TV Gold+", |
| 826 | .audio_clock = 0x00187de7, |
| 827 | .tuner_type = TUNER_PHILIPS_NTSC_M, |
| 828 | .gpiomask = 0x800c0000, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 829 | .radio_type = UNSET, |
| 830 | .tuner_addr = ADDR_UNSET, |
| 831 | .radio_addr = ADDR_UNSET, |
| 832 | .inputs = {{ |
| 833 | .name = name_svideo, |
| 834 | .vmux = 8, |
| 835 | .amux = LINE1, |
| 836 | .gpio = 0x06c00012, |
| 837 | },{ |
| 838 | .name = name_comp1, |
| 839 | .vmux = 3, |
| 840 | .amux = LINE1, |
| 841 | .gpio = 0x0ac20012, |
| 842 | },{ |
| 843 | .name = name_tv, |
| 844 | .vmux = 1, |
| 845 | .amux = LINE2, |
| 846 | .gpio = 0x08c20012, |
| 847 | .tv = 1, |
| 848 | }}, /* radio and probably mute is missing */ |
| 849 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 850 | [SAA7134_BOARD_CRONOS_PLUS] = { |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 851 | /* |
| 852 | gpio pins: |
| 853 | 0 .. 3 BASE_ID |
| 854 | 4 .. 7 PROTECT_ID |
| 855 | 8 .. 11 USER_OUT |
| 856 | 12 .. 13 USER_IN |
| 857 | 14 .. 15 VIDIN_SEL |
| 858 | */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 859 | .name = "Matrox CronosPlus", |
| 860 | .tuner_type = TUNER_ABSENT, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 861 | .radio_type = UNSET, |
| 862 | .tuner_addr = ADDR_UNSET, |
| 863 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 864 | .gpiomask = 0xcf00, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 865 | .inputs = {{ |
| 866 | .name = name_comp1, |
| 867 | .vmux = 0, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 868 | .gpio = 2 << 14, |
| 869 | },{ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 870 | .name = name_comp2, |
| 871 | .vmux = 0, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 872 | .gpio = 1 << 14, |
| 873 | },{ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 874 | .name = name_comp3, |
| 875 | .vmux = 0, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 876 | .gpio = 0 << 14, |
| 877 | },{ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 878 | .name = name_comp4, |
| 879 | .vmux = 0, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 880 | .gpio = 3 << 14, |
| 881 | },{ |
| 882 | .name = name_svideo, |
| 883 | .vmux = 8, |
| 884 | .gpio = 2 << 14, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 885 | }}, |
| 886 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 887 | [SAA7134_BOARD_MD2819] = { |
| 888 | .name = "AverMedia M156 / Medion 2819", |
| 889 | .audio_clock = 0x00187de7, |
| 890 | .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 891 | .radio_type = UNSET, |
| 892 | .tuner_addr = ADDR_UNSET, |
| 893 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 894 | .tda9887_conf = TDA9887_PRESENT, |
| 895 | .inputs = {{ |
| 896 | .name = name_tv, |
| 897 | .vmux = 1, |
| 898 | .amux = TV, |
| 899 | .tv = 1, |
| 900 | },{ |
| 901 | .name = name_comp1, |
| 902 | .vmux = 0, |
| 903 | .amux = LINE2, |
| 904 | },{ |
| 905 | .name = name_comp2, |
| 906 | .vmux = 3, |
| 907 | .amux = LINE2, |
| 908 | },{ |
| 909 | .name = name_svideo, |
| 910 | .vmux = 8, |
| 911 | .amux = LINE2, |
| 912 | }}, |
| 913 | .radio = { |
| 914 | .name = name_radio, |
| 915 | .amux = LINE2, |
| 916 | }, |
| 917 | }, |
| 918 | [SAA7134_BOARD_BMK_MPEX_TUNER] = { |
| 919 | /* "Greg Wickham <greg.wickham@grangenet.net> */ |
| 920 | .name = "BMK MPEX Tuner", |
| 921 | .audio_clock = 0x200000, |
| 922 | .tuner_type = TUNER_PHILIPS_PAL, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 923 | .radio_type = UNSET, |
| 924 | .tuner_addr = ADDR_UNSET, |
| 925 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 926 | .inputs = {{ |
| 927 | .name = name_comp1, |
| 928 | .vmux = 1, |
| 929 | .amux = LINE1, |
| 930 | },{ |
| 931 | .name = name_svideo, |
| 932 | .vmux = 8, |
| 933 | .amux = LINE1, |
| 934 | },{ |
| 935 | .name = name_tv, |
| 936 | .vmux = 3, |
| 937 | .amux = TV, |
| 938 | .tv = 1, |
| 939 | }}, |
| 940 | .mpeg = SAA7134_MPEG_EMPRESS, |
| 941 | .video_out = CCIR656, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 942 | }, |
| 943 | [SAA7134_BOARD_ASUSTEK_TVFM7133] = { |
| 944 | .name = "ASUS TV-FM 7133", |
| 945 | .audio_clock = 0x00187de7, |
| 946 | /* probably wrong, the 7133 one is the NTSC version ... |
| 947 | * .tuner_type = TUNER_PHILIPS_FM1236_MK3 */ |
| 948 | .tuner_type = TUNER_LG_NTSC_NEW_TAPC, |
| 949 | .radio_type = UNSET, |
| 950 | .tuner_addr = ADDR_UNSET, |
| 951 | .radio_addr = ADDR_UNSET, |
| 952 | .tda9887_conf = TDA9887_PRESENT, |
| 953 | .inputs = {{ |
| 954 | .name = name_tv, |
| 955 | .vmux = 1, |
| 956 | .amux = TV, |
| 957 | .tv = 1, |
| 958 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 959 | },{ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 960 | .name = name_comp1, |
| 961 | .vmux = 4, |
| 962 | .amux = LINE2, |
| 963 | },{ |
| 964 | .name = name_svideo, |
| 965 | .vmux = 6, |
| 966 | .amux = LINE2, |
| 967 | }}, |
| 968 | .radio = { |
| 969 | .name = name_radio, |
| 970 | .amux = LINE1, |
| 971 | }, |
| 972 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 973 | [SAA7134_BOARD_PINNACLE_PCTV_STEREO] = { |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 974 | .name = "Pinnacle PCTV Stereo (saa7134)", |
| 975 | .audio_clock = 0x00187de7, |
| 976 | .tuner_type = TUNER_MT2032, |
| 977 | .radio_type = UNSET, |
| 978 | .tuner_addr = ADDR_UNSET, |
| 979 | .radio_addr = ADDR_UNSET, |
Ricardo Cerqueira | 225a0cb | 2005-12-12 00:37:28 -0800 | [diff] [blame] | 980 | .tda9887_conf = TDA9887_PRESENT | TDA9887_INTERCARRIER | TDA9887_PORT2_ACTIVE, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 981 | .inputs = {{ |
| 982 | .name = name_tv, |
| 983 | .vmux = 3, |
| 984 | .amux = TV, |
| 985 | .tv = 1, |
| 986 | },{ |
| 987 | .name = name_comp1, |
| 988 | .vmux = 0, |
| 989 | .amux = LINE2, |
| 990 | },{ |
| 991 | .name = name_comp2, |
| 992 | .vmux = 1, |
| 993 | .amux = LINE2, |
| 994 | },{ |
| 995 | .name = name_svideo, |
| 996 | .vmux = 8, |
| 997 | .amux = LINE2, |
| 998 | }}, |
| 999 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1000 | [SAA7134_BOARD_MANLI_MTV002] = { |
| 1001 | /* Ognjen Nastic <ognjen@logosoft.ba> */ |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 1002 | .name = "Manli MuchTV M-TV002/Behold TV 403 FM", |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1003 | .audio_clock = 0x00200000, |
| 1004 | .tuner_type = TUNER_PHILIPS_PAL, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1005 | .radio_type = UNSET, |
| 1006 | .tuner_addr = ADDR_UNSET, |
| 1007 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1008 | .inputs = {{ |
| 1009 | .name = name_svideo, |
| 1010 | .vmux = 8, |
| 1011 | .amux = LINE1, |
| 1012 | },{ |
| 1013 | .name = name_comp1, |
| 1014 | .vmux = 1, |
| 1015 | .amux = LINE1, |
| 1016 | },{ |
| 1017 | .name = name_tv, |
| 1018 | .vmux = 3, |
| 1019 | .amux = LINE2, |
| 1020 | .tv = 1, |
| 1021 | }}, |
| 1022 | .radio = { |
| 1023 | .name = name_radio, |
| 1024 | .amux = LINE2, |
| 1025 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1026 | }, |
| 1027 | [SAA7134_BOARD_MANLI_MTV001] = { |
| 1028 | /* Ognjen Nastic <ognjen@logosoft.ba> UNTESTED */ |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 1029 | .name = "Manli MuchTV M-TV001/Behold TV 401", |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1030 | .audio_clock = 0x00200000, |
| 1031 | .tuner_type = TUNER_PHILIPS_PAL, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1032 | .radio_type = UNSET, |
| 1033 | .tuner_addr = ADDR_UNSET, |
| 1034 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1035 | .inputs = {{ |
| 1036 | .name = name_svideo, |
| 1037 | .vmux = 8, |
| 1038 | .amux = LINE1, |
| 1039 | },{ |
| 1040 | .name = name_comp1, |
| 1041 | .vmux = 1, |
| 1042 | .amux = LINE1, |
| 1043 | },{ |
| 1044 | .name = name_tv, |
| 1045 | .vmux = 3, |
| 1046 | .amux = LINE2, |
| 1047 | .tv = 1, |
| 1048 | }}, |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 1049 | .mute = { |
| 1050 | .name = name_mute, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1051 | .amux = LINE1, |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 1052 | }, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1053 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1054 | [SAA7134_BOARD_TG3000TV] = { |
| 1055 | /* TransGear 3000TV */ |
| 1056 | .name = "Nagase Sangyo TransGear 3000TV", |
| 1057 | .audio_clock = 0x00187de7, |
| 1058 | .tuner_type = TUNER_PHILIPS_NTSC_M, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1059 | .radio_type = UNSET, |
| 1060 | .tuner_addr = ADDR_UNSET, |
| 1061 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1062 | .inputs = {{ |
| 1063 | .name = name_tv, |
| 1064 | .vmux = 1, |
| 1065 | .amux = LINE2, |
| 1066 | .tv = 1, |
| 1067 | },{ |
| 1068 | .name = name_comp1, |
| 1069 | .vmux = 3, |
| 1070 | .amux = LINE2, |
| 1071 | },{ |
| 1072 | .name = name_svideo, |
| 1073 | .vmux = 8, |
| 1074 | .amux = LINE2, |
| 1075 | }}, |
| 1076 | }, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1077 | [SAA7134_BOARD_ECS_TVP3XP] = { |
| 1078 | .name = "Elitegroup ECS TVP3XP FM1216 Tuner Card(PAL-BG,FM) ", |
| 1079 | .audio_clock = 0x187de7, /* xtal 32.1 MHz */ |
| 1080 | .tuner_type = TUNER_PHILIPS_PAL, |
| 1081 | .radio_type = UNSET, |
| 1082 | .tuner_addr = ADDR_UNSET, |
| 1083 | .radio_addr = ADDR_UNSET, |
| 1084 | .inputs = {{ |
| 1085 | .name = name_tv, |
| 1086 | .vmux = 1, |
| 1087 | .amux = TV, |
| 1088 | .tv = 1, |
| 1089 | },{ |
| 1090 | .name = name_tv_mono, |
| 1091 | .vmux = 1, |
| 1092 | .amux = LINE2, |
| 1093 | .tv = 1, |
| 1094 | },{ |
| 1095 | .name = name_comp1, |
| 1096 | .vmux = 3, |
| 1097 | .amux = LINE1, |
| 1098 | },{ |
| 1099 | .name = name_svideo, |
| 1100 | .vmux = 8, |
| 1101 | .amux = LINE1, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1102 | },{ |
| 1103 | .name = "CVid over SVid", |
| 1104 | .vmux = 0, |
| 1105 | .amux = LINE1, |
| 1106 | }}, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1107 | .radio = { |
| 1108 | .name = name_radio, |
| 1109 | .amux = LINE2, |
| 1110 | }, |
| 1111 | }, |
| 1112 | [SAA7134_BOARD_ECS_TVP3XP_4CB5] = { |
| 1113 | .name = "Elitegroup ECS TVP3XP FM1236 Tuner Card (NTSC,FM)", |
| 1114 | .audio_clock = 0x187de7, |
| 1115 | .tuner_type = TUNER_PHILIPS_NTSC, |
| 1116 | .radio_type = UNSET, |
| 1117 | .tuner_addr = ADDR_UNSET, |
| 1118 | .radio_addr = ADDR_UNSET, |
| 1119 | .inputs = {{ |
| 1120 | .name = name_tv, |
| 1121 | .vmux = 1, |
| 1122 | .amux = TV, |
| 1123 | .tv = 1, |
| 1124 | },{ |
| 1125 | .name = name_tv_mono, |
| 1126 | .vmux = 1, |
| 1127 | .amux = LINE2, |
| 1128 | .tv = 1, |
| 1129 | },{ |
| 1130 | .name = name_comp1, |
| 1131 | .vmux = 3, |
| 1132 | .amux = LINE1, |
| 1133 | },{ |
| 1134 | .name = name_svideo, |
| 1135 | .vmux = 8, |
| 1136 | .amux = LINE1, |
| 1137 | },{ |
| 1138 | .name = "CVid over SVid", |
| 1139 | .vmux = 0, |
| 1140 | .amux = LINE1, |
| 1141 | }}, |
| 1142 | .radio = { |
| 1143 | .name = name_radio, |
| 1144 | .amux = LINE2, |
| 1145 | }, |
| 1146 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1147 | [SAA7134_BOARD_AVACSSMARTTV] = { |
| 1148 | /* Roman Pszonczenko <romka@kolos.math.uni.lodz.pl> */ |
| 1149 | .name = "AVACS SmartTV", |
| 1150 | .audio_clock = 0x00187de7, |
| 1151 | .tuner_type = TUNER_PHILIPS_PAL, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1152 | .radio_type = UNSET, |
| 1153 | .tuner_addr = ADDR_UNSET, |
| 1154 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1155 | .inputs = {{ |
| 1156 | .name = name_tv, |
| 1157 | .vmux = 1, |
| 1158 | .amux = TV, |
| 1159 | .tv = 1, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1160 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1161 | .name = name_tv_mono, |
| 1162 | .vmux = 1, |
| 1163 | .amux = LINE2, |
| 1164 | .tv = 1, |
| 1165 | },{ |
| 1166 | .name = name_comp1, |
| 1167 | .vmux = 0, |
| 1168 | .amux = LINE2, |
| 1169 | },{ |
| 1170 | .name = name_comp2, |
| 1171 | .vmux = 3, |
| 1172 | .amux = LINE2, |
| 1173 | },{ |
| 1174 | .name = name_svideo, |
| 1175 | .vmux = 8, |
| 1176 | .amux = LINE2, |
| 1177 | }}, |
| 1178 | .radio = { |
| 1179 | .name = name_radio, |
| 1180 | .amux = LINE2, |
| 1181 | .gpio = 0x200000, |
| 1182 | }, |
| 1183 | }, |
| 1184 | [SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER] = { |
| 1185 | /* Michael Smith <msmith@cbnco.com> */ |
| 1186 | .name = "AVerMedia DVD EZMaker", |
| 1187 | .audio_clock = 0x00187de7, |
| 1188 | .tuner_type = TUNER_ABSENT, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1189 | .radio_type = UNSET, |
| 1190 | .tuner_addr = ADDR_UNSET, |
| 1191 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1192 | .inputs = {{ |
| 1193 | .name = name_comp1, |
| 1194 | .vmux = 3, |
| 1195 | },{ |
| 1196 | .name = name_svideo, |
| 1197 | .vmux = 8, |
| 1198 | }}, |
| 1199 | }, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1200 | [SAA7134_BOARD_NOVAC_PRIMETV7133] = { |
| 1201 | /* toshii@netbsd.org */ |
| 1202 | .name = "Noval Prime TV 7133", |
| 1203 | .audio_clock = 0x00200000, |
| 1204 | .tuner_type = TUNER_ALPS_TSBH1_NTSC, |
| 1205 | .radio_type = UNSET, |
| 1206 | .tuner_addr = ADDR_UNSET, |
| 1207 | .radio_addr = ADDR_UNSET, |
| 1208 | .inputs = {{ |
| 1209 | .name = name_comp1, |
| 1210 | .vmux = 3, |
| 1211 | },{ |
| 1212 | .name = name_tv, |
| 1213 | .vmux = 1, |
| 1214 | .amux = TV, |
| 1215 | .tv = 1, |
| 1216 | },{ |
| 1217 | .name = name_svideo, |
| 1218 | .vmux = 8, |
| 1219 | }}, |
| 1220 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1221 | [SAA7134_BOARD_AVERMEDIA_STUDIO_305] = { |
| 1222 | .name = "AverMedia AverTV Studio 305", |
| 1223 | .audio_clock = 0x00187de7, |
| 1224 | .tuner_type = TUNER_PHILIPS_FM1256_IH3, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1225 | .radio_type = UNSET, |
| 1226 | .tuner_addr = ADDR_UNSET, |
| 1227 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1228 | .tda9887_conf = TDA9887_PRESENT, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1229 | .inputs = {{ |
| 1230 | .name = name_tv, |
| 1231 | .vmux = 1, |
| 1232 | .amux = LINE2, |
| 1233 | .tv = 1, |
| 1234 | },{ |
| 1235 | .name = name_comp1, |
| 1236 | .vmux = 0, |
| 1237 | .amux = LINE2, |
| 1238 | },{ |
| 1239 | .name = name_comp2, |
| 1240 | .vmux = 3, |
| 1241 | .amux = LINE2, |
| 1242 | },{ |
| 1243 | .name = name_svideo, |
| 1244 | .vmux = 8, |
| 1245 | .amux = LINE2, |
| 1246 | }}, |
| 1247 | .radio = { |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1248 | .name = name_radio, |
| 1249 | .amux = LINE2, |
| 1250 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1251 | .mute = { |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1252 | .name = name_mute, |
| 1253 | .amux = LINE1, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1254 | }, |
| 1255 | }, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1256 | [SAA7134_BOARD_UPMOST_PURPLE_TV] = { |
| 1257 | .name = "UPMOST PURPLE TV", |
| 1258 | .audio_clock = 0x00187de7, |
| 1259 | .tuner_type = TUNER_PHILIPS_FM1236_MK3, |
| 1260 | .radio_type = UNSET, |
| 1261 | .tuner_addr = ADDR_UNSET, |
| 1262 | .radio_addr = ADDR_UNSET, |
| 1263 | .tda9887_conf = TDA9887_PRESENT, |
| 1264 | .inputs = {{ |
| 1265 | .name = name_tv, |
| 1266 | .vmux = 7, |
| 1267 | .amux = TV, |
| 1268 | .tv = 1, |
| 1269 | },{ |
| 1270 | .name = name_svideo, |
| 1271 | .vmux = 7, |
| 1272 | .amux = LINE1, |
| 1273 | }}, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1274 | }, |
| 1275 | [SAA7134_BOARD_ITEMS_MTV005] = { |
| 1276 | /* Norman Jonas <normanjonas@arcor.de> */ |
| 1277 | .name = "Items MuchTV Plus / IT-005", |
| 1278 | .audio_clock = 0x00187de7, |
| 1279 | .tuner_type = TUNER_PHILIPS_PAL, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1280 | .radio_type = UNSET, |
| 1281 | .tuner_addr = ADDR_UNSET, |
| 1282 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1283 | .inputs = {{ |
| 1284 | .name = name_tv, |
| 1285 | .vmux = 3, |
| 1286 | .amux = TV, |
| 1287 | .tv = 1, |
| 1288 | },{ |
| 1289 | .name = name_comp1, |
| 1290 | .vmux = 1, |
| 1291 | .amux = LINE1, |
| 1292 | },{ |
| 1293 | .name = name_svideo, |
| 1294 | .vmux = 8, |
| 1295 | .amux = LINE1, |
| 1296 | }}, |
| 1297 | .radio = { |
| 1298 | .name = name_radio, |
| 1299 | .amux = LINE2, |
| 1300 | }, |
| 1301 | }, |
| 1302 | [SAA7134_BOARD_CINERGY200] = { |
| 1303 | .name = "Terratec Cinergy 200 TV", |
| 1304 | .audio_clock = 0x00200000, |
| 1305 | .tuner_type = TUNER_PHILIPS_PAL, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1306 | .radio_type = UNSET, |
| 1307 | .tuner_addr = ADDR_UNSET, |
| 1308 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1309 | .inputs = {{ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1310 | .name = name_tv, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1311 | .vmux = 1, |
| 1312 | .amux = LINE2, |
| 1313 | .tv = 1, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1314 | },{ |
| 1315 | .name = name_comp1, |
| 1316 | .vmux = 4, |
| 1317 | .amux = LINE1, |
| 1318 | },{ |
| 1319 | .name = name_svideo, |
| 1320 | .vmux = 8, |
| 1321 | .amux = LINE1, |
| 1322 | },{ |
| 1323 | .name = name_comp2, /* CVideo over SVideo Connector */ |
| 1324 | .vmux = 0, |
| 1325 | .amux = LINE1, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1326 | }}, |
| 1327 | .mute = { |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1328 | .name = name_mute, |
| 1329 | .amux = LINE2, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1330 | }, |
| 1331 | }, |
| 1332 | [SAA7134_BOARD_VIDEOMATE_TV_PVR] = { |
| 1333 | /* Alain St-Denis <alain@topaze.homeip.net> */ |
| 1334 | .name = "Compro VideoMate TV PVR/FM", |
| 1335 | .audio_clock = 0x00187de7, |
| 1336 | .tuner_type = TUNER_PHILIPS_NTSC_M, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1337 | .radio_type = UNSET, |
| 1338 | .tuner_addr = ADDR_UNSET, |
| 1339 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1340 | .gpiomask = 0x808c0080, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1341 | .inputs = {{ |
| 1342 | .name = name_svideo, |
| 1343 | .vmux = 8, |
| 1344 | .amux = LINE1, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1345 | .gpio = 0x00080, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1346 | },{ |
| 1347 | .name = name_comp1, |
| 1348 | .vmux = 3, |
| 1349 | .amux = LINE1, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1350 | .gpio = 0x00080, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1351 | },{ |
| 1352 | .name = name_tv, |
| 1353 | .vmux = 1, |
| 1354 | .amux = LINE2_LEFT, |
| 1355 | .tv = 1, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1356 | .gpio = 0x00080, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1357 | }}, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1358 | .radio = { |
| 1359 | .name = name_radio, |
| 1360 | .amux = LINE2, |
| 1361 | .gpio = 0x80000, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1362 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1363 | .mute = { |
| 1364 | .name = name_mute, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1365 | .amux = LINE2, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1366 | .gpio = 0x40000, |
| 1367 | }, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1368 | }, |
| 1369 | [SAA7134_BOARD_SABRENT_SBTTVFM] = { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1370 | /* Michael Rodriguez-Torrent <mrtorrent@asu.edu> */ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1371 | .name = "Sabrent SBT-TVFM (saa7130)", |
| 1372 | .audio_clock = 0x00187de7, |
| 1373 | .tuner_type = TUNER_PHILIPS_NTSC_M, |
| 1374 | .radio_type = UNSET, |
| 1375 | .tuner_addr = ADDR_UNSET, |
| 1376 | .radio_addr = ADDR_UNSET, |
| 1377 | .inputs = {{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1378 | .name = name_comp1, |
| 1379 | .vmux = 1, |
Mauro Carvalho Chehab | 6a989d7 | 2005-09-09 13:03:57 -0700 | [diff] [blame] | 1380 | .amux = LINE1, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1381 | },{ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1382 | .name = name_tv, |
| 1383 | .vmux = 3, |
| 1384 | .amux = LINE2, |
| 1385 | .tv = 1, |
| 1386 | },{ |
| 1387 | .name = name_svideo, |
| 1388 | .vmux = 8, |
Mauro Carvalho Chehab | 6a989d7 | 2005-09-09 13:03:57 -0700 | [diff] [blame] | 1389 | .amux = LINE1, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1390 | }}, |
| 1391 | .radio = { |
| 1392 | .name = name_radio, |
| 1393 | .amux = LINE2, |
| 1394 | }, |
| 1395 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1396 | [SAA7134_BOARD_ZOLID_XPERT_TV7134] = { |
| 1397 | /* Helge Jensen <helge.jensen@slog.dk> */ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1398 | .name = ":Zolid Xpert TV7134", |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1399 | .audio_clock = 0x00187de7, |
| 1400 | .tuner_type = TUNER_PHILIPS_NTSC, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1401 | .radio_type = UNSET, |
| 1402 | .tuner_addr = ADDR_UNSET, |
| 1403 | .radio_addr = ADDR_UNSET, |
| 1404 | .inputs = {{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1405 | .name = name_svideo, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1406 | .vmux = 8, |
| 1407 | .amux = LINE1, |
| 1408 | },{ |
| 1409 | .name = name_comp1, |
| 1410 | .vmux = 3, |
| 1411 | .amux = LINE1, |
| 1412 | },{ |
| 1413 | .name = name_tv, |
| 1414 | .vmux = 1, |
| 1415 | .amux = LINE2, |
| 1416 | .tv = 1, |
| 1417 | }}, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1418 | }, |
| 1419 | [SAA7134_BOARD_EMPIRE_PCI_TV_RADIO_LE] = { |
| 1420 | /* "Matteo Az" <matte.az@nospam.libero.it> ;-) */ |
| 1421 | .name = "Empire PCI TV-Radio LE", |
| 1422 | .audio_clock = 0x00187de7, |
| 1423 | .tuner_type = TUNER_PHILIPS_PAL, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1424 | .radio_type = UNSET, |
| 1425 | .tuner_addr = ADDR_UNSET, |
| 1426 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1427 | .gpiomask = 0x4000, |
| 1428 | .inputs = {{ |
| 1429 | .name = name_tv_mono, |
| 1430 | .vmux = 1, |
| 1431 | .amux = LINE2, |
| 1432 | .gpio = 0x8000, |
| 1433 | .tv = 1, |
| 1434 | },{ |
| 1435 | .name = name_comp1, |
| 1436 | .vmux = 3, |
| 1437 | .amux = LINE1, |
| 1438 | .gpio = 0x8000, |
| 1439 | },{ |
| 1440 | .name = name_svideo, |
| 1441 | .vmux = 6, |
| 1442 | .amux = LINE1, |
| 1443 | .gpio = 0x8000, |
| 1444 | }}, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1445 | .radio = { |
| 1446 | .name = name_radio, |
| 1447 | .amux = LINE1, |
| 1448 | .gpio = 0x8000, |
| 1449 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1450 | .mute = { |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1451 | .name = name_mute, |
| 1452 | .amux = TV, |
| 1453 | .gpio =0x8000, |
| 1454 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1455 | }, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1456 | [SAA7134_BOARD_AVERMEDIA_STUDIO_307] = { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1457 | /* |
| 1458 | Nickolay V. Shmyrev <nshmyrev@yandex.ru> |
| 1459 | Lots of thanks to Andrey Zolotarev <zolotarev_andrey@mail.ru> |
| 1460 | */ |
| 1461 | .name = "Avermedia AVerTV Studio 307", |
| 1462 | .audio_clock = 0x00187de7, |
| 1463 | .tuner_type = TUNER_PHILIPS_FM1256_IH3, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1464 | .radio_type = UNSET, |
| 1465 | .tuner_addr = ADDR_UNSET, |
| 1466 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1467 | .tda9887_conf = TDA9887_PRESENT, |
| 1468 | .gpiomask = 0x03, |
| 1469 | .inputs = {{ |
| 1470 | .name = name_tv, |
| 1471 | .vmux = 1, |
| 1472 | .amux = TV, |
| 1473 | .tv = 1, |
| 1474 | .gpio = 0x00, |
| 1475 | },{ |
| 1476 | .name = name_comp1, |
| 1477 | .vmux = 0, |
| 1478 | .amux = LINE2, |
| 1479 | .gpio = 0x00, |
| 1480 | },{ |
| 1481 | .name = name_comp2, |
| 1482 | .vmux = 3, |
| 1483 | .amux = LINE2, |
| 1484 | .gpio = 0x00, |
| 1485 | },{ |
| 1486 | .name = name_svideo, |
| 1487 | .vmux = 8, |
| 1488 | .amux = LINE2, |
| 1489 | .gpio = 0x00, |
| 1490 | }}, |
| 1491 | .radio = { |
| 1492 | .name = name_radio, |
| 1493 | .amux = LINE1, |
| 1494 | .gpio = 0x01, |
| 1495 | }, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1496 | .mute = { |
| 1497 | .name = name_mute, |
| 1498 | .amux = LINE1, |
| 1499 | .gpio = 0x00, |
| 1500 | }, |
| 1501 | }, |
| 1502 | [SAA7134_BOARD_AVERMEDIA_GO_007_FM] = { |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 1503 | .name = "Avermedia AVerTV GO 007 FM", |
| 1504 | .audio_clock = 0x00187de7, |
| 1505 | .tuner_type = TUNER_PHILIPS_TDA8290, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1506 | .radio_type = UNSET, |
| 1507 | .tuner_addr = ADDR_UNSET, |
| 1508 | .radio_addr = ADDR_UNSET, |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 1509 | .gpiomask = 0x00300003, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1510 | /* .gpiomask = 0x8c240003, */ |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 1511 | .inputs = {{ |
| 1512 | .name = name_tv, |
| 1513 | .vmux = 1, |
| 1514 | .amux = TV, |
| 1515 | .tv = 1, |
| 1516 | .gpio = 0x01, |
| 1517 | },{ |
| 1518 | .name = name_comp1, |
| 1519 | .vmux = 0, |
| 1520 | .amux = LINE2, |
| 1521 | .gpio = 0x02, |
| 1522 | },{ |
| 1523 | .name = name_svideo, |
| 1524 | .vmux = 6, |
| 1525 | .amux = LINE2, |
| 1526 | .gpio = 0x02, |
| 1527 | }}, |
| 1528 | .radio = { |
| 1529 | .name = name_radio, |
| 1530 | .amux = LINE1, |
| 1531 | .gpio = 0x00300001, |
| 1532 | }, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1533 | .mute = { |
| 1534 | .name = name_mute, |
| 1535 | .amux = TV, |
| 1536 | .gpio = 0x01, |
| 1537 | }, |
| 1538 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1539 | [SAA7134_BOARD_AVERMEDIA_CARDBUS] = { |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1540 | /* Kees.Blom@cwi.nl */ |
| 1541 | .name = "AVerMedia Cardbus TV/Radio (E500)", |
| 1542 | .audio_clock = 0x187de7, |
| 1543 | .tuner_type = TUNER_PHILIPS_TDA8290, |
| 1544 | .radio_type = UNSET, |
| 1545 | .tuner_addr = ADDR_UNSET, |
| 1546 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1547 | .inputs = {{ |
| 1548 | .name = name_tv, |
| 1549 | .vmux = 1, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1550 | .amux = TV, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1551 | .tv = 1, |
| 1552 | },{ |
| 1553 | .name = name_comp1, |
| 1554 | .vmux = 3, |
| 1555 | .amux = LINE2, |
| 1556 | },{ |
| 1557 | .name = name_svideo, |
| 1558 | .vmux = 8, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1559 | .amux = LINE1, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1560 | }}, |
| 1561 | .radio = { |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1562 | .name = name_radio, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1563 | .amux = LINE1, |
| 1564 | }, |
| 1565 | }, |
| 1566 | [SAA7134_BOARD_CINERGY400_CARDBUS] = { |
| 1567 | .name = "Terratec Cinergy 400 mobile", |
| 1568 | .audio_clock = 0x187de7, |
| 1569 | .tuner_type = TUNER_ALPS_TSBE5_PAL, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1570 | .radio_type = UNSET, |
| 1571 | .tuner_addr = ADDR_UNSET, |
| 1572 | .radio_addr = ADDR_UNSET, |
| 1573 | .tda9887_conf = TDA9887_PRESENT, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1574 | .inputs = {{ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1575 | .name = name_tv, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1576 | .vmux = 1, |
| 1577 | .amux = TV, |
| 1578 | .tv = 1, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1579 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1580 | .name = name_tv_mono, |
| 1581 | .vmux = 1, |
| 1582 | .amux = LINE2, |
| 1583 | .tv = 1, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1584 | },{ |
| 1585 | .name = name_comp1, |
| 1586 | .vmux = 3, |
| 1587 | .amux = LINE1, |
| 1588 | },{ |
| 1589 | .name = name_svideo, |
| 1590 | .vmux = 8, |
| 1591 | .amux = LINE1, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1592 | }}, |
| 1593 | }, |
| 1594 | [SAA7134_BOARD_CINERGY600_MK3] = { |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1595 | .name = "Terratec Cinergy 600 TV MK3", |
| 1596 | .audio_clock = 0x00200000, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1597 | .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1598 | .radio_type = UNSET, |
| 1599 | .tuner_addr = ADDR_UNSET, |
| 1600 | .radio_addr = ADDR_UNSET, |
| 1601 | .tda9887_conf = TDA9887_PRESENT, |
| 1602 | .inputs = {{ |
| 1603 | .name = name_tv, |
| 1604 | .vmux = 1, |
| 1605 | .amux = TV, |
| 1606 | .tv = 1, |
| 1607 | },{ |
| 1608 | .name = name_comp1, |
| 1609 | .vmux = 4, |
| 1610 | .amux = LINE1, |
| 1611 | },{ |
| 1612 | .name = name_svideo, |
| 1613 | .vmux = 8, |
| 1614 | .amux = LINE1, |
| 1615 | },{ |
| 1616 | .name = name_comp2, /* CVideo over SVideo Connector */ |
| 1617 | .vmux = 0, |
| 1618 | .amux = LINE1, |
| 1619 | }}, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1620 | .radio = { |
| 1621 | .name = name_radio, |
| 1622 | .amux = LINE2, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1623 | }, |
| 1624 | }, |
| 1625 | [SAA7134_BOARD_VIDEOMATE_GOLD_PLUS] = { |
| 1626 | /* Dylan Walkden <dylan_walkden@hotmail.com> */ |
| 1627 | .name = "Compro VideoMate Gold+ Pal", |
| 1628 | .audio_clock = 0x00187de7, |
| 1629 | .tuner_type = TUNER_PHILIPS_PAL, |
| 1630 | .radio_type = UNSET, |
| 1631 | .tuner_addr = ADDR_UNSET, |
| 1632 | .radio_addr = ADDR_UNSET, |
| 1633 | .gpiomask = 0x1ce780, |
| 1634 | .inputs = {{ |
| 1635 | .name = name_svideo, |
| 1636 | .vmux = 0, /* CVideo over SVideo Connector - ok? */ |
| 1637 | .amux = LINE1, |
| 1638 | .gpio = 0x008080, |
| 1639 | },{ |
| 1640 | .name = name_comp1, |
| 1641 | .vmux = 3, |
| 1642 | .amux = LINE1, |
| 1643 | .gpio = 0x008080, |
| 1644 | },{ |
| 1645 | .name = name_tv, |
| 1646 | .vmux = 1, |
| 1647 | .amux = TV, |
| 1648 | .tv = 1, |
| 1649 | .gpio = 0x008080, |
| 1650 | }}, |
| 1651 | .radio = { |
| 1652 | .name = name_radio, |
| 1653 | .amux = LINE2, |
| 1654 | .gpio = 0x80000, |
| 1655 | }, |
| 1656 | .mute = { |
| 1657 | .name = name_mute, |
| 1658 | .amux = LINE2, |
| 1659 | .gpio = 0x0c8000, |
| 1660 | }, |
| 1661 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1662 | [SAA7134_BOARD_PINNACLE_300I_DVBT_PAL] = { |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1663 | .name = "Pinnacle PCTV 300i DVB-T + PAL", |
| 1664 | .audio_clock = 0x00187de7, |
| 1665 | .tuner_type = TUNER_MT2032, |
| 1666 | .radio_type = UNSET, |
| 1667 | .tuner_addr = ADDR_UNSET, |
| 1668 | .radio_addr = ADDR_UNSET, |
Ricardo Cerqueira | 0b3af1b | 2006-01-11 19:40:45 -0200 | [diff] [blame] | 1669 | .tda9887_conf = TDA9887_PRESENT | TDA9887_INTERCARRIER | TDA9887_PORT2_ACTIVE, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1670 | .mpeg = SAA7134_MPEG_DVB, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1671 | .inputs = {{ |
| 1672 | .name = name_tv, |
| 1673 | .vmux = 3, |
| 1674 | .amux = TV, |
| 1675 | .tv = 1, |
| 1676 | },{ |
| 1677 | .name = name_comp1, |
| 1678 | .vmux = 0, |
| 1679 | .amux = LINE2, |
| 1680 | },{ |
| 1681 | .name = name_comp2, |
| 1682 | .vmux = 1, |
| 1683 | .amux = LINE2, |
| 1684 | },{ |
| 1685 | .name = name_svideo, |
| 1686 | .vmux = 8, |
| 1687 | .amux = LINE2, |
| 1688 | }}, |
| 1689 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1690 | [SAA7134_BOARD_PROVIDEO_PV952] = { |
| 1691 | /* andreas.kretschmer@web.de */ |
| 1692 | .name = "ProVideo PV952", |
| 1693 | .audio_clock = 0x00187de7, |
| 1694 | .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1695 | .radio_type = UNSET, |
| 1696 | .tuner_addr = ADDR_UNSET, |
| 1697 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1698 | .tda9887_conf = TDA9887_PRESENT, |
| 1699 | .inputs = {{ |
| 1700 | .name = name_comp1, |
| 1701 | .vmux = 0, |
| 1702 | .amux = LINE1, |
| 1703 | },{ |
| 1704 | .name = name_tv, |
| 1705 | .vmux = 1, |
| 1706 | .amux = TV, |
| 1707 | .tv = 1, |
| 1708 | },{ |
| 1709 | .name = name_tv_mono, |
| 1710 | .vmux = 1, |
| 1711 | .amux = LINE2, |
| 1712 | .tv = 1, |
| 1713 | }}, |
| 1714 | .radio = { |
| 1715 | .name = name_radio, |
| 1716 | .amux = LINE2, |
| 1717 | }, |
| 1718 | }, |
| 1719 | [SAA7134_BOARD_AVERMEDIA_305] = { |
| 1720 | /* much like the "studio" version but without radio |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1721 | * and another tuner (sirspiritus@yandex.ru) */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1722 | .name = "AverMedia AverTV/305", |
| 1723 | .audio_clock = 0x00187de7, |
| 1724 | .tuner_type = TUNER_PHILIPS_FQ1216ME, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1725 | .radio_type = UNSET, |
| 1726 | .tuner_addr = ADDR_UNSET, |
| 1727 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1728 | .tda9887_conf = TDA9887_PRESENT, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1729 | .inputs = {{ |
| 1730 | .name = name_tv, |
| 1731 | .vmux = 1, |
| 1732 | .amux = LINE2, |
| 1733 | .tv = 1, |
| 1734 | },{ |
| 1735 | .name = name_comp1, |
| 1736 | .vmux = 0, |
| 1737 | .amux = LINE2, |
| 1738 | },{ |
| 1739 | .name = name_comp2, |
| 1740 | .vmux = 3, |
| 1741 | .amux = LINE2, |
| 1742 | },{ |
| 1743 | .name = name_svideo, |
| 1744 | .vmux = 8, |
| 1745 | .amux = LINE2, |
| 1746 | }}, |
| 1747 | .mute = { |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1748 | .name = name_mute, |
| 1749 | .amux = LINE1, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1750 | }, |
| 1751 | }, |
| 1752 | [SAA7134_BOARD_FLYDVBTDUO] = { |
| 1753 | /* LifeView FlyDVB-T DUO */ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1754 | /* "Nico Sabbi <nsabbi@tiscali.it> Hartmut Hackmann hartmut.hackmann@t-online.de*/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1755 | .name = "LifeView FlyDVB-T DUO", |
| 1756 | .audio_clock = 0x00200000, |
| 1757 | .tuner_type = TUNER_PHILIPS_TDA8290, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1758 | .radio_type = UNSET, |
| 1759 | .tuner_addr = ADDR_UNSET, |
| 1760 | .radio_addr = ADDR_UNSET, |
| 1761 | .mpeg = SAA7134_MPEG_DVB, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1762 | .inputs = {{ |
| 1763 | .name = name_tv, |
| 1764 | .vmux = 1, |
| 1765 | .amux = TV, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1766 | .tv = 1, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1767 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1768 | .name = name_comp1, /* Composite signal on S-Video input */ |
| 1769 | .vmux = 0, |
| 1770 | .amux = LINE2, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1771 | },{ |
| 1772 | .name = name_comp2, /* Composite input */ |
| 1773 | .vmux = 3, |
| 1774 | .amux = LINE2, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1775 | },{ |
| 1776 | .name = name_svideo, /* S-Video signal on S-Video input */ |
| 1777 | .vmux = 8, |
| 1778 | .amux = LINE2, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1779 | }}, |
| 1780 | }, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1781 | [SAA7134_BOARD_PHILIPS_TOUGH] = { |
| 1782 | .name = "Philips TOUGH DVB-T reference design", |
| 1783 | .tuner_type = TUNER_ABSENT, |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 1784 | .audio_clock = 0x00187de7, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1785 | .radio_type = UNSET, |
| 1786 | .tuner_addr = ADDR_UNSET, |
| 1787 | .radio_addr = ADDR_UNSET, |
| 1788 | .mpeg = SAA7134_MPEG_DVB, |
| 1789 | .inputs = {{ |
| 1790 | .name = name_comp1, |
| 1791 | .vmux = 0, |
| 1792 | .amux = LINE1, |
| 1793 | },{ |
| 1794 | .name = name_svideo, |
| 1795 | .vmux = 8, |
| 1796 | .amux = LINE1, |
| 1797 | }}, |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 1798 | }, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1799 | [SAA7134_BOARD_AVERMEDIA_307] = { |
| 1800 | /* |
| 1801 | Davydov Vladimir <vladimir@iqmedia.com> |
| 1802 | */ |
| 1803 | .name = "Avermedia AVerTV 307", |
| 1804 | .audio_clock = 0x00187de7, |
| 1805 | .tuner_type = TUNER_PHILIPS_FQ1216ME, |
| 1806 | .radio_type = UNSET, |
| 1807 | .tuner_addr = ADDR_UNSET, |
| 1808 | .radio_addr = ADDR_UNSET, |
| 1809 | .tda9887_conf = TDA9887_PRESENT, |
| 1810 | .inputs = {{ |
| 1811 | .name = name_tv, |
| 1812 | .vmux = 1, |
| 1813 | .amux = TV, |
| 1814 | .tv = 1, |
| 1815 | },{ |
| 1816 | .name = name_comp1, |
| 1817 | .vmux = 0, |
| 1818 | .amux = LINE1, |
| 1819 | },{ |
| 1820 | .name = name_comp2, |
| 1821 | .vmux = 3, |
| 1822 | .amux = LINE1, |
| 1823 | },{ |
| 1824 | .name = name_svideo, |
| 1825 | .vmux = 8, |
| 1826 | .amux = LINE1, |
| 1827 | }}, |
| 1828 | }, |
| 1829 | [SAA7134_BOARD_ADS_INSTANT_TV] = { |
| 1830 | .name = "ADS Tech Instant TV (saa7135)", |
| 1831 | .audio_clock = 0x00187de7, |
| 1832 | .tuner_type = TUNER_PHILIPS_TDA8290, |
| 1833 | .radio_type = UNSET, |
| 1834 | .tuner_addr = ADDR_UNSET, |
| 1835 | .radio_addr = ADDR_UNSET, |
| 1836 | .inputs = {{ |
| 1837 | .name = name_tv, |
| 1838 | .vmux = 1, |
| 1839 | .amux = TV, |
| 1840 | .tv = 1, |
| 1841 | },{ |
| 1842 | .name = name_comp1, |
| 1843 | .vmux = 3, |
| 1844 | .amux = LINE2, |
| 1845 | },{ |
| 1846 | .name = name_svideo, |
| 1847 | .vmux = 8, |
| 1848 | .amux = LINE2, |
| 1849 | }}, |
| 1850 | }, |
| 1851 | [SAA7134_BOARD_KWORLD_VSTREAM_XPERT] = { |
| 1852 | .name = "Kworld/Tevion V-Stream Xpert TV PVR7134", |
| 1853 | .audio_clock = 0x00187de7, |
| 1854 | .tuner_type = TUNER_PHILIPS_PAL_I, |
| 1855 | .radio_type = UNSET, |
| 1856 | .tuner_addr = ADDR_UNSET, |
| 1857 | .radio_addr = ADDR_UNSET, |
| 1858 | .gpiomask = 0x0700, |
| 1859 | .inputs = {{ |
| 1860 | .name = name_tv, |
| 1861 | .vmux = 1, |
| 1862 | .amux = TV, |
| 1863 | .tv = 1, |
| 1864 | .gpio = 0x000, |
| 1865 | },{ |
| 1866 | .name = name_comp1, |
| 1867 | .vmux = 3, |
| 1868 | .amux = LINE1, |
| 1869 | .gpio = 0x200, /* gpio by DScaler */ |
| 1870 | },{ |
| 1871 | .name = name_svideo, |
| 1872 | .vmux = 0, |
| 1873 | .amux = LINE1, |
| 1874 | .gpio = 0x200, |
| 1875 | }}, |
| 1876 | .radio = { |
| 1877 | .name = name_radio, |
| 1878 | .amux = LINE1, |
| 1879 | .gpio = 0x100, |
| 1880 | }, |
| 1881 | .mute = { |
| 1882 | .name = name_mute, |
| 1883 | .amux = TV, |
| 1884 | .gpio = 0x000, |
| 1885 | }, |
| 1886 | }, |
Peter Missel | 10b7a90 | 2006-01-23 17:11:06 -0200 | [diff] [blame] | 1887 | [SAA7134_BOARD_FLYDVBT_DUO_CARDBUS] = { |
| 1888 | .name = "LifeView/Typhoon FlyDVB-T Duo Cardbus", |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1889 | .audio_clock = 0x00200000, |
| 1890 | .tuner_type = TUNER_PHILIPS_TDA8290, |
| 1891 | .radio_type = UNSET, |
| 1892 | .tuner_addr = ADDR_UNSET, |
| 1893 | .radio_addr = ADDR_UNSET, |
| 1894 | .mpeg = SAA7134_MPEG_DVB, |
Peter Missel | 10b7a90 | 2006-01-23 17:11:06 -0200 | [diff] [blame] | 1895 | .gpiomask = 0x00200000, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1896 | .inputs = {{ |
| 1897 | .name = name_tv, |
| 1898 | .vmux = 1, |
| 1899 | .amux = TV, |
Peter Missel | 10b7a90 | 2006-01-23 17:11:06 -0200 | [diff] [blame] | 1900 | .gpio = 0x200000, /* GPIO21=High for TV input */ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1901 | .tv = 1, |
| 1902 | },{ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1903 | .name = name_svideo, /* S-Video signal on S-Video input */ |
| 1904 | .vmux = 8, |
| 1905 | .amux = LINE2, |
Peter Missel | 10b7a90 | 2006-01-23 17:11:06 -0200 | [diff] [blame] | 1906 | },{ |
| 1907 | .name = name_comp1, /* Composite signal on S-Video input */ |
| 1908 | .vmux = 0, |
| 1909 | .amux = LINE2, |
| 1910 | },{ |
| 1911 | .name = name_comp2, /* Composite input */ |
| 1912 | .vmux = 3, |
| 1913 | .amux = LINE2, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1914 | }}, |
| 1915 | .radio = { |
| 1916 | .name = name_radio, |
Peter Missel | 10b7a90 | 2006-01-23 17:11:06 -0200 | [diff] [blame] | 1917 | .amux = TV, |
| 1918 | .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1919 | }, |
| 1920 | }, |
| 1921 | [SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII] = { |
| 1922 | .name = "Compro VideoMate TV Gold+II", |
| 1923 | .audio_clock = 0x002187de7, |
| 1924 | .tuner_type = TUNER_LG_PAL_NEW_TAPC, |
| 1925 | .radio_type = TUNER_TEA5767, |
| 1926 | .tuner_addr = 0x63, |
| 1927 | .radio_addr = 0x60, |
| 1928 | .gpiomask = 0x8c1880, |
| 1929 | .inputs = {{ |
| 1930 | .name = name_svideo, |
| 1931 | .vmux = 0, |
| 1932 | .amux = LINE1, |
| 1933 | .gpio = 0x800800, |
| 1934 | },{ |
| 1935 | .name = name_comp1, |
| 1936 | .vmux = 3, |
| 1937 | .amux = LINE1, |
| 1938 | .gpio = 0x801000, |
| 1939 | },{ |
| 1940 | .name = name_tv, |
| 1941 | .vmux = 1, |
| 1942 | .amux = TV, |
| 1943 | .tv = 1, |
| 1944 | .gpio = 0x800000, |
| 1945 | }}, |
| 1946 | .radio = { |
| 1947 | .name = name_radio, |
| 1948 | .amux = TV, |
| 1949 | .gpio = 0x880000, |
| 1950 | }, |
| 1951 | .mute = { |
| 1952 | .name = name_mute, |
| 1953 | .amux = LINE2, |
| 1954 | .gpio = 0x840000, |
| 1955 | }, |
| 1956 | }, |
| 1957 | [SAA7134_BOARD_KWORLD_XPERT] = { |
| 1958 | /* |
| 1959 | FIXME: |
| 1960 | - Remote control doesn't initialize properly. |
| 1961 | - Audio volume starts muted, |
| 1962 | then gradually increases after channel change. |
| 1963 | - Overlay scaling problems (application error?) |
| 1964 | - Composite S-Video untested. |
| 1965 | From: Konrad Rzepecki <hannibal@megapolis.pl> |
| 1966 | */ |
| 1967 | .name = "Kworld Xpert TV PVR7134", |
| 1968 | .audio_clock = 0x00187de7, |
| 1969 | .tuner_type = TUNER_TENA_9533_DI, |
| 1970 | .radio_type = TUNER_TEA5767, |
| 1971 | .tuner_addr = 0x61, |
| 1972 | .radio_addr = 0x60, |
| 1973 | .gpiomask = 0x0700, |
| 1974 | .inputs = {{ |
| 1975 | .name = name_tv, |
| 1976 | .vmux = 1, |
| 1977 | .amux = TV, |
| 1978 | .tv = 1, |
| 1979 | .gpio = 0x000, |
| 1980 | },{ |
| 1981 | .name = name_comp1, |
| 1982 | .vmux = 3, |
| 1983 | .amux = LINE1, |
| 1984 | .gpio = 0x200, /* gpio by DScaler */ |
| 1985 | },{ |
| 1986 | .name = name_svideo, |
| 1987 | .vmux = 0, |
| 1988 | .amux = LINE1, |
| 1989 | .gpio = 0x200, |
| 1990 | }}, |
| 1991 | .radio = { |
| 1992 | .name = name_radio, |
| 1993 | .amux = LINE1, |
| 1994 | .gpio = 0x100, |
| 1995 | }, |
| 1996 | .mute = { |
| 1997 | .name = name_mute, |
| 1998 | .amux = TV, |
| 1999 | .gpio = 0x000, |
| 2000 | }, |
| 2001 | }, |
Mauro Carvalho Chehab | 2f18071 | 2005-09-09 13:03:46 -0700 | [diff] [blame] | 2002 | [SAA7134_BOARD_FLYTV_DIGIMATRIX] = { |
| 2003 | .name = "FlyTV mini Asus Digimatrix", |
| 2004 | .audio_clock = 0x00200000, |
| 2005 | .tuner_type = TUNER_LG_NTSC_TALN_MINI, |
| 2006 | .radio_type = UNSET, |
| 2007 | .tuner_addr = ADDR_UNSET, |
| 2008 | .radio_addr = ADDR_UNSET, |
| 2009 | .inputs = {{ |
| 2010 | .name = name_tv, |
| 2011 | .vmux = 1, |
| 2012 | .amux = TV, |
| 2013 | .tv = 1, |
| 2014 | },{ |
| 2015 | .name = name_tv_mono, |
| 2016 | .vmux = 1, |
| 2017 | .amux = LINE2, |
| 2018 | .tv = 1, |
| 2019 | },{ |
| 2020 | .name = name_comp1, |
| 2021 | .vmux = 0, |
| 2022 | .amux = LINE2, |
| 2023 | },{ |
| 2024 | .name = name_comp2, |
| 2025 | .vmux = 3, |
| 2026 | .amux = LINE2, |
| 2027 | },{ |
| 2028 | .name = name_svideo, |
| 2029 | .vmux = 8, |
| 2030 | .amux = LINE2, |
| 2031 | }}, |
| 2032 | .radio = { |
| 2033 | .name = name_radio, /* radio unconfirmed */ |
| 2034 | .amux = LINE2, |
| 2035 | }, |
| 2036 | }, |
Mauro Carvalho Chehab | 260784d | 2005-09-09 13:03:49 -0700 | [diff] [blame] | 2037 | [SAA7134_BOARD_KWORLD_TERMINATOR] = { |
| 2038 | /* Kworld V-Stream Studio TV Terminator */ |
| 2039 | /* "James Webb <jrwebb@qwest.net> */ |
| 2040 | .name = "V-Stream Studio TV Terminator", |
| 2041 | .audio_clock = 0x00187de7, |
| 2042 | .tuner_type = TUNER_PHILIPS_TDA8290, |
| 2043 | .radio_type = UNSET, |
| 2044 | .tuner_addr = ADDR_UNSET, |
| 2045 | .radio_addr = ADDR_UNSET, |
| 2046 | .gpiomask = 1 << 21, |
| 2047 | .inputs = {{ |
| 2048 | .name = name_tv, |
| 2049 | .vmux = 1, |
| 2050 | .amux = TV, |
| 2051 | .gpio = 0x0000000, |
| 2052 | .tv = 1, |
| 2053 | },{ |
| 2054 | .name = name_comp1, /* Composite input */ |
| 2055 | .vmux = 3, |
| 2056 | .amux = LINE2, |
| 2057 | .gpio = 0x0000000, |
| 2058 | },{ |
| 2059 | .name = name_svideo, /* S-Video input */ |
| 2060 | .vmux = 8, |
| 2061 | .amux = LINE2, |
| 2062 | .gpio = 0x0000000, |
| 2063 | }}, |
| 2064 | .radio = { |
| 2065 | .name = name_radio, |
| 2066 | .amux = TV, |
| 2067 | .gpio = 0x0200000, |
| 2068 | }, |
| 2069 | }, |
Mauro Carvalho Chehab | 4279f02 | 2005-09-09 13:03:51 -0700 | [diff] [blame] | 2070 | [SAA7134_BOARD_YUAN_TUN900] = { |
| 2071 | /* FIXME: |
| 2072 | * S-Video and composite sources untested. |
| 2073 | * Radio not working. |
| 2074 | * Remote control not yet implemented. |
| 2075 | * From : codemaster@webgeeks.be */ |
| 2076 | .name = "Yuan TUN-900 (saa7135)", |
| 2077 | .audio_clock = 0x00187de7, |
| 2078 | .tuner_type = TUNER_PHILIPS_TDA8290, |
| 2079 | .radio_type = UNSET, |
| 2080 | .tuner_addr= ADDR_UNSET, |
| 2081 | .radio_addr= ADDR_UNSET, |
| 2082 | .gpiomask = 0x00010003, |
| 2083 | .inputs = {{ |
| 2084 | .name = name_tv, |
| 2085 | .vmux = 1, |
| 2086 | .amux = TV, |
| 2087 | .tv = 1, |
| 2088 | .gpio = 0x01, |
| 2089 | },{ |
| 2090 | .name = name_comp1, |
| 2091 | .vmux = 0, |
| 2092 | .amux = LINE2, |
| 2093 | .gpio = 0x02, |
| 2094 | },{ |
| 2095 | .name = name_svideo, |
| 2096 | .vmux = 6, |
| 2097 | .amux = LINE2, |
| 2098 | .gpio = 0x02, |
| 2099 | }}, |
| 2100 | .radio = { |
| 2101 | .name = name_radio, |
| 2102 | .amux = LINE1, |
| 2103 | .gpio = 0x00010003, |
| 2104 | }, |
| 2105 | .mute = { |
| 2106 | .name = name_mute, |
| 2107 | .amux = TV, |
| 2108 | .gpio = 0x01, |
| 2109 | }, |
| 2110 | }, |
Nickolay V. Shmyrev | a8ff417 | 2005-11-08 21:36:16 -0800 | [diff] [blame] | 2111 | [SAA7134_BOARD_BEHOLD_409FM] = { |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 2112 | /* <http://tuner.beholder.ru>, Sergey <skiv@orel.ru> */ |
| 2113 | .name = "Beholder BeholdTV 409 FM", |
| 2114 | .audio_clock = 0x00187de7, |
| 2115 | .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, |
| 2116 | .radio_type = UNSET, |
| 2117 | .tuner_addr = ADDR_UNSET, |
| 2118 | .radio_addr = ADDR_UNSET, |
| 2119 | .tda9887_conf = TDA9887_PRESENT, |
| 2120 | .inputs = {{ |
| 2121 | .name = name_tv, |
Nickolay V. Shmyrev | a8ff417 | 2005-11-08 21:36:16 -0800 | [diff] [blame] | 2122 | .vmux = 3, |
| 2123 | .amux = TV, |
| 2124 | .tv = 1, |
| 2125 | },{ |
| 2126 | .name = name_comp1, |
| 2127 | .vmux = 1, |
| 2128 | .amux = LINE1, |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 2129 | },{ |
| 2130 | .name = name_svideo, |
Nickolay V. Shmyrev | a8ff417 | 2005-11-08 21:36:16 -0800 | [diff] [blame] | 2131 | .vmux = 8, |
| 2132 | .amux = LINE1, |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 2133 | }}, |
| 2134 | .radio = { |
| 2135 | .name = name_radio, |
Nickolay V. Shmyrev | a8ff417 | 2005-11-08 21:36:16 -0800 | [diff] [blame] | 2136 | .amux = LINE2, |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 2137 | }, |
| 2138 | }, |
| 2139 | [SAA7134_BOARD_GOTVIEW_7135] = { |
Nickolay V. Shmyrev | dcd555e | 2005-11-08 21:36:23 -0800 | [diff] [blame] | 2140 | /* Mike Baikov <mike@baikov.com> */ |
Nickolay V. Shmyrev | 6b96144 | 2005-11-08 21:36:22 -0800 | [diff] [blame] | 2141 | /* Andrey Cvetcov <ays14@yandex.ru> */ |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 2142 | .name = "GoTView 7135 PCI", |
| 2143 | .audio_clock = 0x00187de7, |
| 2144 | .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, |
| 2145 | .radio_type = UNSET, |
| 2146 | .tuner_addr = ADDR_UNSET, |
| 2147 | .radio_addr = ADDR_UNSET, |
| 2148 | .tda9887_conf = TDA9887_PRESENT, |
| 2149 | .gpiomask = 0x00200003, |
| 2150 | .inputs = {{ |
| 2151 | .name = name_tv, |
| 2152 | .vmux = 1, |
| 2153 | .amux = TV, |
| 2154 | .tv = 1, |
| 2155 | .gpio = 0x00200003, |
| 2156 | },{ |
| 2157 | .name = name_tv_mono, |
| 2158 | .vmux = 1, |
| 2159 | .amux = LINE2, |
| 2160 | .gpio = 0x00200003, |
| 2161 | },{ |
| 2162 | .name = name_comp1, |
| 2163 | .vmux = 3, |
| 2164 | .amux = LINE1, |
| 2165 | .gpio = 0x00200003, |
| 2166 | },{ |
| 2167 | .name = name_svideo, |
| 2168 | .vmux = 8, |
| 2169 | .amux = LINE1, |
| 2170 | .gpio = 0x00200003, |
| 2171 | }}, |
| 2172 | .radio = { |
| 2173 | .name = name_radio, |
| 2174 | .amux = LINE2, |
| 2175 | .gpio = 0x00200003, |
| 2176 | }, |
| 2177 | .mute = { |
| 2178 | .name = name_mute, |
| 2179 | .amux = TV, |
| 2180 | .gpio = 0x00200003, |
| 2181 | }, |
| 2182 | }, |
Hartmut Hackmann | 2cf36ac | 2005-11-08 21:36:32 -0800 | [diff] [blame] | 2183 | [SAA7134_BOARD_PHILIPS_EUROPA] = { |
| 2184 | .name = "Philips EUROPA V3 reference design", |
| 2185 | .audio_clock = 0x00187de7, |
| 2186 | .tuner_type = TUNER_PHILIPS_TD1316, |
| 2187 | .radio_type = UNSET, |
| 2188 | .tuner_addr = 0x61, |
| 2189 | .radio_addr = ADDR_UNSET, |
| 2190 | .tda9887_conf = TDA9887_PRESENT, |
| 2191 | .mpeg = SAA7134_MPEG_DVB, |
| 2192 | .inputs = {{ |
| 2193 | .name = name_tv, |
| 2194 | .vmux = 3, |
| 2195 | .amux = TV, |
| 2196 | .tv = 1, |
| 2197 | },{ |
| 2198 | .name = name_comp1, |
| 2199 | .vmux = 0, |
| 2200 | .amux = LINE2, |
| 2201 | },{ |
| 2202 | .name = name_svideo, |
| 2203 | .vmux = 8, |
| 2204 | .amux = LINE2, |
| 2205 | }}, |
| 2206 | }, |
| 2207 | [SAA7134_BOARD_VIDEOMATE_DVBT_300] = { |
| 2208 | .name = "Compro Videomate DVB-T300", |
| 2209 | .audio_clock = 0x00187de7, |
| 2210 | .tuner_type = TUNER_PHILIPS_TD1316, |
| 2211 | .radio_type = UNSET, |
| 2212 | .tuner_addr = 0x61, |
| 2213 | .radio_addr = ADDR_UNSET, |
| 2214 | .tda9887_conf = TDA9887_PRESENT, |
| 2215 | .mpeg = SAA7134_MPEG_DVB, |
| 2216 | .inputs = {{ |
| 2217 | .name = name_tv, |
| 2218 | .vmux = 3, |
| 2219 | .amux = TV, |
| 2220 | .tv = 1, |
| 2221 | },{ |
| 2222 | .name = name_comp1, |
| 2223 | .vmux = 1, |
| 2224 | .amux = LINE2, |
| 2225 | },{ |
| 2226 | .name = name_svideo, |
| 2227 | .vmux = 8, |
| 2228 | .amux = LINE2, |
| 2229 | }}, |
| 2230 | }, |
| 2231 | [SAA7134_BOARD_VIDEOMATE_DVBT_200] = { |
| 2232 | .name = "Compro Videomate DVB-T200", |
| 2233 | .tuner_type = TUNER_ABSENT, |
| 2234 | .audio_clock = 0x00187de7, |
| 2235 | .radio_type = UNSET, |
| 2236 | .tuner_addr = ADDR_UNSET, |
| 2237 | .radio_addr = ADDR_UNSET, |
| 2238 | .mpeg = SAA7134_MPEG_DVB, |
| 2239 | .inputs = {{ |
| 2240 | .name = name_comp1, |
| 2241 | .vmux = 0, |
| 2242 | .amux = LINE1, |
| 2243 | },{ |
| 2244 | .name = name_svideo, |
| 2245 | .vmux = 8, |
| 2246 | .amux = LINE1, |
| 2247 | }}, |
| 2248 | }, |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 2249 | [SAA7134_BOARD_RTD_VFG7350] = { |
| 2250 | .name = "RTD Embedded Technologies VFG7350", |
| 2251 | .audio_clock = 0x00200000, |
| 2252 | .tuner_type = TUNER_ABSENT, |
| 2253 | .radio_type = UNSET, |
| 2254 | .tuner_addr = ADDR_UNSET, |
| 2255 | .radio_addr = ADDR_UNSET, |
| 2256 | .inputs = {{ |
| 2257 | .name = "Composite 0", |
| 2258 | .vmux = 0, |
| 2259 | .amux = LINE1, |
| 2260 | },{ |
| 2261 | .name = "Composite 1", |
| 2262 | .vmux = 1, |
| 2263 | .amux = LINE2, |
| 2264 | },{ |
| 2265 | .name = "Composite 2", |
| 2266 | .vmux = 2, |
| 2267 | .amux = LINE1, |
| 2268 | },{ |
| 2269 | .name = "Composite 3", |
| 2270 | .vmux = 3, |
| 2271 | .amux = LINE2, |
| 2272 | },{ |
| 2273 | .name = "S-Video 0", |
| 2274 | .vmux = 8, |
| 2275 | .amux = LINE1, |
| 2276 | },{ |
| 2277 | .name = "S-Video 1", |
| 2278 | .vmux = 9, |
| 2279 | .amux = LINE2, |
| 2280 | }}, |
| 2281 | .mpeg = SAA7134_MPEG_EMPRESS, |
| 2282 | .video_out = CCIR656, |
Robert W. Boone | 2f8d4f5 | 2005-11-08 21:37:10 -0800 | [diff] [blame] | 2283 | .vid_port_opts = ( SET_T_CODE_POLARITY_NON_INVERTED | |
| 2284 | SET_CLOCK_NOT_DELAYED | |
| 2285 | SET_CLOCK_INVERTED | |
| 2286 | SET_VSYNC_OFF ), |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 2287 | }, |
| 2288 | [SAA7134_BOARD_RTD_VFG7330] = { |
| 2289 | .name = "RTD Embedded Technologies VFG7330", |
| 2290 | .audio_clock = 0x00200000, |
| 2291 | .tuner_type = TUNER_ABSENT, |
| 2292 | .radio_type = UNSET, |
| 2293 | .tuner_addr = ADDR_UNSET, |
| 2294 | .radio_addr = ADDR_UNSET, |
| 2295 | .inputs = {{ |
| 2296 | .name = "Composite 0", |
| 2297 | .vmux = 0, |
| 2298 | .amux = LINE1, |
| 2299 | },{ |
| 2300 | .name = "Composite 1", |
| 2301 | .vmux = 1, |
| 2302 | .amux = LINE2, |
| 2303 | },{ |
| 2304 | .name = "Composite 2", |
| 2305 | .vmux = 2, |
| 2306 | .amux = LINE1, |
| 2307 | },{ |
| 2308 | .name = "Composite 3", |
| 2309 | .vmux = 3, |
| 2310 | .amux = LINE2, |
| 2311 | },{ |
| 2312 | .name = "S-Video 0", |
| 2313 | .vmux = 8, |
| 2314 | .amux = LINE1, |
| 2315 | },{ |
| 2316 | .name = "S-Video 1", |
| 2317 | .vmux = 9, |
| 2318 | .amux = LINE2, |
| 2319 | }}, |
| 2320 | }, |
Mauro Carvalho Chehab | 058afaf | 2005-11-08 21:36:49 -0800 | [diff] [blame] | 2321 | [SAA7134_BOARD_FLYTVPLATINUM_MINI2] = { |
| 2322 | .name = "LifeView FlyTV Platinum Mini2", |
| 2323 | .audio_clock = 0x00200000, |
| 2324 | .tuner_type = TUNER_PHILIPS_TDA8290, |
| 2325 | .radio_type = UNSET, |
| 2326 | .tuner_addr = ADDR_UNSET, |
| 2327 | .radio_addr = ADDR_UNSET, |
| 2328 | |
| 2329 | .inputs = {{ |
| 2330 | .name = name_tv, |
| 2331 | .vmux = 1, |
| 2332 | .amux = TV, |
| 2333 | .tv = 1, |
| 2334 | },{ |
| 2335 | .name = name_comp1, /* Composite signal on S-Video input */ |
| 2336 | .vmux = 0, |
| 2337 | .amux = LINE2, |
| 2338 | },{ |
| 2339 | .name = name_comp2, /* Composite input */ |
| 2340 | .vmux = 3, |
| 2341 | .amux = LINE2, |
| 2342 | },{ |
| 2343 | .name = name_svideo, |
| 2344 | .vmux = 8, |
| 2345 | .amux = LINE2, |
| 2346 | }}, |
| 2347 | }, |
Michael Krufky | 76bc3a3 | 2005-11-08 21:37:27 -0800 | [diff] [blame] | 2348 | [SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180] = { |
Michael Krufky | ac113d1 | 2005-11-08 21:38:21 -0800 | [diff] [blame] | 2349 | /* Michael Krufky <mkrufky@m1k.net> |
| 2350 | * Uses Alps Electric TDHU2, containing NXT2004 ATSC Decoder |
| 2351 | * AFAIK, there is no analog demod, thus, |
| 2352 | * no support for analog television. |
| 2353 | */ |
Michael Krufky | 76bc3a3 | 2005-11-08 21:37:27 -0800 | [diff] [blame] | 2354 | .name = "AVerMedia AVerTVHD MCE A180", |
| 2355 | .audio_clock = 0x00187de7, |
| 2356 | .tuner_type = TUNER_ABSENT, |
| 2357 | .radio_type = UNSET, |
| 2358 | .tuner_addr = ADDR_UNSET, |
| 2359 | .radio_addr = ADDR_UNSET, |
Michael Krufky | 3b64e8e | 2005-11-08 21:38:20 -0800 | [diff] [blame] | 2360 | .mpeg = SAA7134_MPEG_DVB, |
Michael Krufky | 76bc3a3 | 2005-11-08 21:37:27 -0800 | [diff] [blame] | 2361 | .inputs = {{ |
| 2362 | .name = name_comp1, |
| 2363 | .vmux = 3, |
| 2364 | .amux = LINE2, |
| 2365 | },{ |
| 2366 | .name = name_svideo, |
| 2367 | .vmux = 8, |
| 2368 | .amux = LINE2, |
| 2369 | }}, |
| 2370 | }, |
Pieter Palmers | cf1c5d1 | 2005-11-08 21:37:40 -0800 | [diff] [blame] | 2371 | [SAA7134_BOARD_MONSTERTV_MOBILE] = { |
| 2372 | .name = "SKNet MonsterTV Mobile", |
| 2373 | .audio_clock = 0x00187de7, |
| 2374 | .tuner_type = TUNER_PHILIPS_TDA8290, |
| 2375 | .radio_type = UNSET, |
| 2376 | .tuner_addr = ADDR_UNSET, |
| 2377 | .radio_addr = ADDR_UNSET, |
| 2378 | |
| 2379 | .inputs = {{ |
| 2380 | .name = name_tv, |
| 2381 | .vmux = 1, |
| 2382 | .amux = TV, |
| 2383 | .tv = 1, |
| 2384 | },{ |
| 2385 | .name = name_comp1, |
| 2386 | .vmux = 3, |
| 2387 | .amux = LINE1, |
| 2388 | },{ |
| 2389 | .name = name_svideo, |
| 2390 | .vmux = 6, |
| 2391 | .amux = LINE1, |
| 2392 | }}, |
| 2393 | }, |
Ricardo Cerqueira | c2f6f9d | 2005-11-08 21:37:51 -0800 | [diff] [blame] | 2394 | [SAA7134_BOARD_PINNACLE_PCTV_110i] = { |
| 2395 | .name = "Pinnacle PCTV 110i (saa7133)", |
| 2396 | .audio_clock = 0x00187de7, |
| 2397 | .tuner_type = TUNER_PHILIPS_TDA8290, |
| 2398 | .radio_type = UNSET, |
| 2399 | .tuner_addr = ADDR_UNSET, |
| 2400 | .radio_addr = ADDR_UNSET, |
| 2401 | .gpiomask = 0x080200000, |
| 2402 | .inputs = {{ |
| 2403 | .name = name_tv, |
| 2404 | .vmux = 4, |
| 2405 | .amux = TV, |
| 2406 | .tv = 1, |
| 2407 | },{ |
| 2408 | .name = name_comp1, |
| 2409 | .vmux = 1, |
| 2410 | .amux = LINE2, |
| 2411 | },{ |
| 2412 | .name = name_svideo, |
| 2413 | .vmux = 8, |
| 2414 | .amux = LINE2, |
| 2415 | }}, |
| 2416 | .radio = { |
| 2417 | .name = name_radio, |
| 2418 | .amux = LINE1, |
| 2419 | }, |
| 2420 | }, |
Hermann Pitton | 28f0224 | 2005-11-08 21:38:03 -0800 | [diff] [blame] | 2421 | [SAA7134_BOARD_ASUSTeK_P7131_DUAL] = { |
| 2422 | .name = "ASUSTeK P7131 Dual", |
| 2423 | .audio_clock = 0x00187de7, |
| 2424 | .tuner_type = TUNER_PHILIPS_TDA8290, |
| 2425 | .radio_type = UNSET, |
| 2426 | .tuner_addr = ADDR_UNSET, |
| 2427 | .radio_addr = ADDR_UNSET, |
| 2428 | .gpiomask = 1 << 21, |
Hartmut Hackmann | d4b0aba | 2005-11-08 21:38:44 -0800 | [diff] [blame] | 2429 | .mpeg = SAA7134_MPEG_DVB, |
Hermann Pitton | 28f0224 | 2005-11-08 21:38:03 -0800 | [diff] [blame] | 2430 | .inputs = {{ |
| 2431 | .name = name_tv, |
| 2432 | .vmux = 1, |
| 2433 | .amux = TV, |
| 2434 | .tv = 1, |
| 2435 | },{ |
| 2436 | .name = name_comp1, |
| 2437 | .vmux = 3, |
| 2438 | .amux = LINE2, |
| 2439 | },{ |
| 2440 | .name = name_svideo, |
| 2441 | .vmux = 8, |
| 2442 | .amux = LINE2, |
| 2443 | }}, |
| 2444 | .radio = { |
| 2445 | .name = name_radio, |
| 2446 | .amux = TV, |
| 2447 | .gpio = 0x0200000, |
| 2448 | }, |
| 2449 | }, |
Ricardo Cerqueira | 17ce1ff | 2005-11-08 21:38:47 -0800 | [diff] [blame] | 2450 | [SAA7134_BOARD_SEDNA_PC_TV_CARDBUS] = { |
Paul T Zalac | fe2e36c | 2005-11-08 21:38:04 -0800 | [diff] [blame] | 2451 | /* Paul Tom Zalac <pzalac@gmail.com> */ |
Pavel Mihaylov | c3d9319 | 2005-11-08 21:38:43 -0800 | [diff] [blame] | 2452 | /* Pavel Mihaylov <bin@bash.info> */ |
Ricardo Cerqueira | 17ce1ff | 2005-11-08 21:38:47 -0800 | [diff] [blame] | 2453 | .name = "Sedna/MuchTV PC TV Cardbus TV/Radio (ITO25 Rev:2B)", |
| 2454 | /* Sedna/MuchTV (OEM) Cardbus TV Tuner */ |
Paul T Zalac | fe2e36c | 2005-11-08 21:38:04 -0800 | [diff] [blame] | 2455 | .audio_clock = 0x00187de7, |
Pavel Mihaylov | c3d9319 | 2005-11-08 21:38:43 -0800 | [diff] [blame] | 2456 | .tuner_type = TUNER_PHILIPS_TDA8290, |
Paul T Zalac | fe2e36c | 2005-11-08 21:38:04 -0800 | [diff] [blame] | 2457 | .radio_type = UNSET, |
| 2458 | .tuner_addr = ADDR_UNSET, |
| 2459 | .radio_addr = ADDR_UNSET, |
Pavel Mihaylov | c3d9319 | 2005-11-08 21:38:43 -0800 | [diff] [blame] | 2460 | .gpiomask = 0xe880c0, |
Paul T Zalac | fe2e36c | 2005-11-08 21:38:04 -0800 | [diff] [blame] | 2461 | .inputs = {{ |
Pavel Mihaylov | c3d9319 | 2005-11-08 21:38:43 -0800 | [diff] [blame] | 2462 | .name = name_tv, |
| 2463 | .vmux = 3, |
| 2464 | .amux = TV, |
| 2465 | .tv = 1, |
| 2466 | },{ |
Paul T Zalac | fe2e36c | 2005-11-08 21:38:04 -0800 | [diff] [blame] | 2467 | .name = name_comp1, |
| 2468 | .vmux = 1, |
Pavel Mihaylov | c3d9319 | 2005-11-08 21:38:43 -0800 | [diff] [blame] | 2469 | .amux = LINE1, |
| 2470 | },{ |
| 2471 | .name = name_svideo, |
| 2472 | .vmux = 6, |
| 2473 | .amux = LINE1, |
Paul T Zalac | fe2e36c | 2005-11-08 21:38:04 -0800 | [diff] [blame] | 2474 | }}, |
Pavel Mihaylov | c3d9319 | 2005-11-08 21:38:43 -0800 | [diff] [blame] | 2475 | .radio = { |
| 2476 | .name = name_radio, |
| 2477 | .amux = LINE2, |
| 2478 | }, |
Paul T Zalac | fe2e36c | 2005-11-08 21:38:04 -0800 | [diff] [blame] | 2479 | }, |
Michael Krufky | 5d5c990 | 2005-11-08 21:38:08 -0800 | [diff] [blame] | 2480 | [SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV] = { |
| 2481 | /* "Cyril Lacoux (Yack)" <clacoux@ifeelgood.org> */ |
| 2482 | .name = "ASUS Digimatrix TV", |
| 2483 | .audio_clock = 0x00200000, |
| 2484 | .tuner_type = TUNER_PHILIPS_FQ1216ME, |
| 2485 | .tda9887_conf = TDA9887_PRESENT, |
| 2486 | .radio_type = UNSET, |
| 2487 | .tuner_addr = ADDR_UNSET, |
| 2488 | .radio_addr = ADDR_UNSET, |
| 2489 | .inputs = {{ |
| 2490 | .name = name_tv, |
| 2491 | .vmux = 1, |
| 2492 | .amux = TV, |
| 2493 | .tv = 1, |
| 2494 | },{ |
| 2495 | .name = name_comp1, |
| 2496 | .vmux = 3, |
| 2497 | .amux = LINE1, |
| 2498 | },{ |
| 2499 | .name = name_svideo, |
| 2500 | .vmux = 8, |
| 2501 | .amux = LINE1, |
| 2502 | }}, |
| 2503 | }, |
Hartmut Hackmann | 90e9df7 | 2005-11-08 21:38:42 -0800 | [diff] [blame] | 2504 | [SAA7134_BOARD_PHILIPS_TIGER] = { |
| 2505 | .name = "Philips Tiger reference design", |
| 2506 | .audio_clock = 0x00187de7, |
| 2507 | .tuner_type = TUNER_PHILIPS_TDA8290, |
| 2508 | .radio_type = UNSET, |
| 2509 | .tuner_addr = ADDR_UNSET, |
| 2510 | .radio_addr = ADDR_UNSET, |
| 2511 | .mpeg = SAA7134_MPEG_DVB, |
Hartmut Hackmann | 0f79c36 | 2006-01-14 21:26:44 -0200 | [diff] [blame] | 2512 | .gpiomask = 1 << 21, |
Hartmut Hackmann | 90e9df7 | 2005-11-08 21:38:42 -0800 | [diff] [blame] | 2513 | .inputs = {{ |
| 2514 | .name = name_tv, |
| 2515 | .vmux = 1, |
| 2516 | .amux = TV, |
| 2517 | .tv = 1, |
| 2518 | },{ |
| 2519 | .name = name_comp1, |
| 2520 | .vmux = 3, |
| 2521 | .amux = LINE1, |
| 2522 | },{ |
| 2523 | .name = name_svideo, |
| 2524 | .vmux = 8, |
| 2525 | .amux = LINE1, |
| 2526 | }}, |
Hartmut Hackmann | 0f79c36 | 2006-01-14 21:26:44 -0200 | [diff] [blame] | 2527 | .radio = { |
| 2528 | .name = name_radio, |
| 2529 | .amux = TV, |
| 2530 | .gpio = 0x0200000, |
| 2531 | }, |
Hartmut Hackmann | 90e9df7 | 2005-11-08 21:38:42 -0800 | [diff] [blame] | 2532 | }, |
Ricardo Cerqueira | 80d2ad9 | 2005-11-13 16:08:01 -0800 | [diff] [blame] | 2533 | [SAA7134_BOARD_MSI_TVATANYWHERE_PLUS] = { |
| 2534 | .name = "MSI TV@Anywhere plus", |
| 2535 | .audio_clock = 0x00187de7, |
| 2536 | .tuner_type = TUNER_PHILIPS_TDA8290, |
| 2537 | .radio_type = UNSET, |
| 2538 | .tuner_addr = ADDR_UNSET, |
| 2539 | .radio_addr = ADDR_UNSET, |
| 2540 | .inputs = {{ |
| 2541 | .name = name_tv, |
| 2542 | .vmux = 1, |
| 2543 | .amux = TV, |
| 2544 | .tv = 1, |
| 2545 | },{ |
| 2546 | .name = name_comp1, |
| 2547 | .vmux = 3, |
| 2548 | .amux = LINE1, |
| 2549 | },{ |
| 2550 | .name = name_svideo, |
| 2551 | .vmux = 0, |
| 2552 | .amux = LINE1, |
| 2553 | }}, |
| 2554 | .radio = { |
| 2555 | .name = name_radio, |
| 2556 | .amux = LINE1, |
| 2557 | }, |
| 2558 | }, |
Jörg Schummer | f639c9b | 2006-01-09 15:25:01 -0200 | [diff] [blame] | 2559 | [SAA7134_BOARD_CINERGY250PCI] = { |
| 2560 | /* remote-control does not work. The signal about a |
| 2561 | key press comes in via gpio, but the key code |
| 2562 | doesn't. Neither does it have an i2c remote control |
| 2563 | interface. */ |
| 2564 | .name = "Terratec Cinergy 250 PCI TV", |
| 2565 | .audio_clock = 0x00187de7, |
| 2566 | .tuner_type = TUNER_PHILIPS_TDA8290, |
| 2567 | .radio_type = UNSET, |
| 2568 | .tuner_addr = ADDR_UNSET, |
| 2569 | .radio_addr = ADDR_UNSET, |
| 2570 | .gpiomask = 0x80200000, |
| 2571 | .inputs = {{ |
| 2572 | .name = name_tv, |
| 2573 | .vmux = 1, |
| 2574 | .amux = TV, |
| 2575 | .tv = 1, |
| 2576 | },{ |
| 2577 | .name = name_svideo, /* NOT tested */ |
| 2578 | .vmux = 8, |
| 2579 | .amux = LINE1, |
| 2580 | }}, |
| 2581 | .radio = { |
| 2582 | .name = name_radio, |
| 2583 | .amux = LINE1, |
| 2584 | .gpio = 0x0200000, |
| 2585 | }, |
| 2586 | }, |
Peter Missel | 4aa6ba5 | 2006-01-09 15:32:45 -0200 | [diff] [blame] | 2587 | [SAA7134_BOARD_FLYDVB_TRIO] = { |
| 2588 | /* LifeView LR319 FlyDVB Trio */ |
| 2589 | /* Peter Missel <peter.missel@onlinehome.de> */ |
| 2590 | .name = "LifeView FlyDVB Trio", |
| 2591 | .audio_clock = 0x00200000, |
| 2592 | .tuner_type = TUNER_PHILIPS_TDA8290, |
| 2593 | .radio_type = UNSET, |
| 2594 | .tuner_addr = ADDR_UNSET, |
| 2595 | .radio_addr = ADDR_UNSET, |
| 2596 | .gpiomask = 0x00200000, |
| 2597 | .inputs = {{ |
| 2598 | .name = name_tv, /* Analog broadcast/cable TV */ |
| 2599 | .vmux = 1, |
| 2600 | .amux = TV, |
| 2601 | .gpio = 0x200000, /* GPIO21=High for TV input */ |
| 2602 | .tv = 1, |
| 2603 | },{ |
| 2604 | .name = name_svideo, /* S-Video signal on S-Video input */ |
| 2605 | .vmux = 8, |
| 2606 | .amux = LINE2, |
| 2607 | },{ |
| 2608 | .name = name_comp1, /* Composite signal on S-Video input */ |
| 2609 | .vmux = 0, |
| 2610 | .amux = LINE2, |
| 2611 | },{ |
| 2612 | .name = name_comp2, /* Composite input */ |
| 2613 | .vmux = 3, |
| 2614 | .amux = LINE2, |
| 2615 | }}, |
| 2616 | .radio = { |
| 2617 | .name = name_radio, |
| 2618 | .amux = TV, |
| 2619 | .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */ |
| 2620 | }, |
| 2621 | }, |
Jose Alberto Reguero | a78d0bf | 2006-02-07 06:25:14 -0200 | [diff] [blame] | 2622 | [SAA7134_BOARD_AVERMEDIA_777] = { |
| 2623 | .name = "AverTV DVB-T 777", |
| 2624 | .audio_clock = 0x00187de7, |
| 2625 | .tuner_type = TUNER_ABSENT, |
| 2626 | .radio_type = UNSET, |
| 2627 | .tuner_addr = ADDR_UNSET, |
| 2628 | .radio_addr = ADDR_UNSET, |
| 2629 | .mpeg = SAA7134_MPEG_DVB, |
| 2630 | .inputs = {{ |
| 2631 | .name = name_comp1, |
| 2632 | .vmux = 0, |
| 2633 | .amux = LINE1, |
| 2634 | },{ |
| 2635 | .name = name_svideo, |
| 2636 | .vmux = 8, |
| 2637 | .amux = LINE1, |
| 2638 | }}, |
| 2639 | }, |
Giampiero Giancipoli | 3d8466e | 2006-02-07 06:49:09 -0200 | [diff] [blame^] | 2640 | [SAA7134_BOARD_FLYDVBT_LR301] = { |
| 2641 | /* LifeView FlyDVB-T */ |
| 2642 | /* Giampiero Giancipoli <gianci@libero.it> */ |
| 2643 | .name = "LifeView FlyDVB-T", |
| 2644 | .audio_clock = 0x00200000, |
| 2645 | .tuner_type = TUNER_ABSENT, |
| 2646 | .radio_type = UNSET, |
| 2647 | .tuner_addr = ADDR_UNSET, |
| 2648 | .radio_addr = ADDR_UNSET, |
| 2649 | .mpeg = SAA7134_MPEG_DVB, |
| 2650 | .inputs = {{ |
| 2651 | .name = name_comp1, /* Composite input */ |
| 2652 | .vmux = 3, |
| 2653 | .amux = LINE2, |
| 2654 | },{ |
| 2655 | .name = name_svideo, /* S-Video signal on S-Video input */ |
| 2656 | .vmux = 8, |
| 2657 | .amux = LINE2, |
| 2658 | }}, |
| 2659 | }, |
| 2660 | |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2661 | }; |
| 2662 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2663 | const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards); |
| 2664 | |
| 2665 | /* ------------------------------------------------------------------ */ |
| 2666 | /* PCI ids + subsystem IDs */ |
| 2667 | |
| 2668 | struct pci_device_id saa7134_pci_tbl[] = { |
| 2669 | { |
| 2670 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2671 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 2672 | .subvendor = PCI_VENDOR_ID_PHILIPS, |
| 2673 | .subdevice = 0x2001, |
| 2674 | .driver_data = SAA7134_BOARD_PROTEUS_PRO, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2675 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2676 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2677 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 2678 | .subvendor = PCI_VENDOR_ID_PHILIPS, |
| 2679 | .subdevice = 0x2001, |
| 2680 | .driver_data = SAA7134_BOARD_PROTEUS_PRO, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2681 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2682 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2683 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 2684 | .subvendor = PCI_VENDOR_ID_PHILIPS, |
| 2685 | .subdevice = 0x6752, |
| 2686 | .driver_data = SAA7134_BOARD_EMPRESS, |
| 2687 | },{ |
| 2688 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2689 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2690 | .subvendor = 0x1131, |
| 2691 | .subdevice = 0x4e85, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2692 | .driver_data = SAA7134_BOARD_MONSTERTV, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2693 | },{ |
| 2694 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2695 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
Michael Krufky | 7df64e8 | 2005-11-08 21:36:16 -0800 | [diff] [blame] | 2696 | .subvendor = 0x153b, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2697 | .subdevice = 0x1142, |
| 2698 | .driver_data = SAA7134_BOARD_CINERGY400, |
| 2699 | },{ |
| 2700 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2701 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
Michael Krufky | 7df64e8 | 2005-11-08 21:36:16 -0800 | [diff] [blame] | 2702 | .subvendor = 0x153b, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2703 | .subdevice = 0x1143, |
| 2704 | .driver_data = SAA7134_BOARD_CINERGY600, |
| 2705 | },{ |
| 2706 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2707 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
Michael Krufky | 7df64e8 | 2005-11-08 21:36:16 -0800 | [diff] [blame] | 2708 | .subvendor = 0x153b, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2709 | .subdevice = 0x1158, |
| 2710 | .driver_data = SAA7134_BOARD_CINERGY600_MK3, |
| 2711 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2712 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2713 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 2714 | .subvendor = 0x153b, |
| 2715 | .subdevice = 0x1162, |
| 2716 | .driver_data = SAA7134_BOARD_CINERGY400_CARDBUS, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2717 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2718 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2719 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 2720 | .subvendor = 0x5168, |
| 2721 | .subdevice = 0x0138, |
| 2722 | .driver_data = SAA7134_BOARD_FLYVIDEO3000, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2723 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2724 | .vendor = PCI_VENDOR_ID_PHILIPS, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2725 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 2726 | .subvendor = 0x4e42, /* "Typhoon PCI Capture TV Card" Art.No. 50673 */ |
| 2727 | .subdevice = 0x0138, |
| 2728 | .driver_data = SAA7134_BOARD_FLYVIDEO3000, |
| 2729 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2730 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2731 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
| 2732 | .subvendor = 0x5168, |
| 2733 | .subdevice = 0x0138, |
| 2734 | .driver_data = SAA7134_BOARD_FLYVIDEO2000, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2735 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2736 | .vendor = PCI_VENDOR_ID_PHILIPS, |
Peter Missel | 10b7a90 | 2006-01-23 17:11:06 -0200 | [diff] [blame] | 2737 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
| 2738 | .subvendor = 0x4e42, /* Typhoon */ |
| 2739 | .subdevice = 0x0138, /* LifeView FlyTV Prime30 OEM */ |
| 2740 | .driver_data = SAA7134_BOARD_FLYVIDEO2000, |
| 2741 | },{ |
| 2742 | .vendor = PCI_VENDOR_ID_PHILIPS, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2743 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2744 | .subvendor = 0x5168, |
| 2745 | .subdevice = 0x0212, /* minipci, LR212 */ |
| 2746 | .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2747 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2748 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2749 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
Mauro Carvalho Chehab | 058afaf | 2005-11-08 21:36:49 -0800 | [diff] [blame] | 2750 | .subvendor = 0x14c0, |
| 2751 | .subdevice = 0x1212, /* minipci, LR1212 */ |
| 2752 | .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI2, |
| 2753 | },{ |
| 2754 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2755 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
Glen Gray | 2d14f78 | 2005-11-08 21:36:12 -0800 | [diff] [blame] | 2756 | .subvendor = 0x4e42, |
| 2757 | .subdevice = 0x0212, /* OEM minipci, LR212 */ |
| 2758 | .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI, |
| 2759 | },{ |
| 2760 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2761 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
Peter Missel | 10e9206 | 2005-05-01 08:59:21 -0700 | [diff] [blame] | 2762 | .subvendor = 0x5168, /* Animation Technologies (LifeView) */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2763 | .subdevice = 0x0214, /* Standard PCI, LR214WF */ |
| 2764 | .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2765 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2766 | .vendor = PCI_VENDOR_ID_PHILIPS, |
Peter Missel | 10e9206 | 2005-05-01 08:59:21 -0700 | [diff] [blame] | 2767 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 2768 | .subvendor = 0x1489, /* KYE */ |
| 2769 | .subdevice = 0x0214, /* Genius VideoWonder ProTV */ |
| 2770 | .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM, /* is an LR214WF actually */ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2771 | },{ |
Peter Missel | 10e9206 | 2005-05-01 08:59:21 -0700 | [diff] [blame] | 2772 | .vendor = PCI_VENDOR_ID_PHILIPS, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2773 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 2774 | .subvendor = 0x16be, |
| 2775 | .subdevice = 0x0003, |
| 2776 | .driver_data = SAA7134_BOARD_MD7134, |
| 2777 | },{ |
| 2778 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2779 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
| 2780 | .subvendor = 0x1048, |
| 2781 | .subdevice = 0x226b, |
| 2782 | .driver_data = SAA7134_BOARD_ELSA, |
| 2783 | },{ |
| 2784 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2785 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
| 2786 | .subvendor = 0x1048, |
| 2787 | .subdevice = 0x226b, |
| 2788 | .driver_data = SAA7134_BOARD_ELSA_500TV, |
| 2789 | },{ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2790 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2791 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 2792 | .subvendor = PCI_VENDOR_ID_ASUSTEK, |
| 2793 | .subdevice = 0x4842, |
| 2794 | .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2795 | },{ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2796 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2797 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 2798 | .subvendor = PCI_VENDOR_ID_ASUSTEK, |
| 2799 | .subdevice = 0x4845, |
| 2800 | .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7135, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2801 | },{ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2802 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2803 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 2804 | .subvendor = PCI_VENDOR_ID_ASUSTEK, |
| 2805 | .subdevice = 0x4830, |
| 2806 | .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2807 | },{ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2808 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2809 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 2810 | .subvendor = PCI_VENDOR_ID_ASUSTEK, |
| 2811 | .subdevice = 0x4843, |
| 2812 | .driver_data = SAA7134_BOARD_ASUSTEK_TVFM7133, |
| 2813 | },{ |
| 2814 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2815 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 2816 | .subvendor = PCI_VENDOR_ID_ASUSTEK, |
| 2817 | .subdevice = 0x4840, |
| 2818 | .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134, |
| 2819 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2820 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2821 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 2822 | .subvendor = PCI_VENDOR_ID_PHILIPS, |
| 2823 | .subdevice = 0xfe01, |
| 2824 | .driver_data = SAA7134_BOARD_TVSTATION_RDS, |
| 2825 | },{ |
| 2826 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2827 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 2828 | .subvendor = 0x1894, |
| 2829 | .subdevice = 0xfe01, |
| 2830 | .driver_data = SAA7134_BOARD_TVSTATION_RDS, |
| 2831 | },{ |
| 2832 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2833 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 2834 | .subvendor = 0x1894, |
| 2835 | .subdevice = 0xa006, |
| 2836 | .driver_data = SAA7134_BOARD_TVSTATION_DVR, |
| 2837 | },{ |
| 2838 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2839 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2840 | .subvendor = 0x1131, |
| 2841 | .subdevice = 0x7133, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2842 | .driver_data = SAA7134_BOARD_VA1000POWER, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2843 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2844 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2845 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2846 | .subvendor = PCI_VENDOR_ID_PHILIPS, |
| 2847 | .subdevice = 0x2001, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2848 | .driver_data = SAA7134_BOARD_10MOONSTVMASTER, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2849 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2850 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2851 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2852 | .subvendor = 0x185b, |
| 2853 | .subdevice = 0xc100, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2854 | .driver_data = SAA7134_BOARD_VIDEOMATE_TV, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2855 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2856 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2857 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2858 | .subvendor = 0x185b, |
| 2859 | .subdevice = 0xc100, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2860 | .driver_data = SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2861 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2862 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2863 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2864 | .subvendor = PCI_VENDOR_ID_MATROX, |
| 2865 | .subdevice = 0x48d0, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2866 | .driver_data = SAA7134_BOARD_CRONOS_PLUS, |
| 2867 | },{ |
| 2868 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2869 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2870 | .subvendor = 0x1461, /* Avermedia Technologies Inc */ |
| 2871 | .subdevice = 0xa70b, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2872 | .driver_data = SAA7134_BOARD_MD2819, |
| 2873 | },{ |
| 2874 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2875 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2876 | .subvendor = 0x1461, /* Avermedia Technologies Inc */ |
| 2877 | .subdevice = 0x2115, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2878 | .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_305, |
| 2879 | },{ |
| 2880 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2881 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2882 | .subvendor = 0x1461, /* Avermedia Technologies Inc */ |
| 2883 | .subdevice = 0x2108, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2884 | .driver_data = SAA7134_BOARD_AVERMEDIA_305, |
| 2885 | },{ |
| 2886 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2887 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2888 | .subvendor = 0x1461, /* Avermedia Technologies Inc */ |
| 2889 | .subdevice = 0x10ff, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2890 | .driver_data = SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2891 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2892 | /* AVerMedia CardBus */ |
| 2893 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2894 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2895 | .subvendor = 0x1461, /* Avermedia Technologies Inc */ |
| 2896 | .subdevice = 0xd6ee, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2897 | .driver_data = SAA7134_BOARD_AVERMEDIA_CARDBUS, |
| 2898 | },{ |
| 2899 | /* TransGear 3000TV */ |
| 2900 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2901 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2902 | .subvendor = 0x1461, /* Avermedia Technologies Inc */ |
| 2903 | .subdevice = 0x050c, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2904 | .driver_data = SAA7134_BOARD_TG3000TV, |
| 2905 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2906 | .vendor = PCI_VENDOR_ID_PHILIPS, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2907 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 2908 | .subvendor = 0x11bd, |
| 2909 | .subdevice = 0x002b, |
| 2910 | .driver_data = SAA7134_BOARD_PINNACLE_PCTV_STEREO, |
| 2911 | },{ |
| 2912 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2913 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 2914 | .subvendor = 0x11bd, |
| 2915 | .subdevice = 0x002d, |
| 2916 | .driver_data = SAA7134_BOARD_PINNACLE_300I_DVBT_PAL, |
| 2917 | },{ |
| 2918 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2919 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 2920 | .subvendor = 0x1019, |
| 2921 | .subdevice = 0x4cb4, |
| 2922 | .driver_data = SAA7134_BOARD_ECS_TVP3XP, |
| 2923 | },{ |
| 2924 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2925 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 2926 | .subvendor = 0x1019, |
| 2927 | .subdevice = 0x4cb5, |
| 2928 | .driver_data = SAA7134_BOARD_ECS_TVP3XP_4CB5, |
| 2929 | },{ |
| 2930 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2931 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 2932 | .subvendor = 0x12ab, |
| 2933 | .subdevice = 0x0800, |
| 2934 | .driver_data = SAA7134_BOARD_UPMOST_PURPLE_TV, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2935 | },{ |
| 2936 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2937 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
Michael Krufky | 7df64e8 | 2005-11-08 21:36:16 -0800 | [diff] [blame] | 2938 | .subvendor = 0x153b, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2939 | .subdevice = 0x1152, |
| 2940 | .driver_data = SAA7134_BOARD_CINERGY200, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2941 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2942 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2943 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2944 | .subvendor = 0x185b, |
| 2945 | .subdevice = 0xc100, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2946 | .driver_data = SAA7134_BOARD_VIDEOMATE_TV_PVR, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2947 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2948 | .vendor = PCI_VENDOR_ID_PHILIPS, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2949 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 2950 | .subvendor = 0x1461, /* Avermedia Technologies Inc */ |
| 2951 | .subdevice = 0x9715, |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 2952 | .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_307, |
| 2953 | },{ |
| 2954 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2955 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 2956 | .subvendor = 0x1461, /* Avermedia Technologies Inc */ |
| 2957 | .subdevice = 0xa70a, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2958 | .driver_data = SAA7134_BOARD_AVERMEDIA_307, |
| 2959 | },{ |
| 2960 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2961 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 2962 | .subvendor = 0x185b, |
| 2963 | .subdevice = 0xc200, |
| 2964 | .driver_data = SAA7134_BOARD_VIDEOMATE_GOLD_PLUS, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2965 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2966 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2967 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 2968 | .subvendor = 0x1540, |
| 2969 | .subdevice = 0x9524, |
| 2970 | .driver_data = SAA7134_BOARD_PROVIDEO_PV952, |
| 2971 | |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2972 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2973 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2974 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 2975 | .subvendor = 0x5168, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2976 | .subdevice = 0x0502, /* Cardbus version */ |
Peter Missel | 10b7a90 | 2006-01-23 17:11:06 -0200 | [diff] [blame] | 2977 | .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2978 | },{ |
| 2979 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2980 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 2981 | .subvendor = 0x5168, |
| 2982 | .subdevice = 0x0306, /* PCI version */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2983 | .driver_data = SAA7134_BOARD_FLYDVBTDUO, |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 2984 | },{ |
| 2985 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2986 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 2987 | .subvendor = 0x1461, /* Avermedia Technologies Inc */ |
| 2988 | .subdevice = 0xf31f, |
| 2989 | .driver_data = SAA7134_BOARD_AVERMEDIA_GO_007_FM, |
| 2990 | |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2991 | },{ |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 2992 | .vendor = PCI_VENDOR_ID_PHILIPS, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2993 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
| 2994 | .subvendor = PCI_VENDOR_ID_PHILIPS, |
| 2995 | .subdevice = 0x2004, |
| 2996 | .driver_data = SAA7134_BOARD_PHILIPS_TOUGH, |
| 2997 | },{ |
| 2998 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2999 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 3000 | .subvendor = 0x1421, |
| 3001 | .subdevice = 0x0350, /* PCI version */ |
| 3002 | .driver_data = SAA7134_BOARD_ADS_INSTANT_TV, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3003 | },{ |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 3004 | .vendor = PCI_VENDOR_ID_PHILIPS, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3005 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 3006 | .subvendor = 0x1421, |
Ricardo Cerqueira | 41d70c2 | 2006-01-09 15:25:34 -0200 | [diff] [blame] | 3007 | .subdevice = 0x0351, /* PCI version, new revision */ |
| 3008 | .driver_data = SAA7134_BOARD_ADS_INSTANT_TV, |
| 3009 | },{ |
| 3010 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3011 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3012 | .subvendor = 0x1421, |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 3013 | .subdevice = 0x0370, /* cardbus version */ |
| 3014 | .driver_data = SAA7134_BOARD_ADS_INSTANT_TV, |
Hartmut Hackmann | d4b0aba | 2005-11-08 21:38:44 -0800 | [diff] [blame] | 3015 | },{ |
| 3016 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3017 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3018 | .subvendor = 0x1421, |
| 3019 | .subdevice = 0x1370, /* cardbus version */ |
| 3020 | .driver_data = SAA7134_BOARD_ADS_INSTANT_TV, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3021 | |
Peter Missel | 10b7a90 | 2006-01-23 17:11:06 -0200 | [diff] [blame] | 3022 | },{ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3023 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3024 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
Peter Missel | 10b7a90 | 2006-01-23 17:11:06 -0200 | [diff] [blame] | 3025 | .subvendor = 0x4e42, /* Typhoon */ |
| 3026 | .subdevice = 0x0502, /* LifeView LR502 OEM */ |
| 3027 | .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS, |
Mauro Carvalho Chehab | 2f18071 | 2005-09-09 13:03:46 -0700 | [diff] [blame] | 3028 | },{ |
| 3029 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3030 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3031 | .subvendor = 0x1043, |
| 3032 | .subdevice = 0x0210, /* mini pci NTSC version */ |
| 3033 | .driver_data = SAA7134_BOARD_FLYTV_DIGIMATRIX, |
| 3034 | },{ |
| 3035 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3036 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 3037 | .subvendor = 0x1043, |
| 3038 | .subdevice = 0x0210, /* mini pci PAL/SECAM version */ |
Michael Krufky | 5d5c990 | 2005-11-08 21:38:08 -0800 | [diff] [blame] | 3039 | .driver_data = SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3040 | |
| 3041 | },{ |
Nickolay V. Shmyrev | a8ff417 | 2005-11-08 21:36:16 -0800 | [diff] [blame] | 3042 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3043 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3044 | .subvendor = 0x0000, /* It shouldn't break anything, since subdevice id seems unique */ |
| 3045 | .subdevice = 0x4091, |
| 3046 | .driver_data = SAA7134_BOARD_BEHOLD_409FM, |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 3047 | },{ |
| 3048 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3049 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3050 | .subvendor = 0x5456, /* GoTView */ |
| 3051 | .subdevice = 0x7135, |
| 3052 | .driver_data = SAA7134_BOARD_GOTVIEW_7135, |
| 3053 | },{ |
Hartmut Hackmann | 2cf36ac | 2005-11-08 21:36:32 -0800 | [diff] [blame] | 3054 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3055 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 3056 | .subvendor = PCI_VENDOR_ID_PHILIPS, |
| 3057 | .subdevice = 0x2004, |
| 3058 | .driver_data = SAA7134_BOARD_PHILIPS_EUROPA, |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 3059 | },{ |
Hartmut Hackmann | 2cf36ac | 2005-11-08 21:36:32 -0800 | [diff] [blame] | 3060 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3061 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 3062 | .subvendor = 0x185b, |
| 3063 | .subdevice = 0xc900, |
| 3064 | .driver_data = SAA7134_BOARD_VIDEOMATE_DVBT_300, |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 3065 | },{ |
Hartmut Hackmann | 2cf36ac | 2005-11-08 21:36:32 -0800 | [diff] [blame] | 3066 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3067 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
| 3068 | .subvendor = 0x185b, |
| 3069 | .subdevice = 0xc901, |
| 3070 | .driver_data = SAA7134_BOARD_VIDEOMATE_DVBT_200, |
| 3071 | },{ |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 3072 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3073 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3074 | .subvendor = 0x1435, |
| 3075 | .subdevice = 0x7350, |
| 3076 | .driver_data = SAA7134_BOARD_RTD_VFG7350, |
Nickolay V. Shmyrev | bb881f1 | 2005-11-08 21:36:35 -0800 | [diff] [blame] | 3077 | },{ |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 3078 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3079 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3080 | .subvendor = 0x1435, |
| 3081 | .subdevice = 0x7330, |
| 3082 | .driver_data = SAA7134_BOARD_RTD_VFG7330, |
Pieter Palmers | cf1c5d1 | 2005-11-08 21:37:40 -0800 | [diff] [blame] | 3083 | },{ |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 3084 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3085 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3086 | .subvendor = 0x1461, |
| 3087 | .subdevice = 0x1044, |
| 3088 | .driver_data = SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180, |
| 3089 | },{ |
Pieter Palmers | cf1c5d1 | 2005-11-08 21:37:40 -0800 | [diff] [blame] | 3090 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3091 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3092 | .subvendor = 0x1131, |
| 3093 | .subdevice = 0x4ee9, |
| 3094 | .driver_data = SAA7134_BOARD_MONSTERTV_MOBILE, |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 3095 | },{ |
Ricardo Cerqueira | c2f6f9d | 2005-11-08 21:37:51 -0800 | [diff] [blame] | 3096 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3097 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3098 | .subvendor = 0x11bd, |
| 3099 | .subdevice = 0x002e, |
| 3100 | .driver_data = SAA7134_BOARD_PINNACLE_PCTV_110i, |
| 3101 | },{ |
Hermann Pitton | 28f0224 | 2005-11-08 21:38:03 -0800 | [diff] [blame] | 3102 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3103 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3104 | .subvendor = 0x1043, |
| 3105 | .subdevice = 0x4862, |
| 3106 | .driver_data = SAA7134_BOARD_ASUSTeK_P7131_DUAL, |
Pavel Mihaylov | c3d9319 | 2005-11-08 21:38:43 -0800 | [diff] [blame] | 3107 | },{ |
Hartmut Hackmann | 90e9df7 | 2005-11-08 21:38:42 -0800 | [diff] [blame] | 3108 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3109 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3110 | .subvendor = PCI_VENDOR_ID_PHILIPS, |
| 3111 | .subdevice = 0x2018, |
| 3112 | .driver_data = SAA7134_BOARD_PHILIPS_TIGER, |
Hermann Pitton | 28f0224 | 2005-11-08 21:38:03 -0800 | [diff] [blame] | 3113 | },{ |
Ricardo Cerqueira | 80d2ad9 | 2005-11-13 16:08:01 -0800 | [diff] [blame] | 3114 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3115 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3116 | .subvendor = 0x1462, |
| 3117 | .subdevice = 0x6231, |
| 3118 | .driver_data = SAA7134_BOARD_MSI_TVATANYWHERE_PLUS, |
| 3119 | },{ |
Jörg Schummer | f639c9b | 2006-01-09 15:25:01 -0200 | [diff] [blame] | 3120 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3121 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3122 | .subvendor = 0x153b, |
| 3123 | .subdevice = 0x1160, |
| 3124 | .driver_data = SAA7134_BOARD_CINERGY250PCI, |
| 3125 | },{ |
Peter Missel | 4aa6ba5 | 2006-01-09 15:32:45 -0200 | [diff] [blame] | 3126 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3127 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA 7131E */ |
| 3128 | .subvendor = 0x5168, |
| 3129 | .subdevice = 0x0319, |
| 3130 | .driver_data = SAA7134_BOARD_FLYDVB_TRIO, |
| 3131 | },{ |
Jose Alberto Reguero | a78d0bf | 2006-02-07 06:25:14 -0200 | [diff] [blame] | 3132 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3133 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, /* SAA 7131E */ |
| 3134 | .subvendor = 0x1461, |
| 3135 | .subdevice = 0x2c05, |
| 3136 | .driver_data = SAA7134_BOARD_AVERMEDIA_777, |
| 3137 | },{ |
Giampiero Giancipoli | 3d8466e | 2006-02-07 06:49:09 -0200 | [diff] [blame^] | 3138 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3139 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 3140 | .subvendor = 0x5168, |
| 3141 | .subdevice = 0x0301, |
| 3142 | .driver_data = SAA7134_BOARD_FLYDVBT_LR301, |
| 3143 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3144 | /* --- boards without eeprom + subsystem ID --- */ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3145 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3146 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 3147 | .subvendor = PCI_VENDOR_ID_PHILIPS, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3148 | .subdevice = 0, |
| 3149 | .driver_data = SAA7134_BOARD_NOAUTO, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3150 | },{ |
| 3151 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3152 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
| 3153 | .subvendor = PCI_VENDOR_ID_PHILIPS, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3154 | .subdevice = 0, |
| 3155 | .driver_data = SAA7134_BOARD_NOAUTO, |
| 3156 | },{ |
| 3157 | |
| 3158 | /* --- default catch --- */ |
| 3159 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3160 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3161 | .subvendor = PCI_ANY_ID, |
| 3162 | .subdevice = PCI_ANY_ID, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3163 | .driver_data = SAA7134_BOARD_UNKNOWN, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3164 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3165 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3166 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3167 | .subvendor = PCI_ANY_ID, |
| 3168 | .subdevice = PCI_ANY_ID, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3169 | .driver_data = SAA7134_BOARD_UNKNOWN, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3170 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3171 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3172 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3173 | .subvendor = PCI_ANY_ID, |
| 3174 | .subdevice = PCI_ANY_ID, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3175 | .driver_data = SAA7134_BOARD_UNKNOWN, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3176 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3177 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3178 | .device = PCI_DEVICE_ID_PHILIPS_SAA7135, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3179 | .subvendor = PCI_ANY_ID, |
| 3180 | .subdevice = PCI_ANY_ID, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3181 | .driver_data = SAA7134_BOARD_UNKNOWN, |
| 3182 | },{ |
| 3183 | /* --- end of list --- */ |
| 3184 | } |
| 3185 | }; |
| 3186 | MODULE_DEVICE_TABLE(pci, saa7134_pci_tbl); |
| 3187 | |
| 3188 | /* ----------------------------------------------------------- */ |
| 3189 | /* flyvideo tweaks */ |
| 3190 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3191 | |
| 3192 | static void board_flyvideo(struct saa7134_dev *dev) |
| 3193 | { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3194 | printk("%s: there are different flyvideo cards with different tuners\n" |
| 3195 | "%s: out there, you might have to use the tuner=<nr> insmod\n" |
| 3196 | "%s: option to override the default value.\n", |
| 3197 | dev->name, dev->name, dev->name); |
| 3198 | } |
| 3199 | |
| 3200 | /* ----------------------------------------------------------- */ |
| 3201 | |
| 3202 | int saa7134_board_init1(struct saa7134_dev *dev) |
| 3203 | { |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3204 | /* Always print gpio, often manufacturers encode tuner type and other info. */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3205 | saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0); |
| 3206 | dev->gpio_value = saa_readl(SAA7134_GPIO_GPSTATUS0 >> 2); |
| 3207 | printk(KERN_INFO "%s: board init: gpio is %x\n", dev->name, dev->gpio_value); |
| 3208 | |
| 3209 | switch (dev->board) { |
| 3210 | case SAA7134_BOARD_FLYVIDEO2000: |
| 3211 | case SAA7134_BOARD_FLYVIDEO3000: |
Ricardo Cerqueira | cb2444d | 2005-11-08 21:38:47 -0800 | [diff] [blame] | 3212 | dev->has_remote = SAA7134_REMOTE_GPIO; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3213 | board_flyvideo(dev); |
| 3214 | break; |
Arnaud Patard | 6af90ab | 2005-11-08 21:36:55 -0800 | [diff] [blame] | 3215 | case SAA7134_BOARD_FLYTVPLATINUM_MINI2: |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3216 | case SAA7134_BOARD_FLYTVPLATINUM_FM: |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3217 | case SAA7134_BOARD_CINERGY400: |
| 3218 | case SAA7134_BOARD_CINERGY600: |
| 3219 | case SAA7134_BOARD_CINERGY600_MK3: |
| 3220 | case SAA7134_BOARD_ECS_TVP3XP: |
| 3221 | case SAA7134_BOARD_ECS_TVP3XP_4CB5: |
| 3222 | case SAA7134_BOARD_MD2819: |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 3223 | case SAA7134_BOARD_KWORLD_VSTREAM_XPERT: |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3224 | case SAA7134_BOARD_KWORLD_XPERT: |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3225 | case SAA7134_BOARD_AVERMEDIA_STUDIO_305: |
| 3226 | case SAA7134_BOARD_AVERMEDIA_305: |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 3227 | case SAA7134_BOARD_AVERMEDIA_STUDIO_307: |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3228 | case SAA7134_BOARD_AVERMEDIA_307: |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 3229 | case SAA7134_BOARD_AVERMEDIA_GO_007_FM: |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3230 | /* case SAA7134_BOARD_SABRENT_SBTTVFM: */ /* not finished yet */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3231 | case SAA7134_BOARD_VIDEOMATE_TV_PVR: |
Nickolay V. Shmyrev | 2a9a9a8 | 2006-01-09 15:25:33 -0200 | [diff] [blame] | 3232 | case SAA7134_BOARD_VIDEOMATE_GOLD_PLUS: |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3233 | case SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII: |
Nickolay V. Shmyrev | fea095f | 2005-11-08 21:36:47 -0800 | [diff] [blame] | 3234 | case SAA7134_BOARD_VIDEOMATE_DVBT_300: |
Michael Krufky | afce892 | 2005-11-08 21:36:57 -0800 | [diff] [blame] | 3235 | case SAA7134_BOARD_VIDEOMATE_DVBT_200: |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3236 | case SAA7134_BOARD_MANLI_MTV001: |
| 3237 | case SAA7134_BOARD_MANLI_MTV002: |
Nickolay V. Shmyrev | a8ff417 | 2005-11-08 21:36:16 -0800 | [diff] [blame] | 3238 | case SAA7134_BOARD_BEHOLD_409FM: |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3239 | case SAA7134_BOARD_AVACSSMARTTV: |
Nickolay V. Shmyrev | 6b96144 | 2005-11-08 21:36:22 -0800 | [diff] [blame] | 3240 | case SAA7134_BOARD_GOTVIEW_7135: |
James R. Webb | dc2286c | 2005-11-08 21:37:00 -0800 | [diff] [blame] | 3241 | case SAA7134_BOARD_KWORLD_TERMINATOR: |
Ricardo Cerqueira | 17ce1ff | 2005-11-08 21:38:47 -0800 | [diff] [blame] | 3242 | case SAA7134_BOARD_SEDNA_PC_TV_CARDBUS: |
Giampiero Giancipoli | 3d8466e | 2006-02-07 06:49:09 -0200 | [diff] [blame^] | 3243 | case SAA7134_BOARD_FLYDVBT_LR301: |
Ricardo Cerqueira | cb2444d | 2005-11-08 21:38:47 -0800 | [diff] [blame] | 3244 | dev->has_remote = SAA7134_REMOTE_GPIO; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3245 | break; |
| 3246 | case SAA7134_BOARD_MD5044: |
| 3247 | printk("%s: seems there are two different versions of the MD5044\n" |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3248 | "%s: (with the same ID) out there. If sound doesn't work for\n" |
| 3249 | "%s: you try the audio_clock_override=0x200000 insmod option.\n", |
| 3250 | dev->name,dev->name,dev->name); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3251 | break; |
| 3252 | case SAA7134_BOARD_CINERGY400_CARDBUS: |
| 3253 | /* power-up tuner chip */ |
| 3254 | saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000); |
| 3255 | saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000000); |
Pieter Palmers | cf1c5d1 | 2005-11-08 21:37:40 -0800 | [diff] [blame] | 3256 | case SAA7134_BOARD_MONSTERTV_MOBILE: |
| 3257 | /* power-up tuner chip */ |
| 3258 | saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000); |
| 3259 | saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000004); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3260 | break; |
Peter Missel | 10b7a90 | 2006-01-23 17:11:06 -0200 | [diff] [blame] | 3261 | case SAA7134_BOARD_FLYDVBT_DUO_CARDBUS: |
Nickolay V. Shmyrev | 6b96144 | 2005-11-08 21:36:22 -0800 | [diff] [blame] | 3262 | /* turn the fan on */ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3263 | saa_writeb(SAA7134_GPIO_GPMODE3, 0x08); |
| 3264 | saa_writeb(SAA7134_GPIO_GPSTATUS3, 0x06); |
| 3265 | break; |
| 3266 | case SAA7134_BOARD_AVERMEDIA_CARDBUS: |
| 3267 | /* power-up tuner chip */ |
| 3268 | saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0xffffffff, 0xffffffff); |
| 3269 | saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0xffffffff); |
| 3270 | msleep(1); |
| 3271 | break; |
Nickolay V. Shmyrev | bb881f1 | 2005-11-08 21:36:35 -0800 | [diff] [blame] | 3272 | case SAA7134_BOARD_RTD_VFG7350: |
| 3273 | |
| 3274 | /* |
| 3275 | * Make sure Production Test Register at offset 0x1D1 is cleared |
| 3276 | * to take chip out of test mode. Clearing bit 4 (TST_EN_AOUT) |
| 3277 | * prevents pin 105 from remaining low; keeping pin 105 low |
| 3278 | * continually resets the SAA6752 chip. |
| 3279 | */ |
| 3280 | |
| 3281 | saa_writeb (SAA7134_PRODUCTION_TEST_MODE, 0x00); |
| 3282 | break; |
Ricardo Cerqueira | cb2444d | 2005-11-08 21:38:47 -0800 | [diff] [blame] | 3283 | /* i2c remotes */ |
| 3284 | case SAA7134_BOARD_PINNACLE_PCTV_110i: |
| 3285 | case SAA7134_BOARD_UPMOST_PURPLE_TV: |
| 3286 | dev->has_remote = SAA7134_REMOTE_I2C; |
| 3287 | break; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3288 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3289 | return 0; |
| 3290 | } |
| 3291 | |
| 3292 | /* stuff which needs working i2c */ |
| 3293 | int saa7134_board_init2(struct saa7134_dev *dev) |
| 3294 | { |
| 3295 | unsigned char buf; |
| 3296 | int board; |
| 3297 | |
| 3298 | switch (dev->board) { |
| 3299 | case SAA7134_BOARD_BMK_MPEX_NOTUNER: |
| 3300 | case SAA7134_BOARD_BMK_MPEX_TUNER: |
| 3301 | dev->i2c_client.addr = 0x60; |
| 3302 | board = (i2c_master_recv(&dev->i2c_client,&buf,0) < 0) |
| 3303 | ? SAA7134_BOARD_BMK_MPEX_NOTUNER |
| 3304 | : SAA7134_BOARD_BMK_MPEX_TUNER; |
| 3305 | if (board == dev->board) |
| 3306 | break; |
| 3307 | dev->board = board; |
| 3308 | printk("%s: board type fixup: %s\n", dev->name, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3309 | saa7134_boards[dev->board].name); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3310 | dev->tuner_type = saa7134_boards[dev->board].tuner_type; |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3311 | |
| 3312 | if (TUNER_ABSENT != dev->tuner_type) { |
| 3313 | struct tuner_setup tun_setup; |
| 3314 | |
| 3315 | tun_setup.mode_mask = T_RADIO | T_ANALOG_TV | T_DIGITAL_TV; |
| 3316 | tun_setup.type = dev->tuner_type; |
| 3317 | tun_setup.addr = ADDR_UNSET; |
| 3318 | |
| 3319 | saa7134_i2c_call_clients (dev, TUNER_SET_TYPE_ADDR, &tun_setup); |
| 3320 | } |
| 3321 | break; |
Hartmut Hackmann | 2cf36ac | 2005-11-08 21:36:32 -0800 | [diff] [blame] | 3322 | case SAA7134_BOARD_MD7134: |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3323 | { |
| 3324 | struct tuner_setup tun_setup; |
| 3325 | u8 subaddr; |
| 3326 | u8 data[3]; |
| 3327 | int ret, tuner_t; |
| 3328 | |
| 3329 | struct i2c_msg msg[] = {{.addr=0x50, .flags=0, .buf=&subaddr, .len = 1}, |
| 3330 | {.addr=0x50, .flags=I2C_M_RD, .buf=data, .len = 3}}; |
| 3331 | subaddr= 0x14; |
| 3332 | tuner_t = 0; |
| 3333 | ret = i2c_transfer(&dev->i2c_adap, msg, 2); |
| 3334 | if (ret != 2) { |
| 3335 | printk(KERN_ERR "EEPROM read failure\n"); |
| 3336 | } else if ((data[0] != 0) && (data[0] != 0xff)) { |
| 3337 | /* old config structure */ |
| 3338 | subaddr = data[0] + 2; |
| 3339 | msg[1].len = 2; |
| 3340 | i2c_transfer(&dev->i2c_adap, msg, 2); |
| 3341 | tuner_t = (data[0] << 8) + data[1]; |
| 3342 | switch (tuner_t){ |
| 3343 | case 0x0103: |
| 3344 | dev->tuner_type = TUNER_PHILIPS_PAL; |
| 3345 | break; |
| 3346 | case 0x010C: |
| 3347 | dev->tuner_type = TUNER_PHILIPS_FM1216ME_MK3; |
| 3348 | break; |
| 3349 | default: |
| 3350 | printk(KERN_ERR "%s Cant determine tuner type %x from EEPROM\n", dev->name, tuner_t); |
| 3351 | } |
| 3352 | } else if ((data[1] != 0) && (data[1] != 0xff)) { |
| 3353 | /* new config structure */ |
| 3354 | subaddr = data[1] + 1; |
| 3355 | msg[1].len = 1; |
| 3356 | i2c_transfer(&dev->i2c_adap, msg, 2); |
| 3357 | subaddr = data[0] + 1; |
| 3358 | msg[1].len = 2; |
| 3359 | i2c_transfer(&dev->i2c_adap, msg, 2); |
| 3360 | tuner_t = (data[1] << 8) + data[0]; |
| 3361 | switch (tuner_t) { |
| 3362 | case 0x0005: |
| 3363 | dev->tuner_type = TUNER_PHILIPS_FM1216ME_MK3; |
| 3364 | break; |
| 3365 | case 0x001d: |
| 3366 | dev->tuner_type = TUNER_PHILIPS_FMD1216ME_MK3; |
| 3367 | printk(KERN_INFO "%s Board has DVB-T\n", dev->name); |
| 3368 | break; |
| 3369 | default: |
| 3370 | printk(KERN_ERR "%s Cant determine tuner type %x from EEPROM\n", dev->name, tuner_t); |
| 3371 | } |
| 3372 | } else { |
| 3373 | printk(KERN_ERR "%s unexpected config structure\n", dev->name); |
| 3374 | } |
| 3375 | |
| 3376 | printk(KERN_INFO "%s Tuner type is %d\n", dev->name, dev->tuner_type); |
| 3377 | if (dev->tuner_type == TUNER_PHILIPS_FMD1216ME_MK3) { |
| 3378 | dev->tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE | TDA9887_PORT2_ACTIVE; |
| 3379 | saa7134_i2c_call_clients(dev,TDA9887_SET_CONFIG, &dev->tda9887_conf); |
| 3380 | } |
| 3381 | |
| 3382 | tun_setup.mode_mask = T_RADIO | T_ANALOG_TV | T_DIGITAL_TV; |
| 3383 | tun_setup.type = dev->tuner_type; |
| 3384 | tun_setup.addr = ADDR_UNSET; |
| 3385 | |
| 3386 | saa7134_i2c_call_clients (dev, TUNER_SET_TYPE_ADDR,&tun_setup); |
| 3387 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3388 | break; |
Hartmut Hackmann | 2cf36ac | 2005-11-08 21:36:32 -0800 | [diff] [blame] | 3389 | case SAA7134_BOARD_PHILIPS_EUROPA: |
| 3390 | case SAA7134_BOARD_VIDEOMATE_DVBT_300: |
| 3391 | /* The Philips EUROPA based hybrid boards have the tuner connected through |
| 3392 | * the channel decoder. We have to make it transparent to find it |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 3393 | */ |
Hartmut Hackmann | 2cf36ac | 2005-11-08 21:36:32 -0800 | [diff] [blame] | 3394 | { |
| 3395 | struct tuner_setup tun_setup; |
| 3396 | u8 data[] = { 0x07, 0x02}; |
| 3397 | struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)}; |
| 3398 | i2c_transfer(&dev->i2c_adap, &msg, 1); |
| 3399 | |
| 3400 | tun_setup.mode_mask = T_ANALOG_TV | T_DIGITAL_TV; |
| 3401 | tun_setup.type = dev->tuner_type; |
| 3402 | tun_setup.addr = dev->tuner_addr; |
| 3403 | |
| 3404 | saa7134_i2c_call_clients (dev, TUNER_SET_TYPE_ADDR,&tun_setup); |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 3405 | } |
Hartmut Hackmann | 2cf36ac | 2005-11-08 21:36:32 -0800 | [diff] [blame] | 3406 | break; |
Hartmut Hackmann | 90e9df7 | 2005-11-08 21:38:42 -0800 | [diff] [blame] | 3407 | case SAA7134_BOARD_PHILIPS_TIGER: |
Hartmut Hackmann | d4b0aba | 2005-11-08 21:38:44 -0800 | [diff] [blame] | 3408 | case SAA7134_BOARD_ASUSTeK_P7131_DUAL: |
Hartmut Hackmann | 90e9df7 | 2005-11-08 21:38:42 -0800 | [diff] [blame] | 3409 | /* this is a hybrid board, initialize to analog mode */ |
| 3410 | { |
| 3411 | u8 data[] = { 0x3c, 0x33, 0x68}; |
| 3412 | struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)}; |
| 3413 | i2c_transfer(&dev->i2c_adap, &msg, 1); |
| 3414 | } |
| 3415 | break; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3416 | } |
| 3417 | return 0; |
| 3418 | } |
| 3419 | |
| 3420 | /* ----------------------------------------------------------- */ |
| 3421 | /* |
| 3422 | * Local variables: |
| 3423 | * c-basic-offset: 8 |
| 3424 | * End: |
| 3425 | */ |