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 | }, |
Tamuki Shoichi | d0456d1 | 2006-02-27 00:08:04 -0300 | [diff] [blame] | 643 | [SAA7134_BOARD_ELSA_700TV] = { |
| 644 | .name = "ELSA EX-VISION 700TV", |
| 645 | .audio_clock = 0x00187de7, |
| 646 | .tuner_type = TUNER_HITACHI_NTSC, |
| 647 | .radio_type = UNSET, |
| 648 | .tuner_addr = ADDR_UNSET, |
| 649 | .radio_addr = ADDR_UNSET, |
| 650 | .inputs = {{ |
| 651 | .name = name_tv, |
| 652 | .vmux = 4, |
| 653 | .amux = LINE2, |
| 654 | .tv = 1, |
| 655 | },{ |
| 656 | .name = name_comp1, |
| 657 | .vmux = 6, |
| 658 | .amux = LINE1, |
| 659 | },{ |
| 660 | .name = name_svideo, |
| 661 | .vmux = 7, |
| 662 | .amux = LINE1, |
| 663 | }}, |
| 664 | .mute = { |
| 665 | .name = name_mute, |
| 666 | .amux = TV, |
| 667 | }, |
| 668 | }, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 669 | [SAA7134_BOARD_ASUSTeK_TVFM7134] = { |
| 670 | .name = "ASUS TV-FM 7134", |
| 671 | .audio_clock = 0x00187de7, |
| 672 | .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, |
| 673 | .radio_type = UNSET, |
| 674 | .tuner_addr = ADDR_UNSET, |
| 675 | .radio_addr = ADDR_UNSET, |
| 676 | .tda9887_conf = TDA9887_PRESENT, |
| 677 | .inputs = {{ |
| 678 | .name = name_tv, |
| 679 | .vmux = 1, |
| 680 | .amux = TV, |
| 681 | .tv = 1, |
| 682 | },{ |
| 683 | .name = name_comp1, |
| 684 | .vmux = 4, |
| 685 | .amux = LINE2, |
| 686 | },{ |
| 687 | .name = name_svideo, |
| 688 | .vmux = 6, |
| 689 | .amux = LINE2, |
| 690 | }}, |
| 691 | .radio = { |
| 692 | .name = name_radio, |
| 693 | .amux = LINE1, |
| 694 | }, |
| 695 | }, |
| 696 | [SAA7134_BOARD_ASUSTeK_TVFM7135] = { |
| 697 | .name = "ASUS TV-FM 7135", |
| 698 | .audio_clock = 0x00187de7, |
| 699 | .tuner_type = TUNER_PHILIPS_TDA8290, |
| 700 | .radio_type = UNSET, |
| 701 | .tuner_addr = ADDR_UNSET, |
| 702 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 703 | .gpiomask = 0x200000, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 704 | .inputs = {{ |
| 705 | .name = name_tv, |
| 706 | .vmux = 1, |
| 707 | .amux = TV, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 708 | .gpio = 0x0000, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 709 | .tv = 1, |
| 710 | },{ |
| 711 | .name = name_comp1, |
| 712 | .vmux = 4, |
| 713 | .amux = LINE2, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 714 | .gpio = 0x0000, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 715 | },{ |
| 716 | .name = name_svideo, |
| 717 | .vmux = 6, |
| 718 | .amux = LINE2, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 719 | .gpio = 0x0000, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 720 | }}, |
| 721 | .radio = { |
| 722 | .name = name_radio, |
| 723 | .amux = TV, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 724 | .gpio = 0x200000, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 725 | }, |
| 726 | .mute = { |
| 727 | .name = name_mute, |
| 728 | .gpio = 0x0000, |
| 729 | }, |
| 730 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 731 | }, |
| 732 | [SAA7134_BOARD_VA1000POWER] = { |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 733 | .name = "AOPEN VA1000 POWER", |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 734 | .audio_clock = 0x00187de7, |
| 735 | .tuner_type = TUNER_PHILIPS_NTSC, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 736 | .radio_type = UNSET, |
| 737 | .tuner_addr = ADDR_UNSET, |
| 738 | .radio_addr = ADDR_UNSET, |
| 739 | .inputs = {{ |
| 740 | .name = name_svideo, |
| 741 | .vmux = 8, |
| 742 | .amux = LINE1, |
| 743 | },{ |
| 744 | .name = name_comp1, |
| 745 | .vmux = 3, |
| 746 | .amux = LINE1, |
| 747 | },{ |
| 748 | .name = name_tv, |
| 749 | .vmux = 1, |
| 750 | .amux = LINE2, |
| 751 | .tv = 1, |
| 752 | }}, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 753 | }, |
| 754 | [SAA7134_BOARD_10MOONSTVMASTER] = { |
| 755 | /* "lilicheng" <llc@linuxfans.org> */ |
| 756 | .name = "10MOONS PCI TV CAPTURE CARD", |
| 757 | .audio_clock = 0x00200000, |
| 758 | .tuner_type = TUNER_LG_PAL_NEW_TAPC, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 759 | .radio_type = UNSET, |
| 760 | .tuner_addr = ADDR_UNSET, |
| 761 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 762 | .gpiomask = 0xe000, |
| 763 | .inputs = {{ |
| 764 | .name = name_tv, |
| 765 | .vmux = 1, |
| 766 | .amux = LINE2, |
| 767 | .gpio = 0x0000, |
| 768 | .tv = 1, |
| 769 | },{ |
| 770 | .name = name_comp1, |
| 771 | .vmux = 0, |
| 772 | .amux = LINE2, |
| 773 | .gpio = 0x4000, |
| 774 | },{ |
| 775 | .name = name_comp2, |
| 776 | .vmux = 3, |
| 777 | .amux = LINE2, |
| 778 | .gpio = 0x4000, |
| 779 | },{ |
| 780 | .name = name_svideo, |
| 781 | .vmux = 8, |
| 782 | .amux = LINE2, |
| 783 | .gpio = 0x4000, |
| 784 | }}, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 785 | .radio = { |
| 786 | .name = name_radio, |
| 787 | .amux = LINE2, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 788 | .gpio = 0x2000, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 789 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 790 | .mute = { |
| 791 | .name = name_mute, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 792 | .amux = LINE2, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 793 | .gpio = 0x8000, |
| 794 | }, |
| 795 | }, |
| 796 | [SAA7134_BOARD_BMK_MPEX_NOTUNER] = { |
| 797 | /* "Andrew de Quincey" <adq@lidskialf.net> */ |
| 798 | .name = "BMK MPEX No Tuner", |
| 799 | .audio_clock = 0x200000, |
| 800 | .tuner_type = TUNER_ABSENT, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 801 | .radio_type = UNSET, |
| 802 | .tuner_addr = ADDR_UNSET, |
| 803 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 804 | .inputs = {{ |
| 805 | .name = name_comp1, |
| 806 | .vmux = 4, |
| 807 | .amux = LINE1, |
| 808 | },{ |
| 809 | .name = name_comp2, |
| 810 | .vmux = 3, |
| 811 | .amux = LINE1, |
| 812 | },{ |
| 813 | .name = name_comp3, |
| 814 | .vmux = 0, |
| 815 | .amux = LINE1, |
| 816 | },{ |
| 817 | .name = name_comp4, |
| 818 | .vmux = 1, |
| 819 | .amux = LINE1, |
| 820 | },{ |
| 821 | .name = name_svideo, |
| 822 | .vmux = 8, |
| 823 | .amux = LINE1, |
| 824 | }}, |
| 825 | .mpeg = SAA7134_MPEG_EMPRESS, |
| 826 | .video_out = CCIR656, |
| 827 | }, |
| 828 | [SAA7134_BOARD_VIDEOMATE_TV] = { |
| 829 | .name = "Compro VideoMate TV", |
| 830 | .audio_clock = 0x00187de7, |
| 831 | .tuner_type = TUNER_PHILIPS_NTSC_M, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 832 | .radio_type = UNSET, |
| 833 | .tuner_addr = ADDR_UNSET, |
| 834 | .radio_addr = ADDR_UNSET, |
| 835 | .inputs = {{ |
| 836 | .name = name_svideo, |
| 837 | .vmux = 8, |
| 838 | .amux = LINE1, |
| 839 | },{ |
| 840 | .name = name_comp1, |
| 841 | .vmux = 3, |
| 842 | .amux = LINE1, |
| 843 | },{ |
| 844 | .name = name_tv, |
| 845 | .vmux = 1, |
| 846 | .amux = LINE2, |
| 847 | .tv = 1, |
| 848 | }}, |
| 849 | }, |
| 850 | [SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS] = { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 851 | .name = "Compro VideoMate TV Gold+", |
| 852 | .audio_clock = 0x00187de7, |
| 853 | .tuner_type = TUNER_PHILIPS_NTSC_M, |
| 854 | .gpiomask = 0x800c0000, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 855 | .radio_type = UNSET, |
| 856 | .tuner_addr = ADDR_UNSET, |
| 857 | .radio_addr = ADDR_UNSET, |
| 858 | .inputs = {{ |
| 859 | .name = name_svideo, |
| 860 | .vmux = 8, |
| 861 | .amux = LINE1, |
| 862 | .gpio = 0x06c00012, |
| 863 | },{ |
| 864 | .name = name_comp1, |
| 865 | .vmux = 3, |
| 866 | .amux = LINE1, |
| 867 | .gpio = 0x0ac20012, |
| 868 | },{ |
| 869 | .name = name_tv, |
| 870 | .vmux = 1, |
| 871 | .amux = LINE2, |
| 872 | .gpio = 0x08c20012, |
| 873 | .tv = 1, |
| 874 | }}, /* radio and probably mute is missing */ |
| 875 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 876 | [SAA7134_BOARD_CRONOS_PLUS] = { |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 877 | /* |
| 878 | gpio pins: |
| 879 | 0 .. 3 BASE_ID |
| 880 | 4 .. 7 PROTECT_ID |
| 881 | 8 .. 11 USER_OUT |
| 882 | 12 .. 13 USER_IN |
| 883 | 14 .. 15 VIDIN_SEL |
| 884 | */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 885 | .name = "Matrox CronosPlus", |
| 886 | .tuner_type = TUNER_ABSENT, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 887 | .radio_type = UNSET, |
| 888 | .tuner_addr = ADDR_UNSET, |
| 889 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 890 | .gpiomask = 0xcf00, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 891 | .inputs = {{ |
| 892 | .name = name_comp1, |
| 893 | .vmux = 0, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 894 | .gpio = 2 << 14, |
| 895 | },{ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 896 | .name = name_comp2, |
| 897 | .vmux = 0, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 898 | .gpio = 1 << 14, |
| 899 | },{ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 900 | .name = name_comp3, |
| 901 | .vmux = 0, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 902 | .gpio = 0 << 14, |
| 903 | },{ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 904 | .name = name_comp4, |
| 905 | .vmux = 0, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 906 | .gpio = 3 << 14, |
| 907 | },{ |
| 908 | .name = name_svideo, |
| 909 | .vmux = 8, |
| 910 | .gpio = 2 << 14, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 911 | }}, |
| 912 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 913 | [SAA7134_BOARD_MD2819] = { |
| 914 | .name = "AverMedia M156 / Medion 2819", |
| 915 | .audio_clock = 0x00187de7, |
| 916 | .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 917 | .radio_type = UNSET, |
| 918 | .tuner_addr = ADDR_UNSET, |
| 919 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 920 | .tda9887_conf = TDA9887_PRESENT, |
| 921 | .inputs = {{ |
| 922 | .name = name_tv, |
| 923 | .vmux = 1, |
| 924 | .amux = TV, |
| 925 | .tv = 1, |
| 926 | },{ |
| 927 | .name = name_comp1, |
| 928 | .vmux = 0, |
| 929 | .amux = LINE2, |
| 930 | },{ |
| 931 | .name = name_comp2, |
| 932 | .vmux = 3, |
| 933 | .amux = LINE2, |
| 934 | },{ |
| 935 | .name = name_svideo, |
| 936 | .vmux = 8, |
| 937 | .amux = LINE2, |
| 938 | }}, |
| 939 | .radio = { |
| 940 | .name = name_radio, |
| 941 | .amux = LINE2, |
| 942 | }, |
| 943 | }, |
| 944 | [SAA7134_BOARD_BMK_MPEX_TUNER] = { |
| 945 | /* "Greg Wickham <greg.wickham@grangenet.net> */ |
| 946 | .name = "BMK MPEX Tuner", |
| 947 | .audio_clock = 0x200000, |
| 948 | .tuner_type = TUNER_PHILIPS_PAL, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 949 | .radio_type = UNSET, |
| 950 | .tuner_addr = ADDR_UNSET, |
| 951 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 952 | .inputs = {{ |
| 953 | .name = name_comp1, |
| 954 | .vmux = 1, |
| 955 | .amux = LINE1, |
| 956 | },{ |
| 957 | .name = name_svideo, |
| 958 | .vmux = 8, |
| 959 | .amux = LINE1, |
| 960 | },{ |
| 961 | .name = name_tv, |
| 962 | .vmux = 3, |
| 963 | .amux = TV, |
| 964 | .tv = 1, |
| 965 | }}, |
| 966 | .mpeg = SAA7134_MPEG_EMPRESS, |
| 967 | .video_out = CCIR656, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 968 | }, |
| 969 | [SAA7134_BOARD_ASUSTEK_TVFM7133] = { |
| 970 | .name = "ASUS TV-FM 7133", |
| 971 | .audio_clock = 0x00187de7, |
| 972 | /* probably wrong, the 7133 one is the NTSC version ... |
| 973 | * .tuner_type = TUNER_PHILIPS_FM1236_MK3 */ |
| 974 | .tuner_type = TUNER_LG_NTSC_NEW_TAPC, |
| 975 | .radio_type = UNSET, |
| 976 | .tuner_addr = ADDR_UNSET, |
| 977 | .radio_addr = ADDR_UNSET, |
| 978 | .tda9887_conf = TDA9887_PRESENT, |
| 979 | .inputs = {{ |
| 980 | .name = name_tv, |
| 981 | .vmux = 1, |
| 982 | .amux = TV, |
| 983 | .tv = 1, |
| 984 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 985 | },{ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 986 | .name = name_comp1, |
| 987 | .vmux = 4, |
| 988 | .amux = LINE2, |
| 989 | },{ |
| 990 | .name = name_svideo, |
| 991 | .vmux = 6, |
| 992 | .amux = LINE2, |
| 993 | }}, |
| 994 | .radio = { |
| 995 | .name = name_radio, |
| 996 | .amux = LINE1, |
| 997 | }, |
| 998 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 999 | [SAA7134_BOARD_PINNACLE_PCTV_STEREO] = { |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1000 | .name = "Pinnacle PCTV Stereo (saa7134)", |
| 1001 | .audio_clock = 0x00187de7, |
| 1002 | .tuner_type = TUNER_MT2032, |
| 1003 | .radio_type = UNSET, |
| 1004 | .tuner_addr = ADDR_UNSET, |
| 1005 | .radio_addr = ADDR_UNSET, |
Hartmut Hackmann | df8cf70 | 2006-03-03 12:09:26 -0300 | [diff] [blame] | 1006 | .tda9887_conf = TDA9887_PRESENT | TDA9887_INTERCARRIER | TDA9887_PORT2_INACTIVE, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1007 | .inputs = {{ |
| 1008 | .name = name_tv, |
| 1009 | .vmux = 3, |
| 1010 | .amux = TV, |
| 1011 | .tv = 1, |
| 1012 | },{ |
| 1013 | .name = name_comp1, |
| 1014 | .vmux = 0, |
| 1015 | .amux = LINE2, |
| 1016 | },{ |
| 1017 | .name = name_comp2, |
| 1018 | .vmux = 1, |
| 1019 | .amux = LINE2, |
| 1020 | },{ |
| 1021 | .name = name_svideo, |
| 1022 | .vmux = 8, |
| 1023 | .amux = LINE2, |
| 1024 | }}, |
| 1025 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1026 | [SAA7134_BOARD_MANLI_MTV002] = { |
| 1027 | /* Ognjen Nastic <ognjen@logosoft.ba> */ |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 1028 | .name = "Manli MuchTV M-TV002/Behold TV 403 FM", |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1029 | .audio_clock = 0x00200000, |
| 1030 | .tuner_type = TUNER_PHILIPS_PAL, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1031 | .radio_type = UNSET, |
| 1032 | .tuner_addr = ADDR_UNSET, |
| 1033 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1034 | .inputs = {{ |
| 1035 | .name = name_svideo, |
| 1036 | .vmux = 8, |
| 1037 | .amux = LINE1, |
| 1038 | },{ |
| 1039 | .name = name_comp1, |
| 1040 | .vmux = 1, |
| 1041 | .amux = LINE1, |
| 1042 | },{ |
| 1043 | .name = name_tv, |
| 1044 | .vmux = 3, |
| 1045 | .amux = LINE2, |
| 1046 | .tv = 1, |
| 1047 | }}, |
| 1048 | .radio = { |
| 1049 | .name = name_radio, |
| 1050 | .amux = LINE2, |
| 1051 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1052 | }, |
| 1053 | [SAA7134_BOARD_MANLI_MTV001] = { |
| 1054 | /* Ognjen Nastic <ognjen@logosoft.ba> UNTESTED */ |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 1055 | .name = "Manli MuchTV M-TV001/Behold TV 401", |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1056 | .audio_clock = 0x00200000, |
| 1057 | .tuner_type = TUNER_PHILIPS_PAL, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1058 | .radio_type = UNSET, |
| 1059 | .tuner_addr = ADDR_UNSET, |
| 1060 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1061 | .inputs = {{ |
| 1062 | .name = name_svideo, |
| 1063 | .vmux = 8, |
| 1064 | .amux = LINE1, |
| 1065 | },{ |
| 1066 | .name = name_comp1, |
| 1067 | .vmux = 1, |
| 1068 | .amux = LINE1, |
| 1069 | },{ |
| 1070 | .name = name_tv, |
| 1071 | .vmux = 3, |
| 1072 | .amux = LINE2, |
| 1073 | .tv = 1, |
| 1074 | }}, |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 1075 | .mute = { |
| 1076 | .name = name_mute, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1077 | .amux = LINE1, |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 1078 | }, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1079 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1080 | [SAA7134_BOARD_TG3000TV] = { |
| 1081 | /* TransGear 3000TV */ |
| 1082 | .name = "Nagase Sangyo TransGear 3000TV", |
| 1083 | .audio_clock = 0x00187de7, |
| 1084 | .tuner_type = TUNER_PHILIPS_NTSC_M, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1085 | .radio_type = UNSET, |
| 1086 | .tuner_addr = ADDR_UNSET, |
| 1087 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1088 | .inputs = {{ |
| 1089 | .name = name_tv, |
| 1090 | .vmux = 1, |
| 1091 | .amux = LINE2, |
| 1092 | .tv = 1, |
| 1093 | },{ |
| 1094 | .name = name_comp1, |
| 1095 | .vmux = 3, |
| 1096 | .amux = LINE2, |
| 1097 | },{ |
| 1098 | .name = name_svideo, |
| 1099 | .vmux = 8, |
| 1100 | .amux = LINE2, |
| 1101 | }}, |
| 1102 | }, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1103 | [SAA7134_BOARD_ECS_TVP3XP] = { |
| 1104 | .name = "Elitegroup ECS TVP3XP FM1216 Tuner Card(PAL-BG,FM) ", |
| 1105 | .audio_clock = 0x187de7, /* xtal 32.1 MHz */ |
| 1106 | .tuner_type = TUNER_PHILIPS_PAL, |
| 1107 | .radio_type = UNSET, |
| 1108 | .tuner_addr = ADDR_UNSET, |
| 1109 | .radio_addr = ADDR_UNSET, |
| 1110 | .inputs = {{ |
| 1111 | .name = name_tv, |
| 1112 | .vmux = 1, |
| 1113 | .amux = TV, |
| 1114 | .tv = 1, |
| 1115 | },{ |
| 1116 | .name = name_tv_mono, |
| 1117 | .vmux = 1, |
| 1118 | .amux = LINE2, |
| 1119 | .tv = 1, |
| 1120 | },{ |
| 1121 | .name = name_comp1, |
| 1122 | .vmux = 3, |
| 1123 | .amux = LINE1, |
| 1124 | },{ |
| 1125 | .name = name_svideo, |
| 1126 | .vmux = 8, |
| 1127 | .amux = LINE1, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1128 | },{ |
| 1129 | .name = "CVid over SVid", |
| 1130 | .vmux = 0, |
| 1131 | .amux = LINE1, |
| 1132 | }}, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1133 | .radio = { |
| 1134 | .name = name_radio, |
| 1135 | .amux = LINE2, |
| 1136 | }, |
| 1137 | }, |
| 1138 | [SAA7134_BOARD_ECS_TVP3XP_4CB5] = { |
| 1139 | .name = "Elitegroup ECS TVP3XP FM1236 Tuner Card (NTSC,FM)", |
| 1140 | .audio_clock = 0x187de7, |
| 1141 | .tuner_type = TUNER_PHILIPS_NTSC, |
| 1142 | .radio_type = UNSET, |
| 1143 | .tuner_addr = ADDR_UNSET, |
| 1144 | .radio_addr = ADDR_UNSET, |
| 1145 | .inputs = {{ |
| 1146 | .name = name_tv, |
| 1147 | .vmux = 1, |
| 1148 | .amux = TV, |
| 1149 | .tv = 1, |
| 1150 | },{ |
| 1151 | .name = name_tv_mono, |
| 1152 | .vmux = 1, |
| 1153 | .amux = LINE2, |
| 1154 | .tv = 1, |
| 1155 | },{ |
| 1156 | .name = name_comp1, |
| 1157 | .vmux = 3, |
| 1158 | .amux = LINE1, |
| 1159 | },{ |
| 1160 | .name = name_svideo, |
| 1161 | .vmux = 8, |
| 1162 | .amux = LINE1, |
| 1163 | },{ |
| 1164 | .name = "CVid over SVid", |
| 1165 | .vmux = 0, |
| 1166 | .amux = LINE1, |
| 1167 | }}, |
| 1168 | .radio = { |
| 1169 | .name = name_radio, |
| 1170 | .amux = LINE2, |
| 1171 | }, |
| 1172 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1173 | [SAA7134_BOARD_AVACSSMARTTV] = { |
| 1174 | /* Roman Pszonczenko <romka@kolos.math.uni.lodz.pl> */ |
| 1175 | .name = "AVACS SmartTV", |
| 1176 | .audio_clock = 0x00187de7, |
| 1177 | .tuner_type = TUNER_PHILIPS_PAL, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1178 | .radio_type = UNSET, |
| 1179 | .tuner_addr = ADDR_UNSET, |
| 1180 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1181 | .inputs = {{ |
| 1182 | .name = name_tv, |
| 1183 | .vmux = 1, |
| 1184 | .amux = TV, |
| 1185 | .tv = 1, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1186 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1187 | .name = name_tv_mono, |
| 1188 | .vmux = 1, |
| 1189 | .amux = LINE2, |
| 1190 | .tv = 1, |
| 1191 | },{ |
| 1192 | .name = name_comp1, |
| 1193 | .vmux = 0, |
| 1194 | .amux = LINE2, |
| 1195 | },{ |
| 1196 | .name = name_comp2, |
| 1197 | .vmux = 3, |
| 1198 | .amux = LINE2, |
| 1199 | },{ |
| 1200 | .name = name_svideo, |
| 1201 | .vmux = 8, |
| 1202 | .amux = LINE2, |
| 1203 | }}, |
| 1204 | .radio = { |
| 1205 | .name = name_radio, |
| 1206 | .amux = LINE2, |
| 1207 | .gpio = 0x200000, |
| 1208 | }, |
| 1209 | }, |
| 1210 | [SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER] = { |
| 1211 | /* Michael Smith <msmith@cbnco.com> */ |
| 1212 | .name = "AVerMedia DVD EZMaker", |
| 1213 | .audio_clock = 0x00187de7, |
| 1214 | .tuner_type = TUNER_ABSENT, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1215 | .radio_type = UNSET, |
| 1216 | .tuner_addr = ADDR_UNSET, |
| 1217 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1218 | .inputs = {{ |
| 1219 | .name = name_comp1, |
| 1220 | .vmux = 3, |
| 1221 | },{ |
| 1222 | .name = name_svideo, |
| 1223 | .vmux = 8, |
| 1224 | }}, |
| 1225 | }, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1226 | [SAA7134_BOARD_NOVAC_PRIMETV7133] = { |
| 1227 | /* toshii@netbsd.org */ |
| 1228 | .name = "Noval Prime TV 7133", |
| 1229 | .audio_clock = 0x00200000, |
| 1230 | .tuner_type = TUNER_ALPS_TSBH1_NTSC, |
| 1231 | .radio_type = UNSET, |
| 1232 | .tuner_addr = ADDR_UNSET, |
| 1233 | .radio_addr = ADDR_UNSET, |
| 1234 | .inputs = {{ |
| 1235 | .name = name_comp1, |
| 1236 | .vmux = 3, |
| 1237 | },{ |
| 1238 | .name = name_tv, |
| 1239 | .vmux = 1, |
| 1240 | .amux = TV, |
| 1241 | .tv = 1, |
| 1242 | },{ |
| 1243 | .name = name_svideo, |
| 1244 | .vmux = 8, |
| 1245 | }}, |
| 1246 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1247 | [SAA7134_BOARD_AVERMEDIA_STUDIO_305] = { |
| 1248 | .name = "AverMedia AverTV Studio 305", |
| 1249 | .audio_clock = 0x00187de7, |
| 1250 | .tuner_type = TUNER_PHILIPS_FM1256_IH3, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1251 | .radio_type = UNSET, |
| 1252 | .tuner_addr = ADDR_UNSET, |
| 1253 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1254 | .tda9887_conf = TDA9887_PRESENT, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1255 | .inputs = {{ |
| 1256 | .name = name_tv, |
| 1257 | .vmux = 1, |
| 1258 | .amux = LINE2, |
| 1259 | .tv = 1, |
| 1260 | },{ |
| 1261 | .name = name_comp1, |
| 1262 | .vmux = 0, |
| 1263 | .amux = LINE2, |
| 1264 | },{ |
| 1265 | .name = name_comp2, |
| 1266 | .vmux = 3, |
| 1267 | .amux = LINE2, |
| 1268 | },{ |
| 1269 | .name = name_svideo, |
| 1270 | .vmux = 8, |
| 1271 | .amux = LINE2, |
| 1272 | }}, |
| 1273 | .radio = { |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1274 | .name = name_radio, |
| 1275 | .amux = LINE2, |
| 1276 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1277 | .mute = { |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1278 | .name = name_mute, |
| 1279 | .amux = LINE1, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1280 | }, |
| 1281 | }, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1282 | [SAA7134_BOARD_UPMOST_PURPLE_TV] = { |
| 1283 | .name = "UPMOST PURPLE TV", |
| 1284 | .audio_clock = 0x00187de7, |
| 1285 | .tuner_type = TUNER_PHILIPS_FM1236_MK3, |
| 1286 | .radio_type = UNSET, |
| 1287 | .tuner_addr = ADDR_UNSET, |
| 1288 | .radio_addr = ADDR_UNSET, |
| 1289 | .tda9887_conf = TDA9887_PRESENT, |
| 1290 | .inputs = {{ |
| 1291 | .name = name_tv, |
| 1292 | .vmux = 7, |
| 1293 | .amux = TV, |
| 1294 | .tv = 1, |
| 1295 | },{ |
| 1296 | .name = name_svideo, |
| 1297 | .vmux = 7, |
| 1298 | .amux = LINE1, |
| 1299 | }}, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1300 | }, |
| 1301 | [SAA7134_BOARD_ITEMS_MTV005] = { |
| 1302 | /* Norman Jonas <normanjonas@arcor.de> */ |
| 1303 | .name = "Items MuchTV Plus / IT-005", |
| 1304 | .audio_clock = 0x00187de7, |
| 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 = {{ |
| 1310 | .name = name_tv, |
| 1311 | .vmux = 3, |
| 1312 | .amux = TV, |
| 1313 | .tv = 1, |
| 1314 | },{ |
| 1315 | .name = name_comp1, |
| 1316 | .vmux = 1, |
| 1317 | .amux = LINE1, |
| 1318 | },{ |
| 1319 | .name = name_svideo, |
| 1320 | .vmux = 8, |
| 1321 | .amux = LINE1, |
| 1322 | }}, |
| 1323 | .radio = { |
| 1324 | .name = name_radio, |
| 1325 | .amux = LINE2, |
| 1326 | }, |
| 1327 | }, |
| 1328 | [SAA7134_BOARD_CINERGY200] = { |
| 1329 | .name = "Terratec Cinergy 200 TV", |
| 1330 | .audio_clock = 0x00200000, |
| 1331 | .tuner_type = TUNER_PHILIPS_PAL, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1332 | .radio_type = UNSET, |
| 1333 | .tuner_addr = ADDR_UNSET, |
| 1334 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1335 | .inputs = {{ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1336 | .name = name_tv, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1337 | .vmux = 1, |
| 1338 | .amux = LINE2, |
| 1339 | .tv = 1, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1340 | },{ |
| 1341 | .name = name_comp1, |
| 1342 | .vmux = 4, |
| 1343 | .amux = LINE1, |
| 1344 | },{ |
| 1345 | .name = name_svideo, |
| 1346 | .vmux = 8, |
| 1347 | .amux = LINE1, |
| 1348 | },{ |
| 1349 | .name = name_comp2, /* CVideo over SVideo Connector */ |
| 1350 | .vmux = 0, |
| 1351 | .amux = LINE1, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1352 | }}, |
| 1353 | .mute = { |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1354 | .name = name_mute, |
| 1355 | .amux = LINE2, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1356 | }, |
| 1357 | }, |
| 1358 | [SAA7134_BOARD_VIDEOMATE_TV_PVR] = { |
| 1359 | /* Alain St-Denis <alain@topaze.homeip.net> */ |
| 1360 | .name = "Compro VideoMate TV PVR/FM", |
| 1361 | .audio_clock = 0x00187de7, |
| 1362 | .tuner_type = TUNER_PHILIPS_NTSC_M, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1363 | .radio_type = UNSET, |
| 1364 | .tuner_addr = ADDR_UNSET, |
| 1365 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1366 | .gpiomask = 0x808c0080, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1367 | .inputs = {{ |
| 1368 | .name = name_svideo, |
| 1369 | .vmux = 8, |
| 1370 | .amux = LINE1, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1371 | .gpio = 0x00080, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1372 | },{ |
| 1373 | .name = name_comp1, |
| 1374 | .vmux = 3, |
| 1375 | .amux = LINE1, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1376 | .gpio = 0x00080, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1377 | },{ |
| 1378 | .name = name_tv, |
| 1379 | .vmux = 1, |
| 1380 | .amux = LINE2_LEFT, |
| 1381 | .tv = 1, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1382 | .gpio = 0x00080, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1383 | }}, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1384 | .radio = { |
| 1385 | .name = name_radio, |
| 1386 | .amux = LINE2, |
| 1387 | .gpio = 0x80000, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1388 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1389 | .mute = { |
| 1390 | .name = name_mute, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1391 | .amux = LINE2, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1392 | .gpio = 0x40000, |
| 1393 | }, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1394 | }, |
| 1395 | [SAA7134_BOARD_SABRENT_SBTTVFM] = { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1396 | /* Michael Rodriguez-Torrent <mrtorrent@asu.edu> */ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1397 | .name = "Sabrent SBT-TVFM (saa7130)", |
| 1398 | .audio_clock = 0x00187de7, |
| 1399 | .tuner_type = TUNER_PHILIPS_NTSC_M, |
| 1400 | .radio_type = UNSET, |
| 1401 | .tuner_addr = ADDR_UNSET, |
| 1402 | .radio_addr = ADDR_UNSET, |
| 1403 | .inputs = {{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1404 | .name = name_comp1, |
| 1405 | .vmux = 1, |
Mauro Carvalho Chehab | 6a989d7 | 2005-09-09 13:03:57 -0700 | [diff] [blame] | 1406 | .amux = LINE1, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1407 | },{ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1408 | .name = name_tv, |
| 1409 | .vmux = 3, |
| 1410 | .amux = LINE2, |
| 1411 | .tv = 1, |
| 1412 | },{ |
| 1413 | .name = name_svideo, |
| 1414 | .vmux = 8, |
Mauro Carvalho Chehab | 6a989d7 | 2005-09-09 13:03:57 -0700 | [diff] [blame] | 1415 | .amux = LINE1, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1416 | }}, |
| 1417 | .radio = { |
| 1418 | .name = name_radio, |
| 1419 | .amux = LINE2, |
| 1420 | }, |
| 1421 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1422 | [SAA7134_BOARD_ZOLID_XPERT_TV7134] = { |
| 1423 | /* Helge Jensen <helge.jensen@slog.dk> */ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1424 | .name = ":Zolid Xpert TV7134", |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1425 | .audio_clock = 0x00187de7, |
| 1426 | .tuner_type = TUNER_PHILIPS_NTSC, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1427 | .radio_type = UNSET, |
| 1428 | .tuner_addr = ADDR_UNSET, |
| 1429 | .radio_addr = ADDR_UNSET, |
| 1430 | .inputs = {{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1431 | .name = name_svideo, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1432 | .vmux = 8, |
| 1433 | .amux = LINE1, |
| 1434 | },{ |
| 1435 | .name = name_comp1, |
| 1436 | .vmux = 3, |
| 1437 | .amux = LINE1, |
| 1438 | },{ |
| 1439 | .name = name_tv, |
| 1440 | .vmux = 1, |
| 1441 | .amux = LINE2, |
| 1442 | .tv = 1, |
| 1443 | }}, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1444 | }, |
| 1445 | [SAA7134_BOARD_EMPIRE_PCI_TV_RADIO_LE] = { |
| 1446 | /* "Matteo Az" <matte.az@nospam.libero.it> ;-) */ |
| 1447 | .name = "Empire PCI TV-Radio LE", |
| 1448 | .audio_clock = 0x00187de7, |
| 1449 | .tuner_type = TUNER_PHILIPS_PAL, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1450 | .radio_type = UNSET, |
| 1451 | .tuner_addr = ADDR_UNSET, |
| 1452 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1453 | .gpiomask = 0x4000, |
| 1454 | .inputs = {{ |
| 1455 | .name = name_tv_mono, |
| 1456 | .vmux = 1, |
| 1457 | .amux = LINE2, |
| 1458 | .gpio = 0x8000, |
| 1459 | .tv = 1, |
| 1460 | },{ |
| 1461 | .name = name_comp1, |
| 1462 | .vmux = 3, |
| 1463 | .amux = LINE1, |
| 1464 | .gpio = 0x8000, |
| 1465 | },{ |
| 1466 | .name = name_svideo, |
| 1467 | .vmux = 6, |
| 1468 | .amux = LINE1, |
| 1469 | .gpio = 0x8000, |
| 1470 | }}, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1471 | .radio = { |
| 1472 | .name = name_radio, |
| 1473 | .amux = LINE1, |
| 1474 | .gpio = 0x8000, |
| 1475 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1476 | .mute = { |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1477 | .name = name_mute, |
| 1478 | .amux = TV, |
| 1479 | .gpio =0x8000, |
| 1480 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1481 | }, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1482 | [SAA7134_BOARD_AVERMEDIA_STUDIO_307] = { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1483 | /* |
| 1484 | Nickolay V. Shmyrev <nshmyrev@yandex.ru> |
| 1485 | Lots of thanks to Andrey Zolotarev <zolotarev_andrey@mail.ru> |
| 1486 | */ |
| 1487 | .name = "Avermedia AVerTV Studio 307", |
| 1488 | .audio_clock = 0x00187de7, |
| 1489 | .tuner_type = TUNER_PHILIPS_FM1256_IH3, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1490 | .radio_type = UNSET, |
| 1491 | .tuner_addr = ADDR_UNSET, |
| 1492 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1493 | .tda9887_conf = TDA9887_PRESENT, |
| 1494 | .gpiomask = 0x03, |
| 1495 | .inputs = {{ |
| 1496 | .name = name_tv, |
| 1497 | .vmux = 1, |
| 1498 | .amux = TV, |
| 1499 | .tv = 1, |
| 1500 | .gpio = 0x00, |
| 1501 | },{ |
| 1502 | .name = name_comp1, |
| 1503 | .vmux = 0, |
| 1504 | .amux = LINE2, |
| 1505 | .gpio = 0x00, |
| 1506 | },{ |
| 1507 | .name = name_comp2, |
| 1508 | .vmux = 3, |
| 1509 | .amux = LINE2, |
| 1510 | .gpio = 0x00, |
| 1511 | },{ |
| 1512 | .name = name_svideo, |
| 1513 | .vmux = 8, |
| 1514 | .amux = LINE2, |
| 1515 | .gpio = 0x00, |
| 1516 | }}, |
| 1517 | .radio = { |
| 1518 | .name = name_radio, |
| 1519 | .amux = LINE1, |
| 1520 | .gpio = 0x01, |
| 1521 | }, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1522 | .mute = { |
| 1523 | .name = name_mute, |
| 1524 | .amux = LINE1, |
| 1525 | .gpio = 0x00, |
| 1526 | }, |
| 1527 | }, |
| 1528 | [SAA7134_BOARD_AVERMEDIA_GO_007_FM] = { |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 1529 | .name = "Avermedia AVerTV GO 007 FM", |
| 1530 | .audio_clock = 0x00187de7, |
| 1531 | .tuner_type = TUNER_PHILIPS_TDA8290, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1532 | .radio_type = UNSET, |
| 1533 | .tuner_addr = ADDR_UNSET, |
| 1534 | .radio_addr = ADDR_UNSET, |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 1535 | .gpiomask = 0x00300003, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1536 | /* .gpiomask = 0x8c240003, */ |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 1537 | .inputs = {{ |
| 1538 | .name = name_tv, |
| 1539 | .vmux = 1, |
| 1540 | .amux = TV, |
| 1541 | .tv = 1, |
| 1542 | .gpio = 0x01, |
| 1543 | },{ |
| 1544 | .name = name_comp1, |
| 1545 | .vmux = 0, |
| 1546 | .amux = LINE2, |
| 1547 | .gpio = 0x02, |
| 1548 | },{ |
| 1549 | .name = name_svideo, |
| 1550 | .vmux = 6, |
| 1551 | .amux = LINE2, |
| 1552 | .gpio = 0x02, |
| 1553 | }}, |
| 1554 | .radio = { |
| 1555 | .name = name_radio, |
| 1556 | .amux = LINE1, |
| 1557 | .gpio = 0x00300001, |
| 1558 | }, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1559 | .mute = { |
| 1560 | .name = name_mute, |
| 1561 | .amux = TV, |
| 1562 | .gpio = 0x01, |
| 1563 | }, |
| 1564 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1565 | [SAA7134_BOARD_AVERMEDIA_CARDBUS] = { |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1566 | /* Kees.Blom@cwi.nl */ |
| 1567 | .name = "AVerMedia Cardbus TV/Radio (E500)", |
| 1568 | .audio_clock = 0x187de7, |
| 1569 | .tuner_type = TUNER_PHILIPS_TDA8290, |
| 1570 | .radio_type = UNSET, |
| 1571 | .tuner_addr = ADDR_UNSET, |
| 1572 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1573 | .inputs = {{ |
| 1574 | .name = name_tv, |
| 1575 | .vmux = 1, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1576 | .amux = TV, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1577 | .tv = 1, |
| 1578 | },{ |
| 1579 | .name = name_comp1, |
| 1580 | .vmux = 3, |
| 1581 | .amux = LINE2, |
| 1582 | },{ |
| 1583 | .name = name_svideo, |
| 1584 | .vmux = 8, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1585 | .amux = LINE1, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1586 | }}, |
| 1587 | .radio = { |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1588 | .name = name_radio, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1589 | .amux = LINE1, |
| 1590 | }, |
| 1591 | }, |
| 1592 | [SAA7134_BOARD_CINERGY400_CARDBUS] = { |
| 1593 | .name = "Terratec Cinergy 400 mobile", |
| 1594 | .audio_clock = 0x187de7, |
| 1595 | .tuner_type = TUNER_ALPS_TSBE5_PAL, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1596 | .radio_type = UNSET, |
| 1597 | .tuner_addr = ADDR_UNSET, |
| 1598 | .radio_addr = ADDR_UNSET, |
| 1599 | .tda9887_conf = TDA9887_PRESENT, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1600 | .inputs = {{ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1601 | .name = name_tv, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1602 | .vmux = 1, |
| 1603 | .amux = TV, |
| 1604 | .tv = 1, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1605 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1606 | .name = name_tv_mono, |
| 1607 | .vmux = 1, |
| 1608 | .amux = LINE2, |
| 1609 | .tv = 1, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1610 | },{ |
| 1611 | .name = name_comp1, |
| 1612 | .vmux = 3, |
| 1613 | .amux = LINE1, |
| 1614 | },{ |
| 1615 | .name = name_svideo, |
| 1616 | .vmux = 8, |
| 1617 | .amux = LINE1, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1618 | }}, |
| 1619 | }, |
| 1620 | [SAA7134_BOARD_CINERGY600_MK3] = { |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1621 | .name = "Terratec Cinergy 600 TV MK3", |
| 1622 | .audio_clock = 0x00200000, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1623 | .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1624 | .radio_type = UNSET, |
| 1625 | .tuner_addr = ADDR_UNSET, |
| 1626 | .radio_addr = ADDR_UNSET, |
| 1627 | .tda9887_conf = TDA9887_PRESENT, |
| 1628 | .inputs = {{ |
| 1629 | .name = name_tv, |
| 1630 | .vmux = 1, |
| 1631 | .amux = TV, |
| 1632 | .tv = 1, |
| 1633 | },{ |
| 1634 | .name = name_comp1, |
| 1635 | .vmux = 4, |
| 1636 | .amux = LINE1, |
| 1637 | },{ |
| 1638 | .name = name_svideo, |
| 1639 | .vmux = 8, |
| 1640 | .amux = LINE1, |
| 1641 | },{ |
| 1642 | .name = name_comp2, /* CVideo over SVideo Connector */ |
| 1643 | .vmux = 0, |
| 1644 | .amux = LINE1, |
| 1645 | }}, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1646 | .radio = { |
| 1647 | .name = name_radio, |
| 1648 | .amux = LINE2, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1649 | }, |
| 1650 | }, |
| 1651 | [SAA7134_BOARD_VIDEOMATE_GOLD_PLUS] = { |
| 1652 | /* Dylan Walkden <dylan_walkden@hotmail.com> */ |
| 1653 | .name = "Compro VideoMate Gold+ Pal", |
| 1654 | .audio_clock = 0x00187de7, |
| 1655 | .tuner_type = TUNER_PHILIPS_PAL, |
| 1656 | .radio_type = UNSET, |
| 1657 | .tuner_addr = ADDR_UNSET, |
| 1658 | .radio_addr = ADDR_UNSET, |
| 1659 | .gpiomask = 0x1ce780, |
| 1660 | .inputs = {{ |
| 1661 | .name = name_svideo, |
| 1662 | .vmux = 0, /* CVideo over SVideo Connector - ok? */ |
| 1663 | .amux = LINE1, |
| 1664 | .gpio = 0x008080, |
| 1665 | },{ |
| 1666 | .name = name_comp1, |
| 1667 | .vmux = 3, |
| 1668 | .amux = LINE1, |
| 1669 | .gpio = 0x008080, |
| 1670 | },{ |
| 1671 | .name = name_tv, |
| 1672 | .vmux = 1, |
| 1673 | .amux = TV, |
| 1674 | .tv = 1, |
| 1675 | .gpio = 0x008080, |
| 1676 | }}, |
| 1677 | .radio = { |
| 1678 | .name = name_radio, |
| 1679 | .amux = LINE2, |
| 1680 | .gpio = 0x80000, |
| 1681 | }, |
| 1682 | .mute = { |
| 1683 | .name = name_mute, |
| 1684 | .amux = LINE2, |
| 1685 | .gpio = 0x0c8000, |
| 1686 | }, |
| 1687 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1688 | [SAA7134_BOARD_PINNACLE_300I_DVBT_PAL] = { |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1689 | .name = "Pinnacle PCTV 300i DVB-T + PAL", |
| 1690 | .audio_clock = 0x00187de7, |
| 1691 | .tuner_type = TUNER_MT2032, |
| 1692 | .radio_type = UNSET, |
| 1693 | .tuner_addr = ADDR_UNSET, |
| 1694 | .radio_addr = ADDR_UNSET, |
Hartmut Hackmann | df8cf70 | 2006-03-03 12:09:26 -0300 | [diff] [blame] | 1695 | .tda9887_conf = TDA9887_PRESENT | TDA9887_INTERCARRIER | TDA9887_PORT2_INACTIVE, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1696 | .mpeg = SAA7134_MPEG_DVB, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1697 | .inputs = {{ |
| 1698 | .name = name_tv, |
| 1699 | .vmux = 3, |
| 1700 | .amux = TV, |
| 1701 | .tv = 1, |
| 1702 | },{ |
| 1703 | .name = name_comp1, |
| 1704 | .vmux = 0, |
| 1705 | .amux = LINE2, |
| 1706 | },{ |
| 1707 | .name = name_comp2, |
| 1708 | .vmux = 1, |
| 1709 | .amux = LINE2, |
| 1710 | },{ |
| 1711 | .name = name_svideo, |
| 1712 | .vmux = 8, |
| 1713 | .amux = LINE2, |
| 1714 | }}, |
| 1715 | }, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1716 | [SAA7134_BOARD_PROVIDEO_PV952] = { |
| 1717 | /* andreas.kretschmer@web.de */ |
| 1718 | .name = "ProVideo PV952", |
| 1719 | .audio_clock = 0x00187de7, |
| 1720 | .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1721 | .radio_type = UNSET, |
| 1722 | .tuner_addr = ADDR_UNSET, |
| 1723 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1724 | .tda9887_conf = TDA9887_PRESENT, |
| 1725 | .inputs = {{ |
| 1726 | .name = name_comp1, |
| 1727 | .vmux = 0, |
| 1728 | .amux = LINE1, |
| 1729 | },{ |
| 1730 | .name = name_tv, |
| 1731 | .vmux = 1, |
| 1732 | .amux = TV, |
| 1733 | .tv = 1, |
| 1734 | },{ |
| 1735 | .name = name_tv_mono, |
| 1736 | .vmux = 1, |
| 1737 | .amux = LINE2, |
| 1738 | .tv = 1, |
| 1739 | }}, |
| 1740 | .radio = { |
| 1741 | .name = name_radio, |
| 1742 | .amux = LINE2, |
| 1743 | }, |
| 1744 | }, |
| 1745 | [SAA7134_BOARD_AVERMEDIA_305] = { |
| 1746 | /* much like the "studio" version but without radio |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1747 | * and another tuner (sirspiritus@yandex.ru) */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1748 | .name = "AverMedia AverTV/305", |
| 1749 | .audio_clock = 0x00187de7, |
| 1750 | .tuner_type = TUNER_PHILIPS_FQ1216ME, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1751 | .radio_type = UNSET, |
| 1752 | .tuner_addr = ADDR_UNSET, |
| 1753 | .radio_addr = ADDR_UNSET, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1754 | .tda9887_conf = TDA9887_PRESENT, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1755 | .inputs = {{ |
| 1756 | .name = name_tv, |
| 1757 | .vmux = 1, |
| 1758 | .amux = LINE2, |
| 1759 | .tv = 1, |
| 1760 | },{ |
| 1761 | .name = name_comp1, |
| 1762 | .vmux = 0, |
| 1763 | .amux = LINE2, |
| 1764 | },{ |
| 1765 | .name = name_comp2, |
| 1766 | .vmux = 3, |
| 1767 | .amux = LINE2, |
| 1768 | },{ |
| 1769 | .name = name_svideo, |
| 1770 | .vmux = 8, |
| 1771 | .amux = LINE2, |
| 1772 | }}, |
| 1773 | .mute = { |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1774 | .name = name_mute, |
| 1775 | .amux = LINE1, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1776 | }, |
| 1777 | }, |
| 1778 | [SAA7134_BOARD_FLYDVBTDUO] = { |
| 1779 | /* LifeView FlyDVB-T DUO */ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1780 | /* "Nico Sabbi <nsabbi@tiscali.it> Hartmut Hackmann hartmut.hackmann@t-online.de*/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1781 | .name = "LifeView FlyDVB-T DUO", |
| 1782 | .audio_clock = 0x00200000, |
| 1783 | .tuner_type = TUNER_PHILIPS_TDA8290, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1784 | .radio_type = UNSET, |
| 1785 | .tuner_addr = ADDR_UNSET, |
| 1786 | .radio_addr = ADDR_UNSET, |
| 1787 | .mpeg = SAA7134_MPEG_DVB, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1788 | .inputs = {{ |
| 1789 | .name = name_tv, |
| 1790 | .vmux = 1, |
| 1791 | .amux = TV, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1792 | .tv = 1, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1793 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1794 | .name = name_comp1, /* Composite signal on S-Video input */ |
| 1795 | .vmux = 0, |
| 1796 | .amux = LINE2, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1797 | },{ |
| 1798 | .name = name_comp2, /* Composite input */ |
| 1799 | .vmux = 3, |
| 1800 | .amux = LINE2, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1801 | },{ |
| 1802 | .name = name_svideo, /* S-Video signal on S-Video input */ |
| 1803 | .vmux = 8, |
| 1804 | .amux = LINE2, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1805 | }}, |
| 1806 | }, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1807 | [SAA7134_BOARD_PHILIPS_TOUGH] = { |
| 1808 | .name = "Philips TOUGH DVB-T reference design", |
| 1809 | .tuner_type = TUNER_ABSENT, |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 1810 | .audio_clock = 0x00187de7, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1811 | .radio_type = UNSET, |
| 1812 | .tuner_addr = ADDR_UNSET, |
| 1813 | .radio_addr = ADDR_UNSET, |
| 1814 | .mpeg = SAA7134_MPEG_DVB, |
| 1815 | .inputs = {{ |
| 1816 | .name = name_comp1, |
| 1817 | .vmux = 0, |
| 1818 | .amux = LINE1, |
| 1819 | },{ |
| 1820 | .name = name_svideo, |
| 1821 | .vmux = 8, |
| 1822 | .amux = LINE1, |
| 1823 | }}, |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 1824 | }, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1825 | [SAA7134_BOARD_AVERMEDIA_307] = { |
| 1826 | /* |
| 1827 | Davydov Vladimir <vladimir@iqmedia.com> |
| 1828 | */ |
| 1829 | .name = "Avermedia AVerTV 307", |
| 1830 | .audio_clock = 0x00187de7, |
| 1831 | .tuner_type = TUNER_PHILIPS_FQ1216ME, |
| 1832 | .radio_type = UNSET, |
| 1833 | .tuner_addr = ADDR_UNSET, |
| 1834 | .radio_addr = ADDR_UNSET, |
| 1835 | .tda9887_conf = TDA9887_PRESENT, |
| 1836 | .inputs = {{ |
| 1837 | .name = name_tv, |
| 1838 | .vmux = 1, |
| 1839 | .amux = TV, |
| 1840 | .tv = 1, |
| 1841 | },{ |
| 1842 | .name = name_comp1, |
| 1843 | .vmux = 0, |
| 1844 | .amux = LINE1, |
| 1845 | },{ |
| 1846 | .name = name_comp2, |
| 1847 | .vmux = 3, |
| 1848 | .amux = LINE1, |
| 1849 | },{ |
| 1850 | .name = name_svideo, |
| 1851 | .vmux = 8, |
| 1852 | .amux = LINE1, |
| 1853 | }}, |
| 1854 | }, |
| 1855 | [SAA7134_BOARD_ADS_INSTANT_TV] = { |
| 1856 | .name = "ADS Tech Instant TV (saa7135)", |
| 1857 | .audio_clock = 0x00187de7, |
| 1858 | .tuner_type = TUNER_PHILIPS_TDA8290, |
| 1859 | .radio_type = UNSET, |
| 1860 | .tuner_addr = ADDR_UNSET, |
| 1861 | .radio_addr = ADDR_UNSET, |
| 1862 | .inputs = {{ |
| 1863 | .name = name_tv, |
| 1864 | .vmux = 1, |
| 1865 | .amux = TV, |
| 1866 | .tv = 1, |
| 1867 | },{ |
| 1868 | .name = name_comp1, |
| 1869 | .vmux = 3, |
| 1870 | .amux = LINE2, |
| 1871 | },{ |
| 1872 | .name = name_svideo, |
| 1873 | .vmux = 8, |
| 1874 | .amux = LINE2, |
| 1875 | }}, |
| 1876 | }, |
| 1877 | [SAA7134_BOARD_KWORLD_VSTREAM_XPERT] = { |
| 1878 | .name = "Kworld/Tevion V-Stream Xpert TV PVR7134", |
| 1879 | .audio_clock = 0x00187de7, |
| 1880 | .tuner_type = TUNER_PHILIPS_PAL_I, |
| 1881 | .radio_type = UNSET, |
| 1882 | .tuner_addr = ADDR_UNSET, |
| 1883 | .radio_addr = ADDR_UNSET, |
| 1884 | .gpiomask = 0x0700, |
| 1885 | .inputs = {{ |
| 1886 | .name = name_tv, |
| 1887 | .vmux = 1, |
| 1888 | .amux = TV, |
| 1889 | .tv = 1, |
| 1890 | .gpio = 0x000, |
| 1891 | },{ |
| 1892 | .name = name_comp1, |
| 1893 | .vmux = 3, |
| 1894 | .amux = LINE1, |
| 1895 | .gpio = 0x200, /* gpio by DScaler */ |
| 1896 | },{ |
| 1897 | .name = name_svideo, |
| 1898 | .vmux = 0, |
| 1899 | .amux = LINE1, |
| 1900 | .gpio = 0x200, |
| 1901 | }}, |
| 1902 | .radio = { |
| 1903 | .name = name_radio, |
| 1904 | .amux = LINE1, |
| 1905 | .gpio = 0x100, |
| 1906 | }, |
| 1907 | .mute = { |
| 1908 | .name = name_mute, |
| 1909 | .amux = TV, |
| 1910 | .gpio = 0x000, |
| 1911 | }, |
| 1912 | }, |
Peter Missel | 10b7a90 | 2006-01-23 17:11:06 -0200 | [diff] [blame] | 1913 | [SAA7134_BOARD_FLYDVBT_DUO_CARDBUS] = { |
| 1914 | .name = "LifeView/Typhoon FlyDVB-T Duo Cardbus", |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1915 | .audio_clock = 0x00200000, |
| 1916 | .tuner_type = TUNER_PHILIPS_TDA8290, |
| 1917 | .radio_type = UNSET, |
| 1918 | .tuner_addr = ADDR_UNSET, |
| 1919 | .radio_addr = ADDR_UNSET, |
| 1920 | .mpeg = SAA7134_MPEG_DVB, |
Peter Missel | 10b7a90 | 2006-01-23 17:11:06 -0200 | [diff] [blame] | 1921 | .gpiomask = 0x00200000, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1922 | .inputs = {{ |
| 1923 | .name = name_tv, |
| 1924 | .vmux = 1, |
| 1925 | .amux = TV, |
Peter Missel | 10b7a90 | 2006-01-23 17:11:06 -0200 | [diff] [blame] | 1926 | .gpio = 0x200000, /* GPIO21=High for TV input */ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1927 | .tv = 1, |
| 1928 | },{ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1929 | .name = name_svideo, /* S-Video signal on S-Video input */ |
| 1930 | .vmux = 8, |
| 1931 | .amux = LINE2, |
Peter Missel | 10b7a90 | 2006-01-23 17:11:06 -0200 | [diff] [blame] | 1932 | },{ |
| 1933 | .name = name_comp1, /* Composite signal on S-Video input */ |
| 1934 | .vmux = 0, |
| 1935 | .amux = LINE2, |
| 1936 | },{ |
| 1937 | .name = name_comp2, /* Composite input */ |
| 1938 | .vmux = 3, |
| 1939 | .amux = LINE2, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1940 | }}, |
| 1941 | .radio = { |
| 1942 | .name = name_radio, |
Peter Missel | 10b7a90 | 2006-01-23 17:11:06 -0200 | [diff] [blame] | 1943 | .amux = TV, |
| 1944 | .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 1945 | }, |
| 1946 | }, |
| 1947 | [SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII] = { |
| 1948 | .name = "Compro VideoMate TV Gold+II", |
| 1949 | .audio_clock = 0x002187de7, |
| 1950 | .tuner_type = TUNER_LG_PAL_NEW_TAPC, |
| 1951 | .radio_type = TUNER_TEA5767, |
| 1952 | .tuner_addr = 0x63, |
| 1953 | .radio_addr = 0x60, |
| 1954 | .gpiomask = 0x8c1880, |
| 1955 | .inputs = {{ |
| 1956 | .name = name_svideo, |
| 1957 | .vmux = 0, |
| 1958 | .amux = LINE1, |
| 1959 | .gpio = 0x800800, |
| 1960 | },{ |
| 1961 | .name = name_comp1, |
| 1962 | .vmux = 3, |
| 1963 | .amux = LINE1, |
| 1964 | .gpio = 0x801000, |
| 1965 | },{ |
| 1966 | .name = name_tv, |
| 1967 | .vmux = 1, |
| 1968 | .amux = TV, |
| 1969 | .tv = 1, |
| 1970 | .gpio = 0x800000, |
| 1971 | }}, |
| 1972 | .radio = { |
| 1973 | .name = name_radio, |
| 1974 | .amux = TV, |
| 1975 | .gpio = 0x880000, |
| 1976 | }, |
| 1977 | .mute = { |
| 1978 | .name = name_mute, |
| 1979 | .amux = LINE2, |
| 1980 | .gpio = 0x840000, |
| 1981 | }, |
| 1982 | }, |
| 1983 | [SAA7134_BOARD_KWORLD_XPERT] = { |
| 1984 | /* |
| 1985 | FIXME: |
| 1986 | - Remote control doesn't initialize properly. |
| 1987 | - Audio volume starts muted, |
| 1988 | then gradually increases after channel change. |
| 1989 | - Overlay scaling problems (application error?) |
| 1990 | - Composite S-Video untested. |
| 1991 | From: Konrad Rzepecki <hannibal@megapolis.pl> |
| 1992 | */ |
| 1993 | .name = "Kworld Xpert TV PVR7134", |
| 1994 | .audio_clock = 0x00187de7, |
| 1995 | .tuner_type = TUNER_TENA_9533_DI, |
| 1996 | .radio_type = TUNER_TEA5767, |
| 1997 | .tuner_addr = 0x61, |
| 1998 | .radio_addr = 0x60, |
| 1999 | .gpiomask = 0x0700, |
| 2000 | .inputs = {{ |
| 2001 | .name = name_tv, |
| 2002 | .vmux = 1, |
| 2003 | .amux = TV, |
| 2004 | .tv = 1, |
| 2005 | .gpio = 0x000, |
| 2006 | },{ |
| 2007 | .name = name_comp1, |
| 2008 | .vmux = 3, |
| 2009 | .amux = LINE1, |
| 2010 | .gpio = 0x200, /* gpio by DScaler */ |
| 2011 | },{ |
| 2012 | .name = name_svideo, |
| 2013 | .vmux = 0, |
| 2014 | .amux = LINE1, |
| 2015 | .gpio = 0x200, |
| 2016 | }}, |
| 2017 | .radio = { |
| 2018 | .name = name_radio, |
| 2019 | .amux = LINE1, |
| 2020 | .gpio = 0x100, |
| 2021 | }, |
| 2022 | .mute = { |
| 2023 | .name = name_mute, |
| 2024 | .amux = TV, |
| 2025 | .gpio = 0x000, |
| 2026 | }, |
| 2027 | }, |
Mauro Carvalho Chehab | 2f18071 | 2005-09-09 13:03:46 -0700 | [diff] [blame] | 2028 | [SAA7134_BOARD_FLYTV_DIGIMATRIX] = { |
| 2029 | .name = "FlyTV mini Asus Digimatrix", |
| 2030 | .audio_clock = 0x00200000, |
Michael Krufky | f3629be | 2006-03-11 17:02:01 -0300 | [diff] [blame] | 2031 | .tuner_type = TUNER_LG_TALN, |
Mauro Carvalho Chehab | 2f18071 | 2005-09-09 13:03:46 -0700 | [diff] [blame] | 2032 | .radio_type = UNSET, |
| 2033 | .tuner_addr = ADDR_UNSET, |
| 2034 | .radio_addr = ADDR_UNSET, |
| 2035 | .inputs = {{ |
| 2036 | .name = name_tv, |
| 2037 | .vmux = 1, |
| 2038 | .amux = TV, |
| 2039 | .tv = 1, |
| 2040 | },{ |
| 2041 | .name = name_tv_mono, |
| 2042 | .vmux = 1, |
| 2043 | .amux = LINE2, |
| 2044 | .tv = 1, |
| 2045 | },{ |
| 2046 | .name = name_comp1, |
| 2047 | .vmux = 0, |
| 2048 | .amux = LINE2, |
| 2049 | },{ |
| 2050 | .name = name_comp2, |
| 2051 | .vmux = 3, |
| 2052 | .amux = LINE2, |
| 2053 | },{ |
| 2054 | .name = name_svideo, |
| 2055 | .vmux = 8, |
| 2056 | .amux = LINE2, |
| 2057 | }}, |
| 2058 | .radio = { |
| 2059 | .name = name_radio, /* radio unconfirmed */ |
| 2060 | .amux = LINE2, |
| 2061 | }, |
| 2062 | }, |
Mauro Carvalho Chehab | 260784d | 2005-09-09 13:03:49 -0700 | [diff] [blame] | 2063 | [SAA7134_BOARD_KWORLD_TERMINATOR] = { |
| 2064 | /* Kworld V-Stream Studio TV Terminator */ |
| 2065 | /* "James Webb <jrwebb@qwest.net> */ |
| 2066 | .name = "V-Stream Studio TV Terminator", |
| 2067 | .audio_clock = 0x00187de7, |
| 2068 | .tuner_type = TUNER_PHILIPS_TDA8290, |
| 2069 | .radio_type = UNSET, |
| 2070 | .tuner_addr = ADDR_UNSET, |
| 2071 | .radio_addr = ADDR_UNSET, |
| 2072 | .gpiomask = 1 << 21, |
| 2073 | .inputs = {{ |
| 2074 | .name = name_tv, |
| 2075 | .vmux = 1, |
| 2076 | .amux = TV, |
| 2077 | .gpio = 0x0000000, |
| 2078 | .tv = 1, |
| 2079 | },{ |
| 2080 | .name = name_comp1, /* Composite input */ |
| 2081 | .vmux = 3, |
| 2082 | .amux = LINE2, |
| 2083 | .gpio = 0x0000000, |
| 2084 | },{ |
| 2085 | .name = name_svideo, /* S-Video input */ |
| 2086 | .vmux = 8, |
| 2087 | .amux = LINE2, |
| 2088 | .gpio = 0x0000000, |
| 2089 | }}, |
| 2090 | .radio = { |
| 2091 | .name = name_radio, |
| 2092 | .amux = TV, |
| 2093 | .gpio = 0x0200000, |
| 2094 | }, |
| 2095 | }, |
Mauro Carvalho Chehab | 4279f02 | 2005-09-09 13:03:51 -0700 | [diff] [blame] | 2096 | [SAA7134_BOARD_YUAN_TUN900] = { |
| 2097 | /* FIXME: |
| 2098 | * S-Video and composite sources untested. |
| 2099 | * Radio not working. |
| 2100 | * Remote control not yet implemented. |
| 2101 | * From : codemaster@webgeeks.be */ |
| 2102 | .name = "Yuan TUN-900 (saa7135)", |
| 2103 | .audio_clock = 0x00187de7, |
| 2104 | .tuner_type = TUNER_PHILIPS_TDA8290, |
| 2105 | .radio_type = UNSET, |
| 2106 | .tuner_addr= ADDR_UNSET, |
| 2107 | .radio_addr= ADDR_UNSET, |
| 2108 | .gpiomask = 0x00010003, |
| 2109 | .inputs = {{ |
| 2110 | .name = name_tv, |
| 2111 | .vmux = 1, |
| 2112 | .amux = TV, |
| 2113 | .tv = 1, |
| 2114 | .gpio = 0x01, |
| 2115 | },{ |
| 2116 | .name = name_comp1, |
| 2117 | .vmux = 0, |
| 2118 | .amux = LINE2, |
| 2119 | .gpio = 0x02, |
| 2120 | },{ |
| 2121 | .name = name_svideo, |
| 2122 | .vmux = 6, |
| 2123 | .amux = LINE2, |
| 2124 | .gpio = 0x02, |
| 2125 | }}, |
| 2126 | .radio = { |
| 2127 | .name = name_radio, |
| 2128 | .amux = LINE1, |
| 2129 | .gpio = 0x00010003, |
| 2130 | }, |
| 2131 | .mute = { |
| 2132 | .name = name_mute, |
| 2133 | .amux = TV, |
| 2134 | .gpio = 0x01, |
| 2135 | }, |
| 2136 | }, |
Nickolay V. Shmyrev | a8ff417 | 2005-11-08 21:36:16 -0800 | [diff] [blame] | 2137 | [SAA7134_BOARD_BEHOLD_409FM] = { |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 2138 | /* <http://tuner.beholder.ru>, Sergey <skiv@orel.ru> */ |
| 2139 | .name = "Beholder BeholdTV 409 FM", |
| 2140 | .audio_clock = 0x00187de7, |
| 2141 | .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, |
| 2142 | .radio_type = UNSET, |
| 2143 | .tuner_addr = ADDR_UNSET, |
| 2144 | .radio_addr = ADDR_UNSET, |
| 2145 | .tda9887_conf = TDA9887_PRESENT, |
| 2146 | .inputs = {{ |
| 2147 | .name = name_tv, |
Nickolay V. Shmyrev | a8ff417 | 2005-11-08 21:36:16 -0800 | [diff] [blame] | 2148 | .vmux = 3, |
| 2149 | .amux = TV, |
| 2150 | .tv = 1, |
| 2151 | },{ |
| 2152 | .name = name_comp1, |
| 2153 | .vmux = 1, |
| 2154 | .amux = LINE1, |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 2155 | },{ |
| 2156 | .name = name_svideo, |
Nickolay V. Shmyrev | a8ff417 | 2005-11-08 21:36:16 -0800 | [diff] [blame] | 2157 | .vmux = 8, |
| 2158 | .amux = LINE1, |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 2159 | }}, |
| 2160 | .radio = { |
| 2161 | .name = name_radio, |
Nickolay V. Shmyrev | a8ff417 | 2005-11-08 21:36:16 -0800 | [diff] [blame] | 2162 | .amux = LINE2, |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 2163 | }, |
| 2164 | }, |
| 2165 | [SAA7134_BOARD_GOTVIEW_7135] = { |
Nickolay V. Shmyrev | dcd555e | 2005-11-08 21:36:23 -0800 | [diff] [blame] | 2166 | /* Mike Baikov <mike@baikov.com> */ |
Nickolay V. Shmyrev | 6b96144 | 2005-11-08 21:36:22 -0800 | [diff] [blame] | 2167 | /* Andrey Cvetcov <ays14@yandex.ru> */ |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 2168 | .name = "GoTView 7135 PCI", |
| 2169 | .audio_clock = 0x00187de7, |
| 2170 | .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, |
| 2171 | .radio_type = UNSET, |
| 2172 | .tuner_addr = ADDR_UNSET, |
| 2173 | .radio_addr = ADDR_UNSET, |
| 2174 | .tda9887_conf = TDA9887_PRESENT, |
| 2175 | .gpiomask = 0x00200003, |
| 2176 | .inputs = {{ |
| 2177 | .name = name_tv, |
| 2178 | .vmux = 1, |
| 2179 | .amux = TV, |
| 2180 | .tv = 1, |
| 2181 | .gpio = 0x00200003, |
| 2182 | },{ |
| 2183 | .name = name_tv_mono, |
| 2184 | .vmux = 1, |
| 2185 | .amux = LINE2, |
| 2186 | .gpio = 0x00200003, |
| 2187 | },{ |
| 2188 | .name = name_comp1, |
| 2189 | .vmux = 3, |
| 2190 | .amux = LINE1, |
| 2191 | .gpio = 0x00200003, |
| 2192 | },{ |
| 2193 | .name = name_svideo, |
| 2194 | .vmux = 8, |
| 2195 | .amux = LINE1, |
| 2196 | .gpio = 0x00200003, |
| 2197 | }}, |
| 2198 | .radio = { |
| 2199 | .name = name_radio, |
| 2200 | .amux = LINE2, |
| 2201 | .gpio = 0x00200003, |
| 2202 | }, |
| 2203 | .mute = { |
| 2204 | .name = name_mute, |
| 2205 | .amux = TV, |
| 2206 | .gpio = 0x00200003, |
| 2207 | }, |
| 2208 | }, |
Hartmut Hackmann | 2cf36ac | 2005-11-08 21:36:32 -0800 | [diff] [blame] | 2209 | [SAA7134_BOARD_PHILIPS_EUROPA] = { |
| 2210 | .name = "Philips EUROPA V3 reference design", |
| 2211 | .audio_clock = 0x00187de7, |
| 2212 | .tuner_type = TUNER_PHILIPS_TD1316, |
| 2213 | .radio_type = UNSET, |
| 2214 | .tuner_addr = 0x61, |
| 2215 | .radio_addr = ADDR_UNSET, |
Hartmut Hackmann | 44fd06f | 2006-02-27 00:09:11 -0300 | [diff] [blame] | 2216 | .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE, |
Hartmut Hackmann | 2cf36ac | 2005-11-08 21:36:32 -0800 | [diff] [blame] | 2217 | .mpeg = SAA7134_MPEG_DVB, |
| 2218 | .inputs = {{ |
| 2219 | .name = name_tv, |
| 2220 | .vmux = 3, |
| 2221 | .amux = TV, |
| 2222 | .tv = 1, |
| 2223 | },{ |
| 2224 | .name = name_comp1, |
| 2225 | .vmux = 0, |
| 2226 | .amux = LINE2, |
| 2227 | },{ |
| 2228 | .name = name_svideo, |
| 2229 | .vmux = 8, |
| 2230 | .amux = LINE2, |
| 2231 | }}, |
| 2232 | }, |
| 2233 | [SAA7134_BOARD_VIDEOMATE_DVBT_300] = { |
| 2234 | .name = "Compro Videomate DVB-T300", |
| 2235 | .audio_clock = 0x00187de7, |
| 2236 | .tuner_type = TUNER_PHILIPS_TD1316, |
| 2237 | .radio_type = UNSET, |
| 2238 | .tuner_addr = 0x61, |
| 2239 | .radio_addr = ADDR_UNSET, |
Hartmut Hackmann | 44fd06f | 2006-02-27 00:09:11 -0300 | [diff] [blame] | 2240 | .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE, |
Hartmut Hackmann | 2cf36ac | 2005-11-08 21:36:32 -0800 | [diff] [blame] | 2241 | .mpeg = SAA7134_MPEG_DVB, |
| 2242 | .inputs = {{ |
| 2243 | .name = name_tv, |
| 2244 | .vmux = 3, |
| 2245 | .amux = TV, |
| 2246 | .tv = 1, |
| 2247 | },{ |
| 2248 | .name = name_comp1, |
| 2249 | .vmux = 1, |
| 2250 | .amux = LINE2, |
| 2251 | },{ |
| 2252 | .name = name_svideo, |
| 2253 | .vmux = 8, |
| 2254 | .amux = LINE2, |
| 2255 | }}, |
| 2256 | }, |
| 2257 | [SAA7134_BOARD_VIDEOMATE_DVBT_200] = { |
| 2258 | .name = "Compro Videomate DVB-T200", |
| 2259 | .tuner_type = TUNER_ABSENT, |
| 2260 | .audio_clock = 0x00187de7, |
| 2261 | .radio_type = UNSET, |
| 2262 | .tuner_addr = ADDR_UNSET, |
| 2263 | .radio_addr = ADDR_UNSET, |
| 2264 | .mpeg = SAA7134_MPEG_DVB, |
| 2265 | .inputs = {{ |
| 2266 | .name = name_comp1, |
| 2267 | .vmux = 0, |
| 2268 | .amux = LINE1, |
| 2269 | },{ |
| 2270 | .name = name_svideo, |
| 2271 | .vmux = 8, |
| 2272 | .amux = LINE1, |
| 2273 | }}, |
| 2274 | }, |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 2275 | [SAA7134_BOARD_RTD_VFG7350] = { |
| 2276 | .name = "RTD Embedded Technologies VFG7350", |
| 2277 | .audio_clock = 0x00200000, |
| 2278 | .tuner_type = TUNER_ABSENT, |
| 2279 | .radio_type = UNSET, |
| 2280 | .tuner_addr = ADDR_UNSET, |
| 2281 | .radio_addr = ADDR_UNSET, |
| 2282 | .inputs = {{ |
| 2283 | .name = "Composite 0", |
| 2284 | .vmux = 0, |
| 2285 | .amux = LINE1, |
| 2286 | },{ |
| 2287 | .name = "Composite 1", |
| 2288 | .vmux = 1, |
| 2289 | .amux = LINE2, |
| 2290 | },{ |
| 2291 | .name = "Composite 2", |
| 2292 | .vmux = 2, |
| 2293 | .amux = LINE1, |
| 2294 | },{ |
| 2295 | .name = "Composite 3", |
| 2296 | .vmux = 3, |
| 2297 | .amux = LINE2, |
| 2298 | },{ |
| 2299 | .name = "S-Video 0", |
| 2300 | .vmux = 8, |
| 2301 | .amux = LINE1, |
| 2302 | },{ |
| 2303 | .name = "S-Video 1", |
| 2304 | .vmux = 9, |
| 2305 | .amux = LINE2, |
| 2306 | }}, |
| 2307 | .mpeg = SAA7134_MPEG_EMPRESS, |
| 2308 | .video_out = CCIR656, |
Robert W. Boone | 2f8d4f5 | 2005-11-08 21:37:10 -0800 | [diff] [blame] | 2309 | .vid_port_opts = ( SET_T_CODE_POLARITY_NON_INVERTED | |
| 2310 | SET_CLOCK_NOT_DELAYED | |
| 2311 | SET_CLOCK_INVERTED | |
| 2312 | SET_VSYNC_OFF ), |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 2313 | }, |
| 2314 | [SAA7134_BOARD_RTD_VFG7330] = { |
| 2315 | .name = "RTD Embedded Technologies VFG7330", |
| 2316 | .audio_clock = 0x00200000, |
| 2317 | .tuner_type = TUNER_ABSENT, |
| 2318 | .radio_type = UNSET, |
| 2319 | .tuner_addr = ADDR_UNSET, |
| 2320 | .radio_addr = ADDR_UNSET, |
| 2321 | .inputs = {{ |
| 2322 | .name = "Composite 0", |
| 2323 | .vmux = 0, |
| 2324 | .amux = LINE1, |
| 2325 | },{ |
| 2326 | .name = "Composite 1", |
| 2327 | .vmux = 1, |
| 2328 | .amux = LINE2, |
| 2329 | },{ |
| 2330 | .name = "Composite 2", |
| 2331 | .vmux = 2, |
| 2332 | .amux = LINE1, |
| 2333 | },{ |
| 2334 | .name = "Composite 3", |
| 2335 | .vmux = 3, |
| 2336 | .amux = LINE2, |
| 2337 | },{ |
| 2338 | .name = "S-Video 0", |
| 2339 | .vmux = 8, |
| 2340 | .amux = LINE1, |
| 2341 | },{ |
| 2342 | .name = "S-Video 1", |
| 2343 | .vmux = 9, |
| 2344 | .amux = LINE2, |
| 2345 | }}, |
| 2346 | }, |
Mauro Carvalho Chehab | 058afaf | 2005-11-08 21:36:49 -0800 | [diff] [blame] | 2347 | [SAA7134_BOARD_FLYTVPLATINUM_MINI2] = { |
| 2348 | .name = "LifeView FlyTV Platinum Mini2", |
| 2349 | .audio_clock = 0x00200000, |
| 2350 | .tuner_type = TUNER_PHILIPS_TDA8290, |
| 2351 | .radio_type = UNSET, |
| 2352 | .tuner_addr = ADDR_UNSET, |
| 2353 | .radio_addr = ADDR_UNSET, |
| 2354 | |
| 2355 | .inputs = {{ |
| 2356 | .name = name_tv, |
| 2357 | .vmux = 1, |
| 2358 | .amux = TV, |
| 2359 | .tv = 1, |
| 2360 | },{ |
| 2361 | .name = name_comp1, /* Composite signal on S-Video input */ |
| 2362 | .vmux = 0, |
| 2363 | .amux = LINE2, |
| 2364 | },{ |
| 2365 | .name = name_comp2, /* Composite input */ |
| 2366 | .vmux = 3, |
| 2367 | .amux = LINE2, |
| 2368 | },{ |
| 2369 | .name = name_svideo, |
| 2370 | .vmux = 8, |
| 2371 | .amux = LINE2, |
| 2372 | }}, |
| 2373 | }, |
Michael Krufky | 76bc3a3 | 2005-11-08 21:37:27 -0800 | [diff] [blame] | 2374 | [SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180] = { |
Michael Krufky | ac113d1 | 2005-11-08 21:38:21 -0800 | [diff] [blame] | 2375 | /* Michael Krufky <mkrufky@m1k.net> |
| 2376 | * Uses Alps Electric TDHU2, containing NXT2004 ATSC Decoder |
| 2377 | * AFAIK, there is no analog demod, thus, |
| 2378 | * no support for analog television. |
| 2379 | */ |
Michael Krufky | 76bc3a3 | 2005-11-08 21:37:27 -0800 | [diff] [blame] | 2380 | .name = "AVerMedia AVerTVHD MCE A180", |
| 2381 | .audio_clock = 0x00187de7, |
| 2382 | .tuner_type = TUNER_ABSENT, |
| 2383 | .radio_type = UNSET, |
| 2384 | .tuner_addr = ADDR_UNSET, |
| 2385 | .radio_addr = ADDR_UNSET, |
Michael Krufky | 3b64e8e | 2005-11-08 21:38:20 -0800 | [diff] [blame] | 2386 | .mpeg = SAA7134_MPEG_DVB, |
Michael Krufky | 76bc3a3 | 2005-11-08 21:37:27 -0800 | [diff] [blame] | 2387 | .inputs = {{ |
| 2388 | .name = name_comp1, |
| 2389 | .vmux = 3, |
| 2390 | .amux = LINE2, |
| 2391 | },{ |
| 2392 | .name = name_svideo, |
| 2393 | .vmux = 8, |
| 2394 | .amux = LINE2, |
| 2395 | }}, |
| 2396 | }, |
Pieter Palmers | cf1c5d1 | 2005-11-08 21:37:40 -0800 | [diff] [blame] | 2397 | [SAA7134_BOARD_MONSTERTV_MOBILE] = { |
| 2398 | .name = "SKNet MonsterTV Mobile", |
| 2399 | .audio_clock = 0x00187de7, |
| 2400 | .tuner_type = TUNER_PHILIPS_TDA8290, |
| 2401 | .radio_type = UNSET, |
| 2402 | .tuner_addr = ADDR_UNSET, |
| 2403 | .radio_addr = ADDR_UNSET, |
| 2404 | |
| 2405 | .inputs = {{ |
| 2406 | .name = name_tv, |
| 2407 | .vmux = 1, |
| 2408 | .amux = TV, |
| 2409 | .tv = 1, |
| 2410 | },{ |
| 2411 | .name = name_comp1, |
| 2412 | .vmux = 3, |
| 2413 | .amux = LINE1, |
| 2414 | },{ |
| 2415 | .name = name_svideo, |
| 2416 | .vmux = 6, |
| 2417 | .amux = LINE1, |
| 2418 | }}, |
| 2419 | }, |
Ricardo Cerqueira | c2f6f9d | 2005-11-08 21:37:51 -0800 | [diff] [blame] | 2420 | [SAA7134_BOARD_PINNACLE_PCTV_110i] = { |
Karsten Suehring | cb46e3c | 2006-02-27 00:08:08 -0300 | [diff] [blame] | 2421 | .name = "Pinnacle PCTV 40i/50i/110i (saa7133)", |
Ricardo Cerqueira | c2f6f9d | 2005-11-08 21:37:51 -0800 | [diff] [blame] | 2422 | .audio_clock = 0x00187de7, |
| 2423 | .tuner_type = TUNER_PHILIPS_TDA8290, |
| 2424 | .radio_type = UNSET, |
| 2425 | .tuner_addr = ADDR_UNSET, |
| 2426 | .radio_addr = ADDR_UNSET, |
| 2427 | .gpiomask = 0x080200000, |
| 2428 | .inputs = {{ |
| 2429 | .name = name_tv, |
| 2430 | .vmux = 4, |
| 2431 | .amux = TV, |
| 2432 | .tv = 1, |
| 2433 | },{ |
| 2434 | .name = name_comp1, |
| 2435 | .vmux = 1, |
Karsten Suehring | cb46e3c | 2006-02-27 00:08:08 -0300 | [diff] [blame] | 2436 | .amux = LINE2, |
| 2437 | },{ |
| 2438 | .name = name_comp2, |
| 2439 | .vmux = 0, |
Ricardo Cerqueira | c2f6f9d | 2005-11-08 21:37:51 -0800 | [diff] [blame] | 2440 | .amux = LINE2, |
| 2441 | },{ |
| 2442 | .name = name_svideo, |
| 2443 | .vmux = 8, |
| 2444 | .amux = LINE2, |
| 2445 | }}, |
| 2446 | .radio = { |
| 2447 | .name = name_radio, |
| 2448 | .amux = LINE1, |
| 2449 | }, |
| 2450 | }, |
Hermann Pitton | 28f0224 | 2005-11-08 21:38:03 -0800 | [diff] [blame] | 2451 | [SAA7134_BOARD_ASUSTeK_P7131_DUAL] = { |
| 2452 | .name = "ASUSTeK P7131 Dual", |
| 2453 | .audio_clock = 0x00187de7, |
| 2454 | .tuner_type = TUNER_PHILIPS_TDA8290, |
| 2455 | .radio_type = UNSET, |
| 2456 | .tuner_addr = ADDR_UNSET, |
| 2457 | .radio_addr = ADDR_UNSET, |
| 2458 | .gpiomask = 1 << 21, |
Hartmut Hackmann | d4b0aba | 2005-11-08 21:38:44 -0800 | [diff] [blame] | 2459 | .mpeg = SAA7134_MPEG_DVB, |
Hermann Pitton | 28f0224 | 2005-11-08 21:38:03 -0800 | [diff] [blame] | 2460 | .inputs = {{ |
| 2461 | .name = name_tv, |
| 2462 | .vmux = 1, |
| 2463 | .amux = TV, |
| 2464 | .tv = 1, |
| 2465 | },{ |
| 2466 | .name = name_comp1, |
| 2467 | .vmux = 3, |
| 2468 | .amux = LINE2, |
| 2469 | },{ |
| 2470 | .name = name_svideo, |
| 2471 | .vmux = 8, |
| 2472 | .amux = LINE2, |
| 2473 | }}, |
| 2474 | .radio = { |
| 2475 | .name = name_radio, |
| 2476 | .amux = TV, |
| 2477 | .gpio = 0x0200000, |
| 2478 | }, |
| 2479 | }, |
Ricardo Cerqueira | 17ce1ff | 2005-11-08 21:38:47 -0800 | [diff] [blame] | 2480 | [SAA7134_BOARD_SEDNA_PC_TV_CARDBUS] = { |
Paul T Zalac | fe2e36c | 2005-11-08 21:38:04 -0800 | [diff] [blame] | 2481 | /* Paul Tom Zalac <pzalac@gmail.com> */ |
Pavel Mihaylov | c3d9319 | 2005-11-08 21:38:43 -0800 | [diff] [blame] | 2482 | /* Pavel Mihaylov <bin@bash.info> */ |
Ricardo Cerqueira | 17ce1ff | 2005-11-08 21:38:47 -0800 | [diff] [blame] | 2483 | .name = "Sedna/MuchTV PC TV Cardbus TV/Radio (ITO25 Rev:2B)", |
| 2484 | /* Sedna/MuchTV (OEM) Cardbus TV Tuner */ |
Paul T Zalac | fe2e36c | 2005-11-08 21:38:04 -0800 | [diff] [blame] | 2485 | .audio_clock = 0x00187de7, |
Pavel Mihaylov | c3d9319 | 2005-11-08 21:38:43 -0800 | [diff] [blame] | 2486 | .tuner_type = TUNER_PHILIPS_TDA8290, |
Paul T Zalac | fe2e36c | 2005-11-08 21:38:04 -0800 | [diff] [blame] | 2487 | .radio_type = UNSET, |
| 2488 | .tuner_addr = ADDR_UNSET, |
| 2489 | .radio_addr = ADDR_UNSET, |
Pavel Mihaylov | c3d9319 | 2005-11-08 21:38:43 -0800 | [diff] [blame] | 2490 | .gpiomask = 0xe880c0, |
Paul T Zalac | fe2e36c | 2005-11-08 21:38:04 -0800 | [diff] [blame] | 2491 | .inputs = {{ |
Pavel Mihaylov | c3d9319 | 2005-11-08 21:38:43 -0800 | [diff] [blame] | 2492 | .name = name_tv, |
| 2493 | .vmux = 3, |
| 2494 | .amux = TV, |
| 2495 | .tv = 1, |
| 2496 | },{ |
Paul T Zalac | fe2e36c | 2005-11-08 21:38:04 -0800 | [diff] [blame] | 2497 | .name = name_comp1, |
| 2498 | .vmux = 1, |
Pavel Mihaylov | c3d9319 | 2005-11-08 21:38:43 -0800 | [diff] [blame] | 2499 | .amux = LINE1, |
| 2500 | },{ |
| 2501 | .name = name_svideo, |
| 2502 | .vmux = 6, |
| 2503 | .amux = LINE1, |
Paul T Zalac | fe2e36c | 2005-11-08 21:38:04 -0800 | [diff] [blame] | 2504 | }}, |
Pavel Mihaylov | c3d9319 | 2005-11-08 21:38:43 -0800 | [diff] [blame] | 2505 | .radio = { |
| 2506 | .name = name_radio, |
| 2507 | .amux = LINE2, |
| 2508 | }, |
Paul T Zalac | fe2e36c | 2005-11-08 21:38:04 -0800 | [diff] [blame] | 2509 | }, |
Michael Krufky | 5d5c990 | 2005-11-08 21:38:08 -0800 | [diff] [blame] | 2510 | [SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV] = { |
| 2511 | /* "Cyril Lacoux (Yack)" <clacoux@ifeelgood.org> */ |
| 2512 | .name = "ASUS Digimatrix TV", |
| 2513 | .audio_clock = 0x00200000, |
| 2514 | .tuner_type = TUNER_PHILIPS_FQ1216ME, |
| 2515 | .tda9887_conf = TDA9887_PRESENT, |
| 2516 | .radio_type = UNSET, |
| 2517 | .tuner_addr = ADDR_UNSET, |
| 2518 | .radio_addr = ADDR_UNSET, |
| 2519 | .inputs = {{ |
| 2520 | .name = name_tv, |
| 2521 | .vmux = 1, |
| 2522 | .amux = TV, |
| 2523 | .tv = 1, |
| 2524 | },{ |
| 2525 | .name = name_comp1, |
| 2526 | .vmux = 3, |
| 2527 | .amux = LINE1, |
| 2528 | },{ |
| 2529 | .name = name_svideo, |
| 2530 | .vmux = 8, |
| 2531 | .amux = LINE1, |
| 2532 | }}, |
| 2533 | }, |
Hartmut Hackmann | 90e9df7 | 2005-11-08 21:38:42 -0800 | [diff] [blame] | 2534 | [SAA7134_BOARD_PHILIPS_TIGER] = { |
| 2535 | .name = "Philips Tiger reference design", |
| 2536 | .audio_clock = 0x00187de7, |
| 2537 | .tuner_type = TUNER_PHILIPS_TDA8290, |
| 2538 | .radio_type = UNSET, |
| 2539 | .tuner_addr = ADDR_UNSET, |
| 2540 | .radio_addr = ADDR_UNSET, |
| 2541 | .mpeg = SAA7134_MPEG_DVB, |
Hartmut Hackmann | 0f79c36 | 2006-01-14 21:26:44 -0200 | [diff] [blame] | 2542 | .gpiomask = 1 << 21, |
Hartmut Hackmann | 90e9df7 | 2005-11-08 21:38:42 -0800 | [diff] [blame] | 2543 | .inputs = {{ |
| 2544 | .name = name_tv, |
| 2545 | .vmux = 1, |
| 2546 | .amux = TV, |
| 2547 | .tv = 1, |
| 2548 | },{ |
| 2549 | .name = name_comp1, |
| 2550 | .vmux = 3, |
| 2551 | .amux = LINE1, |
| 2552 | },{ |
| 2553 | .name = name_svideo, |
| 2554 | .vmux = 8, |
| 2555 | .amux = LINE1, |
| 2556 | }}, |
Hartmut Hackmann | 0f79c36 | 2006-01-14 21:26:44 -0200 | [diff] [blame] | 2557 | .radio = { |
| 2558 | .name = name_radio, |
| 2559 | .amux = TV, |
| 2560 | .gpio = 0x0200000, |
| 2561 | }, |
Hartmut Hackmann | 90e9df7 | 2005-11-08 21:38:42 -0800 | [diff] [blame] | 2562 | }, |
Ricardo Cerqueira | 80d2ad9 | 2005-11-13 16:08:01 -0800 | [diff] [blame] | 2563 | [SAA7134_BOARD_MSI_TVATANYWHERE_PLUS] = { |
| 2564 | .name = "MSI TV@Anywhere plus", |
| 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 | .inputs = {{ |
| 2571 | .name = name_tv, |
| 2572 | .vmux = 1, |
| 2573 | .amux = TV, |
| 2574 | .tv = 1, |
| 2575 | },{ |
| 2576 | .name = name_comp1, |
| 2577 | .vmux = 3, |
| 2578 | .amux = LINE1, |
| 2579 | },{ |
| 2580 | .name = name_svideo, |
| 2581 | .vmux = 0, |
| 2582 | .amux = LINE1, |
| 2583 | }}, |
| 2584 | .radio = { |
| 2585 | .name = name_radio, |
| 2586 | .amux = LINE1, |
| 2587 | }, |
| 2588 | }, |
Jörg Schummer | f639c9b | 2006-01-09 15:25:01 -0200 | [diff] [blame] | 2589 | [SAA7134_BOARD_CINERGY250PCI] = { |
| 2590 | /* remote-control does not work. The signal about a |
| 2591 | key press comes in via gpio, but the key code |
| 2592 | doesn't. Neither does it have an i2c remote control |
| 2593 | interface. */ |
| 2594 | .name = "Terratec Cinergy 250 PCI TV", |
| 2595 | .audio_clock = 0x00187de7, |
| 2596 | .tuner_type = TUNER_PHILIPS_TDA8290, |
| 2597 | .radio_type = UNSET, |
| 2598 | .tuner_addr = ADDR_UNSET, |
| 2599 | .radio_addr = ADDR_UNSET, |
| 2600 | .gpiomask = 0x80200000, |
| 2601 | .inputs = {{ |
| 2602 | .name = name_tv, |
| 2603 | .vmux = 1, |
| 2604 | .amux = TV, |
| 2605 | .tv = 1, |
| 2606 | },{ |
| 2607 | .name = name_svideo, /* NOT tested */ |
| 2608 | .vmux = 8, |
| 2609 | .amux = LINE1, |
| 2610 | }}, |
| 2611 | .radio = { |
| 2612 | .name = name_radio, |
| 2613 | .amux = LINE1, |
| 2614 | .gpio = 0x0200000, |
| 2615 | }, |
| 2616 | }, |
Peter Missel | 4aa6ba5 | 2006-01-09 15:32:45 -0200 | [diff] [blame] | 2617 | [SAA7134_BOARD_FLYDVB_TRIO] = { |
| 2618 | /* LifeView LR319 FlyDVB Trio */ |
| 2619 | /* Peter Missel <peter.missel@onlinehome.de> */ |
| 2620 | .name = "LifeView FlyDVB Trio", |
| 2621 | .audio_clock = 0x00200000, |
| 2622 | .tuner_type = TUNER_PHILIPS_TDA8290, |
| 2623 | .radio_type = UNSET, |
| 2624 | .tuner_addr = ADDR_UNSET, |
| 2625 | .radio_addr = ADDR_UNSET, |
| 2626 | .gpiomask = 0x00200000, |
Hartmut Hackmann | 293cdab | 2006-02-27 21:08:07 -0300 | [diff] [blame] | 2627 | .mpeg = SAA7134_MPEG_DVB, |
Peter Missel | 4aa6ba5 | 2006-01-09 15:32:45 -0200 | [diff] [blame] | 2628 | .inputs = {{ |
| 2629 | .name = name_tv, /* Analog broadcast/cable TV */ |
| 2630 | .vmux = 1, |
| 2631 | .amux = TV, |
| 2632 | .gpio = 0x200000, /* GPIO21=High for TV input */ |
| 2633 | .tv = 1, |
| 2634 | },{ |
| 2635 | .name = name_svideo, /* S-Video signal on S-Video input */ |
| 2636 | .vmux = 8, |
| 2637 | .amux = LINE2, |
| 2638 | },{ |
| 2639 | .name = name_comp1, /* Composite signal on S-Video input */ |
| 2640 | .vmux = 0, |
| 2641 | .amux = LINE2, |
| 2642 | },{ |
| 2643 | .name = name_comp2, /* Composite input */ |
| 2644 | .vmux = 3, |
| 2645 | .amux = LINE2, |
| 2646 | }}, |
| 2647 | .radio = { |
| 2648 | .name = name_radio, |
| 2649 | .amux = TV, |
| 2650 | .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */ |
| 2651 | }, |
| 2652 | }, |
Jose Alberto Reguero | a78d0bf | 2006-02-07 06:25:14 -0200 | [diff] [blame] | 2653 | [SAA7134_BOARD_AVERMEDIA_777] = { |
| 2654 | .name = "AverTV DVB-T 777", |
| 2655 | .audio_clock = 0x00187de7, |
| 2656 | .tuner_type = TUNER_ABSENT, |
| 2657 | .radio_type = UNSET, |
| 2658 | .tuner_addr = ADDR_UNSET, |
| 2659 | .radio_addr = ADDR_UNSET, |
| 2660 | .mpeg = SAA7134_MPEG_DVB, |
| 2661 | .inputs = {{ |
| 2662 | .name = name_comp1, |
| 2663 | .vmux = 0, |
| 2664 | .amux = LINE1, |
| 2665 | },{ |
| 2666 | .name = name_svideo, |
| 2667 | .vmux = 8, |
| 2668 | .amux = LINE1, |
| 2669 | }}, |
| 2670 | }, |
Giampiero Giancipoli | 3d8466e | 2006-02-07 06:49:09 -0200 | [diff] [blame] | 2671 | [SAA7134_BOARD_FLYDVBT_LR301] = { |
| 2672 | /* LifeView FlyDVB-T */ |
| 2673 | /* Giampiero Giancipoli <gianci@libero.it> */ |
| 2674 | .name = "LifeView FlyDVB-T", |
| 2675 | .audio_clock = 0x00200000, |
| 2676 | .tuner_type = TUNER_ABSENT, |
| 2677 | .radio_type = UNSET, |
| 2678 | .tuner_addr = ADDR_UNSET, |
| 2679 | .radio_addr = ADDR_UNSET, |
| 2680 | .mpeg = SAA7134_MPEG_DVB, |
| 2681 | .inputs = {{ |
| 2682 | .name = name_comp1, /* Composite input */ |
| 2683 | .vmux = 3, |
| 2684 | .amux = LINE2, |
| 2685 | },{ |
| 2686 | .name = name_svideo, /* S-Video signal on S-Video input */ |
| 2687 | .vmux = 8, |
| 2688 | .amux = LINE2, |
| 2689 | }}, |
| 2690 | }, |
Hartmut Hackmann | df42eaf | 2006-02-07 06:49:10 -0200 | [diff] [blame] | 2691 | [SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331] = { |
| 2692 | .name = "ADS Instant TV Duo Cardbus PTV331", |
| 2693 | .audio_clock = 0x00200000, |
| 2694 | .tuner_type = TUNER_PHILIPS_TDA8290, |
| 2695 | .radio_type = UNSET, |
| 2696 | .tuner_addr = ADDR_UNSET, |
| 2697 | .radio_addr = ADDR_UNSET, |
| 2698 | .mpeg = SAA7134_MPEG_DVB, |
| 2699 | .gpiomask = 0x00600000, /* Bit 21 0=Radio, Bit 22 0=TV */ |
| 2700 | .inputs = {{ |
| 2701 | .name = name_tv, |
| 2702 | .vmux = 1, |
| 2703 | .amux = TV, |
| 2704 | .tv = 1, |
| 2705 | .gpio = 0x00200000, |
| 2706 | }}, |
| 2707 | }, |
Peter Hartshorn | 3dfb729 | 2006-02-07 06:49:13 -0200 | [diff] [blame] | 2708 | [SAA7134_BOARD_TEVION_DVBT_220RF] = { |
Adrian Bunk | 793f225 | 2006-03-08 10:50:06 -0300 | [diff] [blame] | 2709 | .name = "Tevion/KWorld DVB-T 220RF", |
Peter Hartshorn | 3dfb729 | 2006-02-07 06:49:13 -0200 | [diff] [blame] | 2710 | .audio_clock = 0x00187de7, |
| 2711 | .tuner_type = TUNER_PHILIPS_TDA8290, |
| 2712 | .radio_type = UNSET, |
| 2713 | .tuner_addr = ADDR_UNSET, |
| 2714 | .radio_addr = ADDR_UNSET, |
| 2715 | .mpeg = SAA7134_MPEG_DVB, |
| 2716 | .inputs = {{ |
| 2717 | .name = name_tv, |
| 2718 | .vmux = 1, |
| 2719 | .amux = TV, |
| 2720 | .tv = 1, |
| 2721 | },{ |
| 2722 | .name = name_comp1, |
| 2723 | .vmux = 3, |
| 2724 | .amux = LINE1, |
| 2725 | },{ |
| 2726 | .name = name_svideo, |
| 2727 | .vmux = 0, |
| 2728 | .amux = LINE1, |
| 2729 | }}, |
| 2730 | .radio = { |
| 2731 | .name = name_radio, |
| 2732 | .amux = LINE1, |
| 2733 | }, |
| 2734 | }, |
Andrew Burri | 3e1410a | 2006-02-27 00:08:23 -0300 | [diff] [blame] | 2735 | [SAA7134_BOARD_KWORLD_ATSC110] = { |
Michael Krufky | ccb1ef1 | 2006-02-27 00:08:36 -0300 | [diff] [blame] | 2736 | .name = "Kworld ATSC110", |
Andrew Burri | 3e1410a | 2006-02-27 00:08:23 -0300 | [diff] [blame] | 2737 | .audio_clock = 0x00187de7, |
| 2738 | .tuner_type = TUNER_PHILIPS_TUV1236D, |
| 2739 | .radio_type = UNSET, |
| 2740 | .tuner_addr = ADDR_UNSET, |
| 2741 | .radio_addr = ADDR_UNSET, |
| 2742 | .tda9887_conf = TDA9887_PRESENT, |
| 2743 | .mpeg = SAA7134_MPEG_DVB, |
| 2744 | .inputs = {{ |
| 2745 | .name = name_tv, |
| 2746 | .vmux = 1, |
| 2747 | .amux = TV, |
| 2748 | .tv = 1, |
Curt Meyers | 6ba509d | 2006-02-27 00:08:32 -0300 | [diff] [blame] | 2749 | },{ |
| 2750 | .name = name_comp1, |
| 2751 | .vmux = 3, |
| 2752 | .amux = LINE2, |
| 2753 | },{ |
| 2754 | .name = name_svideo, |
| 2755 | .vmux = 8, |
| 2756 | .amux = LINE2, |
Andrew Burri | 3e1410a | 2006-02-27 00:08:23 -0300 | [diff] [blame] | 2757 | }}, |
| 2758 | }, |
Rickard Osser | 68593af | 2006-03-11 17:14:12 -0300 | [diff] [blame] | 2759 | [SAA7134_BOARD_AVERMEDIA_A169_B] = { |
| 2760 | /* AVerMedia A169 */ |
| 2761 | /* Rickard Osser <ricky@osser.se> */ |
| 2762 | /* This card has two saa7134 chips on it, |
| 2763 | but only one of them is currently working. */ |
| 2764 | .name = "AVerMedia A169 B", |
| 2765 | .audio_clock = 0x02187de7, |
| 2766 | .tuner_type = TUNER_LG_TALN, |
| 2767 | .radio_type = UNSET, |
| 2768 | .tuner_addr = ADDR_UNSET, |
| 2769 | .radio_addr = ADDR_UNSET, |
| 2770 | .tda9887_conf = TDA9887_PRESENT, |
| 2771 | .gpiomask = 0x0a60000, |
| 2772 | }, |
| 2773 | [SAA7134_BOARD_AVERMEDIA_A169_B1] = { |
| 2774 | /* AVerMedia A169 */ |
| 2775 | /* Rickard Osser <ricky@osser.se> */ |
| 2776 | .name = "AVerMedia A169 B1", |
| 2777 | .audio_clock = 0x02187de7, |
| 2778 | .tuner_type = TUNER_LG_TALN, |
| 2779 | .radio_type = UNSET, |
| 2780 | .tuner_addr = ADDR_UNSET, |
| 2781 | .radio_addr = ADDR_UNSET, |
| 2782 | .tda9887_conf = TDA9887_PRESENT, |
| 2783 | .gpiomask = 0xca60000, |
| 2784 | .inputs = {{ |
| 2785 | .name = name_tv, |
| 2786 | .vmux = 4, |
| 2787 | .amux = TV, |
| 2788 | .tv = 1, |
| 2789 | .gpio = 0x04a61000, |
| 2790 | },{ |
| 2791 | .name = name_comp2, /* Composite SVIDEO (B/W if signal is carried with SVIDEO) */ |
| 2792 | .vmux = 1, |
| 2793 | .amux = LINE2, |
| 2794 | },{ |
| 2795 | .name = name_svideo, |
| 2796 | .vmux = 9, /* 9 is correct as S-VIDEO1 according to a169.inf! */ |
| 2797 | .amux = LINE1, |
| 2798 | }}, |
| 2799 | }, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2800 | }; |
| 2801 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2802 | const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards); |
| 2803 | |
| 2804 | /* ------------------------------------------------------------------ */ |
| 2805 | /* PCI ids + subsystem IDs */ |
| 2806 | |
| 2807 | struct pci_device_id saa7134_pci_tbl[] = { |
| 2808 | { |
| 2809 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2810 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 2811 | .subvendor = PCI_VENDOR_ID_PHILIPS, |
| 2812 | .subdevice = 0x2001, |
| 2813 | .driver_data = SAA7134_BOARD_PROTEUS_PRO, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2814 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2815 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2816 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 2817 | .subvendor = PCI_VENDOR_ID_PHILIPS, |
| 2818 | .subdevice = 0x2001, |
| 2819 | .driver_data = SAA7134_BOARD_PROTEUS_PRO, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2820 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2821 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2822 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 2823 | .subvendor = PCI_VENDOR_ID_PHILIPS, |
| 2824 | .subdevice = 0x6752, |
| 2825 | .driver_data = SAA7134_BOARD_EMPRESS, |
| 2826 | },{ |
| 2827 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2828 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2829 | .subvendor = 0x1131, |
| 2830 | .subdevice = 0x4e85, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2831 | .driver_data = SAA7134_BOARD_MONSTERTV, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2832 | },{ |
| 2833 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2834 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
Michael Krufky | 7df64e8 | 2005-11-08 21:36:16 -0800 | [diff] [blame] | 2835 | .subvendor = 0x153b, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2836 | .subdevice = 0x1142, |
| 2837 | .driver_data = SAA7134_BOARD_CINERGY400, |
| 2838 | },{ |
| 2839 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2840 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
Michael Krufky | 7df64e8 | 2005-11-08 21:36:16 -0800 | [diff] [blame] | 2841 | .subvendor = 0x153b, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2842 | .subdevice = 0x1143, |
| 2843 | .driver_data = SAA7134_BOARD_CINERGY600, |
| 2844 | },{ |
| 2845 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2846 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
Michael Krufky | 7df64e8 | 2005-11-08 21:36:16 -0800 | [diff] [blame] | 2847 | .subvendor = 0x153b, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2848 | .subdevice = 0x1158, |
| 2849 | .driver_data = SAA7134_BOARD_CINERGY600_MK3, |
| 2850 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2851 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2852 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 2853 | .subvendor = 0x153b, |
| 2854 | .subdevice = 0x1162, |
| 2855 | .driver_data = SAA7134_BOARD_CINERGY400_CARDBUS, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2856 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2857 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2858 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 2859 | .subvendor = 0x5168, |
| 2860 | .subdevice = 0x0138, |
| 2861 | .driver_data = SAA7134_BOARD_FLYVIDEO3000, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2862 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2863 | .vendor = PCI_VENDOR_ID_PHILIPS, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2864 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 2865 | .subvendor = 0x4e42, /* "Typhoon PCI Capture TV Card" Art.No. 50673 */ |
| 2866 | .subdevice = 0x0138, |
| 2867 | .driver_data = SAA7134_BOARD_FLYVIDEO3000, |
| 2868 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2869 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2870 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
| 2871 | .subvendor = 0x5168, |
| 2872 | .subdevice = 0x0138, |
| 2873 | .driver_data = SAA7134_BOARD_FLYVIDEO2000, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2874 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2875 | .vendor = PCI_VENDOR_ID_PHILIPS, |
Peter Missel | 10b7a90 | 2006-01-23 17:11:06 -0200 | [diff] [blame] | 2876 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
| 2877 | .subvendor = 0x4e42, /* Typhoon */ |
| 2878 | .subdevice = 0x0138, /* LifeView FlyTV Prime30 OEM */ |
| 2879 | .driver_data = SAA7134_BOARD_FLYVIDEO2000, |
| 2880 | },{ |
| 2881 | .vendor = PCI_VENDOR_ID_PHILIPS, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2882 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2883 | .subvendor = 0x5168, |
| 2884 | .subdevice = 0x0212, /* minipci, LR212 */ |
| 2885 | .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2886 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2887 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2888 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
Mauro Carvalho Chehab | 058afaf | 2005-11-08 21:36:49 -0800 | [diff] [blame] | 2889 | .subvendor = 0x14c0, |
| 2890 | .subdevice = 0x1212, /* minipci, LR1212 */ |
| 2891 | .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI2, |
| 2892 | },{ |
| 2893 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2894 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
Glen Gray | 2d14f78 | 2005-11-08 21:36:12 -0800 | [diff] [blame] | 2895 | .subvendor = 0x4e42, |
| 2896 | .subdevice = 0x0212, /* OEM minipci, LR212 */ |
| 2897 | .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI, |
| 2898 | },{ |
| 2899 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2900 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
Peter Missel | 10e9206 | 2005-05-01 08:59:21 -0700 | [diff] [blame] | 2901 | .subvendor = 0x5168, /* Animation Technologies (LifeView) */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2902 | .subdevice = 0x0214, /* Standard PCI, LR214WF */ |
| 2903 | .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2904 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2905 | .vendor = PCI_VENDOR_ID_PHILIPS, |
Peter Missel | 10e9206 | 2005-05-01 08:59:21 -0700 | [diff] [blame] | 2906 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 2907 | .subvendor = 0x1489, /* KYE */ |
| 2908 | .subdevice = 0x0214, /* Genius VideoWonder ProTV */ |
| 2909 | .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM, /* is an LR214WF actually */ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2910 | },{ |
Peter Missel | 10e9206 | 2005-05-01 08:59:21 -0700 | [diff] [blame] | 2911 | .vendor = PCI_VENDOR_ID_PHILIPS, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2912 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 2913 | .subvendor = 0x16be, |
| 2914 | .subdevice = 0x0003, |
| 2915 | .driver_data = SAA7134_BOARD_MD7134, |
| 2916 | },{ |
| 2917 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2918 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
| 2919 | .subvendor = 0x1048, |
| 2920 | .subdevice = 0x226b, |
| 2921 | .driver_data = SAA7134_BOARD_ELSA, |
| 2922 | },{ |
| 2923 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2924 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
| 2925 | .subvendor = 0x1048, |
Michael Krufky | 9a7871b | 2006-02-27 15:22:49 -0300 | [diff] [blame] | 2926 | .subdevice = 0x226a, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2927 | .driver_data = SAA7134_BOARD_ELSA_500TV, |
| 2928 | },{ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2929 | .vendor = PCI_VENDOR_ID_PHILIPS, |
Tamuki Shoichi | d0456d1 | 2006-02-27 00:08:04 -0300 | [diff] [blame] | 2930 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
Michael Krufky | ba52429 | 2006-02-27 14:38:17 -0300 | [diff] [blame] | 2931 | .subvendor = 0x1048, |
| 2932 | .subdevice = 0x226c, |
Tamuki Shoichi | d0456d1 | 2006-02-27 00:08:04 -0300 | [diff] [blame] | 2933 | .driver_data = SAA7134_BOARD_ELSA_700TV, |
| 2934 | },{ |
| 2935 | .vendor = PCI_VENDOR_ID_PHILIPS, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2936 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 2937 | .subvendor = PCI_VENDOR_ID_ASUSTEK, |
| 2938 | .subdevice = 0x4842, |
| 2939 | .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2940 | },{ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2941 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2942 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 2943 | .subvendor = PCI_VENDOR_ID_ASUSTEK, |
| 2944 | .subdevice = 0x4845, |
| 2945 | .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7135, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2946 | },{ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2947 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2948 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 2949 | .subvendor = PCI_VENDOR_ID_ASUSTEK, |
| 2950 | .subdevice = 0x4830, |
| 2951 | .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2952 | },{ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2953 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2954 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 2955 | .subvendor = PCI_VENDOR_ID_ASUSTEK, |
| 2956 | .subdevice = 0x4843, |
| 2957 | .driver_data = SAA7134_BOARD_ASUSTEK_TVFM7133, |
| 2958 | },{ |
| 2959 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2960 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 2961 | .subvendor = PCI_VENDOR_ID_ASUSTEK, |
| 2962 | .subdevice = 0x4840, |
| 2963 | .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134, |
| 2964 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2965 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2966 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 2967 | .subvendor = PCI_VENDOR_ID_PHILIPS, |
| 2968 | .subdevice = 0xfe01, |
| 2969 | .driver_data = SAA7134_BOARD_TVSTATION_RDS, |
| 2970 | },{ |
| 2971 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2972 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 2973 | .subvendor = 0x1894, |
| 2974 | .subdevice = 0xfe01, |
| 2975 | .driver_data = SAA7134_BOARD_TVSTATION_RDS, |
| 2976 | },{ |
| 2977 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2978 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 2979 | .subvendor = 0x1894, |
| 2980 | .subdevice = 0xa006, |
| 2981 | .driver_data = SAA7134_BOARD_TVSTATION_DVR, |
| 2982 | },{ |
| 2983 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2984 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2985 | .subvendor = 0x1131, |
| 2986 | .subdevice = 0x7133, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2987 | .driver_data = SAA7134_BOARD_VA1000POWER, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2988 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2989 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2990 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2991 | .subvendor = PCI_VENDOR_ID_PHILIPS, |
| 2992 | .subdevice = 0x2001, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2993 | .driver_data = SAA7134_BOARD_10MOONSTVMASTER, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2994 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2995 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 2996 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 2997 | .subvendor = 0x185b, |
| 2998 | .subdevice = 0xc100, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2999 | .driver_data = SAA7134_BOARD_VIDEOMATE_TV, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3000 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3001 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3002 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3003 | .subvendor = 0x185b, |
| 3004 | .subdevice = 0xc100, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3005 | .driver_data = SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3006 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3007 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3008 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3009 | .subvendor = PCI_VENDOR_ID_MATROX, |
| 3010 | .subdevice = 0x48d0, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3011 | .driver_data = SAA7134_BOARD_CRONOS_PLUS, |
| 3012 | },{ |
| 3013 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3014 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3015 | .subvendor = 0x1461, /* Avermedia Technologies Inc */ |
| 3016 | .subdevice = 0xa70b, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3017 | .driver_data = SAA7134_BOARD_MD2819, |
| 3018 | },{ |
| 3019 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3020 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3021 | .subvendor = 0x1461, /* Avermedia Technologies Inc */ |
| 3022 | .subdevice = 0x2115, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3023 | .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_305, |
| 3024 | },{ |
| 3025 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3026 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3027 | .subvendor = 0x1461, /* Avermedia Technologies Inc */ |
| 3028 | .subdevice = 0x2108, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3029 | .driver_data = SAA7134_BOARD_AVERMEDIA_305, |
| 3030 | },{ |
| 3031 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3032 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3033 | .subvendor = 0x1461, /* Avermedia Technologies Inc */ |
| 3034 | .subdevice = 0x10ff, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3035 | .driver_data = SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3036 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3037 | /* AVerMedia CardBus */ |
| 3038 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3039 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3040 | .subvendor = 0x1461, /* Avermedia Technologies Inc */ |
| 3041 | .subdevice = 0xd6ee, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3042 | .driver_data = SAA7134_BOARD_AVERMEDIA_CARDBUS, |
| 3043 | },{ |
| 3044 | /* TransGear 3000TV */ |
| 3045 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3046 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3047 | .subvendor = 0x1461, /* Avermedia Technologies Inc */ |
| 3048 | .subdevice = 0x050c, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3049 | .driver_data = SAA7134_BOARD_TG3000TV, |
| 3050 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3051 | .vendor = PCI_VENDOR_ID_PHILIPS, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3052 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 3053 | .subvendor = 0x11bd, |
| 3054 | .subdevice = 0x002b, |
| 3055 | .driver_data = SAA7134_BOARD_PINNACLE_PCTV_STEREO, |
| 3056 | },{ |
| 3057 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3058 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 3059 | .subvendor = 0x11bd, |
| 3060 | .subdevice = 0x002d, |
| 3061 | .driver_data = SAA7134_BOARD_PINNACLE_300I_DVBT_PAL, |
| 3062 | },{ |
| 3063 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3064 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 3065 | .subvendor = 0x1019, |
| 3066 | .subdevice = 0x4cb4, |
| 3067 | .driver_data = SAA7134_BOARD_ECS_TVP3XP, |
| 3068 | },{ |
| 3069 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3070 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3071 | .subvendor = 0x1019, |
| 3072 | .subdevice = 0x4cb5, |
| 3073 | .driver_data = SAA7134_BOARD_ECS_TVP3XP_4CB5, |
| 3074 | },{ |
| 3075 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3076 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3077 | .subvendor = 0x12ab, |
| 3078 | .subdevice = 0x0800, |
| 3079 | .driver_data = SAA7134_BOARD_UPMOST_PURPLE_TV, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3080 | },{ |
| 3081 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3082 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
Michael Krufky | 7df64e8 | 2005-11-08 21:36:16 -0800 | [diff] [blame] | 3083 | .subvendor = 0x153b, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3084 | .subdevice = 0x1152, |
| 3085 | .driver_data = SAA7134_BOARD_CINERGY200, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3086 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3087 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3088 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3089 | .subvendor = 0x185b, |
| 3090 | .subdevice = 0xc100, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3091 | .driver_data = SAA7134_BOARD_VIDEOMATE_TV_PVR, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3092 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3093 | .vendor = PCI_VENDOR_ID_PHILIPS, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3094 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 3095 | .subvendor = 0x1461, /* Avermedia Technologies Inc */ |
| 3096 | .subdevice = 0x9715, |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 3097 | .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_307, |
| 3098 | },{ |
| 3099 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3100 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 3101 | .subvendor = 0x1461, /* Avermedia Technologies Inc */ |
| 3102 | .subdevice = 0xa70a, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3103 | .driver_data = SAA7134_BOARD_AVERMEDIA_307, |
| 3104 | },{ |
| 3105 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3106 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 3107 | .subvendor = 0x185b, |
| 3108 | .subdevice = 0xc200, |
| 3109 | .driver_data = SAA7134_BOARD_VIDEOMATE_GOLD_PLUS, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3110 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3111 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3112 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 3113 | .subvendor = 0x1540, |
| 3114 | .subdevice = 0x9524, |
| 3115 | .driver_data = SAA7134_BOARD_PROVIDEO_PV952, |
| 3116 | |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3117 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3118 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3119 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3120 | .subvendor = 0x5168, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3121 | .subdevice = 0x0502, /* Cardbus version */ |
Peter Missel | 10b7a90 | 2006-01-23 17:11:06 -0200 | [diff] [blame] | 3122 | .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3123 | },{ |
| 3124 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3125 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3126 | .subvendor = 0x5168, |
| 3127 | .subdevice = 0x0306, /* PCI version */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3128 | .driver_data = SAA7134_BOARD_FLYDVBTDUO, |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 3129 | },{ |
| 3130 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3131 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3132 | .subvendor = 0x1461, /* Avermedia Technologies Inc */ |
| 3133 | .subdevice = 0xf31f, |
| 3134 | .driver_data = SAA7134_BOARD_AVERMEDIA_GO_007_FM, |
| 3135 | |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3136 | },{ |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 3137 | .vendor = PCI_VENDOR_ID_PHILIPS, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3138 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
| 3139 | .subvendor = PCI_VENDOR_ID_PHILIPS, |
| 3140 | .subdevice = 0x2004, |
| 3141 | .driver_data = SAA7134_BOARD_PHILIPS_TOUGH, |
| 3142 | },{ |
| 3143 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3144 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 3145 | .subvendor = 0x1421, |
| 3146 | .subdevice = 0x0350, /* PCI version */ |
| 3147 | .driver_data = SAA7134_BOARD_ADS_INSTANT_TV, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3148 | },{ |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 3149 | .vendor = PCI_VENDOR_ID_PHILIPS, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3150 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 3151 | .subvendor = 0x1421, |
Ricardo Cerqueira | 41d70c2 | 2006-01-09 15:25:34 -0200 | [diff] [blame] | 3152 | .subdevice = 0x0351, /* PCI version, new revision */ |
| 3153 | .driver_data = SAA7134_BOARD_ADS_INSTANT_TV, |
| 3154 | },{ |
| 3155 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3156 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3157 | .subvendor = 0x1421, |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 3158 | .subdevice = 0x0370, /* cardbus version */ |
| 3159 | .driver_data = SAA7134_BOARD_ADS_INSTANT_TV, |
Hartmut Hackmann | d4b0aba | 2005-11-08 21:38:44 -0800 | [diff] [blame] | 3160 | },{ |
| 3161 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3162 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3163 | .subvendor = 0x1421, |
| 3164 | .subdevice = 0x1370, /* cardbus version */ |
| 3165 | .driver_data = SAA7134_BOARD_ADS_INSTANT_TV, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3166 | |
Peter Missel | 10b7a90 | 2006-01-23 17:11:06 -0200 | [diff] [blame] | 3167 | },{ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3168 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3169 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
Peter Missel | 10b7a90 | 2006-01-23 17:11:06 -0200 | [diff] [blame] | 3170 | .subvendor = 0x4e42, /* Typhoon */ |
| 3171 | .subdevice = 0x0502, /* LifeView LR502 OEM */ |
| 3172 | .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS, |
Mauro Carvalho Chehab | 2f18071 | 2005-09-09 13:03:46 -0700 | [diff] [blame] | 3173 | },{ |
| 3174 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3175 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3176 | .subvendor = 0x1043, |
| 3177 | .subdevice = 0x0210, /* mini pci NTSC version */ |
| 3178 | .driver_data = SAA7134_BOARD_FLYTV_DIGIMATRIX, |
| 3179 | },{ |
| 3180 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3181 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 3182 | .subvendor = 0x1043, |
| 3183 | .subdevice = 0x0210, /* mini pci PAL/SECAM version */ |
Michael Krufky | 5d5c990 | 2005-11-08 21:38:08 -0800 | [diff] [blame] | 3184 | .driver_data = SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3185 | |
| 3186 | },{ |
Nickolay V. Shmyrev | a8ff417 | 2005-11-08 21:36:16 -0800 | [diff] [blame] | 3187 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3188 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3189 | .subvendor = 0x0000, /* It shouldn't break anything, since subdevice id seems unique */ |
| 3190 | .subdevice = 0x4091, |
| 3191 | .driver_data = SAA7134_BOARD_BEHOLD_409FM, |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 3192 | },{ |
| 3193 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3194 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3195 | .subvendor = 0x5456, /* GoTView */ |
| 3196 | .subdevice = 0x7135, |
| 3197 | .driver_data = SAA7134_BOARD_GOTVIEW_7135, |
| 3198 | },{ |
Hartmut Hackmann | 2cf36ac | 2005-11-08 21:36:32 -0800 | [diff] [blame] | 3199 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3200 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 3201 | .subvendor = PCI_VENDOR_ID_PHILIPS, |
| 3202 | .subdevice = 0x2004, |
| 3203 | .driver_data = SAA7134_BOARD_PHILIPS_EUROPA, |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 3204 | },{ |
Hartmut Hackmann | 2cf36ac | 2005-11-08 21:36:32 -0800 | [diff] [blame] | 3205 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3206 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 3207 | .subvendor = 0x185b, |
| 3208 | .subdevice = 0xc900, |
| 3209 | .driver_data = SAA7134_BOARD_VIDEOMATE_DVBT_300, |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 3210 | },{ |
Hartmut Hackmann | 2cf36ac | 2005-11-08 21:36:32 -0800 | [diff] [blame] | 3211 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3212 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
| 3213 | .subvendor = 0x185b, |
| 3214 | .subdevice = 0xc901, |
| 3215 | .driver_data = SAA7134_BOARD_VIDEOMATE_DVBT_200, |
| 3216 | },{ |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 3217 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3218 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3219 | .subvendor = 0x1435, |
| 3220 | .subdevice = 0x7350, |
| 3221 | .driver_data = SAA7134_BOARD_RTD_VFG7350, |
Nickolay V. Shmyrev | bb881f1 | 2005-11-08 21:36:35 -0800 | [diff] [blame] | 3222 | },{ |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 3223 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3224 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3225 | .subvendor = 0x1435, |
| 3226 | .subdevice = 0x7330, |
| 3227 | .driver_data = SAA7134_BOARD_RTD_VFG7330, |
Pieter Palmers | cf1c5d1 | 2005-11-08 21:37:40 -0800 | [diff] [blame] | 3228 | },{ |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 3229 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3230 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3231 | .subvendor = 0x1461, |
| 3232 | .subdevice = 0x1044, |
| 3233 | .driver_data = SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180, |
| 3234 | },{ |
Pieter Palmers | cf1c5d1 | 2005-11-08 21:37:40 -0800 | [diff] [blame] | 3235 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3236 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3237 | .subvendor = 0x1131, |
| 3238 | .subdevice = 0x4ee9, |
| 3239 | .driver_data = SAA7134_BOARD_MONSTERTV_MOBILE, |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 3240 | },{ |
Ricardo Cerqueira | c2f6f9d | 2005-11-08 21:37:51 -0800 | [diff] [blame] | 3241 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3242 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3243 | .subvendor = 0x11bd, |
| 3244 | .subdevice = 0x002e, |
| 3245 | .driver_data = SAA7134_BOARD_PINNACLE_PCTV_110i, |
| 3246 | },{ |
Hermann Pitton | 28f0224 | 2005-11-08 21:38:03 -0800 | [diff] [blame] | 3247 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3248 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3249 | .subvendor = 0x1043, |
| 3250 | .subdevice = 0x4862, |
| 3251 | .driver_data = SAA7134_BOARD_ASUSTeK_P7131_DUAL, |
Pavel Mihaylov | c3d9319 | 2005-11-08 21:38:43 -0800 | [diff] [blame] | 3252 | },{ |
Hartmut Hackmann | 90e9df7 | 2005-11-08 21:38:42 -0800 | [diff] [blame] | 3253 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3254 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3255 | .subvendor = PCI_VENDOR_ID_PHILIPS, |
| 3256 | .subdevice = 0x2018, |
| 3257 | .driver_data = SAA7134_BOARD_PHILIPS_TIGER, |
Hermann Pitton | 28f0224 | 2005-11-08 21:38:03 -0800 | [diff] [blame] | 3258 | },{ |
Ricardo Cerqueira | 80d2ad9 | 2005-11-13 16:08:01 -0800 | [diff] [blame] | 3259 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3260 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3261 | .subvendor = 0x1462, |
| 3262 | .subdevice = 0x6231, |
| 3263 | .driver_data = SAA7134_BOARD_MSI_TVATANYWHERE_PLUS, |
| 3264 | },{ |
Jörg Schummer | f639c9b | 2006-01-09 15:25:01 -0200 | [diff] [blame] | 3265 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3266 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3267 | .subvendor = 0x153b, |
| 3268 | .subdevice = 0x1160, |
| 3269 | .driver_data = SAA7134_BOARD_CINERGY250PCI, |
| 3270 | },{ |
Peter Missel | 4aa6ba5 | 2006-01-09 15:32:45 -0200 | [diff] [blame] | 3271 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3272 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA 7131E */ |
| 3273 | .subvendor = 0x5168, |
| 3274 | .subdevice = 0x0319, |
| 3275 | .driver_data = SAA7134_BOARD_FLYDVB_TRIO, |
| 3276 | },{ |
Jose Alberto Reguero | a78d0bf | 2006-02-07 06:25:14 -0200 | [diff] [blame] | 3277 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3278 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, /* SAA 7131E */ |
| 3279 | .subvendor = 0x1461, |
| 3280 | .subdevice = 0x2c05, |
| 3281 | .driver_data = SAA7134_BOARD_AVERMEDIA_777, |
| 3282 | },{ |
Giampiero Giancipoli | 3d8466e | 2006-02-07 06:49:09 -0200 | [diff] [blame] | 3283 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3284 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 3285 | .subvendor = 0x5168, |
| 3286 | .subdevice = 0x0301, |
| 3287 | .driver_data = SAA7134_BOARD_FLYDVBT_LR301, |
| 3288 | },{ |
Hartmut Hackmann | df42eaf | 2006-02-07 06:49:10 -0200 | [diff] [blame] | 3289 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3290 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3291 | .subvendor = 0x0331, |
| 3292 | .subdevice = 0x1421, |
| 3293 | .driver_data = SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331, |
| 3294 | },{ |
Peter Hartshorn | 3dfb729 | 2006-02-07 06:49:13 -0200 | [diff] [blame] | 3295 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3296 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
| 3297 | .subvendor = 0x17de, |
| 3298 | .subdevice = 0x7201, |
| 3299 | .driver_data = SAA7134_BOARD_TEVION_DVBT_220RF, |
| 3300 | },{ |
Andrew Burri | 3e1410a | 2006-02-27 00:08:23 -0300 | [diff] [blame] | 3301 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3302 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA7135HL */ |
| 3303 | .subvendor = 0x17de, |
| 3304 | .subdevice = 0x7350, |
| 3305 | .driver_data = SAA7134_BOARD_KWORLD_ATSC110, |
| 3306 | },{ |
Rickard Osser | 68593af | 2006-03-11 17:14:12 -0300 | [diff] [blame] | 3307 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3308 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 3309 | .subvendor = 0x1461, |
| 3310 | .subdevice = 0x7360, |
| 3311 | .driver_data = SAA7134_BOARD_AVERMEDIA_A169_B, |
| 3312 | },{ |
| 3313 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3314 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 3315 | .subvendor = 0x1461, |
| 3316 | .subdevice = 0x6360, |
| 3317 | .driver_data = SAA7134_BOARD_AVERMEDIA_A169_B1, |
| 3318 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3319 | /* --- boards without eeprom + subsystem ID --- */ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3320 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3321 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
| 3322 | .subvendor = PCI_VENDOR_ID_PHILIPS, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3323 | .subdevice = 0, |
| 3324 | .driver_data = SAA7134_BOARD_NOAUTO, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3325 | },{ |
| 3326 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3327 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
| 3328 | .subvendor = PCI_VENDOR_ID_PHILIPS, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3329 | .subdevice = 0, |
| 3330 | .driver_data = SAA7134_BOARD_NOAUTO, |
| 3331 | },{ |
| 3332 | |
| 3333 | /* --- default catch --- */ |
| 3334 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3335 | .device = PCI_DEVICE_ID_PHILIPS_SAA7130, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3336 | .subvendor = PCI_ANY_ID, |
| 3337 | .subdevice = PCI_ANY_ID, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3338 | .driver_data = SAA7134_BOARD_UNKNOWN, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3339 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3340 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3341 | .device = PCI_DEVICE_ID_PHILIPS_SAA7133, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3342 | .subvendor = PCI_ANY_ID, |
| 3343 | .subdevice = PCI_ANY_ID, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3344 | .driver_data = SAA7134_BOARD_UNKNOWN, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3345 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3346 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3347 | .device = PCI_DEVICE_ID_PHILIPS_SAA7134, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3348 | .subvendor = PCI_ANY_ID, |
| 3349 | .subdevice = PCI_ANY_ID, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3350 | .driver_data = SAA7134_BOARD_UNKNOWN, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3351 | },{ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3352 | .vendor = PCI_VENDOR_ID_PHILIPS, |
| 3353 | .device = PCI_DEVICE_ID_PHILIPS_SAA7135, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3354 | .subvendor = PCI_ANY_ID, |
| 3355 | .subdevice = PCI_ANY_ID, |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3356 | .driver_data = SAA7134_BOARD_UNKNOWN, |
| 3357 | },{ |
| 3358 | /* --- end of list --- */ |
| 3359 | } |
| 3360 | }; |
| 3361 | MODULE_DEVICE_TABLE(pci, saa7134_pci_tbl); |
| 3362 | |
| 3363 | /* ----------------------------------------------------------- */ |
| 3364 | /* flyvideo tweaks */ |
| 3365 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3366 | |
| 3367 | static void board_flyvideo(struct saa7134_dev *dev) |
| 3368 | { |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3369 | printk("%s: there are different flyvideo cards with different tuners\n" |
| 3370 | "%s: out there, you might have to use the tuner=<nr> insmod\n" |
| 3371 | "%s: option to override the default value.\n", |
| 3372 | dev->name, dev->name, dev->name); |
| 3373 | } |
| 3374 | |
| 3375 | /* ----------------------------------------------------------- */ |
| 3376 | |
| 3377 | int saa7134_board_init1(struct saa7134_dev *dev) |
| 3378 | { |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3379 | /* Always print gpio, often manufacturers encode tuner type and other info. */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3380 | saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0); |
| 3381 | dev->gpio_value = saa_readl(SAA7134_GPIO_GPSTATUS0 >> 2); |
| 3382 | printk(KERN_INFO "%s: board init: gpio is %x\n", dev->name, dev->gpio_value); |
| 3383 | |
| 3384 | switch (dev->board) { |
| 3385 | case SAA7134_BOARD_FLYVIDEO2000: |
| 3386 | case SAA7134_BOARD_FLYVIDEO3000: |
Ricardo Cerqueira | cb2444d | 2005-11-08 21:38:47 -0800 | [diff] [blame] | 3387 | dev->has_remote = SAA7134_REMOTE_GPIO; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3388 | board_flyvideo(dev); |
| 3389 | break; |
Arnaud Patard | 6af90ab | 2005-11-08 21:36:55 -0800 | [diff] [blame] | 3390 | case SAA7134_BOARD_FLYTVPLATINUM_MINI2: |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3391 | case SAA7134_BOARD_FLYTVPLATINUM_FM: |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3392 | case SAA7134_BOARD_CINERGY400: |
| 3393 | case SAA7134_BOARD_CINERGY600: |
| 3394 | case SAA7134_BOARD_CINERGY600_MK3: |
| 3395 | case SAA7134_BOARD_ECS_TVP3XP: |
| 3396 | case SAA7134_BOARD_ECS_TVP3XP_4CB5: |
| 3397 | case SAA7134_BOARD_MD2819: |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 3398 | case SAA7134_BOARD_KWORLD_VSTREAM_XPERT: |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3399 | case SAA7134_BOARD_KWORLD_XPERT: |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3400 | case SAA7134_BOARD_AVERMEDIA_STUDIO_305: |
| 3401 | case SAA7134_BOARD_AVERMEDIA_305: |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 3402 | case SAA7134_BOARD_AVERMEDIA_STUDIO_307: |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3403 | case SAA7134_BOARD_AVERMEDIA_307: |
Mauro Carvalho Chehab | ac19ecc | 2005-06-23 22:05:09 -0700 | [diff] [blame] | 3404 | case SAA7134_BOARD_AVERMEDIA_GO_007_FM: |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3405 | /* case SAA7134_BOARD_SABRENT_SBTTVFM: */ /* not finished yet */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3406 | case SAA7134_BOARD_VIDEOMATE_TV_PVR: |
Nickolay V. Shmyrev | 2a9a9a8 | 2006-01-09 15:25:33 -0200 | [diff] [blame] | 3407 | case SAA7134_BOARD_VIDEOMATE_GOLD_PLUS: |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3408 | case SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII: |
Nickolay V. Shmyrev | fea095f | 2005-11-08 21:36:47 -0800 | [diff] [blame] | 3409 | case SAA7134_BOARD_VIDEOMATE_DVBT_300: |
Michael Krufky | afce892 | 2005-11-08 21:36:57 -0800 | [diff] [blame] | 3410 | case SAA7134_BOARD_VIDEOMATE_DVBT_200: |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3411 | case SAA7134_BOARD_MANLI_MTV001: |
| 3412 | case SAA7134_BOARD_MANLI_MTV002: |
Nickolay V. Shmyrev | a8ff417 | 2005-11-08 21:36:16 -0800 | [diff] [blame] | 3413 | case SAA7134_BOARD_BEHOLD_409FM: |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3414 | case SAA7134_BOARD_AVACSSMARTTV: |
Nickolay V. Shmyrev | 6b96144 | 2005-11-08 21:36:22 -0800 | [diff] [blame] | 3415 | case SAA7134_BOARD_GOTVIEW_7135: |
James R. Webb | dc2286c | 2005-11-08 21:37:00 -0800 | [diff] [blame] | 3416 | case SAA7134_BOARD_KWORLD_TERMINATOR: |
Ricardo Cerqueira | 17ce1ff | 2005-11-08 21:38:47 -0800 | [diff] [blame] | 3417 | case SAA7134_BOARD_SEDNA_PC_TV_CARDBUS: |
Giampiero Giancipoli | 3d8466e | 2006-02-07 06:49:09 -0200 | [diff] [blame] | 3418 | case SAA7134_BOARD_FLYDVBT_LR301: |
Rudo Thomas | a802917 | 2006-02-27 00:08:46 -0300 | [diff] [blame] | 3419 | case SAA7134_BOARD_FLYDVBTDUO: |
Ricardo Cerqueira | cb2444d | 2005-11-08 21:38:47 -0800 | [diff] [blame] | 3420 | dev->has_remote = SAA7134_REMOTE_GPIO; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3421 | break; |
| 3422 | case SAA7134_BOARD_MD5044: |
| 3423 | printk("%s: seems there are two different versions of the MD5044\n" |
Michael Krufky | fd2f267 | 2006-03-11 16:21:36 -0300 | [diff] [blame] | 3424 | "%s: (with the same ID) out there. If sound doesn't work for\n" |
| 3425 | "%s: you try the audio_clock_override=0x200000 insmod option.\n", |
| 3426 | dev->name,dev->name,dev->name); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3427 | break; |
| 3428 | case SAA7134_BOARD_CINERGY400_CARDBUS: |
| 3429 | /* power-up tuner chip */ |
| 3430 | saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000); |
| 3431 | saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000000); |
Hartmut Hackmann | df8cf70 | 2006-03-03 12:09:26 -0300 | [diff] [blame] | 3432 | case SAA7134_BOARD_PINNACLE_300I_DVBT_PAL: |
| 3433 | /* this turns the remote control chip off to work around a bug in it */ |
| 3434 | saa_writeb(SAA7134_GPIO_GPMODE1, 0x80); |
| 3435 | saa_writeb(SAA7134_GPIO_GPSTATUS1, 0x80); |
| 3436 | break; |
Pieter Palmers | cf1c5d1 | 2005-11-08 21:37:40 -0800 | [diff] [blame] | 3437 | case SAA7134_BOARD_MONSTERTV_MOBILE: |
| 3438 | /* power-up tuner chip */ |
| 3439 | saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000); |
| 3440 | saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000004); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3441 | break; |
Peter Missel | 10b7a90 | 2006-01-23 17:11:06 -0200 | [diff] [blame] | 3442 | case SAA7134_BOARD_FLYDVBT_DUO_CARDBUS: |
Nickolay V. Shmyrev | 6b96144 | 2005-11-08 21:36:22 -0800 | [diff] [blame] | 3443 | /* turn the fan on */ |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3444 | saa_writeb(SAA7134_GPIO_GPMODE3, 0x08); |
| 3445 | saa_writeb(SAA7134_GPIO_GPSTATUS3, 0x06); |
| 3446 | break; |
Hartmut Hackmann | df42eaf | 2006-02-07 06:49:10 -0200 | [diff] [blame] | 3447 | case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331: |
| 3448 | saa_writeb(SAA7134_GPIO_GPMODE3, 0x08); |
| 3449 | saa_writeb(SAA7134_GPIO_GPSTATUS3, 0x00); |
| 3450 | break; |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3451 | case SAA7134_BOARD_AVERMEDIA_CARDBUS: |
| 3452 | /* power-up tuner chip */ |
| 3453 | saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0xffffffff, 0xffffffff); |
| 3454 | saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0xffffffff); |
| 3455 | msleep(1); |
| 3456 | break; |
Nickolay V. Shmyrev | bb881f1 | 2005-11-08 21:36:35 -0800 | [diff] [blame] | 3457 | case SAA7134_BOARD_RTD_VFG7350: |
| 3458 | |
| 3459 | /* |
| 3460 | * Make sure Production Test Register at offset 0x1D1 is cleared |
| 3461 | * to take chip out of test mode. Clearing bit 4 (TST_EN_AOUT) |
| 3462 | * prevents pin 105 from remaining low; keeping pin 105 low |
| 3463 | * continually resets the SAA6752 chip. |
| 3464 | */ |
| 3465 | |
| 3466 | saa_writeb (SAA7134_PRODUCTION_TEST_MODE, 0x00); |
| 3467 | break; |
Ricardo Cerqueira | cb2444d | 2005-11-08 21:38:47 -0800 | [diff] [blame] | 3468 | /* i2c remotes */ |
| 3469 | case SAA7134_BOARD_PINNACLE_PCTV_110i: |
| 3470 | case SAA7134_BOARD_UPMOST_PURPLE_TV: |
| 3471 | dev->has_remote = SAA7134_REMOTE_I2C; |
| 3472 | break; |
Rickard Osser | 68593af | 2006-03-11 17:14:12 -0300 | [diff] [blame] | 3473 | case SAA7134_BOARD_AVERMEDIA_A169_B: |
Michael Krufky | 12a219d | 2006-03-14 16:07:42 -0300 | [diff] [blame^] | 3474 | printk("%s: %s: dual saa713x broadcast decoders\n" |
Rickard Osser | 68593af | 2006-03-11 17:14:12 -0300 | [diff] [blame] | 3475 | "%s: Sorry, none of the inputs to this chip are supported yet.\n" |
| 3476 | "%s: Dual decoder functionality is disabled for now, use the other chip.\n", |
Michael Krufky | 12a219d | 2006-03-14 16:07:42 -0300 | [diff] [blame^] | 3477 | dev->name,card(dev).name,dev->name,dev->name); |
Rickard Osser | 68593af | 2006-03-11 17:14:12 -0300 | [diff] [blame] | 3478 | break; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3479 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3480 | return 0; |
| 3481 | } |
| 3482 | |
| 3483 | /* stuff which needs working i2c */ |
| 3484 | int saa7134_board_init2(struct saa7134_dev *dev) |
| 3485 | { |
| 3486 | unsigned char buf; |
| 3487 | int board; |
| 3488 | |
| 3489 | switch (dev->board) { |
| 3490 | case SAA7134_BOARD_BMK_MPEX_NOTUNER: |
| 3491 | case SAA7134_BOARD_BMK_MPEX_TUNER: |
| 3492 | dev->i2c_client.addr = 0x60; |
| 3493 | board = (i2c_master_recv(&dev->i2c_client,&buf,0) < 0) |
| 3494 | ? SAA7134_BOARD_BMK_MPEX_NOTUNER |
| 3495 | : SAA7134_BOARD_BMK_MPEX_TUNER; |
| 3496 | if (board == dev->board) |
| 3497 | break; |
| 3498 | dev->board = board; |
| 3499 | printk("%s: board type fixup: %s\n", dev->name, |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3500 | saa7134_boards[dev->board].name); |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3501 | dev->tuner_type = saa7134_boards[dev->board].tuner_type; |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3502 | |
| 3503 | if (TUNER_ABSENT != dev->tuner_type) { |
| 3504 | struct tuner_setup tun_setup; |
| 3505 | |
| 3506 | tun_setup.mode_mask = T_RADIO | T_ANALOG_TV | T_DIGITAL_TV; |
| 3507 | tun_setup.type = dev->tuner_type; |
| 3508 | tun_setup.addr = ADDR_UNSET; |
| 3509 | |
| 3510 | saa7134_i2c_call_clients (dev, TUNER_SET_TYPE_ADDR, &tun_setup); |
| 3511 | } |
| 3512 | break; |
Hartmut Hackmann | 2cf36ac | 2005-11-08 21:36:32 -0800 | [diff] [blame] | 3513 | case SAA7134_BOARD_MD7134: |
Mauro Carvalho Chehab | 330a115 | 2005-07-12 13:59:01 -0700 | [diff] [blame] | 3514 | { |
| 3515 | struct tuner_setup tun_setup; |
| 3516 | u8 subaddr; |
| 3517 | u8 data[3]; |
| 3518 | int ret, tuner_t; |
| 3519 | |
| 3520 | struct i2c_msg msg[] = {{.addr=0x50, .flags=0, .buf=&subaddr, .len = 1}, |
| 3521 | {.addr=0x50, .flags=I2C_M_RD, .buf=data, .len = 3}}; |
| 3522 | subaddr= 0x14; |
| 3523 | tuner_t = 0; |
| 3524 | ret = i2c_transfer(&dev->i2c_adap, msg, 2); |
| 3525 | if (ret != 2) { |
| 3526 | printk(KERN_ERR "EEPROM read failure\n"); |
| 3527 | } else if ((data[0] != 0) && (data[0] != 0xff)) { |
| 3528 | /* old config structure */ |
| 3529 | subaddr = data[0] + 2; |
| 3530 | msg[1].len = 2; |
| 3531 | i2c_transfer(&dev->i2c_adap, msg, 2); |
| 3532 | tuner_t = (data[0] << 8) + data[1]; |
| 3533 | switch (tuner_t){ |
| 3534 | case 0x0103: |
| 3535 | dev->tuner_type = TUNER_PHILIPS_PAL; |
| 3536 | break; |
| 3537 | case 0x010C: |
| 3538 | dev->tuner_type = TUNER_PHILIPS_FM1216ME_MK3; |
| 3539 | break; |
| 3540 | default: |
| 3541 | printk(KERN_ERR "%s Cant determine tuner type %x from EEPROM\n", dev->name, tuner_t); |
| 3542 | } |
| 3543 | } else if ((data[1] != 0) && (data[1] != 0xff)) { |
| 3544 | /* new config structure */ |
| 3545 | subaddr = data[1] + 1; |
| 3546 | msg[1].len = 1; |
| 3547 | i2c_transfer(&dev->i2c_adap, msg, 2); |
| 3548 | subaddr = data[0] + 1; |
| 3549 | msg[1].len = 2; |
| 3550 | i2c_transfer(&dev->i2c_adap, msg, 2); |
| 3551 | tuner_t = (data[1] << 8) + data[0]; |
| 3552 | switch (tuner_t) { |
| 3553 | case 0x0005: |
| 3554 | dev->tuner_type = TUNER_PHILIPS_FM1216ME_MK3; |
| 3555 | break; |
| 3556 | case 0x001d: |
| 3557 | dev->tuner_type = TUNER_PHILIPS_FMD1216ME_MK3; |
| 3558 | printk(KERN_INFO "%s Board has DVB-T\n", dev->name); |
| 3559 | break; |
| 3560 | default: |
| 3561 | printk(KERN_ERR "%s Cant determine tuner type %x from EEPROM\n", dev->name, tuner_t); |
| 3562 | } |
| 3563 | } else { |
| 3564 | printk(KERN_ERR "%s unexpected config structure\n", dev->name); |
| 3565 | } |
| 3566 | |
| 3567 | printk(KERN_INFO "%s Tuner type is %d\n", dev->name, dev->tuner_type); |
| 3568 | if (dev->tuner_type == TUNER_PHILIPS_FMD1216ME_MK3) { |
| 3569 | dev->tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE | TDA9887_PORT2_ACTIVE; |
| 3570 | saa7134_i2c_call_clients(dev,TDA9887_SET_CONFIG, &dev->tda9887_conf); |
| 3571 | } |
| 3572 | |
| 3573 | tun_setup.mode_mask = T_RADIO | T_ANALOG_TV | T_DIGITAL_TV; |
| 3574 | tun_setup.type = dev->tuner_type; |
| 3575 | tun_setup.addr = ADDR_UNSET; |
| 3576 | |
| 3577 | saa7134_i2c_call_clients (dev, TUNER_SET_TYPE_ADDR,&tun_setup); |
| 3578 | } |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3579 | break; |
Hartmut Hackmann | 2cf36ac | 2005-11-08 21:36:32 -0800 | [diff] [blame] | 3580 | case SAA7134_BOARD_PHILIPS_EUROPA: |
| 3581 | case SAA7134_BOARD_VIDEOMATE_DVBT_300: |
| 3582 | /* The Philips EUROPA based hybrid boards have the tuner connected through |
| 3583 | * 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] | 3584 | */ |
Hartmut Hackmann | 2cf36ac | 2005-11-08 21:36:32 -0800 | [diff] [blame] | 3585 | { |
| 3586 | struct tuner_setup tun_setup; |
| 3587 | u8 data[] = { 0x07, 0x02}; |
| 3588 | struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)}; |
| 3589 | i2c_transfer(&dev->i2c_adap, &msg, 1); |
| 3590 | |
| 3591 | tun_setup.mode_mask = T_ANALOG_TV | T_DIGITAL_TV; |
| 3592 | tun_setup.type = dev->tuner_type; |
| 3593 | tun_setup.addr = dev->tuner_addr; |
| 3594 | |
| 3595 | saa7134_i2c_call_clients (dev, TUNER_SET_TYPE_ADDR,&tun_setup); |
Mauro Carvalho Chehab | 4ac9791 | 2005-11-08 21:37:43 -0800 | [diff] [blame] | 3596 | } |
Hartmut Hackmann | 2cf36ac | 2005-11-08 21:36:32 -0800 | [diff] [blame] | 3597 | break; |
Hartmut Hackmann | 90e9df7 | 2005-11-08 21:38:42 -0800 | [diff] [blame] | 3598 | case SAA7134_BOARD_PHILIPS_TIGER: |
Peter Hartshorn | 3dfb729 | 2006-02-07 06:49:13 -0200 | [diff] [blame] | 3599 | case SAA7134_BOARD_TEVION_DVBT_220RF: |
Hartmut Hackmann | d4b0aba | 2005-11-08 21:38:44 -0800 | [diff] [blame] | 3600 | case SAA7134_BOARD_ASUSTeK_P7131_DUAL: |
Peter Hartshorn | 3dfb729 | 2006-02-07 06:49:13 -0200 | [diff] [blame] | 3601 | /* this is a hybrid board, initialize to analog mode |
| 3602 | * and configure firmware eeprom address |
| 3603 | */ |
Hartmut Hackmann | 90e9df7 | 2005-11-08 21:38:42 -0800 | [diff] [blame] | 3604 | { |
| 3605 | u8 data[] = { 0x3c, 0x33, 0x68}; |
| 3606 | struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)}; |
| 3607 | i2c_transfer(&dev->i2c_adap, &msg, 1); |
| 3608 | } |
| 3609 | break; |
Nico Sabbi | 420f32f | 2006-03-03 12:11:28 -0300 | [diff] [blame] | 3610 | case SAA7134_BOARD_FLYDVB_TRIO: |
Hartmut Hackmann | 293cdab | 2006-02-27 21:08:07 -0300 | [diff] [blame] | 3611 | { |
| 3612 | u8 data[] = { 0x3c, 0x33, 0x62}; |
| 3613 | struct i2c_msg msg = {.addr=0x09, .flags=0, .buf=data, .len = sizeof(data)}; |
| 3614 | i2c_transfer(&dev->i2c_adap, &msg, 1); |
| 3615 | } |
| 3616 | break; |
Hartmut Hackmann | df42eaf | 2006-02-07 06:49:10 -0200 | [diff] [blame] | 3617 | case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331: |
| 3618 | /* make the tda10046 find its eeprom */ |
| 3619 | { |
| 3620 | u8 data[] = { 0x3c, 0x33, 0x62}; |
| 3621 | struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)}; |
| 3622 | i2c_transfer(&dev->i2c_adap, &msg, 1); |
| 3623 | } |
| 3624 | break; |
Curt Meyers | 20b5ee5 | 2006-02-27 00:08:39 -0300 | [diff] [blame] | 3625 | case SAA7134_BOARD_KWORLD_ATSC110: |
| 3626 | { |
| 3627 | /* enable tuner */ |
| 3628 | int i; |
Michael Krufky | b9ee9ad | 2006-02-27 00:09:14 -0300 | [diff] [blame] | 3629 | static const u8 buffer [] = { 0x10,0x12,0x13,0x04,0x16,0x00,0x14,0x04,0x017,0x00 }; |
Curt Meyers | 20b5ee5 | 2006-02-27 00:08:39 -0300 | [diff] [blame] | 3630 | dev->i2c_client.addr = 0x0a; |
| 3631 | for (i = 0; i < 5; i++) |
| 3632 | if (2 != i2c_master_send(&dev->i2c_client,&buffer[i*2],2)) |
| 3633 | printk(KERN_WARNING "%s: Unable to enable tuner(%i).\n", |
| 3634 | dev->name, i); |
| 3635 | } |
| 3636 | break; |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 3637 | } |
| 3638 | return 0; |
| 3639 | } |
| 3640 | |
| 3641 | /* ----------------------------------------------------------- */ |
| 3642 | /* |
| 3643 | * Local variables: |
| 3644 | * c-basic-offset: 8 |
| 3645 | * End: |
| 3646 | */ |