blob: 98375955a84b7c42e62b34a83cf76dc358d0c52f [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
Linus Torvalds1da177e2005-04-16 15:20:36 -07002 *
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>
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -030025#include <linux/i2c.h>
26#include <linux/i2c-algo-bit.h>
Linus Torvalds1da177e2005-04-16 15:20:36 -070027
28#include "saa7134-reg.h"
29#include "saa7134.h"
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -030030#include "tuner-xc2028.h"
Michael Krufky5e453dc2006-01-09 15:32:31 -020031#include <media/v4l2-common.h>
Michael Krufky993efa72007-11-15 10:34:33 -030032#include <media/tveeprom.h>
Dmitry Belimovb34dddb2008-04-23 14:09:08 -030033#include "tea5767.h"
Linus Torvalds1da177e2005-04-16 15:20:36 -070034
35/* commly used strings */
36static char name_mute[] = "mute";
37static char name_radio[] = "Radio";
38static char name_tv[] = "Television";
39static char name_tv_mono[] = "TV (mono only)";
Stas Sergeevf438d972007-09-17 15:34:09 -030040static char name_comp[] = "Composite";
Linus Torvalds1da177e2005-04-16 15:20:36 -070041static char name_comp1[] = "Composite1";
42static char name_comp2[] = "Composite2";
43static char name_comp3[] = "Composite3";
44static char name_comp4[] = "Composite4";
45static char name_svideo[] = "S-Video";
46
47/* ------------------------------------------------------------------ */
48/* board config info */
49
50struct saa7134_board saa7134_boards[] = {
51 [SAA7134_BOARD_UNKNOWN] = {
52 .name = "UNKNOWN/GENERIC",
53 .audio_clock = 0x00187de7,
54 .tuner_type = TUNER_ABSENT,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -070055 .radio_type = UNSET,
56 .tuner_addr = ADDR_UNSET,
57 .radio_addr = ADDR_UNSET,
58
Linus Torvalds1da177e2005-04-16 15:20:36 -070059 .inputs = {{
60 .name = "default",
61 .vmux = 0,
62 .amux = LINE1,
63 }},
64 },
65 [SAA7134_BOARD_PROTEUS_PRO] = {
66 /* /me */
67 .name = "Proteus Pro [philips reference design]",
68 .audio_clock = 0x00187de7,
69 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -070070 .radio_type = UNSET,
71 .tuner_addr = ADDR_UNSET,
72 .radio_addr = ADDR_UNSET,
73
Linus Torvalds1da177e2005-04-16 15:20:36 -070074 .inputs = {{
75 .name = name_comp1,
76 .vmux = 0,
77 .amux = LINE1,
78 },{
79 .name = name_tv,
80 .vmux = 1,
81 .amux = TV,
82 .tv = 1,
83 },{
84 .name = name_tv_mono,
85 .vmux = 1,
86 .amux = LINE2,
87 .tv = 1,
88 }},
89 .radio = {
90 .name = name_radio,
91 .amux = LINE2,
92 },
93 },
94 [SAA7134_BOARD_FLYVIDEO3000] = {
95 /* "Marco d'Itri" <md@Linux.IT> */
96 .name = "LifeView FlyVIDEO3000",
97 .audio_clock = 0x00200000,
98 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -070099 .radio_type = UNSET,
100 .tuner_addr = ADDR_UNSET,
101 .radio_addr = ADDR_UNSET,
102
Linus Torvalds1da177e2005-04-16 15:20:36 -0700103 .gpiomask = 0xe000,
104 .inputs = {{
105 .name = name_tv,
106 .vmux = 1,
107 .amux = TV,
108 .gpio = 0x8000,
109 .tv = 1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700110 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -0700111 .name = name_tv_mono,
112 .vmux = 1,
113 .amux = LINE2,
114 .gpio = 0x0000,
115 .tv = 1,
116 },{
117 .name = name_comp1,
118 .vmux = 0,
119 .amux = LINE2,
120 .gpio = 0x4000,
121 },{
122 .name = name_comp2,
123 .vmux = 3,
124 .amux = LINE2,
125 .gpio = 0x4000,
126 },{
127 .name = name_svideo,
128 .vmux = 8,
129 .amux = LINE2,
130 .gpio = 0x4000,
131 }},
132 .radio = {
133 .name = name_radio,
134 .amux = LINE2,
135 .gpio = 0x2000,
136 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700137 .mute = {
138 .name = name_mute,
139 .amux = TV,
140 .gpio = 0x8000,
141 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700142 },
143 [SAA7134_BOARD_FLYVIDEO2000] = {
144 /* "TC Wan" <tcwan@cs.usm.my> */
Peter Missel10b7a902006-01-23 17:11:06 -0200145 .name = "LifeView/Typhoon FlyVIDEO2000",
Linus Torvalds1da177e2005-04-16 15:20:36 -0700146 .audio_clock = 0x00200000,
147 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700148 .radio_type = UNSET,
149 .tuner_addr = ADDR_UNSET,
150 .radio_addr = ADDR_UNSET,
151
Linus Torvalds1da177e2005-04-16 15:20:36 -0700152 .gpiomask = 0xe000,
153 .inputs = {{
154 .name = name_tv,
155 .vmux = 1,
156 .amux = LINE2,
157 .gpio = 0x0000,
158 .tv = 1,
159 },{
160 .name = name_comp1,
161 .vmux = 0,
162 .amux = LINE2,
163 .gpio = 0x4000,
164 },{
165 .name = name_comp2,
166 .vmux = 3,
167 .amux = LINE2,
168 .gpio = 0x4000,
169 },{
170 .name = name_svideo,
171 .vmux = 8,
172 .amux = LINE2,
173 .gpio = 0x4000,
174 }},
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700175 .radio = {
176 .name = name_radio,
177 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700178 .gpio = 0x2000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700179 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700180 .mute = {
181 .name = name_mute,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700182 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700183 .gpio = 0x8000,
184 },
185 },
186 [SAA7134_BOARD_FLYTVPLATINUM_MINI] = {
187 /* "Arnaud Quette" <aquette@free.fr> */
188 .name = "LifeView FlyTV Platinum Mini",
189 .audio_clock = 0x00200000,
190 .tuner_type = TUNER_PHILIPS_TDA8290,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700191 .radio_type = UNSET,
192 .tuner_addr = ADDR_UNSET,
193 .radio_addr = ADDR_UNSET,
194
Linus Torvalds1da177e2005-04-16 15:20:36 -0700195 .inputs = {{
196 .name = name_tv,
197 .vmux = 1,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -0700198 .amux = TV,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700199 .tv = 1,
200 },{
Glen Gray2d14f782005-11-08 21:36:12 -0800201 .name = name_comp1, /* Composite signal on S-Video input */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700202 .vmux = 0,
203 .amux = LINE2,
204 },{
Glen Gray2d14f782005-11-08 21:36:12 -0800205 .name = name_comp2, /* Composite input */
206 .vmux = 3,
207 .amux = LINE2,
208 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -0700209 .name = name_svideo,
210 .vmux = 8,
211 .amux = LINE2,
212 }},
213 },
214 [SAA7134_BOARD_FLYTVPLATINUM_FM] = {
215 /* LifeView FlyTV Platinum FM (LR214WF) */
216 /* "Peter Missel <peter.missel@onlinehome.de> */
Hartmut Hackmann42e6b3b2006-03-27 19:04:48 -0300217 .name = "LifeView FlyTV Platinum FM / Gold",
Linus Torvalds1da177e2005-04-16 15:20:36 -0700218 .audio_clock = 0x00200000,
219 .tuner_type = TUNER_PHILIPS_TDA8290,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700220 .radio_type = UNSET,
221 .tuner_addr = ADDR_UNSET,
222 .radio_addr = ADDR_UNSET,
223
Peter Missel6c9e7372005-05-01 08:59:05 -0700224 .gpiomask = 0x1E000, /* Set GP16 and unused 15,14,13 to Output */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700225 .inputs = {{
226 .name = name_tv,
227 .vmux = 1,
228 .amux = TV,
Peter Missel6c9e7372005-05-01 08:59:05 -0700229 .gpio = 0x10000, /* GP16=1 selects TV input */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700230 .tv = 1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700231 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -0700232/* .name = name_tv_mono,
233 .vmux = 1,
234 .amux = LINE2,
235 .gpio = 0x0000,
236 .tv = 1,
237 },{
238*/ .name = name_comp1, /* Composite signal on S-Video input */
239 .vmux = 0,
240 .amux = LINE2,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700241/* .gpio = 0x4000, */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700242 },{
243 .name = name_comp2, /* Composite input */
244 .vmux = 3,
245 .amux = LINE2,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700246/* .gpio = 0x4000, */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700247 },{
248 .name = name_svideo, /* S-Video signal on S-Video input */
249 .vmux = 8,
250 .amux = LINE2,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700251/* .gpio = 0x4000, */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700252 }},
Peter Missel6c9e7372005-05-01 08:59:05 -0700253 .radio = {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700254 .name = name_radio,
Peter Missel6c9e7372005-05-01 08:59:05 -0700255 .amux = TV,
256 .gpio = 0x00000, /* GP16=0 selects FM radio antenna */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700257 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700258 .mute = {
259 .name = name_mute,
260 .amux = TV,
261 .gpio = 0x10000,
262 },
Peter Missel6c9e7372005-05-01 08:59:05 -0700263 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700264 [SAA7134_BOARD_EMPRESS] = {
265 /* "Gert Vervoort" <gert.vervoort@philips.com> */
266 .name = "EMPRESS",
267 .audio_clock = 0x00187de7,
268 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700269 .radio_type = UNSET,
270 .tuner_addr = ADDR_UNSET,
271 .radio_addr = ADDR_UNSET,
272
Linus Torvalds1da177e2005-04-16 15:20:36 -0700273 .inputs = {{
274 .name = name_comp1,
275 .vmux = 0,
276 .amux = LINE1,
277 },{
278 .name = name_svideo,
279 .vmux = 8,
280 .amux = LINE1,
281 },{
282 .name = name_tv,
283 .vmux = 1,
284 .amux = LINE2,
285 .tv = 1,
286 }},
287 .radio = {
288 .name = name_radio,
289 .amux = LINE2,
290 },
291 .mpeg = SAA7134_MPEG_EMPRESS,
292 .video_out = CCIR656,
293 },
294 [SAA7134_BOARD_MONSTERTV] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700295 /* "K.Ohta" <alpha292@bremen.or.jp> */
296 .name = "SKNet Monster TV",
297 .audio_clock = 0x00187de7,
298 .tuner_type = TUNER_PHILIPS_NTSC_M,
299 .radio_type = UNSET,
300 .tuner_addr = ADDR_UNSET,
301 .radio_addr = ADDR_UNSET,
302
303 .inputs = {{
304 .name = name_tv,
305 .vmux = 1,
306 .amux = TV,
307 .tv = 1,
308 },{
309 .name = name_comp1,
310 .vmux = 0,
311 .amux = LINE1,
312 },{
313 .name = name_svideo,
314 .vmux = 8,
315 .amux = LINE1,
316 }},
317 .radio = {
318 .name = name_radio,
319 .amux = LINE2,
320 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700321 },
322 [SAA7134_BOARD_MD9717] = {
323 .name = "Tevion MD 9717",
324 .audio_clock = 0x00200000,
325 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700326 .radio_type = UNSET,
327 .tuner_addr = ADDR_UNSET,
328 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700329 .inputs = {{
330 .name = name_tv,
331 .vmux = 1,
332 .amux = TV,
333 .tv = 1,
334 },{
335 /* workaround for problems with normal TV sound */
336 .name = name_tv_mono,
337 .vmux = 1,
338 .amux = LINE2,
339 .tv = 1,
340 },{
341 .name = name_comp1,
Hermann Pitton4aa504a2007-11-28 21:50:26 -0300342 .vmux = 0,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700343 .amux = LINE1,
344 },{
345 .name = name_comp2,
346 .vmux = 3,
347 .amux = LINE1,
348 },{
349 .name = name_svideo,
350 .vmux = 8,
351 .amux = LINE1,
352 }},
353 .radio = {
354 .name = name_radio,
355 .amux = LINE2,
356 },
Hermann Pittoncc764662007-11-28 21:54:35 -0300357 .mute = {
358 .name = name_mute,
359 .amux = TV,
360 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700361 },
362 [SAA7134_BOARD_TVSTATION_RDS] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700363 /* Typhoon TV Tuner RDS: Art.Nr. 50694 */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700364 .name = "KNC One TV-Station RDS / Typhoon TV Tuner RDS",
365 .audio_clock = 0x00200000,
366 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700367 .radio_type = UNSET,
368 .tuner_addr = ADDR_UNSET,
369 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700370 .tda9887_conf = TDA9887_PRESENT,
371 .inputs = {{
372 .name = name_tv,
373 .vmux = 1,
374 .amux = TV,
375 .tv = 1,
376 },{
377 .name = name_tv_mono,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700378 .vmux = 1,
379 .amux = LINE2,
380 .tv = 1,
381 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -0700382
383 .name = name_svideo,
384 .vmux = 8,
385 .amux = LINE1,
386 },{
387 .name = name_comp1,
388 .vmux = 3,
389 .amux = LINE1,
390 },{
391
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700392 .name = "CVid over SVid",
393 .vmux = 0,
394 .amux = LINE1,
395 }},
Linus Torvalds1da177e2005-04-16 15:20:36 -0700396 .radio = {
397 .name = name_radio,
398 .amux = LINE2,
399 },
400 },
401 [SAA7134_BOARD_TVSTATION_DVR] = {
402 .name = "KNC One TV-Station DVR",
403 .audio_clock = 0x00200000,
404 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700405 .radio_type = UNSET,
406 .tuner_addr = ADDR_UNSET,
407 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700408 .tda9887_conf = TDA9887_PRESENT,
409 .gpiomask = 0x820000,
410 .inputs = {{
411 .name = name_tv,
412 .vmux = 1,
Rafał Bilskiaac0ca62007-06-20 05:36:26 -0300413 .amux = TV,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700414 .tv = 1,
415 .gpio = 0x20000,
416 },{
417 .name = name_svideo,
418 .vmux = 8,
419 .amux = LINE1,
420 .gpio = 0x20000,
421 },{
422 .name = name_comp1,
423 .vmux = 3,
424 .amux = LINE1,
425 .gpio = 0x20000,
426 }},
427 .radio = {
428 .name = name_radio,
429 .amux = LINE2,
430 .gpio = 0x20000,
431 },
432 .mpeg = SAA7134_MPEG_EMPRESS,
433 .video_out = CCIR656,
434 },
435 [SAA7134_BOARD_CINERGY400] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700436 .name = "Terratec Cinergy 400 TV",
437 .audio_clock = 0x00200000,
438 .tuner_type = TUNER_PHILIPS_PAL,
439 .radio_type = UNSET,
440 .tuner_addr = ADDR_UNSET,
441 .radio_addr = ADDR_UNSET,
442 .inputs = {{
443 .name = name_tv,
444 .vmux = 1,
445 .amux = TV,
446 .tv = 1,
447 },{
448 .name = name_comp1,
449 .vmux = 4,
450 .amux = LINE1,
451 },{
452 .name = name_svideo,
453 .vmux = 8,
454 .amux = LINE1,
455 },{
456 .name = name_comp2, /* CVideo over SVideo Connector */
457 .vmux = 0,
458 .amux = LINE1,
459 }}
460 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700461 [SAA7134_BOARD_MD5044] = {
462 .name = "Medion 5044",
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700463 .audio_clock = 0x00187de7, /* was: 0x00200000, */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700464 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700465 .radio_type = UNSET,
466 .tuner_addr = ADDR_UNSET,
467 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700468 .tda9887_conf = TDA9887_PRESENT,
469 .inputs = {{
470 .name = name_tv,
471 .vmux = 1,
472 .amux = TV,
473 .tv = 1,
474 },{
475 /* workaround for problems with normal TV sound */
476 .name = name_tv_mono,
477 .vmux = 1,
478 .amux = LINE2,
479 .tv = 1,
480 },{
481 .name = name_comp1,
482 .vmux = 0,
483 .amux = LINE2,
484 },{
485 .name = name_comp2,
486 .vmux = 3,
487 .amux = LINE2,
488 },{
489 .name = name_svideo,
490 .vmux = 8,
491 .amux = LINE2,
492 }},
493 .radio = {
494 .name = name_radio,
495 .amux = LINE2,
496 },
497 },
498 [SAA7134_BOARD_KWORLD] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700499 .name = "Kworld/KuroutoShikou SAA7130-TVPCI",
Linus Torvalds1da177e2005-04-16 15:20:36 -0700500 .audio_clock = 0x00187de7,
501 .tuner_type = TUNER_PHILIPS_NTSC_M,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700502 .radio_type = UNSET,
503 .tuner_addr = ADDR_UNSET,
504 .radio_addr = ADDR_UNSET,
505 .inputs = {{
506 .name = name_svideo,
507 .vmux = 8,
508 .amux = LINE1,
509 },{
510 .name = name_comp1,
511 .vmux = 3,
512 .amux = LINE1,
513 },{
514 .name = name_tv,
515 .vmux = 1,
516 .amux = LINE2,
517 .tv = 1,
518 }},
519 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700520 [SAA7134_BOARD_CINERGY600] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700521 .name = "Terratec Cinergy 600 TV",
522 .audio_clock = 0x00200000,
523 .tuner_type = TUNER_PHILIPS_PAL,
524 .radio_type = UNSET,
525 .tuner_addr = ADDR_UNSET,
526 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700527 .tda9887_conf = TDA9887_PRESENT,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700528 .inputs = {{
529 .name = name_tv,
530 .vmux = 1,
531 .amux = TV,
532 .tv = 1,
533 },{
534 .name = name_comp1,
535 .vmux = 4,
536 .amux = LINE1,
537 },{
538 .name = name_svideo,
539 .vmux = 8,
540 .amux = LINE1,
541 },{
542 .name = name_comp2, /* CVideo over SVideo Connector */
543 .vmux = 0,
544 .amux = LINE1,
545 }},
Linus Torvalds1da177e2005-04-16 15:20:36 -0700546 .radio = {
547 .name = name_radio,
548 .amux = LINE2,
Michael Krufky67ac9a42006-03-14 16:18:49 -0300549 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700550 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700551 [SAA7134_BOARD_MD7134] = {
552 .name = "Medion 7134",
Linus Torvalds1da177e2005-04-16 15:20:36 -0700553 .audio_clock = 0x00187de7,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700554 .tuner_type = TUNER_PHILIPS_FMD1216ME_MK3,
555 .radio_type = UNSET,
556 .tuner_addr = ADDR_UNSET,
557 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700558 .tda9887_conf = TDA9887_PRESENT,
559 .mpeg = SAA7134_MPEG_DVB,
560 .inputs = {{
561 .name = name_tv,
562 .vmux = 1,
563 .amux = TV,
564 .tv = 1,
565 },{
566 .name = name_comp1,
567 .vmux = 0,
568 .amux = LINE1,
569 },{
570 .name = name_svideo,
571 .vmux = 8,
572 .amux = LINE1,
573 }},
574 .radio = {
575 .name = name_radio,
576 .amux = LINE2,
Hermann Pittoncc764662007-11-28 21:54:35 -0300577 },
578 .mute = {
579 .name = name_mute,
580 .amux = TV,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700581 },
582 },
583 [SAA7134_BOARD_TYPHOON_90031] = {
584 /* aka Typhoon "TV+Radio", Art.Nr 90031 */
585 /* Tom Zoerner <tomzo at users sourceforge net> */
586 .name = "Typhoon TV+Radio 90031",
587 .audio_clock = 0x00200000,
588 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700589 .radio_type = UNSET,
590 .tuner_addr = ADDR_UNSET,
591 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700592 .tda9887_conf = TDA9887_PRESENT,
593 .inputs = {{
594 .name = name_tv,
595 .vmux = 1,
596 .amux = TV,
597 .tv = 1,
598 },{
599 .name = name_comp1,
600 .vmux = 3,
601 .amux = LINE1,
602 },{
603 .name = name_svideo,
604 .vmux = 8,
605 .amux = LINE1,
606 }},
607 .radio = {
608 .name = name_radio,
609 .amux = LINE2,
610 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700611 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700612 [SAA7134_BOARD_ELSA] = {
613 .name = "ELSA EX-VISION 300TV",
614 .audio_clock = 0x00187de7,
615 .tuner_type = TUNER_HITACHI_NTSC,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700616 .radio_type = UNSET,
617 .tuner_addr = ADDR_UNSET,
618 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700619 .inputs = {{
620 .name = name_svideo,
621 .vmux = 8,
622 .amux = LINE1,
623 },{
624 .name = name_comp1,
625 .vmux = 0,
626 .amux = LINE1,
627 },{
628 .name = name_tv,
629 .vmux = 4,
630 .amux = LINE2,
631 .tv = 1,
632 }},
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700633 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700634 [SAA7134_BOARD_ELSA_500TV] = {
635 .name = "ELSA EX-VISION 500TV",
636 .audio_clock = 0x00187de7,
637 .tuner_type = TUNER_HITACHI_NTSC,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700638 .radio_type = UNSET,
639 .tuner_addr = ADDR_UNSET,
640 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700641 .inputs = {{
642 .name = name_svideo,
643 .vmux = 7,
644 .amux = LINE1,
645 },{
646 .name = name_tv,
647 .vmux = 8,
648 .amux = TV,
649 .tv = 1,
650 },{
651 .name = name_tv_mono,
652 .vmux = 8,
653 .amux = LINE2,
654 .tv = 1,
655 }},
Linus Torvalds1da177e2005-04-16 15:20:36 -0700656 },
Tamuki Shoichid0456d12006-02-27 00:08:04 -0300657 [SAA7134_BOARD_ELSA_700TV] = {
658 .name = "ELSA EX-VISION 700TV",
659 .audio_clock = 0x00187de7,
660 .tuner_type = TUNER_HITACHI_NTSC,
661 .radio_type = UNSET,
662 .tuner_addr = ADDR_UNSET,
663 .radio_addr = ADDR_UNSET,
664 .inputs = {{
665 .name = name_tv,
666 .vmux = 4,
667 .amux = LINE2,
668 .tv = 1,
669 },{
670 .name = name_comp1,
671 .vmux = 6,
672 .amux = LINE1,
673 },{
674 .name = name_svideo,
675 .vmux = 7,
676 .amux = LINE1,
677 }},
678 .mute = {
679 .name = name_mute,
680 .amux = TV,
681 },
682 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700683 [SAA7134_BOARD_ASUSTeK_TVFM7134] = {
684 .name = "ASUS TV-FM 7134",
685 .audio_clock = 0x00187de7,
686 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
687 .radio_type = UNSET,
688 .tuner_addr = ADDR_UNSET,
689 .radio_addr = ADDR_UNSET,
690 .tda9887_conf = TDA9887_PRESENT,
691 .inputs = {{
692 .name = name_tv,
693 .vmux = 1,
694 .amux = TV,
695 .tv = 1,
696 },{
697 .name = name_comp1,
698 .vmux = 4,
699 .amux = LINE2,
700 },{
701 .name = name_svideo,
702 .vmux = 6,
703 .amux = LINE2,
704 }},
705 .radio = {
706 .name = name_radio,
707 .amux = LINE1,
708 },
709 },
710 [SAA7134_BOARD_ASUSTeK_TVFM7135] = {
711 .name = "ASUS TV-FM 7135",
712 .audio_clock = 0x00187de7,
713 .tuner_type = TUNER_PHILIPS_TDA8290,
714 .radio_type = UNSET,
715 .tuner_addr = ADDR_UNSET,
716 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700717 .gpiomask = 0x200000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700718 .inputs = {{
719 .name = name_tv,
720 .vmux = 1,
721 .amux = TV,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700722 .gpio = 0x0000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700723 .tv = 1,
724 },{
725 .name = name_comp1,
726 .vmux = 4,
727 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700728 .gpio = 0x0000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700729 },{
730 .name = name_svideo,
731 .vmux = 6,
732 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700733 .gpio = 0x0000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700734 }},
735 .radio = {
736 .name = name_radio,
737 .amux = TV,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700738 .gpio = 0x200000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700739 },
740 .mute = {
741 .name = name_mute,
742 .gpio = 0x0000,
743 },
744
Linus Torvalds1da177e2005-04-16 15:20:36 -0700745 },
746 [SAA7134_BOARD_VA1000POWER] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700747 .name = "AOPEN VA1000 POWER",
Linus Torvalds1da177e2005-04-16 15:20:36 -0700748 .audio_clock = 0x00187de7,
749 .tuner_type = TUNER_PHILIPS_NTSC,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700750 .radio_type = UNSET,
751 .tuner_addr = ADDR_UNSET,
752 .radio_addr = ADDR_UNSET,
753 .inputs = {{
754 .name = name_svideo,
755 .vmux = 8,
756 .amux = LINE1,
757 },{
758 .name = name_comp1,
759 .vmux = 3,
760 .amux = LINE1,
761 },{
762 .name = name_tv,
763 .vmux = 1,
764 .amux = LINE2,
765 .tv = 1,
766 }},
Linus Torvalds1da177e2005-04-16 15:20:36 -0700767 },
768 [SAA7134_BOARD_10MOONSTVMASTER] = {
769 /* "lilicheng" <llc@linuxfans.org> */
770 .name = "10MOONS PCI TV CAPTURE CARD",
771 .audio_clock = 0x00200000,
772 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700773 .radio_type = UNSET,
774 .tuner_addr = ADDR_UNSET,
775 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700776 .gpiomask = 0xe000,
777 .inputs = {{
778 .name = name_tv,
779 .vmux = 1,
780 .amux = LINE2,
781 .gpio = 0x0000,
782 .tv = 1,
783 },{
784 .name = name_comp1,
785 .vmux = 0,
786 .amux = LINE2,
787 .gpio = 0x4000,
788 },{
789 .name = name_comp2,
790 .vmux = 3,
791 .amux = LINE2,
792 .gpio = 0x4000,
793 },{
794 .name = name_svideo,
795 .vmux = 8,
796 .amux = LINE2,
797 .gpio = 0x4000,
798 }},
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700799 .radio = {
800 .name = name_radio,
801 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700802 .gpio = 0x2000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700803 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700804 .mute = {
805 .name = name_mute,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700806 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700807 .gpio = 0x8000,
808 },
809 },
810 [SAA7134_BOARD_BMK_MPEX_NOTUNER] = {
811 /* "Andrew de Quincey" <adq@lidskialf.net> */
812 .name = "BMK MPEX No Tuner",
813 .audio_clock = 0x200000,
814 .tuner_type = TUNER_ABSENT,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700815 .radio_type = UNSET,
816 .tuner_addr = ADDR_UNSET,
817 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700818 .inputs = {{
819 .name = name_comp1,
820 .vmux = 4,
821 .amux = LINE1,
822 },{
823 .name = name_comp2,
824 .vmux = 3,
825 .amux = LINE1,
826 },{
827 .name = name_comp3,
828 .vmux = 0,
829 .amux = LINE1,
830 },{
831 .name = name_comp4,
832 .vmux = 1,
833 .amux = LINE1,
834 },{
835 .name = name_svideo,
836 .vmux = 8,
837 .amux = LINE1,
838 }},
839 .mpeg = SAA7134_MPEG_EMPRESS,
840 .video_out = CCIR656,
841 },
842 [SAA7134_BOARD_VIDEOMATE_TV] = {
843 .name = "Compro VideoMate TV",
844 .audio_clock = 0x00187de7,
845 .tuner_type = TUNER_PHILIPS_NTSC_M,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700846 .radio_type = UNSET,
847 .tuner_addr = ADDR_UNSET,
848 .radio_addr = ADDR_UNSET,
849 .inputs = {{
850 .name = name_svideo,
851 .vmux = 8,
852 .amux = LINE1,
853 },{
854 .name = name_comp1,
855 .vmux = 3,
856 .amux = LINE1,
857 },{
858 .name = name_tv,
859 .vmux = 1,
860 .amux = LINE2,
861 .tv = 1,
862 }},
863 },
864 [SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS] = {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700865 .name = "Compro VideoMate TV Gold+",
866 .audio_clock = 0x00187de7,
867 .tuner_type = TUNER_PHILIPS_NTSC_M,
868 .gpiomask = 0x800c0000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700869 .radio_type = UNSET,
870 .tuner_addr = ADDR_UNSET,
871 .radio_addr = ADDR_UNSET,
872 .inputs = {{
873 .name = name_svideo,
874 .vmux = 8,
875 .amux = LINE1,
876 .gpio = 0x06c00012,
877 },{
878 .name = name_comp1,
879 .vmux = 3,
880 .amux = LINE1,
881 .gpio = 0x0ac20012,
882 },{
883 .name = name_tv,
884 .vmux = 1,
885 .amux = LINE2,
886 .gpio = 0x08c20012,
887 .tv = 1,
888 }}, /* radio and probably mute is missing */
889 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700890 [SAA7134_BOARD_CRONOS_PLUS] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700891 /*
892 gpio pins:
893 0 .. 3 BASE_ID
894 4 .. 7 PROTECT_ID
895 8 .. 11 USER_OUT
896 12 .. 13 USER_IN
897 14 .. 15 VIDIN_SEL
898 */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700899 .name = "Matrox CronosPlus",
900 .tuner_type = TUNER_ABSENT,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700901 .radio_type = UNSET,
902 .tuner_addr = ADDR_UNSET,
903 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700904 .gpiomask = 0xcf00,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700905 .inputs = {{
906 .name = name_comp1,
907 .vmux = 0,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700908 .gpio = 2 << 14,
909 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700910 .name = name_comp2,
911 .vmux = 0,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700912 .gpio = 1 << 14,
913 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700914 .name = name_comp3,
915 .vmux = 0,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700916 .gpio = 0 << 14,
917 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700918 .name = name_comp4,
919 .vmux = 0,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700920 .gpio = 3 << 14,
921 },{
922 .name = name_svideo,
923 .vmux = 8,
924 .gpio = 2 << 14,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700925 }},
926 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700927 [SAA7134_BOARD_MD2819] = {
928 .name = "AverMedia M156 / Medion 2819",
929 .audio_clock = 0x00187de7,
930 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700931 .radio_type = UNSET,
932 .tuner_addr = ADDR_UNSET,
933 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700934 .tda9887_conf = TDA9887_PRESENT,
Hermann Pittonad1ef132008-01-20 19:32:39 -0300935 .gpiomask = 0x03,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700936 .inputs = {{
937 .name = name_tv,
938 .vmux = 1,
939 .amux = TV,
940 .tv = 1,
Hermann Pittonad1ef132008-01-20 19:32:39 -0300941 .gpio = 0x00,
942 }, {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700943 .name = name_comp1,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700944 .vmux = 3,
Hermann Pittonad1ef132008-01-20 19:32:39 -0300945 .amux = LINE1,
946 .gpio = 0x02,
947 }, {
948 .name = name_comp2,
949 .vmux = 0,
950 .amux = LINE1,
951 .gpio = 0x02,
952 }, {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700953 .name = name_svideo,
954 .vmux = 8,
Hermann Pittonad1ef132008-01-20 19:32:39 -0300955 .amux = LINE1,
956 .gpio = 0x02,
957 } },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700958 .radio = {
959 .name = name_radio,
Hermann Pittonad1ef132008-01-20 19:32:39 -0300960 .amux = LINE1,
961 .gpio = 0x01,
962 },
963 .mute = {
964 .name = name_mute,
965 .amux = TV,
966 .gpio = 0x00,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700967 },
968 },
969 [SAA7134_BOARD_BMK_MPEX_TUNER] = {
970 /* "Greg Wickham <greg.wickham@grangenet.net> */
971 .name = "BMK MPEX Tuner",
972 .audio_clock = 0x200000,
973 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700974 .radio_type = UNSET,
975 .tuner_addr = ADDR_UNSET,
976 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700977 .inputs = {{
978 .name = name_comp1,
979 .vmux = 1,
980 .amux = LINE1,
981 },{
982 .name = name_svideo,
983 .vmux = 8,
984 .amux = LINE1,
985 },{
986 .name = name_tv,
987 .vmux = 3,
988 .amux = TV,
989 .tv = 1,
990 }},
991 .mpeg = SAA7134_MPEG_EMPRESS,
992 .video_out = CCIR656,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700993 },
994 [SAA7134_BOARD_ASUSTEK_TVFM7133] = {
995 .name = "ASUS TV-FM 7133",
996 .audio_clock = 0x00187de7,
997 /* probably wrong, the 7133 one is the NTSC version ...
998 * .tuner_type = TUNER_PHILIPS_FM1236_MK3 */
999 .tuner_type = TUNER_LG_NTSC_NEW_TAPC,
1000 .radio_type = UNSET,
1001 .tuner_addr = ADDR_UNSET,
1002 .radio_addr = ADDR_UNSET,
1003 .tda9887_conf = TDA9887_PRESENT,
1004 .inputs = {{
1005 .name = name_tv,
1006 .vmux = 1,
1007 .amux = TV,
1008 .tv = 1,
1009
Linus Torvalds1da177e2005-04-16 15:20:36 -07001010 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001011 .name = name_comp1,
1012 .vmux = 4,
1013 .amux = LINE2,
1014 },{
1015 .name = name_svideo,
1016 .vmux = 6,
1017 .amux = LINE2,
1018 }},
1019 .radio = {
1020 .name = name_radio,
1021 .amux = LINE1,
1022 },
1023 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001024 [SAA7134_BOARD_PINNACLE_PCTV_STEREO] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001025 .name = "Pinnacle PCTV Stereo (saa7134)",
1026 .audio_clock = 0x00187de7,
1027 .tuner_type = TUNER_MT2032,
1028 .radio_type = UNSET,
1029 .tuner_addr = ADDR_UNSET,
1030 .radio_addr = ADDR_UNSET,
Hartmut Hackmanndf8cf702006-03-03 12:09:26 -03001031 .tda9887_conf = TDA9887_PRESENT | TDA9887_INTERCARRIER | TDA9887_PORT2_INACTIVE,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001032 .inputs = {{
1033 .name = name_tv,
1034 .vmux = 3,
1035 .amux = TV,
1036 .tv = 1,
1037 },{
1038 .name = name_comp1,
1039 .vmux = 0,
1040 .amux = LINE2,
1041 },{
1042 .name = name_comp2,
1043 .vmux = 1,
1044 .amux = LINE2,
1045 },{
1046 .name = name_svideo,
1047 .vmux = 8,
1048 .amux = LINE2,
1049 }},
1050 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001051 [SAA7134_BOARD_MANLI_MTV002] = {
1052 /* Ognjen Nastic <ognjen@logosoft.ba> */
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03001053 .name = "Manli MuchTV M-TV002",
Linus Torvalds1da177e2005-04-16 15:20:36 -07001054 .audio_clock = 0x00200000,
1055 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001056 .radio_type = UNSET,
1057 .tuner_addr = ADDR_UNSET,
1058 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001059 .inputs = {{
1060 .name = name_svideo,
1061 .vmux = 8,
1062 .amux = LINE1,
1063 },{
1064 .name = name_comp1,
1065 .vmux = 1,
1066 .amux = LINE1,
1067 },{
1068 .name = name_tv,
1069 .vmux = 3,
1070 .amux = LINE2,
1071 .tv = 1,
1072 }},
1073 .radio = {
1074 .name = name_radio,
1075 .amux = LINE2,
1076 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001077 },
1078 [SAA7134_BOARD_MANLI_MTV001] = {
1079 /* Ognjen Nastic <ognjen@logosoft.ba> UNTESTED */
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03001080 .name = "Manli MuchTV M-TV001",
Linus Torvalds1da177e2005-04-16 15:20:36 -07001081 .audio_clock = 0x00200000,
1082 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001083 .radio_type = UNSET,
1084 .tuner_addr = ADDR_UNSET,
1085 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001086 .inputs = {{
1087 .name = name_svideo,
1088 .vmux = 8,
1089 .amux = LINE1,
1090 },{
1091 .name = name_comp1,
1092 .vmux = 1,
1093 .amux = LINE1,
1094 },{
1095 .name = name_tv,
1096 .vmux = 3,
1097 .amux = LINE2,
1098 .tv = 1,
1099 }},
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001100 .mute = {
1101 .name = name_mute,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001102 .amux = LINE1,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001103 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001104 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001105 [SAA7134_BOARD_TG3000TV] = {
1106 /* TransGear 3000TV */
1107 .name = "Nagase Sangyo TransGear 3000TV",
1108 .audio_clock = 0x00187de7,
1109 .tuner_type = TUNER_PHILIPS_NTSC_M,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001110 .radio_type = UNSET,
1111 .tuner_addr = ADDR_UNSET,
1112 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001113 .inputs = {{
1114 .name = name_tv,
1115 .vmux = 1,
1116 .amux = LINE2,
1117 .tv = 1,
1118 },{
1119 .name = name_comp1,
1120 .vmux = 3,
1121 .amux = LINE2,
1122 },{
1123 .name = name_svideo,
1124 .vmux = 8,
1125 .amux = LINE2,
1126 }},
1127 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001128 [SAA7134_BOARD_ECS_TVP3XP] = {
1129 .name = "Elitegroup ECS TVP3XP FM1216 Tuner Card(PAL-BG,FM) ",
1130 .audio_clock = 0x187de7, /* xtal 32.1 MHz */
1131 .tuner_type = TUNER_PHILIPS_PAL,
1132 .radio_type = UNSET,
1133 .tuner_addr = ADDR_UNSET,
1134 .radio_addr = ADDR_UNSET,
1135 .inputs = {{
1136 .name = name_tv,
1137 .vmux = 1,
1138 .amux = TV,
1139 .tv = 1,
1140 },{
1141 .name = name_tv_mono,
1142 .vmux = 1,
1143 .amux = LINE2,
1144 .tv = 1,
1145 },{
1146 .name = name_comp1,
1147 .vmux = 3,
1148 .amux = LINE1,
1149 },{
1150 .name = name_svideo,
1151 .vmux = 8,
1152 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001153 },{
1154 .name = "CVid over SVid",
1155 .vmux = 0,
1156 .amux = LINE1,
1157 }},
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001158 .radio = {
1159 .name = name_radio,
1160 .amux = LINE2,
1161 },
1162 },
1163 [SAA7134_BOARD_ECS_TVP3XP_4CB5] = {
1164 .name = "Elitegroup ECS TVP3XP FM1236 Tuner Card (NTSC,FM)",
1165 .audio_clock = 0x187de7,
1166 .tuner_type = TUNER_PHILIPS_NTSC,
1167 .radio_type = UNSET,
1168 .tuner_addr = ADDR_UNSET,
1169 .radio_addr = ADDR_UNSET,
1170 .inputs = {{
1171 .name = name_tv,
1172 .vmux = 1,
1173 .amux = TV,
1174 .tv = 1,
1175 },{
1176 .name = name_tv_mono,
1177 .vmux = 1,
1178 .amux = LINE2,
1179 .tv = 1,
1180 },{
1181 .name = name_comp1,
1182 .vmux = 3,
1183 .amux = LINE1,
1184 },{
1185 .name = name_svideo,
1186 .vmux = 8,
1187 .amux = LINE1,
1188 },{
1189 .name = "CVid over SVid",
1190 .vmux = 0,
1191 .amux = LINE1,
1192 }},
1193 .radio = {
1194 .name = name_radio,
1195 .amux = LINE2,
1196 },
1197 },
Simon Farnsworthb39423a2007-05-01 10:01:20 -03001198 [SAA7134_BOARD_ECS_TVP3XP_4CB6] = {
1199 /* Barry Scott <barry.scott@onelan.co.uk> */
1200 .name = "Elitegroup ECS TVP3XP FM1246 Tuner Card (PAL,FM)",
1201 .audio_clock = 0x187de7,
1202 .tuner_type = TUNER_PHILIPS_PAL_I,
1203 .radio_type = UNSET,
1204 .tuner_addr = ADDR_UNSET,
1205 .radio_addr = ADDR_UNSET,
1206 .inputs = {{
1207 .name = name_tv,
1208 .vmux = 1,
1209 .amux = TV,
1210 .tv = 1,
1211 },{
1212 .name = name_tv_mono,
1213 .vmux = 1,
1214 .amux = LINE2,
1215 .tv = 1,
1216 },{
1217 .name = name_comp1,
1218 .vmux = 3,
1219 .amux = LINE1,
1220 },{
1221 .name = name_svideo,
1222 .vmux = 8,
1223 .amux = LINE1,
1224 },{
1225 .name = "CVid over SVid",
1226 .vmux = 0,
1227 .amux = LINE1,
1228 }},
1229 .radio = {
1230 .name = name_radio,
1231 .amux = LINE2,
1232 },
1233 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001234 [SAA7134_BOARD_AVACSSMARTTV] = {
1235 /* Roman Pszonczenko <romka@kolos.math.uni.lodz.pl> */
1236 .name = "AVACS SmartTV",
1237 .audio_clock = 0x00187de7,
1238 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001239 .radio_type = UNSET,
1240 .tuner_addr = ADDR_UNSET,
1241 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001242 .inputs = {{
1243 .name = name_tv,
1244 .vmux = 1,
1245 .amux = TV,
1246 .tv = 1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001247 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07001248 .name = name_tv_mono,
1249 .vmux = 1,
1250 .amux = LINE2,
1251 .tv = 1,
1252 },{
1253 .name = name_comp1,
1254 .vmux = 0,
1255 .amux = LINE2,
1256 },{
1257 .name = name_comp2,
1258 .vmux = 3,
1259 .amux = LINE2,
1260 },{
1261 .name = name_svideo,
1262 .vmux = 8,
1263 .amux = LINE2,
1264 }},
1265 .radio = {
1266 .name = name_radio,
1267 .amux = LINE2,
1268 .gpio = 0x200000,
1269 },
1270 },
1271 [SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER] = {
1272 /* Michael Smith <msmith@cbnco.com> */
1273 .name = "AVerMedia DVD EZMaker",
1274 .audio_clock = 0x00187de7,
1275 .tuner_type = TUNER_ABSENT,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001276 .radio_type = UNSET,
1277 .tuner_addr = ADDR_UNSET,
1278 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001279 .inputs = {{
1280 .name = name_comp1,
1281 .vmux = 3,
1282 },{
1283 .name = name_svideo,
1284 .vmux = 8,
1285 }},
1286 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001287 [SAA7134_BOARD_NOVAC_PRIMETV7133] = {
1288 /* toshii@netbsd.org */
1289 .name = "Noval Prime TV 7133",
1290 .audio_clock = 0x00200000,
1291 .tuner_type = TUNER_ALPS_TSBH1_NTSC,
1292 .radio_type = UNSET,
1293 .tuner_addr = ADDR_UNSET,
1294 .radio_addr = ADDR_UNSET,
1295 .inputs = {{
1296 .name = name_comp1,
1297 .vmux = 3,
1298 },{
1299 .name = name_tv,
1300 .vmux = 1,
1301 .amux = TV,
1302 .tv = 1,
1303 },{
1304 .name = name_svideo,
1305 .vmux = 8,
1306 }},
1307 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001308 [SAA7134_BOARD_AVERMEDIA_STUDIO_305] = {
1309 .name = "AverMedia AverTV Studio 305",
1310 .audio_clock = 0x00187de7,
1311 .tuner_type = TUNER_PHILIPS_FM1256_IH3,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001312 .radio_type = UNSET,
1313 .tuner_addr = ADDR_UNSET,
1314 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001315 .tda9887_conf = TDA9887_PRESENT,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001316 .inputs = {{
1317 .name = name_tv,
1318 .vmux = 1,
1319 .amux = LINE2,
1320 .tv = 1,
1321 },{
1322 .name = name_comp1,
1323 .vmux = 0,
1324 .amux = LINE2,
1325 },{
1326 .name = name_comp2,
1327 .vmux = 3,
1328 .amux = LINE2,
1329 },{
1330 .name = name_svideo,
1331 .vmux = 8,
1332 .amux = LINE2,
1333 }},
1334 .radio = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001335 .name = name_radio,
1336 .amux = LINE2,
1337 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001338 .mute = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001339 .name = name_mute,
1340 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001341 },
1342 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001343 [SAA7134_BOARD_UPMOST_PURPLE_TV] = {
1344 .name = "UPMOST PURPLE TV",
1345 .audio_clock = 0x00187de7,
1346 .tuner_type = TUNER_PHILIPS_FM1236_MK3,
1347 .radio_type = UNSET,
1348 .tuner_addr = ADDR_UNSET,
1349 .radio_addr = ADDR_UNSET,
1350 .tda9887_conf = TDA9887_PRESENT,
1351 .inputs = {{
1352 .name = name_tv,
1353 .vmux = 7,
1354 .amux = TV,
1355 .tv = 1,
1356 },{
1357 .name = name_svideo,
1358 .vmux = 7,
1359 .amux = LINE1,
1360 }},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001361 },
1362 [SAA7134_BOARD_ITEMS_MTV005] = {
1363 /* Norman Jonas <normanjonas@arcor.de> */
1364 .name = "Items MuchTV Plus / IT-005",
1365 .audio_clock = 0x00187de7,
1366 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001367 .radio_type = UNSET,
1368 .tuner_addr = ADDR_UNSET,
1369 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001370 .inputs = {{
1371 .name = name_tv,
1372 .vmux = 3,
1373 .amux = TV,
1374 .tv = 1,
1375 },{
1376 .name = name_comp1,
1377 .vmux = 1,
1378 .amux = LINE1,
1379 },{
1380 .name = name_svideo,
1381 .vmux = 8,
1382 .amux = LINE1,
1383 }},
1384 .radio = {
1385 .name = name_radio,
1386 .amux = LINE2,
1387 },
1388 },
1389 [SAA7134_BOARD_CINERGY200] = {
1390 .name = "Terratec Cinergy 200 TV",
1391 .audio_clock = 0x00200000,
1392 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001393 .radio_type = UNSET,
1394 .tuner_addr = ADDR_UNSET,
1395 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001396 .inputs = {{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001397 .name = name_tv,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001398 .vmux = 1,
1399 .amux = LINE2,
1400 .tv = 1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001401 },{
1402 .name = name_comp1,
1403 .vmux = 4,
1404 .amux = LINE1,
1405 },{
1406 .name = name_svideo,
1407 .vmux = 8,
1408 .amux = LINE1,
1409 },{
1410 .name = name_comp2, /* CVideo over SVideo Connector */
1411 .vmux = 0,
1412 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001413 }},
1414 .mute = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001415 .name = name_mute,
1416 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001417 },
1418 },
1419 [SAA7134_BOARD_VIDEOMATE_TV_PVR] = {
1420 /* Alain St-Denis <alain@topaze.homeip.net> */
1421 .name = "Compro VideoMate TV PVR/FM",
1422 .audio_clock = 0x00187de7,
1423 .tuner_type = TUNER_PHILIPS_NTSC_M,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001424 .radio_type = UNSET,
1425 .tuner_addr = ADDR_UNSET,
1426 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001427 .gpiomask = 0x808c0080,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001428 .inputs = {{
1429 .name = name_svideo,
1430 .vmux = 8,
1431 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001432 .gpio = 0x00080,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001433 },{
1434 .name = name_comp1,
1435 .vmux = 3,
1436 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001437 .gpio = 0x00080,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001438 },{
1439 .name = name_tv,
1440 .vmux = 1,
1441 .amux = LINE2_LEFT,
1442 .tv = 1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001443 .gpio = 0x00080,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001444 }},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001445 .radio = {
1446 .name = name_radio,
1447 .amux = LINE2,
1448 .gpio = 0x80000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001449 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001450 .mute = {
1451 .name = name_mute,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001452 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001453 .gpio = 0x40000,
1454 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001455 },
1456 [SAA7134_BOARD_SABRENT_SBTTVFM] = {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001457 /* Michael Rodriguez-Torrent <mrtorrent@asu.edu> */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001458 .name = "Sabrent SBT-TVFM (saa7130)",
1459 .audio_clock = 0x00187de7,
1460 .tuner_type = TUNER_PHILIPS_NTSC_M,
1461 .radio_type = UNSET,
1462 .tuner_addr = ADDR_UNSET,
1463 .radio_addr = ADDR_UNSET,
1464 .inputs = {{
Linus Torvalds1da177e2005-04-16 15:20:36 -07001465 .name = name_comp1,
1466 .vmux = 1,
Mauro Carvalho Chehab6a989d72005-09-09 13:03:57 -07001467 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001468 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001469 .name = name_tv,
1470 .vmux = 3,
1471 .amux = LINE2,
1472 .tv = 1,
1473 },{
1474 .name = name_svideo,
1475 .vmux = 8,
Mauro Carvalho Chehab6a989d72005-09-09 13:03:57 -07001476 .amux = LINE1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001477 }},
1478 .radio = {
1479 .name = name_radio,
1480 .amux = LINE2,
1481 },
1482 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001483 [SAA7134_BOARD_ZOLID_XPERT_TV7134] = {
1484 /* Helge Jensen <helge.jensen@slog.dk> */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001485 .name = ":Zolid Xpert TV7134",
Linus Torvalds1da177e2005-04-16 15:20:36 -07001486 .audio_clock = 0x00187de7,
1487 .tuner_type = TUNER_PHILIPS_NTSC,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001488 .radio_type = UNSET,
1489 .tuner_addr = ADDR_UNSET,
1490 .radio_addr = ADDR_UNSET,
1491 .inputs = {{
Linus Torvalds1da177e2005-04-16 15:20:36 -07001492 .name = name_svideo,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001493 .vmux = 8,
1494 .amux = LINE1,
1495 },{
1496 .name = name_comp1,
1497 .vmux = 3,
1498 .amux = LINE1,
1499 },{
1500 .name = name_tv,
1501 .vmux = 1,
1502 .amux = LINE2,
1503 .tv = 1,
1504 }},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001505 },
1506 [SAA7134_BOARD_EMPIRE_PCI_TV_RADIO_LE] = {
1507 /* "Matteo Az" <matte.az@nospam.libero.it> ;-) */
1508 .name = "Empire PCI TV-Radio LE",
1509 .audio_clock = 0x00187de7,
1510 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001511 .radio_type = UNSET,
1512 .tuner_addr = ADDR_UNSET,
1513 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001514 .gpiomask = 0x4000,
1515 .inputs = {{
1516 .name = name_tv_mono,
1517 .vmux = 1,
1518 .amux = LINE2,
1519 .gpio = 0x8000,
1520 .tv = 1,
1521 },{
1522 .name = name_comp1,
1523 .vmux = 3,
1524 .amux = LINE1,
1525 .gpio = 0x8000,
1526 },{
1527 .name = name_svideo,
1528 .vmux = 6,
1529 .amux = LINE1,
1530 .gpio = 0x8000,
1531 }},
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001532 .radio = {
1533 .name = name_radio,
1534 .amux = LINE1,
1535 .gpio = 0x8000,
1536 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001537 .mute = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001538 .name = name_mute,
1539 .amux = TV,
1540 .gpio =0x8000,
1541 }
Linus Torvalds1da177e2005-04-16 15:20:36 -07001542 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001543 [SAA7134_BOARD_AVERMEDIA_STUDIO_307] = {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001544 /*
1545 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1546 Lots of thanks to Andrey Zolotarev <zolotarev_andrey@mail.ru>
1547 */
1548 .name = "Avermedia AVerTV Studio 307",
1549 .audio_clock = 0x00187de7,
1550 .tuner_type = TUNER_PHILIPS_FM1256_IH3,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001551 .radio_type = UNSET,
1552 .tuner_addr = ADDR_UNSET,
1553 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001554 .tda9887_conf = TDA9887_PRESENT,
1555 .gpiomask = 0x03,
1556 .inputs = {{
1557 .name = name_tv,
1558 .vmux = 1,
1559 .amux = TV,
1560 .tv = 1,
1561 .gpio = 0x00,
1562 },{
Stas Sergeevf438d972007-09-17 15:34:09 -03001563 .name = name_comp,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001564 .vmux = 3,
Stas Sergeevf5e4fee2007-09-02 03:56:18 -03001565 .amux = LINE1,
1566 .gpio = 0x02,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001567 },{
1568 .name = name_svideo,
1569 .vmux = 8,
Stas Sergeevf5e4fee2007-09-02 03:56:18 -03001570 .amux = LINE1,
1571 .gpio = 0x02,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001572 }},
1573 .radio = {
1574 .name = name_radio,
1575 .amux = LINE1,
1576 .gpio = 0x01,
1577 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001578 .mute = {
1579 .name = name_mute,
1580 .amux = LINE1,
1581 .gpio = 0x00,
1582 },
1583 },
1584 [SAA7134_BOARD_AVERMEDIA_GO_007_FM] = {
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001585 .name = "Avermedia AVerTV GO 007 FM",
1586 .audio_clock = 0x00187de7,
1587 .tuner_type = TUNER_PHILIPS_TDA8290,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001588 .radio_type = UNSET,
1589 .tuner_addr = ADDR_UNSET,
1590 .radio_addr = ADDR_UNSET,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001591 .gpiomask = 0x00300003,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001592 /* .gpiomask = 0x8c240003, */
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001593 .inputs = {{
1594 .name = name_tv,
1595 .vmux = 1,
1596 .amux = TV,
1597 .tv = 1,
1598 .gpio = 0x01,
1599 },{
1600 .name = name_comp1,
1601 .vmux = 0,
Damian Minkovfbc84082007-03-29 08:47:39 -03001602 .amux = LINE1,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001603 .gpio = 0x02,
1604 },{
1605 .name = name_svideo,
1606 .vmux = 6,
Damian Minkovfbc84082007-03-29 08:47:39 -03001607 .amux = LINE1,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001608 .gpio = 0x02,
1609 }},
1610 .radio = {
1611 .name = name_radio,
1612 .amux = LINE1,
1613 .gpio = 0x00300001,
1614 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001615 .mute = {
1616 .name = name_mute,
1617 .amux = TV,
1618 .gpio = 0x01,
1619 },
1620 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001621 [SAA7134_BOARD_AVERMEDIA_CARDBUS] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001622 /* Kees.Blom@cwi.nl */
1623 .name = "AVerMedia Cardbus TV/Radio (E500)",
1624 .audio_clock = 0x187de7,
1625 .tuner_type = TUNER_PHILIPS_TDA8290,
1626 .radio_type = UNSET,
1627 .tuner_addr = ADDR_UNSET,
1628 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001629 .inputs = {{
1630 .name = name_tv,
1631 .vmux = 1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001632 .amux = TV,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001633 .tv = 1,
1634 },{
1635 .name = name_comp1,
1636 .vmux = 3,
1637 .amux = LINE2,
1638 },{
1639 .name = name_svideo,
1640 .vmux = 8,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001641 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001642 }},
1643 .radio = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001644 .name = name_radio,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001645 .amux = LINE1,
1646 },
1647 },
1648 [SAA7134_BOARD_CINERGY400_CARDBUS] = {
1649 .name = "Terratec Cinergy 400 mobile",
1650 .audio_clock = 0x187de7,
1651 .tuner_type = TUNER_ALPS_TSBE5_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001652 .radio_type = UNSET,
1653 .tuner_addr = ADDR_UNSET,
1654 .radio_addr = ADDR_UNSET,
1655 .tda9887_conf = TDA9887_PRESENT,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001656 .inputs = {{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001657 .name = name_tv,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001658 .vmux = 1,
1659 .amux = TV,
1660 .tv = 1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001661 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07001662 .name = name_tv_mono,
1663 .vmux = 1,
1664 .amux = LINE2,
1665 .tv = 1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001666 },{
1667 .name = name_comp1,
1668 .vmux = 3,
1669 .amux = LINE1,
1670 },{
1671 .name = name_svideo,
1672 .vmux = 8,
1673 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001674 }},
1675 },
1676 [SAA7134_BOARD_CINERGY600_MK3] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001677 .name = "Terratec Cinergy 600 TV MK3",
1678 .audio_clock = 0x00200000,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001679 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001680 .radio_type = UNSET,
1681 .tuner_addr = ADDR_UNSET,
1682 .radio_addr = ADDR_UNSET,
1683 .tda9887_conf = TDA9887_PRESENT,
1684 .inputs = {{
1685 .name = name_tv,
1686 .vmux = 1,
1687 .amux = TV,
1688 .tv = 1,
1689 },{
1690 .name = name_comp1,
1691 .vmux = 4,
1692 .amux = LINE1,
1693 },{
1694 .name = name_svideo,
1695 .vmux = 8,
1696 .amux = LINE1,
1697 },{
1698 .name = name_comp2, /* CVideo over SVideo Connector */
1699 .vmux = 0,
1700 .amux = LINE1,
1701 }},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001702 .radio = {
1703 .name = name_radio,
1704 .amux = LINE2,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001705 },
1706 },
1707 [SAA7134_BOARD_VIDEOMATE_GOLD_PLUS] = {
1708 /* Dylan Walkden <dylan_walkden@hotmail.com> */
1709 .name = "Compro VideoMate Gold+ Pal",
1710 .audio_clock = 0x00187de7,
1711 .tuner_type = TUNER_PHILIPS_PAL,
1712 .radio_type = UNSET,
1713 .tuner_addr = ADDR_UNSET,
1714 .radio_addr = ADDR_UNSET,
1715 .gpiomask = 0x1ce780,
1716 .inputs = {{
1717 .name = name_svideo,
1718 .vmux = 0, /* CVideo over SVideo Connector - ok? */
1719 .amux = LINE1,
1720 .gpio = 0x008080,
1721 },{
1722 .name = name_comp1,
1723 .vmux = 3,
1724 .amux = LINE1,
1725 .gpio = 0x008080,
1726 },{
1727 .name = name_tv,
1728 .vmux = 1,
1729 .amux = TV,
1730 .tv = 1,
1731 .gpio = 0x008080,
1732 }},
1733 .radio = {
1734 .name = name_radio,
1735 .amux = LINE2,
1736 .gpio = 0x80000,
1737 },
1738 .mute = {
1739 .name = name_mute,
1740 .amux = LINE2,
1741 .gpio = 0x0c8000,
1742 },
1743 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001744 [SAA7134_BOARD_PINNACLE_300I_DVBT_PAL] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001745 .name = "Pinnacle PCTV 300i DVB-T + PAL",
1746 .audio_clock = 0x00187de7,
1747 .tuner_type = TUNER_MT2032,
1748 .radio_type = UNSET,
1749 .tuner_addr = ADDR_UNSET,
1750 .radio_addr = ADDR_UNSET,
Hartmut Hackmanndf8cf702006-03-03 12:09:26 -03001751 .tda9887_conf = TDA9887_PRESENT | TDA9887_INTERCARRIER | TDA9887_PORT2_INACTIVE,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001752 .mpeg = SAA7134_MPEG_DVB,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001753 .inputs = {{
1754 .name = name_tv,
1755 .vmux = 3,
1756 .amux = TV,
1757 .tv = 1,
1758 },{
1759 .name = name_comp1,
1760 .vmux = 0,
1761 .amux = LINE2,
1762 },{
1763 .name = name_comp2,
1764 .vmux = 1,
1765 .amux = LINE2,
1766 },{
1767 .name = name_svideo,
1768 .vmux = 8,
1769 .amux = LINE2,
1770 }},
1771 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001772 [SAA7134_BOARD_PROVIDEO_PV952] = {
1773 /* andreas.kretschmer@web.de */
1774 .name = "ProVideo PV952",
1775 .audio_clock = 0x00187de7,
1776 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001777 .radio_type = UNSET,
1778 .tuner_addr = ADDR_UNSET,
1779 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001780 .tda9887_conf = TDA9887_PRESENT,
1781 .inputs = {{
1782 .name = name_comp1,
1783 .vmux = 0,
1784 .amux = LINE1,
1785 },{
1786 .name = name_tv,
1787 .vmux = 1,
1788 .amux = TV,
1789 .tv = 1,
1790 },{
1791 .name = name_tv_mono,
1792 .vmux = 1,
1793 .amux = LINE2,
1794 .tv = 1,
1795 }},
1796 .radio = {
1797 .name = name_radio,
1798 .amux = LINE2,
1799 },
1800 },
1801 [SAA7134_BOARD_AVERMEDIA_305] = {
1802 /* much like the "studio" version but without radio
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001803 * and another tuner (sirspiritus@yandex.ru) */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001804 .name = "AverMedia AverTV/305",
1805 .audio_clock = 0x00187de7,
1806 .tuner_type = TUNER_PHILIPS_FQ1216ME,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001807 .radio_type = UNSET,
1808 .tuner_addr = ADDR_UNSET,
1809 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001810 .tda9887_conf = TDA9887_PRESENT,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001811 .inputs = {{
1812 .name = name_tv,
1813 .vmux = 1,
1814 .amux = LINE2,
1815 .tv = 1,
1816 },{
1817 .name = name_comp1,
1818 .vmux = 0,
1819 .amux = LINE2,
1820 },{
1821 .name = name_comp2,
1822 .vmux = 3,
1823 .amux = LINE2,
1824 },{
1825 .name = name_svideo,
1826 .vmux = 8,
1827 .amux = LINE2,
1828 }},
1829 .mute = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001830 .name = name_mute,
1831 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001832 },
1833 },
1834 [SAA7134_BOARD_FLYDVBTDUO] = {
1835 /* LifeView FlyDVB-T DUO */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001836 /* "Nico Sabbi <nsabbi@tiscali.it> Hartmut Hackmann hartmut.hackmann@t-online.de*/
Peter Misseldb483672007-04-27 12:31:20 -03001837 .name = "LifeView FlyDVB-T DUO / MSI TV@nywhere Duo",
Linus Torvalds1da177e2005-04-16 15:20:36 -07001838 .audio_clock = 0x00200000,
1839 .tuner_type = TUNER_PHILIPS_TDA8290,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001840 .radio_type = UNSET,
1841 .tuner_addr = ADDR_UNSET,
1842 .radio_addr = ADDR_UNSET,
Peter Missel7c7fea62007-04-27 12:31:14 -03001843 .gpiomask = 0x00200000,
Michael Krufky8ce47da2007-04-27 12:31:14 -03001844 .mpeg = SAA7134_MPEG_DVB,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001845 .inputs = {{
1846 .name = name_tv,
1847 .vmux = 1,
1848 .amux = TV,
Peter Missel7c7fea62007-04-27 12:31:14 -03001849 .gpio = 0x200000, /* GPIO21=High for TV input */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001850 .tv = 1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001851 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07001852 .name = name_comp1, /* Composite signal on S-Video input */
1853 .vmux = 0,
1854 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001855 },{
1856 .name = name_comp2, /* Composite input */
1857 .vmux = 3,
1858 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001859 },{
1860 .name = name_svideo, /* S-Video signal on S-Video input */
1861 .vmux = 8,
1862 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001863 }},
Peter Missel7c7fea62007-04-27 12:31:14 -03001864 .radio = {
1865 .name = name_radio,
1866 .amux = TV,
1867 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
1868 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001869 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001870 [SAA7134_BOARD_PHILIPS_TOUGH] = {
1871 .name = "Philips TOUGH DVB-T reference design",
1872 .tuner_type = TUNER_ABSENT,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001873 .audio_clock = 0x00187de7,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001874 .radio_type = UNSET,
1875 .tuner_addr = ADDR_UNSET,
1876 .radio_addr = ADDR_UNSET,
1877 .mpeg = SAA7134_MPEG_DVB,
1878 .inputs = {{
1879 .name = name_comp1,
1880 .vmux = 0,
1881 .amux = LINE1,
1882 },{
1883 .name = name_svideo,
1884 .vmux = 8,
1885 .amux = LINE1,
1886 }},
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001887 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001888 [SAA7134_BOARD_AVERMEDIA_307] = {
1889 /*
1890 Davydov Vladimir <vladimir@iqmedia.com>
1891 */
1892 .name = "Avermedia AVerTV 307",
1893 .audio_clock = 0x00187de7,
1894 .tuner_type = TUNER_PHILIPS_FQ1216ME,
1895 .radio_type = UNSET,
1896 .tuner_addr = ADDR_UNSET,
1897 .radio_addr = ADDR_UNSET,
1898 .tda9887_conf = TDA9887_PRESENT,
1899 .inputs = {{
1900 .name = name_tv,
1901 .vmux = 1,
1902 .amux = TV,
1903 .tv = 1,
1904 },{
1905 .name = name_comp1,
1906 .vmux = 0,
1907 .amux = LINE1,
1908 },{
1909 .name = name_comp2,
1910 .vmux = 3,
1911 .amux = LINE1,
1912 },{
1913 .name = name_svideo,
1914 .vmux = 8,
1915 .amux = LINE1,
1916 }},
1917 },
1918 [SAA7134_BOARD_ADS_INSTANT_TV] = {
1919 .name = "ADS Tech Instant TV (saa7135)",
1920 .audio_clock = 0x00187de7,
1921 .tuner_type = TUNER_PHILIPS_TDA8290,
1922 .radio_type = UNSET,
1923 .tuner_addr = ADDR_UNSET,
1924 .radio_addr = ADDR_UNSET,
1925 .inputs = {{
1926 .name = name_tv,
1927 .vmux = 1,
1928 .amux = TV,
1929 .tv = 1,
1930 },{
1931 .name = name_comp1,
1932 .vmux = 3,
1933 .amux = LINE2,
1934 },{
1935 .name = name_svideo,
1936 .vmux = 8,
1937 .amux = LINE2,
1938 }},
1939 },
1940 [SAA7134_BOARD_KWORLD_VSTREAM_XPERT] = {
1941 .name = "Kworld/Tevion V-Stream Xpert TV PVR7134",
1942 .audio_clock = 0x00187de7,
1943 .tuner_type = TUNER_PHILIPS_PAL_I,
1944 .radio_type = UNSET,
1945 .tuner_addr = ADDR_UNSET,
1946 .radio_addr = ADDR_UNSET,
1947 .gpiomask = 0x0700,
1948 .inputs = {{
1949 .name = name_tv,
1950 .vmux = 1,
1951 .amux = TV,
1952 .tv = 1,
1953 .gpio = 0x000,
1954 },{
1955 .name = name_comp1,
1956 .vmux = 3,
1957 .amux = LINE1,
1958 .gpio = 0x200, /* gpio by DScaler */
1959 },{
1960 .name = name_svideo,
1961 .vmux = 0,
1962 .amux = LINE1,
1963 .gpio = 0x200,
1964 }},
1965 .radio = {
1966 .name = name_radio,
1967 .amux = LINE1,
1968 .gpio = 0x100,
1969 },
1970 .mute = {
1971 .name = name_mute,
1972 .amux = TV,
1973 .gpio = 0x000,
1974 },
1975 },
Peter Missel10b7a902006-01-23 17:11:06 -02001976 [SAA7134_BOARD_FLYDVBT_DUO_CARDBUS] = {
Hartmut Hackmann2c591942006-08-07 14:03:32 -03001977 .name = "LifeView/Typhoon/Genius FlyDVB-T Duo Cardbus",
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001978 .audio_clock = 0x00200000,
1979 .tuner_type = TUNER_PHILIPS_TDA8290,
1980 .radio_type = UNSET,
1981 .tuner_addr = ADDR_UNSET,
1982 .radio_addr = ADDR_UNSET,
1983 .mpeg = SAA7134_MPEG_DVB,
Peter Missel10b7a902006-01-23 17:11:06 -02001984 .gpiomask = 0x00200000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001985 .inputs = {{
1986 .name = name_tv,
1987 .vmux = 1,
1988 .amux = TV,
Peter Missel10b7a902006-01-23 17:11:06 -02001989 .gpio = 0x200000, /* GPIO21=High for TV input */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001990 .tv = 1,
1991 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001992 .name = name_svideo, /* S-Video signal on S-Video input */
1993 .vmux = 8,
1994 .amux = LINE2,
Peter Missel10b7a902006-01-23 17:11:06 -02001995 },{
1996 .name = name_comp1, /* Composite signal on S-Video input */
1997 .vmux = 0,
1998 .amux = LINE2,
1999 },{
2000 .name = name_comp2, /* Composite input */
2001 .vmux = 3,
2002 .amux = LINE2,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07002003 }},
2004 .radio = {
2005 .name = name_radio,
Peter Missel10b7a902006-01-23 17:11:06 -02002006 .amux = TV,
2007 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07002008 },
2009 },
2010 [SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII] = {
2011 .name = "Compro VideoMate TV Gold+II",
2012 .audio_clock = 0x002187de7,
2013 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
2014 .radio_type = TUNER_TEA5767,
2015 .tuner_addr = 0x63,
2016 .radio_addr = 0x60,
2017 .gpiomask = 0x8c1880,
2018 .inputs = {{
2019 .name = name_svideo,
2020 .vmux = 0,
2021 .amux = LINE1,
2022 .gpio = 0x800800,
2023 },{
2024 .name = name_comp1,
2025 .vmux = 3,
2026 .amux = LINE1,
2027 .gpio = 0x801000,
2028 },{
2029 .name = name_tv,
2030 .vmux = 1,
2031 .amux = TV,
2032 .tv = 1,
2033 .gpio = 0x800000,
2034 }},
2035 .radio = {
2036 .name = name_radio,
2037 .amux = TV,
2038 .gpio = 0x880000,
2039 },
2040 .mute = {
2041 .name = name_mute,
2042 .amux = LINE2,
2043 .gpio = 0x840000,
2044 },
2045 },
2046 [SAA7134_BOARD_KWORLD_XPERT] = {
2047 /*
2048 FIXME:
2049 - Remote control doesn't initialize properly.
2050 - Audio volume starts muted,
2051 then gradually increases after channel change.
2052 - Overlay scaling problems (application error?)
2053 - Composite S-Video untested.
2054 From: Konrad Rzepecki <hannibal@megapolis.pl>
2055 */
2056 .name = "Kworld Xpert TV PVR7134",
2057 .audio_clock = 0x00187de7,
2058 .tuner_type = TUNER_TENA_9533_DI,
2059 .radio_type = TUNER_TEA5767,
2060 .tuner_addr = 0x61,
2061 .radio_addr = 0x60,
2062 .gpiomask = 0x0700,
2063 .inputs = {{
2064 .name = name_tv,
2065 .vmux = 1,
2066 .amux = TV,
2067 .tv = 1,
2068 .gpio = 0x000,
2069 },{
2070 .name = name_comp1,
2071 .vmux = 3,
2072 .amux = LINE1,
2073 .gpio = 0x200, /* gpio by DScaler */
2074 },{
2075 .name = name_svideo,
2076 .vmux = 0,
2077 .amux = LINE1,
2078 .gpio = 0x200,
2079 }},
2080 .radio = {
2081 .name = name_radio,
2082 .amux = LINE1,
2083 .gpio = 0x100,
2084 },
2085 .mute = {
2086 .name = name_mute,
2087 .amux = TV,
2088 .gpio = 0x000,
2089 },
2090 },
Mauro Carvalho Chehab2f180712005-09-09 13:03:46 -07002091 [SAA7134_BOARD_FLYTV_DIGIMATRIX] = {
2092 .name = "FlyTV mini Asus Digimatrix",
2093 .audio_clock = 0x00200000,
Michael Krufkyf3629be2006-03-11 17:02:01 -03002094 .tuner_type = TUNER_LG_TALN,
Mauro Carvalho Chehab2f180712005-09-09 13:03:46 -07002095 .radio_type = UNSET,
2096 .tuner_addr = ADDR_UNSET,
2097 .radio_addr = ADDR_UNSET,
2098 .inputs = {{
2099 .name = name_tv,
2100 .vmux = 1,
2101 .amux = TV,
2102 .tv = 1,
2103 },{
2104 .name = name_tv_mono,
2105 .vmux = 1,
2106 .amux = LINE2,
2107 .tv = 1,
2108 },{
2109 .name = name_comp1,
2110 .vmux = 0,
2111 .amux = LINE2,
2112 },{
2113 .name = name_comp2,
2114 .vmux = 3,
2115 .amux = LINE2,
2116 },{
2117 .name = name_svideo,
2118 .vmux = 8,
2119 .amux = LINE2,
2120 }},
2121 .radio = {
2122 .name = name_radio, /* radio unconfirmed */
2123 .amux = LINE2,
2124 },
2125 },
Mauro Carvalho Chehab260784d2005-09-09 13:03:49 -07002126 [SAA7134_BOARD_KWORLD_TERMINATOR] = {
2127 /* Kworld V-Stream Studio TV Terminator */
2128 /* "James Webb <jrwebb@qwest.net> */
2129 .name = "V-Stream Studio TV Terminator",
2130 .audio_clock = 0x00187de7,
2131 .tuner_type = TUNER_PHILIPS_TDA8290,
2132 .radio_type = UNSET,
2133 .tuner_addr = ADDR_UNSET,
2134 .radio_addr = ADDR_UNSET,
2135 .gpiomask = 1 << 21,
2136 .inputs = {{
2137 .name = name_tv,
2138 .vmux = 1,
2139 .amux = TV,
2140 .gpio = 0x0000000,
2141 .tv = 1,
2142 },{
2143 .name = name_comp1, /* Composite input */
2144 .vmux = 3,
2145 .amux = LINE2,
2146 .gpio = 0x0000000,
2147 },{
2148 .name = name_svideo, /* S-Video input */
2149 .vmux = 8,
2150 .amux = LINE2,
2151 .gpio = 0x0000000,
2152 }},
2153 .radio = {
2154 .name = name_radio,
2155 .amux = TV,
2156 .gpio = 0x0200000,
2157 },
2158 },
Mauro Carvalho Chehab4279f022005-09-09 13:03:51 -07002159 [SAA7134_BOARD_YUAN_TUN900] = {
2160 /* FIXME:
2161 * S-Video and composite sources untested.
2162 * Radio not working.
2163 * Remote control not yet implemented.
2164 * From : codemaster@webgeeks.be */
2165 .name = "Yuan TUN-900 (saa7135)",
2166 .audio_clock = 0x00187de7,
2167 .tuner_type = TUNER_PHILIPS_TDA8290,
2168 .radio_type = UNSET,
2169 .tuner_addr= ADDR_UNSET,
2170 .radio_addr= ADDR_UNSET,
2171 .gpiomask = 0x00010003,
2172 .inputs = {{
2173 .name = name_tv,
2174 .vmux = 1,
2175 .amux = TV,
2176 .tv = 1,
2177 .gpio = 0x01,
2178 },{
2179 .name = name_comp1,
2180 .vmux = 0,
2181 .amux = LINE2,
2182 .gpio = 0x02,
2183 },{
2184 .name = name_svideo,
2185 .vmux = 6,
2186 .amux = LINE2,
2187 .gpio = 0x02,
2188 }},
2189 .radio = {
2190 .name = name_radio,
2191 .amux = LINE1,
2192 .gpio = 0x00010003,
2193 },
2194 .mute = {
2195 .name = name_mute,
2196 .amux = TV,
2197 .gpio = 0x01,
2198 },
2199 },
Nickolay V. Shmyreva8ff4172005-11-08 21:36:16 -08002200 [SAA7134_BOARD_BEHOLD_409FM] = {
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002201 /* <http://tuner.beholder.ru>, Sergey <skiv@orel.ru> */
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03002202 /* Beholder Intl. Ltd. 2008 */
2203 /*Dmitry Belimov <d.belimov@gmail.com> */
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002204 .name = "Beholder BeholdTV 409 FM",
2205 .audio_clock = 0x00187de7,
2206 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
2207 .radio_type = UNSET,
2208 .tuner_addr = ADDR_UNSET,
2209 .radio_addr = ADDR_UNSET,
2210 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03002211 .gpiomask = 0x00008000,
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002212 .inputs = {{
2213 .name = name_tv,
Nickolay V. Shmyreva8ff4172005-11-08 21:36:16 -08002214 .vmux = 3,
2215 .amux = TV,
2216 .tv = 1,
2217 },{
2218 .name = name_comp1,
2219 .vmux = 1,
2220 .amux = LINE1,
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002221 },{
2222 .name = name_svideo,
Nickolay V. Shmyreva8ff4172005-11-08 21:36:16 -08002223 .vmux = 8,
2224 .amux = LINE1,
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002225 }},
2226 .radio = {
2227 .name = name_radio,
Nickolay V. Shmyreva8ff4172005-11-08 21:36:16 -08002228 .amux = LINE2,
Trent Piepho657de3c2006-06-20 00:30:57 -03002229 },
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002230 },
2231 [SAA7134_BOARD_GOTVIEW_7135] = {
Nickolay V. Shmyrevdcd555e2005-11-08 21:36:23 -08002232 /* Mike Baikov <mike@baikov.com> */
Nickolay V. Shmyrev6b961442005-11-08 21:36:22 -08002233 /* Andrey Cvetcov <ays14@yandex.ru> */
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002234 .name = "GoTView 7135 PCI",
2235 .audio_clock = 0x00187de7,
2236 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
2237 .radio_type = UNSET,
2238 .tuner_addr = ADDR_UNSET,
2239 .radio_addr = ADDR_UNSET,
2240 .tda9887_conf = TDA9887_PRESENT,
2241 .gpiomask = 0x00200003,
2242 .inputs = {{
2243 .name = name_tv,
2244 .vmux = 1,
2245 .amux = TV,
2246 .tv = 1,
2247 .gpio = 0x00200003,
2248 },{
2249 .name = name_tv_mono,
2250 .vmux = 1,
2251 .amux = LINE2,
2252 .gpio = 0x00200003,
2253 },{
2254 .name = name_comp1,
2255 .vmux = 3,
2256 .amux = LINE1,
2257 .gpio = 0x00200003,
2258 },{
2259 .name = name_svideo,
2260 .vmux = 8,
2261 .amux = LINE1,
2262 .gpio = 0x00200003,
2263 }},
2264 .radio = {
2265 .name = name_radio,
2266 .amux = LINE2,
2267 .gpio = 0x00200003,
2268 },
2269 .mute = {
2270 .name = name_mute,
2271 .amux = TV,
2272 .gpio = 0x00200003,
2273 },
2274 },
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08002275 [SAA7134_BOARD_PHILIPS_EUROPA] = {
2276 .name = "Philips EUROPA V3 reference design",
2277 .audio_clock = 0x00187de7,
2278 .tuner_type = TUNER_PHILIPS_TD1316,
2279 .radio_type = UNSET,
2280 .tuner_addr = 0x61,
2281 .radio_addr = ADDR_UNSET,
Hartmut Hackmann44fd06f2006-02-27 00:09:11 -03002282 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08002283 .mpeg = SAA7134_MPEG_DVB,
2284 .inputs = {{
2285 .name = name_tv,
2286 .vmux = 3,
2287 .amux = TV,
2288 .tv = 1,
2289 },{
2290 .name = name_comp1,
2291 .vmux = 0,
2292 .amux = LINE2,
2293 },{
2294 .name = name_svideo,
2295 .vmux = 8,
2296 .amux = LINE2,
2297 }},
2298 },
2299 [SAA7134_BOARD_VIDEOMATE_DVBT_300] = {
2300 .name = "Compro Videomate DVB-T300",
2301 .audio_clock = 0x00187de7,
2302 .tuner_type = TUNER_PHILIPS_TD1316,
2303 .radio_type = UNSET,
2304 .tuner_addr = 0x61,
2305 .radio_addr = ADDR_UNSET,
Hartmut Hackmann44fd06f2006-02-27 00:09:11 -03002306 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08002307 .mpeg = SAA7134_MPEG_DVB,
2308 .inputs = {{
2309 .name = name_tv,
2310 .vmux = 3,
2311 .amux = TV,
2312 .tv = 1,
2313 },{
2314 .name = name_comp1,
2315 .vmux = 1,
2316 .amux = LINE2,
2317 },{
2318 .name = name_svideo,
2319 .vmux = 8,
2320 .amux = LINE2,
2321 }},
2322 },
2323 [SAA7134_BOARD_VIDEOMATE_DVBT_200] = {
2324 .name = "Compro Videomate DVB-T200",
2325 .tuner_type = TUNER_ABSENT,
2326 .audio_clock = 0x00187de7,
2327 .radio_type = UNSET,
2328 .tuner_addr = ADDR_UNSET,
2329 .radio_addr = ADDR_UNSET,
2330 .mpeg = SAA7134_MPEG_DVB,
2331 .inputs = {{
2332 .name = name_comp1,
2333 .vmux = 0,
2334 .amux = LINE1,
2335 },{
2336 .name = name_svideo,
2337 .vmux = 8,
2338 .amux = LINE1,
2339 }},
2340 },
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002341 [SAA7134_BOARD_RTD_VFG7350] = {
2342 .name = "RTD Embedded Technologies VFG7350",
2343 .audio_clock = 0x00200000,
2344 .tuner_type = TUNER_ABSENT,
2345 .radio_type = UNSET,
2346 .tuner_addr = ADDR_UNSET,
2347 .radio_addr = ADDR_UNSET,
2348 .inputs = {{
2349 .name = "Composite 0",
2350 .vmux = 0,
2351 .amux = LINE1,
2352 },{
2353 .name = "Composite 1",
2354 .vmux = 1,
2355 .amux = LINE2,
2356 },{
2357 .name = "Composite 2",
2358 .vmux = 2,
2359 .amux = LINE1,
2360 },{
2361 .name = "Composite 3",
2362 .vmux = 3,
2363 .amux = LINE2,
2364 },{
2365 .name = "S-Video 0",
2366 .vmux = 8,
2367 .amux = LINE1,
2368 },{
2369 .name = "S-Video 1",
2370 .vmux = 9,
2371 .amux = LINE2,
2372 }},
2373 .mpeg = SAA7134_MPEG_EMPRESS,
2374 .video_out = CCIR656,
Robert W. Boone2f8d4f52005-11-08 21:37:10 -08002375 .vid_port_opts = ( SET_T_CODE_POLARITY_NON_INVERTED |
2376 SET_CLOCK_NOT_DELAYED |
2377 SET_CLOCK_INVERTED |
2378 SET_VSYNC_OFF ),
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002379 },
2380 [SAA7134_BOARD_RTD_VFG7330] = {
2381 .name = "RTD Embedded Technologies VFG7330",
2382 .audio_clock = 0x00200000,
2383 .tuner_type = TUNER_ABSENT,
2384 .radio_type = UNSET,
2385 .tuner_addr = ADDR_UNSET,
2386 .radio_addr = ADDR_UNSET,
2387 .inputs = {{
2388 .name = "Composite 0",
2389 .vmux = 0,
2390 .amux = LINE1,
2391 },{
2392 .name = "Composite 1",
2393 .vmux = 1,
2394 .amux = LINE2,
2395 },{
2396 .name = "Composite 2",
2397 .vmux = 2,
2398 .amux = LINE1,
2399 },{
2400 .name = "Composite 3",
2401 .vmux = 3,
2402 .amux = LINE2,
2403 },{
2404 .name = "S-Video 0",
2405 .vmux = 8,
2406 .amux = LINE1,
2407 },{
2408 .name = "S-Video 1",
2409 .vmux = 9,
2410 .amux = LINE2,
2411 }},
2412 },
Mauro Carvalho Chehab058afaf2005-11-08 21:36:49 -08002413 [SAA7134_BOARD_FLYTVPLATINUM_MINI2] = {
2414 .name = "LifeView FlyTV Platinum Mini2",
2415 .audio_clock = 0x00200000,
2416 .tuner_type = TUNER_PHILIPS_TDA8290,
2417 .radio_type = UNSET,
2418 .tuner_addr = ADDR_UNSET,
2419 .radio_addr = ADDR_UNSET,
2420
2421 .inputs = {{
2422 .name = name_tv,
2423 .vmux = 1,
2424 .amux = TV,
2425 .tv = 1,
2426 },{
2427 .name = name_comp1, /* Composite signal on S-Video input */
2428 .vmux = 0,
2429 .amux = LINE2,
2430 },{
2431 .name = name_comp2, /* Composite input */
2432 .vmux = 3,
2433 .amux = LINE2,
2434 },{
2435 .name = name_svideo,
2436 .vmux = 8,
2437 .amux = LINE2,
2438 }},
2439 },
Michael Krufky76bc3a32005-11-08 21:37:27 -08002440 [SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180] = {
Michael Krufkyac113d12005-11-08 21:38:21 -08002441 /* Michael Krufky <mkrufky@m1k.net>
2442 * Uses Alps Electric TDHU2, containing NXT2004 ATSC Decoder
2443 * AFAIK, there is no analog demod, thus,
2444 * no support for analog television.
2445 */
Michael Krufky76bc3a32005-11-08 21:37:27 -08002446 .name = "AVerMedia AVerTVHD MCE A180",
2447 .audio_clock = 0x00187de7,
2448 .tuner_type = TUNER_ABSENT,
2449 .radio_type = UNSET,
2450 .tuner_addr = ADDR_UNSET,
2451 .radio_addr = ADDR_UNSET,
Michael Krufky3b64e8e2005-11-08 21:38:20 -08002452 .mpeg = SAA7134_MPEG_DVB,
Michael Krufky76bc3a32005-11-08 21:37:27 -08002453 .inputs = {{
2454 .name = name_comp1,
2455 .vmux = 3,
2456 .amux = LINE2,
2457 },{
2458 .name = name_svideo,
2459 .vmux = 8,
2460 .amux = LINE2,
2461 }},
2462 },
Pieter Palmerscf1c5d12005-11-08 21:37:40 -08002463 [SAA7134_BOARD_MONSTERTV_MOBILE] = {
2464 .name = "SKNet MonsterTV Mobile",
2465 .audio_clock = 0x00187de7,
2466 .tuner_type = TUNER_PHILIPS_TDA8290,
2467 .radio_type = UNSET,
2468 .tuner_addr = ADDR_UNSET,
2469 .radio_addr = ADDR_UNSET,
2470
2471 .inputs = {{
2472 .name = name_tv,
2473 .vmux = 1,
2474 .amux = TV,
2475 .tv = 1,
2476 },{
2477 .name = name_comp1,
2478 .vmux = 3,
2479 .amux = LINE1,
2480 },{
2481 .name = name_svideo,
2482 .vmux = 6,
2483 .amux = LINE1,
2484 }},
2485 },
Ricardo Cerqueirac2f6f9d2005-11-08 21:37:51 -08002486 [SAA7134_BOARD_PINNACLE_PCTV_110i] = {
Karsten Suehringcb46e3c2006-02-27 00:08:08 -03002487 .name = "Pinnacle PCTV 40i/50i/110i (saa7133)",
Ricardo Cerqueirac2f6f9d2005-11-08 21:37:51 -08002488 .audio_clock = 0x00187de7,
2489 .tuner_type = TUNER_PHILIPS_TDA8290,
2490 .radio_type = UNSET,
2491 .tuner_addr = ADDR_UNSET,
2492 .radio_addr = ADDR_UNSET,
2493 .gpiomask = 0x080200000,
Yuri Funduryaneec25fa2008-02-17 01:22:37 -03002494 .inputs = { {
2495 .name = name_tv,
2496 .vmux = 4,
2497 .amux = TV,
2498 .tv = 1,
2499 }, {
2500 .name = name_comp1,
2501 .vmux = 1,
2502 .amux = LINE2,
2503 }, {
2504 .name = name_comp2,
2505 .vmux = 0,
2506 .amux = LINE2,
2507 }, {
2508 .name = name_svideo,
2509 .vmux = 8,
2510 .amux = LINE2,
2511 } },
Ricardo Cerqueirac2f6f9d2005-11-08 21:37:51 -08002512 .radio = {
Yuri Funduryaneec25fa2008-02-17 01:22:37 -03002513 .name = name_radio,
2514 .amux = TV,
2515 .gpio = 0x0200000,
Ricardo Cerqueirac2f6f9d2005-11-08 21:37:51 -08002516 },
2517 },
Hermann Pitton28f02242005-11-08 21:38:03 -08002518 [SAA7134_BOARD_ASUSTeK_P7131_DUAL] = {
2519 .name = "ASUSTeK P7131 Dual",
2520 .audio_clock = 0x00187de7,
2521 .tuner_type = TUNER_PHILIPS_TDA8290,
2522 .radio_type = UNSET,
2523 .tuner_addr = ADDR_UNSET,
2524 .radio_addr = ADDR_UNSET,
2525 .gpiomask = 1 << 21,
Hartmut Hackmannd4b0aba2005-11-08 21:38:44 -08002526 .mpeg = SAA7134_MPEG_DVB,
Hermann Pitton28f02242005-11-08 21:38:03 -08002527 .inputs = {{
2528 .name = name_tv,
2529 .vmux = 1,
2530 .amux = TV,
2531 .tv = 1,
Hartmut Hackmann83646812006-10-12 20:38:51 -03002532 .gpio = 0x0000000,
Hermann Pitton28f02242005-11-08 21:38:03 -08002533 },{
2534 .name = name_comp1,
2535 .vmux = 3,
2536 .amux = LINE2,
Hartmut Hackmann83646812006-10-12 20:38:51 -03002537 .gpio = 0x0200000,
Hermann Pitton28f02242005-11-08 21:38:03 -08002538 },{
Hermann Pitton8387c662006-12-10 21:08:03 -03002539 .name = name_comp2,
2540 .vmux = 0,
2541 .amux = LINE2,
2542 .gpio = 0x0200000,
2543 },{
Hermann Pitton28f02242005-11-08 21:38:03 -08002544 .name = name_svideo,
2545 .vmux = 8,
2546 .amux = LINE2,
Hartmut Hackmann83646812006-10-12 20:38:51 -03002547 .gpio = 0x0200000,
Hermann Pitton28f02242005-11-08 21:38:03 -08002548 }},
2549 .radio = {
2550 .name = name_radio,
2551 .amux = TV,
2552 .gpio = 0x0200000,
2553 },
2554 },
Ricardo Cerqueira17ce1ff2005-11-08 21:38:47 -08002555 [SAA7134_BOARD_SEDNA_PC_TV_CARDBUS] = {
Paul T Zalacfe2e36c2005-11-08 21:38:04 -08002556 /* Paul Tom Zalac <pzalac@gmail.com> */
Pavel Mihaylovc3d93192005-11-08 21:38:43 -08002557 /* Pavel Mihaylov <bin@bash.info> */
Ricardo Cerqueira17ce1ff2005-11-08 21:38:47 -08002558 .name = "Sedna/MuchTV PC TV Cardbus TV/Radio (ITO25 Rev:2B)",
2559 /* Sedna/MuchTV (OEM) Cardbus TV Tuner */
Paul T Zalacfe2e36c2005-11-08 21:38:04 -08002560 .audio_clock = 0x00187de7,
Pavel Mihaylovc3d93192005-11-08 21:38:43 -08002561 .tuner_type = TUNER_PHILIPS_TDA8290,
Paul T Zalacfe2e36c2005-11-08 21:38:04 -08002562 .radio_type = UNSET,
2563 .tuner_addr = ADDR_UNSET,
2564 .radio_addr = ADDR_UNSET,
Pavel Mihaylovc3d93192005-11-08 21:38:43 -08002565 .gpiomask = 0xe880c0,
Paul T Zalacfe2e36c2005-11-08 21:38:04 -08002566 .inputs = {{
Pavel Mihaylovc3d93192005-11-08 21:38:43 -08002567 .name = name_tv,
2568 .vmux = 3,
2569 .amux = TV,
2570 .tv = 1,
2571 },{
Paul T Zalacfe2e36c2005-11-08 21:38:04 -08002572 .name = name_comp1,
2573 .vmux = 1,
Pavel Mihaylovc3d93192005-11-08 21:38:43 -08002574 .amux = LINE1,
2575 },{
2576 .name = name_svideo,
2577 .vmux = 6,
2578 .amux = LINE1,
Paul T Zalacfe2e36c2005-11-08 21:38:04 -08002579 }},
Pavel Mihaylovc3d93192005-11-08 21:38:43 -08002580 .radio = {
2581 .name = name_radio,
2582 .amux = LINE2,
2583 },
Paul T Zalacfe2e36c2005-11-08 21:38:04 -08002584 },
Michael Krufky5d5c9902005-11-08 21:38:08 -08002585 [SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV] = {
2586 /* "Cyril Lacoux (Yack)" <clacoux@ifeelgood.org> */
2587 .name = "ASUS Digimatrix TV",
2588 .audio_clock = 0x00200000,
2589 .tuner_type = TUNER_PHILIPS_FQ1216ME,
2590 .tda9887_conf = TDA9887_PRESENT,
2591 .radio_type = UNSET,
2592 .tuner_addr = ADDR_UNSET,
2593 .radio_addr = ADDR_UNSET,
2594 .inputs = {{
2595 .name = name_tv,
2596 .vmux = 1,
2597 .amux = TV,
2598 .tv = 1,
2599 },{
2600 .name = name_comp1,
2601 .vmux = 3,
2602 .amux = LINE1,
2603 },{
2604 .name = name_svideo,
2605 .vmux = 8,
2606 .amux = LINE1,
2607 }},
2608 },
Hartmut Hackmann90e9df72005-11-08 21:38:42 -08002609 [SAA7134_BOARD_PHILIPS_TIGER] = {
2610 .name = "Philips Tiger reference design",
2611 .audio_clock = 0x00187de7,
2612 .tuner_type = TUNER_PHILIPS_TDA8290,
2613 .radio_type = UNSET,
2614 .tuner_addr = ADDR_UNSET,
2615 .radio_addr = ADDR_UNSET,
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03002616 .tuner_config = 0,
Hartmut Hackmann90e9df72005-11-08 21:38:42 -08002617 .mpeg = SAA7134_MPEG_DVB,
Hartmut Hackmannde956c12007-04-27 12:31:12 -03002618 .gpiomask = 0x0200000,
Hartmut Hackmann90e9df72005-11-08 21:38:42 -08002619 .inputs = {{
2620 .name = name_tv,
2621 .vmux = 1,
2622 .amux = TV,
2623 .tv = 1,
2624 },{
2625 .name = name_comp1,
2626 .vmux = 3,
2627 .amux = LINE1,
2628 },{
2629 .name = name_svideo,
2630 .vmux = 8,
2631 .amux = LINE1,
2632 }},
Hartmut Hackmann0f79c362006-01-14 21:26:44 -02002633 .radio = {
2634 .name = name_radio,
2635 .amux = TV,
2636 .gpio = 0x0200000,
2637 },
Hartmut Hackmann90e9df72005-11-08 21:38:42 -08002638 },
Ricardo Cerqueira80d2ad92005-11-13 16:08:01 -08002639 [SAA7134_BOARD_MSI_TVATANYWHERE_PLUS] = {
2640 .name = "MSI TV@Anywhere plus",
2641 .audio_clock = 0x00187de7,
2642 .tuner_type = TUNER_PHILIPS_TDA8290,
2643 .radio_type = UNSET,
2644 .tuner_addr = ADDR_UNSET,
2645 .radio_addr = ADDR_UNSET,
hermann pittone382f622007-01-07 21:19:48 -03002646 .gpiomask = 1 << 21,
Ricardo Cerqueira80d2ad92005-11-13 16:08:01 -08002647 .inputs = {{
2648 .name = name_tv,
2649 .vmux = 1,
2650 .amux = TV,
2651 .tv = 1,
2652 },{
2653 .name = name_comp1,
2654 .vmux = 3,
hermann pittone382f622007-01-07 21:19:48 -03002655 .amux = LINE2, /* unconfirmed, taken from Philips driver */
2656 },{
2657 .name = name_comp2,
2658 .vmux = 0, /* untested, Composite over S-Video */
2659 .amux = LINE2,
Ricardo Cerqueira80d2ad92005-11-13 16:08:01 -08002660 },{
2661 .name = name_svideo,
hermann pittone382f622007-01-07 21:19:48 -03002662 .vmux = 8,
2663 .amux = LINE2,
Ricardo Cerqueira80d2ad92005-11-13 16:08:01 -08002664 }},
2665 .radio = {
2666 .name = name_radio,
hermann pittone382f622007-01-07 21:19:48 -03002667 .amux = TV,
2668 .gpio = 0x0200000,
Ricardo Cerqueira80d2ad92005-11-13 16:08:01 -08002669 },
2670 },
Jörg Schummerf639c9b2006-01-09 15:25:01 -02002671 [SAA7134_BOARD_CINERGY250PCI] = {
2672 /* remote-control does not work. The signal about a
2673 key press comes in via gpio, but the key code
2674 doesn't. Neither does it have an i2c remote control
2675 interface. */
2676 .name = "Terratec Cinergy 250 PCI TV",
2677 .audio_clock = 0x00187de7,
2678 .tuner_type = TUNER_PHILIPS_TDA8290,
2679 .radio_type = UNSET,
2680 .tuner_addr = ADDR_UNSET,
2681 .radio_addr = ADDR_UNSET,
2682 .gpiomask = 0x80200000,
2683 .inputs = {{
2684 .name = name_tv,
2685 .vmux = 1,
2686 .amux = TV,
2687 .tv = 1,
2688 },{
2689 .name = name_svideo, /* NOT tested */
2690 .vmux = 8,
2691 .amux = LINE1,
2692 }},
2693 .radio = {
2694 .name = name_radio,
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03002695 .amux = TV,
Jörg Schummerf639c9b2006-01-09 15:25:01 -02002696 .gpio = 0x0200000,
2697 },
2698 },
Peter Missel4aa6ba52006-01-09 15:32:45 -02002699 [SAA7134_BOARD_FLYDVB_TRIO] = {
2700 /* LifeView LR319 FlyDVB Trio */
2701 /* Peter Missel <peter.missel@onlinehome.de> */
2702 .name = "LifeView FlyDVB Trio",
2703 .audio_clock = 0x00200000,
2704 .tuner_type = TUNER_PHILIPS_TDA8290,
2705 .radio_type = UNSET,
2706 .tuner_addr = ADDR_UNSET,
2707 .radio_addr = ADDR_UNSET,
2708 .gpiomask = 0x00200000,
Hartmut Hackmann293cdab2006-02-27 21:08:07 -03002709 .mpeg = SAA7134_MPEG_DVB,
Peter Missel4aa6ba52006-01-09 15:32:45 -02002710 .inputs = {{
2711 .name = name_tv, /* Analog broadcast/cable TV */
2712 .vmux = 1,
2713 .amux = TV,
2714 .gpio = 0x200000, /* GPIO21=High for TV input */
2715 .tv = 1,
2716 },{
2717 .name = name_svideo, /* S-Video signal on S-Video input */
2718 .vmux = 8,
2719 .amux = LINE2,
2720 },{
2721 .name = name_comp1, /* Composite signal on S-Video input */
2722 .vmux = 0,
2723 .amux = LINE2,
2724 },{
2725 .name = name_comp2, /* Composite input */
2726 .vmux = 3,
2727 .amux = LINE2,
2728 }},
2729 .radio = {
2730 .name = name_radio,
2731 .amux = TV,
2732 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
2733 },
2734 },
Jose Alberto Regueroa78d0bf2006-02-07 06:25:14 -02002735 [SAA7134_BOARD_AVERMEDIA_777] = {
2736 .name = "AverTV DVB-T 777",
2737 .audio_clock = 0x00187de7,
2738 .tuner_type = TUNER_ABSENT,
2739 .radio_type = UNSET,
2740 .tuner_addr = ADDR_UNSET,
2741 .radio_addr = ADDR_UNSET,
2742 .mpeg = SAA7134_MPEG_DVB,
2743 .inputs = {{
2744 .name = name_comp1,
Hartmut Hackmann2174eb92006-03-27 19:15:47 -03002745 .vmux = 1,
Jose Alberto Regueroa78d0bf2006-02-07 06:25:14 -02002746 .amux = LINE1,
2747 },{
2748 .name = name_svideo,
2749 .vmux = 8,
2750 .amux = LINE1,
2751 }},
2752 },
Giampiero Giancipoli3d8466e2006-02-07 06:49:09 -02002753 [SAA7134_BOARD_FLYDVBT_LR301] = {
2754 /* LifeView FlyDVB-T */
2755 /* Giampiero Giancipoli <gianci@libero.it> */
Hartmut Hackmann42e6b3b2006-03-27 19:04:48 -03002756 .name = "LifeView FlyDVB-T / Genius VideoWonder DVB-T",
Giampiero Giancipoli3d8466e2006-02-07 06:49:09 -02002757 .audio_clock = 0x00200000,
2758 .tuner_type = TUNER_ABSENT,
2759 .radio_type = UNSET,
2760 .tuner_addr = ADDR_UNSET,
2761 .radio_addr = ADDR_UNSET,
2762 .mpeg = SAA7134_MPEG_DVB,
2763 .inputs = {{
2764 .name = name_comp1, /* Composite input */
2765 .vmux = 3,
2766 .amux = LINE2,
2767 },{
2768 .name = name_svideo, /* S-Video signal on S-Video input */
2769 .vmux = 8,
2770 .amux = LINE2,
2771 }},
2772 },
Hartmut Hackmanndf42eaf2006-02-07 06:49:10 -02002773 [SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331] = {
2774 .name = "ADS Instant TV Duo Cardbus PTV331",
2775 .audio_clock = 0x00200000,
2776 .tuner_type = TUNER_PHILIPS_TDA8290,
2777 .radio_type = UNSET,
2778 .tuner_addr = ADDR_UNSET,
2779 .radio_addr = ADDR_UNSET,
2780 .mpeg = SAA7134_MPEG_DVB,
2781 .gpiomask = 0x00600000, /* Bit 21 0=Radio, Bit 22 0=TV */
2782 .inputs = {{
2783 .name = name_tv,
2784 .vmux = 1,
2785 .amux = TV,
2786 .tv = 1,
2787 .gpio = 0x00200000,
2788 }},
2789 },
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02002790 [SAA7134_BOARD_TEVION_DVBT_220RF] = {
Adrian Bunk793f2252006-03-08 10:50:06 -03002791 .name = "Tevion/KWorld DVB-T 220RF",
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02002792 .audio_clock = 0x00187de7,
2793 .tuner_type = TUNER_PHILIPS_TDA8290,
2794 .radio_type = UNSET,
2795 .tuner_addr = ADDR_UNSET,
2796 .radio_addr = ADDR_UNSET,
2797 .mpeg = SAA7134_MPEG_DVB,
Simon Farnsworth289ea1f2007-09-10 13:37:26 -03002798 .gpiomask = 1 << 21,
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02002799 .inputs = {{
2800 .name = name_tv,
2801 .vmux = 1,
2802 .amux = TV,
2803 .tv = 1,
2804 },{
2805 .name = name_comp1,
2806 .vmux = 3,
2807 .amux = LINE1,
2808 },{
Simon Farnsworth289ea1f2007-09-10 13:37:26 -03002809 .name = name_comp2,
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02002810 .vmux = 0,
2811 .amux = LINE1,
Simon Farnsworth289ea1f2007-09-10 13:37:26 -03002812 },{
2813 .name = name_svideo,
2814 .vmux = 8,
2815 .amux = LINE1,
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02002816 }},
2817 .radio = {
2818 .name = name_radio,
Simon Farnsworth289ea1f2007-09-10 13:37:26 -03002819 .amux = TV,
2820 .gpio = 0x0200000,
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02002821 },
2822 },
Simon Farnsworthb39423a2007-05-01 10:01:20 -03002823 [SAA7134_BOARD_KWORLD_DVBT_210] = {
2824 .name = "KWorld DVB-T 210",
2825 .audio_clock = 0x00187de7,
2826 .tuner_type = TUNER_PHILIPS_TDA8290,
2827 .radio_type = UNSET,
2828 .tuner_addr = ADDR_UNSET,
2829 .radio_addr = ADDR_UNSET,
2830 .mpeg = SAA7134_MPEG_DVB,
2831 .gpiomask = 1 << 21,
2832 .inputs = {{
2833 .name = name_tv,
2834 .vmux = 1,
2835 .amux = TV,
2836 .tv = 1,
2837 },{
2838 .name = name_comp1,
2839 .vmux = 3,
2840 .amux = LINE1,
2841 },{
2842 .name = name_svideo,
2843 .vmux = 8,
2844 .amux = LINE1,
2845 }},
2846 .radio = {
2847 .name = name_radio,
2848 .amux = TV,
2849 .gpio = 0x0200000,
2850 },
2851 },
Andrew Burri3e1410a2006-02-27 00:08:23 -03002852 [SAA7134_BOARD_KWORLD_ATSC110] = {
Eric Sandeen0ac3a5b2007-10-08 16:13:02 -03002853 .name = "Kworld ATSC110/115",
Andrew Burri3e1410a2006-02-27 00:08:23 -03002854 .audio_clock = 0x00187de7,
2855 .tuner_type = TUNER_PHILIPS_TUV1236D,
2856 .radio_type = UNSET,
2857 .tuner_addr = ADDR_UNSET,
2858 .radio_addr = ADDR_UNSET,
2859 .tda9887_conf = TDA9887_PRESENT,
2860 .mpeg = SAA7134_MPEG_DVB,
2861 .inputs = {{
2862 .name = name_tv,
2863 .vmux = 1,
2864 .amux = TV,
2865 .tv = 1,
Curt Meyers6ba509d2006-02-27 00:08:32 -03002866 },{
2867 .name = name_comp1,
2868 .vmux = 3,
2869 .amux = LINE2,
2870 },{
2871 .name = name_svideo,
2872 .vmux = 8,
2873 .amux = LINE2,
Andrew Burri3e1410a2006-02-27 00:08:23 -03002874 }},
2875 },
Rickard Osser68593af2006-03-11 17:14:12 -03002876 [SAA7134_BOARD_AVERMEDIA_A169_B] = {
2877 /* AVerMedia A169 */
2878 /* Rickard Osser <ricky@osser.se> */
2879 /* This card has two saa7134 chips on it,
2880 but only one of them is currently working. */
2881 .name = "AVerMedia A169 B",
2882 .audio_clock = 0x02187de7,
2883 .tuner_type = TUNER_LG_TALN,
2884 .radio_type = UNSET,
2885 .tuner_addr = ADDR_UNSET,
2886 .radio_addr = ADDR_UNSET,
2887 .tda9887_conf = TDA9887_PRESENT,
2888 .gpiomask = 0x0a60000,
2889 },
2890 [SAA7134_BOARD_AVERMEDIA_A169_B1] = {
2891 /* AVerMedia A169 */
2892 /* Rickard Osser <ricky@osser.se> */
2893 .name = "AVerMedia A169 B1",
2894 .audio_clock = 0x02187de7,
2895 .tuner_type = TUNER_LG_TALN,
2896 .radio_type = UNSET,
2897 .tuner_addr = ADDR_UNSET,
2898 .radio_addr = ADDR_UNSET,
2899 .tda9887_conf = TDA9887_PRESENT,
2900 .gpiomask = 0xca60000,
2901 .inputs = {{
2902 .name = name_tv,
2903 .vmux = 4,
2904 .amux = TV,
2905 .tv = 1,
2906 .gpio = 0x04a61000,
2907 },{
2908 .name = name_comp2, /* Composite SVIDEO (B/W if signal is carried with SVIDEO) */
2909 .vmux = 1,
2910 .amux = LINE2,
2911 },{
2912 .name = name_svideo,
2913 .vmux = 9, /* 9 is correct as S-VIDEO1 according to a169.inf! */
2914 .amux = LINE1,
2915 }},
2916 },
Michael Krufkyba3a5a82006-03-14 19:02:12 -03002917 [SAA7134_BOARD_MD7134_BRIDGE_2] = {
Hartmut Hackmann637afdb2008-04-22 14:46:08 -03002918 /* The second saa7134 on this card only serves as DVB-S host bridge */
Michael Krufkyba3a5a82006-03-14 19:02:12 -03002919 .name = "Medion 7134 Bridge #2",
2920 .audio_clock = 0x00187de7,
2921 .radio_type = UNSET,
2922 .tuner_addr = ADDR_UNSET,
2923 .radio_addr = ADDR_UNSET,
Hartmut Hackmann637afdb2008-04-22 14:46:08 -03002924 .mpeg = SAA7134_MPEG_DVB,
Michael Krufkyba3a5a82006-03-14 19:02:12 -03002925 },
Hartmut Hackmannd95b8942006-03-27 19:39:30 -03002926 [SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS] = {
Mauro Carvalho Chehab593f18c2007-10-07 02:17:09 -03002927 .name = "LifeView FlyDVB-T Hybrid Cardbus/MSI TV @nywhere A/D NB",
Hartmut Hackmannd95b8942006-03-27 19:39:30 -03002928 .audio_clock = 0x00200000,
2929 .tuner_type = TUNER_PHILIPS_TDA8290,
2930 .radio_type = UNSET,
2931 .tuner_addr = ADDR_UNSET,
2932 .radio_addr = ADDR_UNSET,
2933 .mpeg = SAA7134_MPEG_DVB,
2934 .gpiomask = 0x00600000, /* Bit 21 0=Radio, Bit 22 0=TV */
2935 .inputs = {{
2936 .name = name_tv,
2937 .vmux = 1,
2938 .amux = TV,
2939 .gpio = 0x200000, /* GPIO21=High for TV input */
2940 .tv = 1,
2941 },{
2942 .name = name_svideo, /* S-Video signal on S-Video input */
2943 .vmux = 8,
2944 .amux = LINE2,
2945 },{
2946 .name = name_comp1, /* Composite signal on S-Video input */
2947 .vmux = 0,
2948 .amux = LINE2,
2949 },{
2950 .name = name_comp2, /* Composite input */
2951 .vmux = 3,
2952 .amux = LINE2,
2953 }},
2954 .radio = {
2955 .name = name_radio,
2956 .amux = TV,
2957 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
2958 },
2959 },
Zac Bowlingf49ba8d2006-06-19 19:49:20 -03002960 [SAA7134_BOARD_FLYVIDEO3000_NTSC] = {
2961 /* "Zac Bowling" <zac@zacbowling.com> */
2962 .name = "LifeView FlyVIDEO3000 (NTSC)",
2963 .audio_clock = 0x00200000,
2964 .tuner_type = TUNER_PHILIPS_NTSC,
2965 .radio_type = UNSET,
2966 .tuner_addr = ADDR_UNSET,
2967 .radio_addr = ADDR_UNSET,
2968
2969 .gpiomask = 0xe000,
2970 .inputs = {{
2971 .name = name_tv,
2972 .vmux = 1,
2973 .amux = TV,
2974 .gpio = 0x8000,
2975 .tv = 1,
2976 },{
2977 .name = name_tv_mono,
2978 .vmux = 1,
2979 .amux = LINE2,
2980 .gpio = 0x0000,
2981 .tv = 1,
2982 },{
2983 .name = name_comp1,
2984 .vmux = 0,
2985 .amux = LINE2,
2986 .gpio = 0x4000,
2987 },{
2988 .name = name_comp2,
2989 .vmux = 3,
2990 .amux = LINE2,
2991 .gpio = 0x4000,
2992 },{
2993 .name = name_svideo,
2994 .vmux = 8,
2995 .amux = LINE2,
2996 .gpio = 0x4000,
2997 }},
2998 .radio = {
2999 .name = name_radio,
3000 .amux = LINE2,
3001 .gpio = 0x2000,
3002 },
3003 .mute = {
3004 .name = name_mute,
3005 .amux = TV,
3006 .gpio = 0x8000,
3007 },
3008 },
Hartmut Hackmann5eda2272006-08-07 14:03:32 -03003009 [SAA7134_BOARD_MEDION_MD8800_QUADRO] = {
3010 .name = "Medion Md8800 Quadro",
3011 .audio_clock = 0x00187de7,
3012 .tuner_type = TUNER_PHILIPS_TDA8290,
3013 .radio_type = UNSET,
3014 .tuner_addr = ADDR_UNSET,
3015 .radio_addr = ADDR_UNSET,
3016 .mpeg = SAA7134_MPEG_DVB,
3017 .inputs = {{
3018 .name = name_tv,
3019 .vmux = 1,
3020 .amux = TV,
3021 .tv = 1,
3022 },{
3023 .name = name_comp1,
3024 .vmux = 0,
hermann pitton387a2992007-10-25 21:26:53 -03003025 .amux = LINE1,
Hartmut Hackmann5eda2272006-08-07 14:03:32 -03003026 },{
3027 .name = name_svideo,
3028 .vmux = 8,
hermann pitton387a2992007-10-25 21:26:53 -03003029 .amux = LINE1,
Hartmut Hackmann5eda2272006-08-07 14:03:32 -03003030 }},
3031 },
Igor M. Liplianine2ac28f2006-08-08 09:10:10 -03003032 [SAA7134_BOARD_FLYDVBS_LR300] = {
3033 /* LifeView FlyDVB-s */
3034 /* Igor M. Liplianin <liplianin@tut.by> */
3035 .name = "LifeView FlyDVB-S /Acorp TV134DS",
3036 .audio_clock = 0x00200000,
3037 .tuner_type = TUNER_ABSENT,
3038 .radio_type = UNSET,
3039 .tuner_addr = ADDR_UNSET,
3040 .radio_addr = ADDR_UNSET,
3041 .mpeg = SAA7134_MPEG_DVB,
3042 .inputs = {{
3043 .name = name_comp1, /* Composite input */
3044 .vmux = 3,
3045 .amux = LINE1,
3046 },{
3047 .name = name_svideo, /* S-Video signal on S-Video input */
3048 .vmux = 8,
3049 .amux = LINE1,
3050 }},
3051 },
Michal Majchrowiczb04c1ba2006-09-13 16:42:42 -03003052 [SAA7134_BOARD_PROTEUS_2309] = {
3053 .name = "Proteus Pro 2309",
3054 .audio_clock = 0x00187de7,
3055 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3056 .radio_type = UNSET,
3057 .tuner_addr = ADDR_UNSET,
3058 .radio_addr = ADDR_UNSET,
3059 .tda9887_conf = TDA9887_PRESENT,
3060 .inputs = {{
3061 .name = name_tv,
3062 .vmux = 1,
3063 .amux = LINE2,
3064 .tv = 1,
3065 },{
3066 .name = name_comp1,
3067 .vmux = 0,
3068 .amux = LINE2,
3069 },{
3070 .name = name_comp2,
3071 .vmux = 3,
3072 .amux = LINE2,
3073 },{
3074 .name = name_svideo,
3075 .vmux = 8,
3076 .amux = LINE2,
3077 }},
3078 .mute = {
3079 .name = name_mute,
3080 .amux = LINE1,
3081 },
3082 },
Petr Baudis515c2082006-09-26 16:53:53 -03003083 [SAA7134_BOARD_AVERMEDIA_A16AR] = {
3084 /* Petr Baudis <pasky@ucw.cz> */
3085 .name = "AVerMedia TV Hybrid A16AR",
3086 .audio_clock = 0x187de7,
pasky@ucw.cz0871a882006-11-12 14:24:57 -03003087 .tuner_type = TUNER_PHILIPS_TD1316, /* untested */
Petr Baudis515c2082006-09-26 16:53:53 -03003088 .radio_type = TUNER_TEA5767, /* untested */
3089 .tuner_addr = ADDR_UNSET,
3090 .radio_addr = ADDR_UNSET,
3091 .tda9887_conf = TDA9887_PRESENT,
3092 .mpeg = SAA7134_MPEG_DVB,
3093 .inputs = {{
3094 .name = name_tv,
3095 .vmux = 1,
3096 .amux = TV,
3097 .tv = 1,
3098 },{
3099 .name = name_comp1,
3100 .vmux = 3,
3101 .amux = LINE2,
3102 },{
3103 .name = name_svideo,
3104 .vmux = 8,
3105 .amux = LINE1,
3106 }},
3107 .radio = {
3108 .name = name_radio,
3109 .amux = LINE1,
3110 },
3111 },
Hartmut Hackmanncf146ca2006-10-02 20:49:24 -03003112 [SAA7134_BOARD_ASUS_EUROPA2_HYBRID] = {
3113 .name = "Asus Europa2 OEM",
3114 .audio_clock = 0x00187de7,
3115 .tuner_type = TUNER_PHILIPS_FMD1216ME_MK3,
3116 .radio_type = UNSET,
3117 .tuner_addr = ADDR_UNSET,
3118 .radio_addr = ADDR_UNSET,
3119 .tda9887_conf = TDA9887_PRESENT| TDA9887_PORT1_ACTIVE | TDA9887_PORT2_ACTIVE,
3120 .mpeg = SAA7134_MPEG_DVB,
3121 .inputs = {{
3122 .name = name_tv,
3123 .vmux = 3,
3124 .amux = TV,
3125 .tv = 1,
3126 },{
3127 .name = name_comp1,
3128 .vmux = 4,
3129 .amux = LINE2,
3130 },{
3131 .name = name_svideo,
3132 .vmux = 8,
3133 .amux = LINE2,
3134 }},
3135 .radio = {
3136 .name = name_radio,
3137 .amux = LINE1,
3138 },
3139 },
Hartmut Hackmann587d2fd2006-10-06 19:13:50 -03003140 [SAA7134_BOARD_PINNACLE_PCTV_310i] = {
3141 .name = "Pinnacle PCTV 310i",
3142 .audio_clock = 0x00187de7,
3143 .tuner_type = TUNER_PHILIPS_TDA8290,
3144 .radio_type = UNSET,
3145 .tuner_addr = ADDR_UNSET,
3146 .radio_addr = ADDR_UNSET,
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03003147 .tuner_config = 1,
Hartmut Hackmann587d2fd2006-10-06 19:13:50 -03003148 .mpeg = SAA7134_MPEG_DVB,
3149 .gpiomask = 0x000200000,
3150 .inputs = {{
3151 .name = name_tv,
3152 .vmux = 4,
3153 .amux = TV,
3154 .tv = 1,
3155 },{
3156 .name = name_comp1,
3157 .vmux = 1,
3158 .amux = LINE2,
3159 },{
3160 .name = name_comp2,
3161 .vmux = 0,
3162 .amux = LINE2,
3163 },{
3164 .name = name_svideo,
3165 .vmux = 8,
3166 .amux = LINE2,
3167 }},
3168 .radio = {
3169 .name = name_radio,
3170 .amux = TV,
3171 .gpio = 0x0200000,
3172 },
3173 },
Mikhail Fedotov3ac706d2006-10-06 20:23:47 -03003174 [SAA7134_BOARD_AVERMEDIA_STUDIO_507] = {
3175 /* Mikhail Fedotov <mo_fedotov@mail.ru> */
3176 .name = "Avermedia AVerTV Studio 507",
3177 .audio_clock = 0x00187de7,
3178 .tuner_type = TUNER_PHILIPS_FM1256_IH3,
3179 .radio_type = UNSET,
3180 .tuner_addr = ADDR_UNSET,
3181 .radio_addr = ADDR_UNSET,
3182 .tda9887_conf = TDA9887_PRESENT,
3183 .gpiomask = 0x03,
3184 .inputs = {{
3185 .name = name_tv,
3186 .vmux = 1,
3187 .amux = TV,
3188 .tv = 1,
3189 .gpio = 0x00,
3190 },{
3191 .name = name_comp1,
3192 .vmux = 0,
3193 .amux = LINE2,
3194 .gpio = 0x00,
3195 },{
3196 .name = name_comp2,
3197 .vmux = 3,
3198 .amux = LINE2,
3199 .gpio = 0x00,
3200 },{
3201 .name = name_svideo,
3202 .vmux = 8,
3203 .amux = LINE2,
3204 .gpio = 0x00,
3205 }},
3206 .radio = {
3207 .name = name_radio,
3208 .amux = LINE2,
3209 .gpio = 0x01,
3210 },
3211 .mute = {
3212 .name = name_mute,
3213 .amux = LINE1,
3214 .gpio = 0x00,
3215 },
3216 },
Hartmut Hackmanncbb94522006-10-30 20:00:16 -03003217 [SAA7134_BOARD_VIDEOMATE_DVBT_200A] = {
3218 /* Francis Barber <fedora@barber-family.id.au> */
3219 .name = "Compro Videomate DVB-T200A",
3220 .audio_clock = 0x00187de7,
3221 .tuner_type = TUNER_ABSENT,
3222 .radio_type = UNSET,
3223 .tuner_addr = ADDR_UNSET,
3224 .radio_addr = ADDR_UNSET,
3225 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
3226 .mpeg = SAA7134_MPEG_DVB,
3227 .inputs = {{
3228 .name = name_tv,
3229 .vmux = 3,
3230 .amux = TV,
3231 .tv = 1,
3232 },{
3233 .name = name_comp1,
3234 .vmux = 1,
3235 .amux = LINE2,
3236 },{
3237 .name = name_svideo,
3238 .vmux = 8,
3239 .amux = LINE2,
3240 }},
3241 },
Thomas Gentyc6e53da2006-11-05 14:17:30 -03003242 [SAA7134_BOARD_HAUPPAUGE_HVR1110] = {
3243 /* Thomas Genty <tomlohave@gmail.com> */
3244 .name = "Hauppauge WinTV-HVR1110 DVB-T/Hybrid",
3245 .audio_clock = 0x00187de7,
3246 .tuner_type = TUNER_PHILIPS_TDA8290,
3247 .radio_type = UNSET,
3248 .tuner_addr = ADDR_UNSET,
3249 .radio_addr = ADDR_UNSET,
Michael Krufkyb3aa2262007-12-09 21:13:38 -03003250 .tuner_config = 1,
Thomas Gentyc6e53da2006-11-05 14:17:30 -03003251 .mpeg = SAA7134_MPEG_DVB,
Thomas Gentyc6e53da2006-11-05 14:17:30 -03003252 .inputs = {{
3253 .name = name_tv,
3254 .vmux = 1,
3255 .amux = TV,
3256 .tv = 1,
Thomas Genty177aaaf2006-11-29 21:57:24 -03003257 },{
3258 .name = name_comp1,
3259 .vmux = 3,
3260 .amux = LINE2, /* FIXME: audio doesn't work on svideo/composite */
3261 },{
3262 .name = name_svideo,
3263 .vmux = 8,
3264 .amux = LINE2, /* FIXME: audio doesn't work on svideo/composite */
Thomas Gentyc6e53da2006-11-05 14:17:30 -03003265 }},
3266 .radio = {
3267 .name = name_radio,
3268 .amux = TV,
Thomas Gentyc6e53da2006-11-05 14:17:30 -03003269 },
3270 },
Hartmut Hackmann550a9a52006-11-15 21:31:54 -03003271 [SAA7134_BOARD_CINERGY_HT_PCMCIA] = {
3272 .name = "Terratec Cinergy HT PCMCIA",
3273 .audio_clock = 0x00187de7,
3274 .tuner_type = TUNER_PHILIPS_TDA8290,
3275 .radio_type = UNSET,
3276 .tuner_addr = ADDR_UNSET,
3277 .radio_addr = ADDR_UNSET,
3278 .mpeg = SAA7134_MPEG_DVB,
3279 .inputs = {{
3280 .name = name_tv,
3281 .vmux = 1,
3282 .amux = TV,
3283 .tv = 1,
3284 },{
3285 .name = name_comp1,
3286 .vmux = 0,
3287 .amux = LINE1,
3288 },{
3289 .name = name_svideo,
3290 .vmux = 6,
3291 .amux = LINE1,
3292 }},
3293 },
Steven Walterd1158f42006-12-20 09:29:09 -03003294 [SAA7134_BOARD_ENCORE_ENLTV] = {
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03003295 /* Steven Walter <stevenrwalter@gmail.com>
3296 Juan Pablo Sormani <sorman@gmail.com> */
Steven Walterd1158f42006-12-20 09:29:09 -03003297 .name = "Encore ENLTV",
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03003298 .audio_clock = 0x00200000,
Steven Walterd1158f42006-12-20 09:29:09 -03003299 .tuner_type = TUNER_TNF_5335MF,
3300 .radio_type = UNSET,
3301 .tuner_addr = ADDR_UNSET,
3302 .radio_addr = ADDR_UNSET,
3303 .inputs = {{
3304 .name = name_tv,
3305 .vmux = 1,
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03003306 .amux = 3,
Steven Walterd1158f42006-12-20 09:29:09 -03003307 .tv = 1,
3308 },{
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03003309 .name = name_tv_mono,
3310 .vmux = 7,
3311 .amux = 4,
3312 .tv = 1,
3313 },{
3314 .name = name_comp1,
3315 .vmux = 3,
3316 .amux = 2,
3317 },{
Steven Walterd1158f42006-12-20 09:29:09 -03003318 .name = name_svideo,
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03003319 .vmux = 0,
3320 .amux = 2,
Steven Walterd1158f42006-12-20 09:29:09 -03003321 }},
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03003322 .radio = {
3323 .name = name_radio,
3324 .amux = LINE2,
3325/* .gpio = 0x00300001,*/
3326 .gpio = 0x20000,
3327
3328 },
3329 .mute = {
3330 .name = name_mute,
3331 .amux = 0,
3332 },
3333 },
3334 [SAA7134_BOARD_ENCORE_ENLTV_FM] = {
3335 /* Juan Pablo Sormani <sorman@gmail.com> */
3336 .name = "Encore ENLTV-FM",
3337 .audio_clock = 0x00200000,
Michael Krufkyab8b8702008-04-22 14:46:05 -03003338 .tuner_type = TUNER_PHILIPS_FCV1236D,
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03003339 .radio_type = UNSET,
3340 .tuner_addr = ADDR_UNSET,
3341 .radio_addr = ADDR_UNSET,
3342 .inputs = {{
3343 .name = name_tv,
3344 .vmux = 1,
3345 .amux = 3,
3346 .tv = 1,
3347 },{
3348 .name = name_tv_mono,
3349 .vmux = 7,
3350 .amux = 4,
3351 .tv = 1,
3352 },{
3353 .name = name_comp1,
3354 .vmux = 3,
3355 .amux = 2,
3356 },{
3357 .name = name_svideo,
3358 .vmux = 0,
3359 .amux = 2,
3360 }},
3361 .radio = {
3362 .name = name_radio,
3363 .amux = LINE2,
3364 .gpio = 0x20000,
3365
3366 },
3367 .mute = {
3368 .name = name_mute,
3369 .amux = 0,
3370 },
Steven Walterd1158f42006-12-20 09:29:09 -03003371 },
Michael Krufky9de271e2007-01-16 18:36:40 -03003372 [SAA7134_BOARD_CINERGY_HT_PCI] = {
3373 .name = "Terratec Cinergy HT PCI",
3374 .audio_clock = 0x00187de7,
3375 .tuner_type = TUNER_PHILIPS_TDA8290,
3376 .radio_type = UNSET,
3377 .tuner_addr = ADDR_UNSET,
3378 .radio_addr = ADDR_UNSET,
3379 .mpeg = SAA7134_MPEG_DVB,
3380 .inputs = {{
3381 .name = name_tv,
3382 .vmux = 1,
3383 .amux = TV,
3384 .tv = 1,
3385 },{
3386 .name = name_comp1,
3387 .vmux = 0,
3388 .amux = LINE1,
3389 },{
3390 .name = name_svideo,
3391 .vmux = 6,
3392 .amux = LINE1,
3393 }},
3394 },
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03003395 [SAA7134_BOARD_PHILIPS_TIGER_S] = {
3396 .name = "Philips Tiger - S Reference design",
3397 .audio_clock = 0x00187de7,
3398 .tuner_type = TUNER_PHILIPS_TDA8290,
3399 .radio_type = UNSET,
3400 .tuner_addr = ADDR_UNSET,
3401 .radio_addr = ADDR_UNSET,
3402 .tuner_config = 2,
3403 .mpeg = SAA7134_MPEG_DVB,
3404 .gpiomask = 0x0200000,
3405 .inputs = {{
3406 .name = name_tv,
3407 .vmux = 1,
3408 .amux = TV,
3409 .tv = 1,
3410 },{
3411 .name = name_comp1,
3412 .vmux = 3,
3413 .amux = LINE1,
3414 },{
3415 .name = name_svideo,
3416 .vmux = 8,
3417 .amux = LINE1,
3418 }},
3419 .radio = {
3420 .name = name_radio,
3421 .amux = TV,
3422 .gpio = 0x0200000,
3423 },
3424 },
Markus Rechbergere95d3172007-04-27 12:31:19 -03003425 [SAA7134_BOARD_AVERMEDIA_M102] = {
3426 .name = "Avermedia M102",
3427 .audio_clock = 0x00187de7,
3428 .tuner_type = TUNER_PHILIPS_TDA8290,
3429 .radio_type = UNSET,
3430 .tuner_addr = ADDR_UNSET,
3431 .radio_addr = ADDR_UNSET,
3432 .gpiomask = 1<<21,
3433 .inputs = {{
3434 .name = name_tv,
3435 .vmux = 1,
3436 .amux = TV,
3437 .tv = 1,
3438 },{
3439 .name = name_comp1,
3440 .vmux = 0,
3441 .amux = LINE2,
3442 },{
3443 .name = name_svideo,
3444 .vmux = 6,
3445 .amux = LINE2,
3446 }},
3447 },
Hartmut Hackmanne06cea42007-03-13 20:58:29 -03003448 [SAA7134_BOARD_ASUS_P7131_4871] = {
3449 .name = "ASUS P7131 4871",
3450 .audio_clock = 0x00187de7,
3451 .tuner_type = TUNER_PHILIPS_TDA8290,
3452 .radio_type = UNSET,
3453 .tuner_addr = ADDR_UNSET,
3454 .radio_addr = ADDR_UNSET,
3455 .tuner_config = 2,
3456 .mpeg = SAA7134_MPEG_DVB,
3457 .gpiomask = 0x0200000,
3458 .inputs = {{
3459 .name = name_tv,
3460 .vmux = 1,
3461 .amux = TV,
3462 .tv = 1,
3463 .gpio = 0x0200000,
3464 }},
3465 },
Hartmut Hackmannf3eec0c02007-03-14 20:33:55 -03003466 [SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA] = {
3467 .name = "ASUSTeK P7131 Hybrid",
Hartmut Hackmanne06cea42007-03-13 20:58:29 -03003468 .audio_clock = 0x00187de7,
3469 .tuner_type = TUNER_PHILIPS_TDA8290,
3470 .radio_type = UNSET,
3471 .tuner_addr = ADDR_UNSET,
3472 .radio_addr = ADDR_UNSET,
3473 .tuner_config = 2,
3474 .gpiomask = 1 << 21,
3475 .mpeg = SAA7134_MPEG_DVB,
3476 .inputs = {{
3477 .name = name_tv,
3478 .vmux = 1,
3479 .amux = TV,
3480 .tv = 1,
3481 .gpio = 0x0000000,
3482 },{
3483 .name = name_comp1,
3484 .vmux = 3,
3485 .amux = LINE2,
3486 .gpio = 0x0200000,
3487 },{
3488 .name = name_comp2,
3489 .vmux = 0,
3490 .amux = LINE2,
3491 .gpio = 0x0200000,
3492 },{
3493 .name = name_svideo,
3494 .vmux = 8,
3495 .amux = LINE2,
3496 .gpio = 0x0200000,
3497 }},
3498 .radio = {
3499 .name = name_radio,
3500 .amux = TV,
3501 .gpio = 0x0200000,
3502 },
3503 },
James T Klaas53958b32007-05-01 10:48:09 -03003504 [SAA7134_BOARD_SABRENT_TV_PCB05] = {
3505 .name = "Sabrent PCMCIA TV-PCB05",
3506 .audio_clock = 0x00187de7,
3507 .tuner_type = TUNER_PHILIPS_TDA8290,
3508 .radio_type = UNSET,
3509 .tuner_addr = ADDR_UNSET,
3510 .radio_addr = ADDR_UNSET,
3511 .inputs = {{
3512 .name = name_tv,
3513 .vmux = 1,
3514 .amux = TV,
3515 .tv = 1,
3516 },{
3517 .name = name_comp1,
3518 .vmux = 3,
3519 .amux = LINE1,
3520 },{
3521 .name = name_comp2,
3522 .vmux = 0,
3523 .amux = LINE1,
3524 },{
3525 .name = name_svideo,
3526 .vmux = 8,
3527 .amux = LINE1,
3528 }},
3529 .mute = {
3530 .name = name_mute,
3531 .amux = TV,
3532 },
3533 },
Tony Wanaaccb822007-05-10 12:16:47 -03003534 [SAA7134_BOARD_10MOONSTVMASTER3] = {
3535 /* Tony Wan <aloha_cn@hotmail.com> */
3536 .name = "10MOONS TM300 TV Card",
3537 .audio_clock = 0x00200000,
3538 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
3539 .radio_type = UNSET,
3540 .tuner_addr = ADDR_UNSET,
3541 .radio_addr = ADDR_UNSET,
3542 .gpiomask = 0x7000,
3543 .inputs = {{
3544 .name = name_tv,
3545 .vmux = 1,
3546 .amux = LINE2,
3547 .gpio = 0x0000,
3548 .tv = 1,
3549 },{
3550 .name = name_comp1,
3551 .vmux = 3,
3552 .amux = LINE1,
3553 .gpio = 0x2000,
3554 },{
3555 .name = name_svideo,
3556 .vmux = 8,
3557 .amux = LINE1,
3558 .gpio = 0x2000,
3559 }},
3560 .mute = {
3561 .name = name_mute,
3562 .amux = LINE2,
3563 .gpio = 0x3000,
3564 },
3565 },
Edgar Simod90d9f52007-08-20 14:14:50 -03003566 [SAA7134_BOARD_AVERMEDIA_SUPER_007] = {
3567 .name = "Avermedia Super 007",
3568 .audio_clock = 0x00187de7,
3569 .tuner_type = TUNER_PHILIPS_TDA8290,
3570 .radio_type = UNSET,
3571 .tuner_addr = ADDR_UNSET,
3572 .radio_addr = ADDR_UNSET,
3573 .tuner_config = 0,
3574 .mpeg = SAA7134_MPEG_DVB,
3575 .inputs = {{
3576 .name = name_tv, /* FIXME: analog tv untested */
3577 .vmux = 1,
3578 .amux = TV,
3579 .tv = 1,
3580 }},
3581 },
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003582 [SAA7134_BOARD_BEHOLD_401] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003583 /* Beholder Intl. Ltd. 2008 */
3584 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003585 .name = "Beholder BeholdTV 401",
3586 .audio_clock = 0x00187de7,
3587 .tuner_type = TUNER_PHILIPS_FQ1216ME,
3588 .radio_type = UNSET,
3589 .tuner_addr = ADDR_UNSET,
3590 .radio_addr = ADDR_UNSET,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003591 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003592 .inputs = {{
3593 .name = name_svideo,
3594 .vmux = 8,
3595 .amux = LINE1,
3596 },{
3597 .name = name_comp1,
3598 .vmux = 1,
3599 .amux = LINE1,
3600 },{
3601 .name = name_tv,
3602 .vmux = 3,
3603 .amux = LINE2,
3604 .tv = 1,
3605 }},
3606 .mute = {
3607 .name = name_mute,
3608 .amux = LINE1,
3609 },
3610 },
3611 [SAA7134_BOARD_BEHOLD_403] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003612 /* Beholder Intl. Ltd. 2008 */
3613 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003614 .name = "Beholder BeholdTV 403",
3615 .audio_clock = 0x00187de7,
3616 .tuner_type = TUNER_PHILIPS_FQ1216ME,
3617 .radio_type = UNSET,
3618 .tuner_addr = ADDR_UNSET,
3619 .radio_addr = ADDR_UNSET,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003620 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003621 .inputs = {{
3622 .name = name_svideo,
3623 .vmux = 8,
3624 .amux = LINE1,
3625 },{
3626 .name = name_comp1,
3627 .vmux = 1,
3628 .amux = LINE1,
3629 },{
3630 .name = name_tv,
3631 .vmux = 3,
3632 .amux = LINE2,
3633 .tv = 1,
3634 }},
3635 },
3636 [SAA7134_BOARD_BEHOLD_403FM] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003637 /* Beholder Intl. Ltd. 2008 */
3638 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003639 .name = "Beholder BeholdTV 403 FM",
3640 .audio_clock = 0x00187de7,
3641 .tuner_type = TUNER_PHILIPS_FQ1216ME,
3642 .radio_type = UNSET,
3643 .tuner_addr = ADDR_UNSET,
3644 .radio_addr = ADDR_UNSET,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003645 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003646 .inputs = {{
3647 .name = name_svideo,
3648 .vmux = 8,
3649 .amux = LINE1,
3650 },{
3651 .name = name_comp1,
3652 .vmux = 1,
3653 .amux = LINE1,
3654 },{
3655 .name = name_tv,
3656 .vmux = 3,
3657 .amux = LINE2,
3658 .tv = 1,
3659 }},
3660 .radio = {
3661 .name = name_radio,
3662 .amux = LINE2,
3663 },
3664 },
3665 [SAA7134_BOARD_BEHOLD_405] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003666 /* Beholder Intl. Ltd. 2008 */
3667 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003668 .name = "Beholder BeholdTV 405",
3669 .audio_clock = 0x00187de7,
3670 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3671 .radio_type = UNSET,
3672 .tuner_addr = ADDR_UNSET,
3673 .radio_addr = ADDR_UNSET,
3674 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003675 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003676 .inputs = {{
3677 .name = name_svideo,
3678 .vmux = 8,
3679 .amux = LINE1,
3680 },{
3681 .name = name_comp1,
3682 .vmux = 3,
3683 .amux = LINE1,
3684 },{
3685 .name = name_tv,
3686 .vmux = 3,
3687 .amux = LINE2,
3688 .tv = 1,
3689 }},
3690 },
3691 [SAA7134_BOARD_BEHOLD_405FM] = {
3692 /* Sergey <skiv@orel.ru> */
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003693 /* Beholder Intl. Ltd. 2008 */
3694 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003695 .name = "Beholder BeholdTV 405 FM",
3696 .audio_clock = 0x00187de7,
3697 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3698 .radio_type = UNSET,
3699 .tuner_addr = ADDR_UNSET,
3700 .radio_addr = ADDR_UNSET,
3701 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003702 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003703 .inputs = {{
3704 .name = name_svideo,
3705 .vmux = 8,
3706 .amux = LINE1,
3707 },{
3708 .name = name_comp1,
3709 .vmux = 3,
3710 .amux = LINE1,
3711 },{
3712 .name = name_tv,
3713 .vmux = 3,
3714 .amux = LINE2,
3715 .tv = 1,
3716 }},
3717 .radio = {
3718 .name = name_radio,
3719 .amux = LINE2,
3720 },
3721 },
Mauro Carvalho Chehab1434bc02008-01-07 05:20:04 -03003722 [SAA7134_BOARD_BEHOLD_407] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003723 /* Beholder Intl. Ltd. 2008 */
3724 /*Dmitry Belimov <d.belimov@gmail.com> */
Mauro Carvalho Chehab1434bc02008-01-07 05:20:04 -03003725 .name = "Beholder BeholdTV 407",
3726 .audio_clock = 0x00187de7,
3727 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3728 .radio_type = UNSET,
3729 .tuner_addr = ADDR_UNSET,
3730 .radio_addr = ADDR_UNSET,
3731 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003732 .gpiomask = 0x00008000,
Mauro Carvalho Chehab1434bc02008-01-07 05:20:04 -03003733 .inputs = {{
3734 .name = name_svideo,
3735 .vmux = 8,
3736 .amux = LINE1,
3737 .gpio = 0xc0c000,
3738 },{
3739 .name = name_comp1,
3740 .vmux = 1,
3741 .amux = LINE1,
3742 .gpio = 0xc0c000,
3743 },{
3744 .name = name_tv,
3745 .vmux = 3,
3746 .amux = TV,
3747 .tv = 1,
3748 .gpio = 0xc0c000,
3749 }},
3750 },
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003751 [SAA7134_BOARD_BEHOLD_407FM] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003752 /* Beholder Intl. Ltd. 2008 */
3753 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003754 .name = "Beholder BeholdTV 407 FM",
3755 .audio_clock = 0x00187de7,
3756 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3757 .radio_type = UNSET,
3758 .tuner_addr = ADDR_UNSET,
3759 .radio_addr = ADDR_UNSET,
3760 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003761 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003762 .inputs = {{
3763 .name = name_svideo,
3764 .vmux = 8,
3765 .amux = LINE1,
3766 .gpio = 0xc0c000,
3767 },{
3768 .name = name_comp1,
3769 .vmux = 1,
3770 .amux = LINE1,
3771 .gpio = 0xc0c000,
3772 },{
3773 .name = name_tv,
3774 .vmux = 3,
3775 .amux = TV,
3776 .tv = 1,
3777 .gpio = 0xc0c000,
3778 }},
3779 .radio = {
3780 .name = name_radio,
3781 .amux = LINE2,
3782 .gpio = 0xc0c000,
3783 },
3784 },
3785 [SAA7134_BOARD_BEHOLD_409] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003786 /* Beholder Intl. Ltd. 2008 */
3787 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003788 .name = "Beholder BeholdTV 409",
3789 .audio_clock = 0x00187de7,
3790 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3791 .radio_type = UNSET,
3792 .tuner_addr = ADDR_UNSET,
3793 .radio_addr = ADDR_UNSET,
3794 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003795 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003796 .inputs = {{
3797 .name = name_tv,
3798 .vmux = 3,
3799 .amux = TV,
3800 .tv = 1,
3801 },{
3802 .name = name_comp1,
3803 .vmux = 1,
3804 .amux = LINE1,
3805 },{
3806 .name = name_svideo,
3807 .vmux = 8,
3808 .amux = LINE1,
3809 }},
3810 },
3811 [SAA7134_BOARD_BEHOLD_505FM] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003812 /* Beholder Intl. Ltd. 2008 */
3813 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003814 .name = "Beholder BeholdTV 505 FM/RDS",
3815 .audio_clock = 0x00200000,
3816 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3817 .radio_type = UNSET,
3818 .tuner_addr = ADDR_UNSET,
3819 .radio_addr = ADDR_UNSET,
3820 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003821 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003822 .inputs = {{
3823 .name = name_tv,
3824 .vmux = 3,
3825 .amux = LINE2,
3826 .tv = 1,
3827 },{
3828 .name = name_comp1,
3829 .vmux = 1,
3830 .amux = LINE1,
3831 },{
3832 .name = name_svideo,
3833 .vmux = 8,
3834 .amux = LINE1,
3835 }},
3836 .mute = {
3837 .name = name_mute,
3838 .amux = LINE1,
3839 },
3840 .radio = {
3841 .name = name_radio,
3842 .amux = LINE2,
3843 },
3844 },
3845 [SAA7134_BOARD_BEHOLD_507_9FM] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003846 /* Beholder Intl. Ltd. 2008 */
3847 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003848 .name = "Beholder BeholdTV 507 FM/RDS / BeholdTV 509 FM",
3849 .audio_clock = 0x00187de7,
3850 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3851 .radio_type = UNSET,
3852 .tuner_addr = ADDR_UNSET,
3853 .radio_addr = ADDR_UNSET,
3854 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003855 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003856 .inputs = {{
3857 .name = name_tv,
3858 .vmux = 3,
3859 .amux = TV,
3860 .tv = 1,
3861 },{
3862 .name = name_comp1,
3863 .vmux = 1,
3864 .amux = LINE1,
3865 },{
3866 .name = name_svideo,
3867 .vmux = 8,
3868 .amux = LINE1,
3869 }},
3870 .radio = {
3871 .name = name_radio,
3872 .amux = LINE2,
3873 },
3874 },
3875 [SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003876 /* Beholder Intl. Ltd. 2008 */
3877 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003878 .name = "Beholder BeholdTV Columbus TVFM",
3879 .audio_clock = 0x00187de7,
3880 .tuner_type = TUNER_ALPS_TSBE5_PAL,
3881 .radio_type = UNSET,
3882 .tuner_addr = ADDR_UNSET,
3883 .radio_addr = ADDR_UNSET,
3884 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003885 .gpiomask = 0x000A8004,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003886 .inputs = {{
3887 .name = name_tv,
3888 .vmux = 3,
3889 .amux = TV,
3890 .tv = 1,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003891 .gpio = 0x000A8004,
3892 }, {
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003893 .name = name_comp1,
3894 .vmux = 1,
3895 .amux = LINE1,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003896 .gpio = 0x000A8000,
3897 }, {
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003898 .name = name_svideo,
3899 .vmux = 8,
3900 .amux = LINE1,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003901 .gpio = 0x000A8000,
3902 } },
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003903 .radio = {
3904 .name = name_radio,
3905 .amux = LINE2,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003906 .gpio = 0x000A8000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003907 },
3908 },
3909 [SAA7134_BOARD_BEHOLD_607_9FM] = {
3910 /* Andrey Melnikoff <temnota@kmv.ru> */
3911 .name = "Beholder BeholdTV 607 / BeholdTV 609",
3912 .audio_clock = 0x00187de7,
3913 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3914 .radio_type = UNSET,
3915 .tuner_addr = ADDR_UNSET,
3916 .radio_addr = ADDR_UNSET,
3917 .tda9887_conf = TDA9887_PRESENT,
3918 .inputs = {{
3919 .name = name_tv,
3920 .vmux = 3,
3921 .amux = TV,
3922 .tv = 1,
3923 },{
3924 .name = name_comp1,
3925 .vmux = 1,
3926 .amux = LINE1,
3927 },{
3928 .name = name_svideo,
3929 .vmux = 8,
3930 .amux = LINE1,
3931 }},
3932 .radio = {
3933 .name = name_radio,
3934 .amux = LINE2,
3935 },
3936 },
3937 [SAA7134_BOARD_BEHOLD_M6] = {
3938 /* Igor Kuznetsov <igk@igk.ru> */
3939 /* Andrey Melnikoff <temnota@kmv.ru> */
3940 .name = "Beholder BeholdTV M6 / BeholdTV M6 Extra",
3941 .audio_clock = 0x00187de7,
3942 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3943 .radio_type = UNSET,
3944 .tuner_addr = ADDR_UNSET,
3945 .radio_addr = ADDR_UNSET,
3946 .tda9887_conf = TDA9887_PRESENT,
3947 .inputs = {{
3948 .name = name_tv,
3949 .vmux = 3,
3950 .amux = TV,
3951 .tv = 1,
3952 },{
3953 .name = name_comp1,
3954 .vmux = 1,
3955 .amux = LINE1,
3956 },{
3957 .name = name_svideo,
3958 .vmux = 8,
3959 .amux = LINE1,
3960 }},
3961 .radio = {
3962 .name = name_radio,
3963 .amux = LINE2,
3964 },
3965 .mpeg = SAA7134_MPEG_EMPRESS,
3966 },
Hermann Pitton4ba24372008-01-20 19:27:51 -03003967 [SAA7134_BOARD_TWINHAN_DTV_DVB_3056] = {
3968 .name = "Twinhan Hybrid DTV-DVB 3056 PCI",
3969 .audio_clock = 0x00187de7,
3970 .tuner_type = TUNER_PHILIPS_TDA8290,
3971 .radio_type = UNSET,
3972 .tuner_addr = ADDR_UNSET,
3973 .radio_addr = ADDR_UNSET,
3974 .tuner_config = 2,
3975 .mpeg = SAA7134_MPEG_DVB,
3976 .gpiomask = 0x0200000,
3977 .inputs = {{
3978 .name = name_tv,
3979 .vmux = 1,
3980 .amux = TV,
3981 .tv = 1,
3982 }, {
3983 .name = name_comp1,
3984 .vmux = 3,
3985 .amux = LINE1,
3986 }, {
3987 .name = name_svideo,
3988 .vmux = 8, /* untested */
3989 .amux = LINE1,
3990 } },
3991 .radio = {
3992 .name = name_radio,
3993 .amux = TV,
3994 .gpio = 0x0200000,
3995 },
3996 },
Adrian Pardinif0ba3562008-02-11 12:40:53 -03003997 [SAA7134_BOARD_GENIUS_TVGO_A11MCE] = {
3998 /* Adrian Pardini <pardo.bsso@gmail.com> */
3999 .name = "Genius TVGO AM11MCE",
4000 .audio_clock = 0x00200000,
4001 .tuner_type = TUNER_TNF_5335MF,
4002 .radio_type = UNSET,
4003 .tuner_addr = ADDR_UNSET,
4004 .radio_addr = ADDR_UNSET,
4005 .gpiomask = 0xf000,
4006 .inputs = {{
4007 .name = name_tv_mono,
4008 .vmux = 1,
4009 .amux = LINE2,
4010 .gpio = 0x0000,
4011 .tv = 1,
4012 }, {
4013 .name = name_comp1,
4014 .vmux = 3,
4015 .amux = LINE1,
4016 .gpio = 0x2000,
4017 .tv = 1
4018 }, {
4019 .name = name_svideo,
4020 .vmux = 8,
4021 .amux = LINE1,
4022 .gpio = 0x2000,
4023 } },
4024 .radio = {
4025 .name = name_radio,
4026 .amux = LINE2,
4027 .gpio = 0x1000,
4028 },
4029 .mute = {
4030 .name = name_mute,
4031 .amux = LINE2,
4032 .gpio = 0x6000,
4033 },
4034 },
Hartmut Hackmann6ab465a2008-04-22 14:42:11 -03004035 [SAA7134_BOARD_PHILIPS_SNAKE] = {
4036 .name = "NXP Snake DVB-S reference design",
4037 .audio_clock = 0x00200000,
4038 .tuner_type = TUNER_ABSENT,
4039 .radio_type = UNSET,
4040 .tuner_addr = ADDR_UNSET,
4041 .radio_addr = ADDR_UNSET,
4042 .mpeg = SAA7134_MPEG_DVB,
4043 .inputs = {{
4044 .name = name_comp1,
4045 .vmux = 3,
4046 .amux = LINE1,
4047 }, {
4048 .name = name_svideo,
4049 .vmux = 8,
4050 .amux = LINE1,
4051 } },
4052 },
Hermann Pitton7b5b3f12008-04-22 14:42:12 -03004053 [SAA7134_BOARD_CREATIX_CTX953] = {
4054 .name = "Medion/Creatix CTX953 Hybrid",
4055 .audio_clock = 0x00187de7,
4056 .tuner_type = TUNER_PHILIPS_TDA8290,
4057 .radio_type = UNSET,
4058 .tuner_addr = ADDR_UNSET,
4059 .radio_addr = ADDR_UNSET,
4060 .tuner_config = 0,
4061 .mpeg = SAA7134_MPEG_DVB,
4062 .inputs = {{
4063 .name = name_tv,
4064 .vmux = 1,
4065 .amux = TV,
4066 .tv = 1,
4067 }, {
4068 .name = name_comp1,
4069 .vmux = 0,
4070 .amux = LINE1,
4071 }, {
4072 .name = name_svideo,
4073 .vmux = 8,
4074 .amux = LINE1,
4075 } },
4076 },
Russell Kliese6a6179b62008-04-22 14:42:12 -03004077 [SAA7134_BOARD_MSI_TVANYWHERE_AD11] = {
4078 .name = "MSI TV@nywhere A/D v1.1",
4079 .audio_clock = 0x00187de7,
4080 .tuner_type = TUNER_PHILIPS_TDA8290,
4081 .radio_type = UNSET,
4082 .tuner_addr = ADDR_UNSET,
4083 .radio_addr = ADDR_UNSET,
4084 .tuner_config = 2,
4085 .mpeg = SAA7134_MPEG_DVB,
4086 .gpiomask = 0x0200000,
4087 .inputs = { {
4088 .name = name_tv,
4089 .vmux = 1,
4090 .amux = TV,
4091 .tv = 1,
4092 }, {
4093 .name = name_comp1,
4094 .vmux = 3,
4095 .amux = LINE1,
4096 }, {
4097 .name = name_svideo,
4098 .vmux = 8,
4099 .amux = LINE1,
4100 } },
4101 .radio = {
4102 .name = name_radio,
4103 .amux = TV,
4104 .gpio = 0x0200000,
4105 },
4106 },
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03004107 [SAA7134_BOARD_AVERMEDIA_CARDBUS_506] = {
Mauro Carvalho Chehabd9ae6dd2008-04-22 14:46:06 -03004108 .name = "AVerMedia Cardbus TV/Radio (E506R)",
4109 .audio_clock = 0x187de7,
4110 .tuner_type = TUNER_XC2028,
Mauro Carvalho Chehab6e741712008-04-22 14:46:07 -03004111 .radio_type = UNSET,
Mauro Carvalho Chehabd9ae6dd2008-04-22 14:46:06 -03004112 .tuner_addr = ADDR_UNSET,
4113 .radio_addr = ADDR_UNSET,
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03004114 /*
4115 TODO:
4116 .mpeg = SAA7134_MPEG_DVB,
4117 */
4118
4119 .inputs = {{
4120 .name = name_tv,
4121 .vmux = 1,
4122 .amux = TV,
4123 .tv = 1,
4124 }, {
4125 .name = name_comp1,
4126 .vmux = 3,
4127 .amux = LINE2,
4128 }, {
4129 .name = name_svideo,
4130 .vmux = 8,
4131 .amux = LINE1,
4132 } },
4133 .radio = {
4134 .name = name_radio,
4135 .amux = TV,
4136 },
4137 },
4138 [SAA7134_BOARD_AVERMEDIA_A16D] = {
4139 .name = "AVerMedia Hybrid TV/Radio (A16D)",
4140 .audio_clock = 0x187de7,
4141 .tuner_type = TUNER_XC2028,
Mauro Carvalho Chehab6e741712008-04-22 14:46:07 -03004142 .radio_type = UNSET,
Mauro Carvalho Chehabd9ae6dd2008-04-22 14:46:06 -03004143 .tuner_addr = ADDR_UNSET,
4144 .radio_addr = ADDR_UNSET,
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03004145 .inputs = {{
4146 .name = name_tv,
4147 .vmux = 1,
4148 .amux = TV,
4149 .tv = 1,
4150 }, {
4151 .name = name_svideo,
4152 .vmux = 8,
4153 .amux = LINE1,
4154 } },
4155 .radio = {
4156 .name = name_radio,
4157 .amux = LINE1,
4158 },
4159 },
4160 [SAA7134_BOARD_AVERMEDIA_M115] = {
4161 .name = "Avermedia M115",
4162 .audio_clock = 0x187de7,
4163 .tuner_type = TUNER_XC2028,
Mauro Carvalho Chehab6e741712008-04-22 14:46:07 -03004164 .radio_type = UNSET,
Mauro Carvalho Chehabd9ae6dd2008-04-22 14:46:06 -03004165 .tuner_addr = ADDR_UNSET,
4166 .radio_addr = ADDR_UNSET,
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03004167 .inputs = {{
4168 .name = name_tv,
4169 .vmux = 1,
4170 .amux = TV,
4171 .tv = 1,
4172 }, {
4173 .name = name_comp1,
4174 .vmux = 3,
4175 .amux = LINE1,
4176 }, {
4177 .name = name_svideo,
4178 .vmux = 8,
4179 .amux = LINE2,
4180 } },
4181 },
4182 [SAA7134_BOARD_VIDEOMATE_T750] = {
4183 /* John Newbigin <jn@it.swin.edu.au> */
4184 .name = "Compro VideoMate T750",
4185 .audio_clock = 0x00187de7,
4186 .tuner_type = TUNER_XC2028,
Mauro Carvalho Chehab6e741712008-04-22 14:46:07 -03004187 .radio_type = UNSET,
Mauro Carvalho Chehabd9ae6dd2008-04-22 14:46:06 -03004188 .tuner_addr = ADDR_UNSET,
4189 .radio_addr = ADDR_UNSET,
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03004190 .mpeg = SAA7134_MPEG_DVB,
4191 .inputs = {{
4192 .name = name_tv,
4193 .vmux = 3,
4194 .amux = TV,
4195 .tv = 1,
4196 }, {
4197 .name = name_comp1,
4198 .vmux = 1,
4199 .amux = LINE2,
4200 }, {
4201 .name = name_svideo,
4202 .vmux = 8,
4203 .amux = LINE2,
4204 } },
4205 .radio = {
4206 .name = name_radio,
4207 .amux = TV,
4208 }
Matthias Schwarzottfc9d8ed2008-04-08 21:45:08 -03004209 },
4210 [SAA7134_BOARD_AVERMEDIA_A700_PRO] = {
4211 /* Matthias Schwarzott <zzam@gentoo.org> */
4212 .name = "Avermedia DVB-S Pro A700",
4213 .audio_clock = 0x00187de7,
4214 .tuner_type = TUNER_ABSENT,
4215 .radio_type = UNSET,
4216 .tuner_addr = ADDR_UNSET,
4217 .radio_addr = ADDR_UNSET,
4218 /* no DVB support for now */
4219 /* .mpeg = SAA7134_MPEG_DVB, */
4220 .inputs = { {
4221 .name = name_comp,
4222 .vmux = 1,
4223 .amux = LINE1,
4224 }, {
4225 .name = name_svideo,
4226 .vmux = 6,
4227 .amux = LINE1,
4228 } },
4229 },
4230 [SAA7134_BOARD_AVERMEDIA_A700_HYBRID] = {
4231 /* Matthias Schwarzott <zzam@gentoo.org> */
4232 .name = "Avermedia DVB-S Hybrid+FM A700",
4233 .audio_clock = 0x00187de7,
4234 .tuner_type = TUNER_ABSENT, /* TUNER_XC2028 */
4235 .radio_type = UNSET,
4236 .tuner_addr = ADDR_UNSET,
4237 .radio_addr = ADDR_UNSET,
4238 /* no DVB support for now */
4239 /* .mpeg = SAA7134_MPEG_DVB, */
4240 .inputs = { {
4241 .name = name_comp,
4242 .vmux = 1,
4243 .amux = LINE1,
4244 }, {
4245 .name = name_svideo,
4246 .vmux = 6,
4247 .amux = LINE1,
4248 } },
4249 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004250};
4251
Linus Torvalds1da177e2005-04-16 15:20:36 -07004252const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards);
4253
4254/* ------------------------------------------------------------------ */
4255/* PCI ids + subsystem IDs */
4256
4257struct pci_device_id saa7134_pci_tbl[] = {
4258 {
4259 .vendor = PCI_VENDOR_ID_PHILIPS,
4260 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4261 .subvendor = PCI_VENDOR_ID_PHILIPS,
4262 .subdevice = 0x2001,
4263 .driver_data = SAA7134_BOARD_PROTEUS_PRO,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004264 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004265 .vendor = PCI_VENDOR_ID_PHILIPS,
4266 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4267 .subvendor = PCI_VENDOR_ID_PHILIPS,
4268 .subdevice = 0x2001,
4269 .driver_data = SAA7134_BOARD_PROTEUS_PRO,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004270 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004271 .vendor = PCI_VENDOR_ID_PHILIPS,
4272 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4273 .subvendor = PCI_VENDOR_ID_PHILIPS,
4274 .subdevice = 0x6752,
4275 .driver_data = SAA7134_BOARD_EMPRESS,
4276 },{
4277 .vendor = PCI_VENDOR_ID_PHILIPS,
4278 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004279 .subvendor = 0x1131,
4280 .subdevice = 0x4e85,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004281 .driver_data = SAA7134_BOARD_MONSTERTV,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004282 },{
4283 .vendor = PCI_VENDOR_ID_PHILIPS,
4284 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Michael Krufky7df64e82005-11-08 21:36:16 -08004285 .subvendor = 0x153b,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004286 .subdevice = 0x1142,
4287 .driver_data = SAA7134_BOARD_CINERGY400,
4288 },{
4289 .vendor = PCI_VENDOR_ID_PHILIPS,
4290 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Michael Krufky7df64e82005-11-08 21:36:16 -08004291 .subvendor = 0x153b,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004292 .subdevice = 0x1143,
4293 .driver_data = SAA7134_BOARD_CINERGY600,
4294 },{
4295 .vendor = PCI_VENDOR_ID_PHILIPS,
4296 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Michael Krufky7df64e82005-11-08 21:36:16 -08004297 .subvendor = 0x153b,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004298 .subdevice = 0x1158,
4299 .driver_data = SAA7134_BOARD_CINERGY600_MK3,
4300 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004301 .vendor = PCI_VENDOR_ID_PHILIPS,
4302 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4303 .subvendor = 0x153b,
4304 .subdevice = 0x1162,
4305 .driver_data = SAA7134_BOARD_CINERGY400_CARDBUS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004306 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004307 .vendor = PCI_VENDOR_ID_PHILIPS,
4308 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Zac Bowlingf49ba8d2006-06-19 19:49:20 -03004309 .subvendor = 0x5169,
4310 .subdevice = 0x0138,
4311 .driver_data = SAA7134_BOARD_FLYVIDEO3000_NTSC,
4312 },{
4313 .vendor = PCI_VENDOR_ID_PHILIPS,
4314 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004315 .subvendor = 0x5168,
4316 .subdevice = 0x0138,
4317 .driver_data = SAA7134_BOARD_FLYVIDEO3000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004318 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004319 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004320 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4321 .subvendor = 0x4e42, /* "Typhoon PCI Capture TV Card" Art.No. 50673 */
4322 .subdevice = 0x0138,
4323 .driver_data = SAA7134_BOARD_FLYVIDEO3000,
4324 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004325 .vendor = PCI_VENDOR_ID_PHILIPS,
4326 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4327 .subvendor = 0x5168,
4328 .subdevice = 0x0138,
4329 .driver_data = SAA7134_BOARD_FLYVIDEO2000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004330 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004331 .vendor = PCI_VENDOR_ID_PHILIPS,
Peter Missel10b7a902006-01-23 17:11:06 -02004332 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4333 .subvendor = 0x4e42, /* Typhoon */
4334 .subdevice = 0x0138, /* LifeView FlyTV Prime30 OEM */
4335 .driver_data = SAA7134_BOARD_FLYVIDEO2000,
4336 },{
4337 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004338 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004339 .subvendor = 0x5168,
4340 .subdevice = 0x0212, /* minipci, LR212 */
4341 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004342 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004343 .vendor = PCI_VENDOR_ID_PHILIPS,
4344 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Mauro Carvalho Chehab058afaf2005-11-08 21:36:49 -08004345 .subvendor = 0x14c0,
4346 .subdevice = 0x1212, /* minipci, LR1212 */
4347 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI2,
4348 },{
4349 .vendor = PCI_VENDOR_ID_PHILIPS,
4350 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Glen Gray2d14f782005-11-08 21:36:12 -08004351 .subvendor = 0x4e42,
4352 .subdevice = 0x0212, /* OEM minipci, LR212 */
4353 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
4354 },{
4355 .vendor = PCI_VENDOR_ID_PHILIPS,
4356 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Peter Missel10e92062005-05-01 08:59:21 -07004357 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
Simon Farnsworthb39423a2007-05-01 10:01:20 -03004358 .subdevice = 0x0214, /* Standard PCI, LR214 Rev E and earlier (SAA7135) */
4359 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
4360 },{
4361 .vendor = PCI_VENDOR_ID_PHILIPS,
4362 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4363 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
4364 .subdevice = 0x5214, /* Standard PCI, LR214 Rev F onwards (SAA7131) */
Linus Torvalds1da177e2005-04-16 15:20:36 -07004365 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004366 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004367 .vendor = PCI_VENDOR_ID_PHILIPS,
Peter Missel10e92062005-05-01 08:59:21 -07004368 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4369 .subvendor = 0x1489, /* KYE */
4370 .subdevice = 0x0214, /* Genius VideoWonder ProTV */
4371 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM, /* is an LR214WF actually */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004372 },{
Peter Missel10e92062005-05-01 08:59:21 -07004373 .vendor = PCI_VENDOR_ID_PHILIPS,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004374 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4375 .subvendor = 0x16be,
4376 .subdevice = 0x0003,
4377 .driver_data = SAA7134_BOARD_MD7134,
4378 },{
4379 .vendor = PCI_VENDOR_ID_PHILIPS,
4380 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4381 .subvendor = 0x1048,
4382 .subdevice = 0x226b,
4383 .driver_data = SAA7134_BOARD_ELSA,
4384 },{
4385 .vendor = PCI_VENDOR_ID_PHILIPS,
4386 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4387 .subvendor = 0x1048,
Michael Krufky9a7871b2006-02-27 15:22:49 -03004388 .subdevice = 0x226a,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004389 .driver_data = SAA7134_BOARD_ELSA_500TV,
4390 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004391 .vendor = PCI_VENDOR_ID_PHILIPS,
Tamuki Shoichid0456d12006-02-27 00:08:04 -03004392 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Michael Krufkyba524292006-02-27 14:38:17 -03004393 .subvendor = 0x1048,
4394 .subdevice = 0x226c,
Tamuki Shoichid0456d12006-02-27 00:08:04 -03004395 .driver_data = SAA7134_BOARD_ELSA_700TV,
4396 },{
4397 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004398 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4399 .subvendor = PCI_VENDOR_ID_ASUSTEK,
4400 .subdevice = 0x4842,
4401 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004402 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004403 .vendor = PCI_VENDOR_ID_PHILIPS,
4404 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4405 .subvendor = PCI_VENDOR_ID_ASUSTEK,
4406 .subdevice = 0x4845,
4407 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7135,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004408 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004409 .vendor = PCI_VENDOR_ID_PHILIPS,
4410 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4411 .subvendor = PCI_VENDOR_ID_ASUSTEK,
4412 .subdevice = 0x4830,
4413 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004414 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004415 .vendor = PCI_VENDOR_ID_PHILIPS,
4416 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4417 .subvendor = PCI_VENDOR_ID_ASUSTEK,
4418 .subdevice = 0x4843,
4419 .driver_data = SAA7134_BOARD_ASUSTEK_TVFM7133,
4420 },{
4421 .vendor = PCI_VENDOR_ID_PHILIPS,
4422 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4423 .subvendor = PCI_VENDOR_ID_ASUSTEK,
4424 .subdevice = 0x4840,
4425 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
4426 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004427 .vendor = PCI_VENDOR_ID_PHILIPS,
4428 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4429 .subvendor = PCI_VENDOR_ID_PHILIPS,
4430 .subdevice = 0xfe01,
4431 .driver_data = SAA7134_BOARD_TVSTATION_RDS,
4432 },{
4433 .vendor = PCI_VENDOR_ID_PHILIPS,
4434 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4435 .subvendor = 0x1894,
4436 .subdevice = 0xfe01,
4437 .driver_data = SAA7134_BOARD_TVSTATION_RDS,
4438 },{
4439 .vendor = PCI_VENDOR_ID_PHILIPS,
4440 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4441 .subvendor = 0x1894,
4442 .subdevice = 0xa006,
4443 .driver_data = SAA7134_BOARD_TVSTATION_DVR,
4444 },{
4445 .vendor = PCI_VENDOR_ID_PHILIPS,
4446 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004447 .subvendor = 0x1131,
4448 .subdevice = 0x7133,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004449 .driver_data = SAA7134_BOARD_VA1000POWER,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004450 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004451 .vendor = PCI_VENDOR_ID_PHILIPS,
4452 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004453 .subvendor = PCI_VENDOR_ID_PHILIPS,
4454 .subdevice = 0x2001,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004455 .driver_data = SAA7134_BOARD_10MOONSTVMASTER,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004456 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004457 .vendor = PCI_VENDOR_ID_PHILIPS,
4458 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004459 .subvendor = 0x185b,
4460 .subdevice = 0xc100,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004461 .driver_data = SAA7134_BOARD_VIDEOMATE_TV,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004462 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004463 .vendor = PCI_VENDOR_ID_PHILIPS,
4464 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004465 .subvendor = 0x185b,
4466 .subdevice = 0xc100,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004467 .driver_data = SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004468 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004469 .vendor = PCI_VENDOR_ID_PHILIPS,
4470 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004471 .subvendor = PCI_VENDOR_ID_MATROX,
4472 .subdevice = 0x48d0,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004473 .driver_data = SAA7134_BOARD_CRONOS_PLUS,
4474 },{
4475 .vendor = PCI_VENDOR_ID_PHILIPS,
4476 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004477 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4478 .subdevice = 0xa70b,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004479 .driver_data = SAA7134_BOARD_MD2819,
4480 },{
4481 .vendor = PCI_VENDOR_ID_PHILIPS,
Matthias Schwarzottfc9d8ed2008-04-08 21:45:08 -03004482 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4483 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4484 .subdevice = 0xa7a1,
4485 .driver_data = SAA7134_BOARD_AVERMEDIA_A700_PRO,
4486 }, {
4487 .vendor = PCI_VENDOR_ID_PHILIPS,
4488 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4489 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4490 .subdevice = 0xa7a2,
4491 .driver_data = SAA7134_BOARD_AVERMEDIA_A700_HYBRID,
4492 }, {
4493 .vendor = PCI_VENDOR_ID_PHILIPS,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004494 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004495 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4496 .subdevice = 0x2115,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004497 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_305,
4498 },{
4499 .vendor = PCI_VENDOR_ID_PHILIPS,
4500 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004501 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4502 .subdevice = 0x2108,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004503 .driver_data = SAA7134_BOARD_AVERMEDIA_305,
4504 },{
4505 .vendor = PCI_VENDOR_ID_PHILIPS,
4506 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004507 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4508 .subdevice = 0x10ff,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004509 .driver_data = SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004510 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004511 /* AVerMedia CardBus */
4512 .vendor = PCI_VENDOR_ID_PHILIPS,
4513 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004514 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4515 .subdevice = 0xd6ee,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004516 .driver_data = SAA7134_BOARD_AVERMEDIA_CARDBUS,
4517 },{
4518 /* TransGear 3000TV */
4519 .vendor = PCI_VENDOR_ID_PHILIPS,
4520 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004521 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4522 .subdevice = 0x050c,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004523 .driver_data = SAA7134_BOARD_TG3000TV,
4524 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004525 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004526 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4527 .subvendor = 0x11bd,
4528 .subdevice = 0x002b,
4529 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_STEREO,
4530 },{
4531 .vendor = PCI_VENDOR_ID_PHILIPS,
4532 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4533 .subvendor = 0x11bd,
4534 .subdevice = 0x002d,
4535 .driver_data = SAA7134_BOARD_PINNACLE_300I_DVBT_PAL,
4536 },{
4537 .vendor = PCI_VENDOR_ID_PHILIPS,
4538 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4539 .subvendor = 0x1019,
4540 .subdevice = 0x4cb4,
4541 .driver_data = SAA7134_BOARD_ECS_TVP3XP,
4542 },{
4543 .vendor = PCI_VENDOR_ID_PHILIPS,
4544 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4545 .subvendor = 0x1019,
4546 .subdevice = 0x4cb5,
4547 .driver_data = SAA7134_BOARD_ECS_TVP3XP_4CB5,
4548 },{
4549 .vendor = PCI_VENDOR_ID_PHILIPS,
Simon Farnsworthb39423a2007-05-01 10:01:20 -03004550 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4551 .subvendor = 0x1019,
4552 .subdevice = 0x4cb6,
4553 .driver_data = SAA7134_BOARD_ECS_TVP3XP_4CB6,
4554 },{
4555 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004556 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4557 .subvendor = 0x12ab,
4558 .subdevice = 0x0800,
4559 .driver_data = SAA7134_BOARD_UPMOST_PURPLE_TV,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004560 },{
4561 .vendor = PCI_VENDOR_ID_PHILIPS,
4562 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Michael Krufky7df64e82005-11-08 21:36:16 -08004563 .subvendor = 0x153b,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004564 .subdevice = 0x1152,
4565 .driver_data = SAA7134_BOARD_CINERGY200,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004566 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004567 .vendor = PCI_VENDOR_ID_PHILIPS,
4568 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004569 .subvendor = 0x185b,
4570 .subdevice = 0xc100,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004571 .driver_data = SAA7134_BOARD_VIDEOMATE_TV_PVR,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004572 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004573 .vendor = PCI_VENDOR_ID_PHILIPS,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004574 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4575 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4576 .subdevice = 0x9715,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07004577 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_307,
4578 },{
4579 .vendor = PCI_VENDOR_ID_PHILIPS,
4580 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4581 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4582 .subdevice = 0xa70a,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004583 .driver_data = SAA7134_BOARD_AVERMEDIA_307,
4584 },{
4585 .vendor = PCI_VENDOR_ID_PHILIPS,
4586 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4587 .subvendor = 0x185b,
4588 .subdevice = 0xc200,
4589 .driver_data = SAA7134_BOARD_VIDEOMATE_GOLD_PLUS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004590 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004591 .vendor = PCI_VENDOR_ID_PHILIPS,
4592 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4593 .subvendor = 0x1540,
4594 .subdevice = 0x9524,
4595 .driver_data = SAA7134_BOARD_PROVIDEO_PV952,
4596
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004597 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004598 .vendor = PCI_VENDOR_ID_PHILIPS,
4599 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4600 .subvendor = 0x5168,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004601 .subdevice = 0x0502, /* Cardbus version */
Peter Missel10b7a902006-01-23 17:11:06 -02004602 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004603 },{
4604 .vendor = PCI_VENDOR_ID_PHILIPS,
4605 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4606 .subvendor = 0x5168,
4607 .subdevice = 0x0306, /* PCI version */
Linus Torvalds1da177e2005-04-16 15:20:36 -07004608 .driver_data = SAA7134_BOARD_FLYDVBTDUO,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07004609 },{
4610 .vendor = PCI_VENDOR_ID_PHILIPS,
4611 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4612 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4613 .subdevice = 0xf31f,
4614 .driver_data = SAA7134_BOARD_AVERMEDIA_GO_007_FM,
4615
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004616 },{
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07004617 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004618 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4619 .subvendor = PCI_VENDOR_ID_PHILIPS,
4620 .subdevice = 0x2004,
4621 .driver_data = SAA7134_BOARD_PHILIPS_TOUGH,
4622 },{
4623 .vendor = PCI_VENDOR_ID_PHILIPS,
4624 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07004625 .subvendor = 0x1421,
4626 .subdevice = 0x0350, /* PCI version */
4627 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004628 },{
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07004629 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004630 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07004631 .subvendor = 0x1421,
Ricardo Cerqueira41d70c22006-01-09 15:25:34 -02004632 .subdevice = 0x0351, /* PCI version, new revision */
4633 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
4634 },{
4635 .vendor = PCI_VENDOR_ID_PHILIPS,
4636 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4637 .subvendor = 0x1421,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07004638 .subdevice = 0x0370, /* cardbus version */
4639 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
Hartmut Hackmannd4b0aba2005-11-08 21:38:44 -08004640 },{
4641 .vendor = PCI_VENDOR_ID_PHILIPS,
4642 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4643 .subvendor = 0x1421,
4644 .subdevice = 0x1370, /* cardbus version */
4645 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004646
Peter Missel10b7a902006-01-23 17:11:06 -02004647 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004648 .vendor = PCI_VENDOR_ID_PHILIPS,
4649 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Peter Missel10b7a902006-01-23 17:11:06 -02004650 .subvendor = 0x4e42, /* Typhoon */
4651 .subdevice = 0x0502, /* LifeView LR502 OEM */
4652 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
Mauro Carvalho Chehab2f180712005-09-09 13:03:46 -07004653 },{
4654 .vendor = PCI_VENDOR_ID_PHILIPS,
4655 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4656 .subvendor = 0x1043,
4657 .subdevice = 0x0210, /* mini pci NTSC version */
4658 .driver_data = SAA7134_BOARD_FLYTV_DIGIMATRIX,
4659 },{
4660 .vendor = PCI_VENDOR_ID_PHILIPS,
4661 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4662 .subvendor = 0x1043,
4663 .subdevice = 0x0210, /* mini pci PAL/SECAM version */
Michael Krufky5d5c9902005-11-08 21:38:08 -08004664 .driver_data = SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004665
4666 },{
Nickolay V. Shmyreva8ff4172005-11-08 21:36:16 -08004667 .vendor = PCI_VENDOR_ID_PHILIPS,
4668 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4669 .subvendor = 0x0000, /* It shouldn't break anything, since subdevice id seems unique */
4670 .subdevice = 0x4091,
4671 .driver_data = SAA7134_BOARD_BEHOLD_409FM,
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08004672 },{
4673 .vendor = PCI_VENDOR_ID_PHILIPS,
4674 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4675 .subvendor = 0x5456, /* GoTView */
4676 .subdevice = 0x7135,
4677 .driver_data = SAA7134_BOARD_GOTVIEW_7135,
4678 },{
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08004679 .vendor = PCI_VENDOR_ID_PHILIPS,
4680 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4681 .subvendor = PCI_VENDOR_ID_PHILIPS,
4682 .subdevice = 0x2004,
4683 .driver_data = SAA7134_BOARD_PHILIPS_EUROPA,
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08004684 },{
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08004685 .vendor = PCI_VENDOR_ID_PHILIPS,
4686 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4687 .subvendor = 0x185b,
4688 .subdevice = 0xc900,
4689 .driver_data = SAA7134_BOARD_VIDEOMATE_DVBT_300,
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08004690 },{
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08004691 .vendor = PCI_VENDOR_ID_PHILIPS,
4692 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4693 .subvendor = 0x185b,
4694 .subdevice = 0xc901,
4695 .driver_data = SAA7134_BOARD_VIDEOMATE_DVBT_200,
4696 },{
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08004697 .vendor = PCI_VENDOR_ID_PHILIPS,
4698 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4699 .subvendor = 0x1435,
4700 .subdevice = 0x7350,
4701 .driver_data = SAA7134_BOARD_RTD_VFG7350,
Nickolay V. Shmyrevbb881f12005-11-08 21:36:35 -08004702 },{
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08004703 .vendor = PCI_VENDOR_ID_PHILIPS,
4704 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4705 .subvendor = 0x1435,
4706 .subdevice = 0x7330,
4707 .driver_data = SAA7134_BOARD_RTD_VFG7330,
Pieter Palmerscf1c5d12005-11-08 21:37:40 -08004708 },{
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08004709 .vendor = PCI_VENDOR_ID_PHILIPS,
4710 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4711 .subvendor = 0x1461,
4712 .subdevice = 0x1044,
4713 .driver_data = SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180,
4714 },{
Pieter Palmerscf1c5d12005-11-08 21:37:40 -08004715 .vendor = PCI_VENDOR_ID_PHILIPS,
4716 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4717 .subvendor = 0x1131,
4718 .subdevice = 0x4ee9,
4719 .driver_data = SAA7134_BOARD_MONSTERTV_MOBILE,
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08004720 },{
Ricardo Cerqueirac2f6f9d2005-11-08 21:37:51 -08004721 .vendor = PCI_VENDOR_ID_PHILIPS,
4722 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4723 .subvendor = 0x11bd,
4724 .subdevice = 0x002e,
4725 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_110i,
4726 },{
Hermann Pitton28f02242005-11-08 21:38:03 -08004727 .vendor = PCI_VENDOR_ID_PHILIPS,
4728 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4729 .subvendor = 0x1043,
4730 .subdevice = 0x4862,
4731 .driver_data = SAA7134_BOARD_ASUSTeK_P7131_DUAL,
Pavel Mihaylovc3d93192005-11-08 21:38:43 -08004732 },{
Hartmut Hackmann90e9df72005-11-08 21:38:42 -08004733 .vendor = PCI_VENDOR_ID_PHILIPS,
4734 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4735 .subvendor = PCI_VENDOR_ID_PHILIPS,
4736 .subdevice = 0x2018,
4737 .driver_data = SAA7134_BOARD_PHILIPS_TIGER,
Hermann Pitton28f02242005-11-08 21:38:03 -08004738 },{
Ricardo Cerqueira80d2ad92005-11-13 16:08:01 -08004739 .vendor = PCI_VENDOR_ID_PHILIPS,
4740 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4741 .subvendor = 0x1462,
Hermann Pittonb6667e52008-01-12 14:43:48 -03004742 .subdevice = 0x6231, /* tda8275a, ks003 IR */
4743 .driver_data = SAA7134_BOARD_MSI_TVATANYWHERE_PLUS,
4744 },{
4745 .vendor = PCI_VENDOR_ID_PHILIPS,
4746 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4747 .subvendor = 0x1462,
4748 .subdevice = 0x8624, /* tda8275, ks003 IR */
Ricardo Cerqueira80d2ad92005-11-13 16:08:01 -08004749 .driver_data = SAA7134_BOARD_MSI_TVATANYWHERE_PLUS,
4750 },{
Jörg Schummerf639c9b2006-01-09 15:25:01 -02004751 .vendor = PCI_VENDOR_ID_PHILIPS,
4752 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4753 .subvendor = 0x153b,
4754 .subdevice = 0x1160,
4755 .driver_data = SAA7134_BOARD_CINERGY250PCI,
4756 },{
Peter Missel4aa6ba52006-01-09 15:32:45 -02004757 .vendor = PCI_VENDOR_ID_PHILIPS,
4758 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA 7131E */
4759 .subvendor = 0x5168,
4760 .subdevice = 0x0319,
4761 .driver_data = SAA7134_BOARD_FLYDVB_TRIO,
4762 },{
Jose Alberto Regueroa78d0bf2006-02-07 06:25:14 -02004763 .vendor = PCI_VENDOR_ID_PHILIPS,
Hartmut Hackmann1e9bfb92006-08-07 14:03:32 -03004764 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Jose Alberto Regueroa78d0bf2006-02-07 06:25:14 -02004765 .subvendor = 0x1461,
4766 .subdevice = 0x2c05,
4767 .driver_data = SAA7134_BOARD_AVERMEDIA_777,
4768 },{
Giampiero Giancipoli3d8466e2006-02-07 06:49:09 -02004769 .vendor = PCI_VENDOR_ID_PHILIPS,
4770 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4771 .subvendor = 0x5168,
4772 .subdevice = 0x0301,
4773 .driver_data = SAA7134_BOARD_FLYDVBT_LR301,
4774 },{
Hartmut Hackmanndf42eaf2006-02-07 06:49:10 -02004775 .vendor = PCI_VENDOR_ID_PHILIPS,
4776 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4777 .subvendor = 0x0331,
4778 .subdevice = 0x1421,
4779 .driver_data = SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331,
4780 },{
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02004781 .vendor = PCI_VENDOR_ID_PHILIPS,
4782 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4783 .subvendor = 0x17de,
4784 .subdevice = 0x7201,
4785 .driver_data = SAA7134_BOARD_TEVION_DVBT_220RF,
4786 },{
Andrew Burri3e1410a2006-02-27 00:08:23 -03004787 .vendor = PCI_VENDOR_ID_PHILIPS,
Simon Farnsworthb39423a2007-05-01 10:01:20 -03004788 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4789 .subvendor = 0x17de,
4790 .subdevice = 0x7250,
4791 .driver_data = SAA7134_BOARD_KWORLD_DVBT_210,
4792 },{
4793 .vendor = PCI_VENDOR_ID_PHILIPS,
Andrew Burri3e1410a2006-02-27 00:08:23 -03004794 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA7135HL */
4795 .subvendor = 0x17de,
4796 .subdevice = 0x7350,
4797 .driver_data = SAA7134_BOARD_KWORLD_ATSC110,
4798 },{
Rickard Osser68593af2006-03-11 17:14:12 -03004799 .vendor = PCI_VENDOR_ID_PHILIPS,
Eric Sandeen0ac3a5b2007-10-08 16:13:02 -03004800 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA7135HL */
4801 .subvendor = 0x17de,
4802 .subdevice = 0x7352,
4803 .driver_data = SAA7134_BOARD_KWORLD_ATSC110, /* ATSC 115 */
4804 },{
4805 .vendor = PCI_VENDOR_ID_PHILIPS,
Rickard Osser68593af2006-03-11 17:14:12 -03004806 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4807 .subvendor = 0x1461,
4808 .subdevice = 0x7360,
4809 .driver_data = SAA7134_BOARD_AVERMEDIA_A169_B,
4810 },{
4811 .vendor = PCI_VENDOR_ID_PHILIPS,
4812 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4813 .subvendor = 0x1461,
4814 .subdevice = 0x6360,
4815 .driver_data = SAA7134_BOARD_AVERMEDIA_A169_B1,
4816 },{
Michael Krufkyba3a5a82006-03-14 19:02:12 -03004817 .vendor = PCI_VENDOR_ID_PHILIPS,
4818 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4819 .subvendor = 0x16be,
4820 .subdevice = 0x0005,
4821 .driver_data = SAA7134_BOARD_MD7134_BRIDGE_2,
4822 },{
Igor M. Liplianine2ac28f2006-08-08 09:10:10 -03004823 .vendor = PCI_VENDOR_ID_PHILIPS,
4824 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4825 .subvendor = 0x5168,
4826 .subdevice = 0x0300,
4827 .driver_data = SAA7134_BOARD_FLYDVBS_LR300,
4828 },{
4829 .vendor = PCI_VENDOR_ID_PHILIPS,
4830 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4831 .subvendor = 0x4e42,
4832 .subdevice = 0x0300,/* LR300 */
4833 .driver_data = SAA7134_BOARD_FLYDVBS_LR300,
4834 },{
Hartmut Hackmann42e6b3b2006-03-27 19:04:48 -03004835 .vendor = PCI_VENDOR_ID_PHILIPS,
4836 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4837 .subvendor = 0x1489,
4838 .subdevice = 0x0301,
4839 .driver_data = SAA7134_BOARD_FLYDVBT_LR301,
4840 },{
4841 .vendor = PCI_VENDOR_ID_PHILIPS,
4842 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4843 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
4844 .subdevice = 0x0304,
4845 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
4846 },{
Hartmut Hackmannd95b8942006-03-27 19:39:30 -03004847 .vendor = PCI_VENDOR_ID_PHILIPS,
4848 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4849 .subvendor = 0x5168,
4850 .subdevice = 0x3306,
4851 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
4852 },{
4853 .vendor = PCI_VENDOR_ID_PHILIPS,
4854 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4855 .subvendor = 0x5168,
4856 .subdevice = 0x3502, /* whats the difference to 0x3306 ?*/
4857 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
4858 },{
Hartmut Hackmann5eda2272006-08-07 14:03:32 -03004859 .vendor = PCI_VENDOR_ID_PHILIPS,
4860 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Hermann Pitton29e4e052008-01-20 19:49:51 -03004861 .subvendor = 0x5168,
4862 .subdevice = 0x3307, /* FlyDVB-T Hybrid Mini PCI */
4863 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
4864 }, {
4865 .vendor = PCI_VENDOR_ID_PHILIPS,
4866 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Hartmut Hackmann5eda2272006-08-07 14:03:32 -03004867 .subvendor = 0x16be,
4868 .subdevice = 0x0007,
4869 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
4870 },{
4871 .vendor = PCI_VENDOR_ID_PHILIPS,
4872 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4873 .subvendor = 0x16be,
4874 .subdevice = 0x0008,
4875 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
4876 },{
Hartmut Hackmann1e9bfb92006-08-07 14:03:32 -03004877 .vendor = PCI_VENDOR_ID_PHILIPS,
4878 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Hermann Pitton728b92a2008-01-20 19:42:01 -03004879 .subvendor = 0x16be,
4880 .subdevice = 0x000d, /* triple CTX948_V1.1.1 */
4881 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
4882 }, {
4883 .vendor = PCI_VENDOR_ID_PHILIPS,
4884 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Hartmut Hackmann1e9bfb92006-08-07 14:03:32 -03004885 .subvendor = 0x1461,
4886 .subdevice = 0x2c05,
4887 .driver_data = SAA7134_BOARD_AVERMEDIA_777,
4888 },{
Hartmut Hackmann2c591942006-08-07 14:03:32 -03004889 .vendor = PCI_VENDOR_ID_PHILIPS,
4890 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4891 .subvendor = 0x1489,
4892 .subdevice = 0x0502, /* Cardbus version */
4893 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
4894 },{
Michal Majchrowiczb04c1ba2006-09-13 16:42:42 -03004895 .vendor = PCI_VENDOR_ID_PHILIPS,
4896 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4897 .subvendor = 0x0919, /* Philips Proteus PRO 2309 */
4898 .subdevice = 0x2003,
4899 .driver_data = SAA7134_BOARD_PROTEUS_2309,
4900 },{
Petr Baudis515c2082006-09-26 16:53:53 -03004901 .vendor = PCI_VENDOR_ID_PHILIPS,
4902 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4903 .subvendor = 0x1461,
4904 .subdevice = 0x2c00,
4905 .driver_data = SAA7134_BOARD_AVERMEDIA_A16AR,
4906 },{
Hartmut Hackmanncf146ca2006-10-02 20:49:24 -03004907 .vendor = PCI_VENDOR_ID_PHILIPS,
4908 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4909 .subvendor = 0x1043,
4910 .subdevice = 0x4860,
4911 .driver_data = SAA7134_BOARD_ASUS_EUROPA2_HYBRID,
4912 },{
Hartmut Hackmann587d2fd2006-10-06 19:13:50 -03004913 .vendor = PCI_VENDOR_ID_PHILIPS,
4914 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4915 .subvendor = 0x11bd,
4916 .subdevice = 0x002f,
4917 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_310i,
4918 },{
Mikhail Fedotov3ac706d2006-10-06 20:23:47 -03004919 .vendor = PCI_VENDOR_ID_PHILIPS,
4920 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4921 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4922 .subdevice = 0x9715,
4923 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_507,
4924 },{
Hartmut Hackmann83646812006-10-12 20:38:51 -03004925 .vendor = PCI_VENDOR_ID_PHILIPS,
4926 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4927 .subvendor = 0x1043,
4928 .subdevice = 0x4876,
Hartmut Hackmannf3eec0c02007-03-14 20:33:55 -03004929 .driver_data = SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA,
Hartmut Hackmann83646812006-10-12 20:38:51 -03004930 },{
Thomas Gentyc6e53da2006-11-05 14:17:30 -03004931 .vendor = PCI_VENDOR_ID_PHILIPS,
4932 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4933 .subvendor = 0x0070,
Michael Krufkyddf12222007-11-15 10:01:11 -03004934 .subdevice = 0x6700,
4935 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
4936 },{
4937 .vendor = PCI_VENDOR_ID_PHILIPS,
4938 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4939 .subvendor = 0x0070,
Thomas Gentyc6e53da2006-11-05 14:17:30 -03004940 .subdevice = 0x6701,
4941 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
4942 },{
Hartmut Hackmann550a9a52006-11-15 21:31:54 -03004943 .vendor = PCI_VENDOR_ID_PHILIPS,
4944 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Michael Krufkyddf12222007-11-15 10:01:11 -03004945 .subvendor = 0x0070,
4946 .subdevice = 0x6702,
4947 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
4948 },{
4949 .vendor = PCI_VENDOR_ID_PHILIPS,
4950 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4951 .subvendor = 0x0070,
4952 .subdevice = 0x6703,
4953 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
4954 },{
4955 .vendor = PCI_VENDOR_ID_PHILIPS,
4956 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4957 .subvendor = 0x0070,
4958 .subdevice = 0x6704,
4959 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
4960 },{
4961 .vendor = PCI_VENDOR_ID_PHILIPS,
4962 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4963 .subvendor = 0x0070,
4964 .subdevice = 0x6705,
4965 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
4966 },{
4967 .vendor = PCI_VENDOR_ID_PHILIPS,
4968 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Hartmut Hackmann550a9a52006-11-15 21:31:54 -03004969 .subvendor = 0x153b,
4970 .subdevice = 0x1172,
4971 .driver_data = SAA7134_BOARD_CINERGY_HT_PCMCIA,
4972 },{
Steven Walterd1158f42006-12-20 09:29:09 -03004973 .vendor = PCI_VENDOR_ID_PHILIPS,
4974 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4975 .subvendor = PCI_VENDOR_ID_PHILIPS,
4976 .subdevice = 0x2342,
4977 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
4978 },{
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03004979 .vendor = PCI_VENDOR_ID_PHILIPS,
4980 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4981 .subvendor = 0x1131,
4982 .subdevice = 0x2341,
4983 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
4984 },{
4985 .vendor = PCI_VENDOR_ID_PHILIPS,
4986 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4987 .subvendor = 0x3016,
4988 .subdevice = 0x2344,
4989 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
4990 },{
4991 .vendor = PCI_VENDOR_ID_PHILIPS,
4992 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4993 .subvendor = 0x1131,
4994 .subdevice = 0x230f,
4995 .driver_data = SAA7134_BOARD_ENCORE_ENLTV_FM,
4996 },{
Michael Krufky9de271e2007-01-16 18:36:40 -03004997 .vendor = PCI_VENDOR_ID_PHILIPS,
4998 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4999 .subvendor = 0x153b,
5000 .subdevice = 0x1175,
5001 .driver_data = SAA7134_BOARD_CINERGY_HT_PCI,
5002 },{
Markus Rechbergere95d3172007-04-27 12:31:19 -03005003 .vendor = PCI_VENDOR_ID_PHILIPS,
5004 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5005 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5006 .subdevice = 0xf31e,
5007 .driver_data = SAA7134_BOARD_AVERMEDIA_M102,
5008 },{
Peter Misseldb483672007-04-27 12:31:20 -03005009 .vendor = PCI_VENDOR_ID_PHILIPS,
5010 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5011 .subvendor = 0x4E42, /* MSI */
5012 .subdevice = 0x0306, /* TV@nywhere DUO */
5013 .driver_data = SAA7134_BOARD_FLYDVBTDUO,
5014 },{
Hartmut Hackmanne06cea42007-03-13 20:58:29 -03005015 .vendor = PCI_VENDOR_ID_PHILIPS,
5016 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5017 .subvendor = 0x1043,
5018 .subdevice = 0x4871,
5019 .driver_data = SAA7134_BOARD_ASUS_P7131_4871,
5020 },{
5021 .vendor = PCI_VENDOR_ID_PHILIPS,
5022 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5023 .subvendor = 0x1043,
5024 .subdevice = 0x4857,
5025 .driver_data = SAA7134_BOARD_ASUSTeK_P7131_DUAL,
5026 },{
James T Klaas53958b32007-05-01 10:48:09 -03005027 .vendor = PCI_VENDOR_ID_PHILIPS,
5028 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5029 .subvendor = 0x0919, /* SinoVideo PCI 2309 Proteus (7134) */
5030 .subdevice = 0x2003, /* OEM cardbus */
5031 .driver_data = SAA7134_BOARD_SABRENT_TV_PCB05,
5032 },{
Tony Wanaaccb822007-05-10 12:16:47 -03005033 .vendor = PCI_VENDOR_ID_PHILIPS,
5034 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5035 .subvendor = PCI_VENDOR_ID_PHILIPS,
5036 .subdevice = 0x2304,
5037 .driver_data = SAA7134_BOARD_10MOONSTVMASTER3,
5038 },{
Edgar Simod90d9f52007-08-20 14:14:50 -03005039 .vendor = PCI_VENDOR_ID_PHILIPS,
5040 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5041 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5042 .subdevice = 0xf01d, /* AVerTV DVB-T Super 007 */
5043 .driver_data = SAA7134_BOARD_AVERMEDIA_SUPER_007,
5044 },{
Mauro Carvalho Chehab593f18c2007-10-07 02:17:09 -03005045 .vendor = PCI_VENDOR_ID_PHILIPS,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03005046 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03005047 .subvendor = 0x0000,
5048 .subdevice = 0x4016,
5049 .driver_data = SAA7134_BOARD_BEHOLD_401,
5050 },{
5051 .vendor = PCI_VENDOR_ID_PHILIPS,
5052 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03005053 .subvendor = 0x0000,
5054 .subdevice = 0x4036,
5055 .driver_data = SAA7134_BOARD_BEHOLD_403,
5056 },{
5057 .vendor = PCI_VENDOR_ID_PHILIPS,
5058 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5059 .subvendor = 0x0000,
5060 .subdevice = 0x4037,
5061 .driver_data = SAA7134_BOARD_BEHOLD_403FM,
5062 },{
5063 .vendor = PCI_VENDOR_ID_PHILIPS,
5064 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5065 .subvendor = 0x0000,
5066 .subdevice = 0x4050,
5067 .driver_data = SAA7134_BOARD_BEHOLD_405,
5068 },{
5069 .vendor = PCI_VENDOR_ID_PHILIPS,
5070 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5071 .subvendor = 0x0000,
5072 .subdevice = 0x4051,
5073 .driver_data = SAA7134_BOARD_BEHOLD_405FM,
5074 },{
5075 .vendor = PCI_VENDOR_ID_PHILIPS,
5076 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5077 .subvendor = 0x0000,
5078 .subdevice = 0x4070,
5079 .driver_data = SAA7134_BOARD_BEHOLD_407,
5080 },{
5081 .vendor = PCI_VENDOR_ID_PHILIPS,
5082 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5083 .subvendor = 0x0000,
5084 .subdevice = 0x4071,
5085 .driver_data = SAA7134_BOARD_BEHOLD_407FM,
5086 },{
5087 .vendor = PCI_VENDOR_ID_PHILIPS,
5088 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5089 .subvendor = 0x0000,
5090 .subdevice = 0x4090,
5091 .driver_data = SAA7134_BOARD_BEHOLD_409,
5092 },{
5093 .vendor = PCI_VENDOR_ID_PHILIPS,
5094 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5095 .subvendor = 0x0000,
5096 .subdevice = 0x5051,
5097 .driver_data = SAA7134_BOARD_BEHOLD_505FM,
5098 },{
5099 .vendor = PCI_VENDOR_ID_PHILIPS,
5100 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5101 .subvendor = 0x0000,
5102 .subdevice = 0x505B,
5103 .driver_data = SAA7134_BOARD_BEHOLD_505FM,
5104 },{
5105 .vendor = PCI_VENDOR_ID_PHILIPS,
5106 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5107 .subvendor = 0x5ace,
5108 .subdevice = 0x5050,
5109 .driver_data = SAA7134_BOARD_BEHOLD_505FM,
5110 },{
5111 .vendor = PCI_VENDOR_ID_PHILIPS,
5112 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5113 .subvendor = 0x0000,
5114 .subdevice = 0x5071,
5115 .driver_data = SAA7134_BOARD_BEHOLD_507_9FM,
5116 },{
5117 .vendor = PCI_VENDOR_ID_PHILIPS,
5118 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5119 .subvendor = 0x0000,
5120 .subdevice = 0x507B,
5121 .driver_data = SAA7134_BOARD_BEHOLD_507_9FM,
5122 },{
5123 .vendor = PCI_VENDOR_ID_PHILIPS,
5124 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5125 .subvendor = 0x5ace,
5126 .subdevice = 0x5070,
5127 .driver_data = SAA7134_BOARD_BEHOLD_507_9FM,
5128 },{
5129 .vendor = PCI_VENDOR_ID_PHILIPS,
5130 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5131 .subvendor = 0x5ace,
5132 .subdevice = 0x5090,
5133 .driver_data = SAA7134_BOARD_BEHOLD_507_9FM,
5134 },{
5135 .vendor = PCI_VENDOR_ID_PHILIPS,
5136 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5137 .subvendor = 0x0000,
5138 .subdevice = 0x5201,
5139 .driver_data = SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM,
5140 },{
5141 .vendor = PCI_VENDOR_ID_PHILIPS,
5142 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5143 .subvendor = 0x5ace,
5144 .subdevice = 0x6070,
5145 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5146 },{
5147 .vendor = PCI_VENDOR_ID_PHILIPS,
5148 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5149 .subvendor = 0x5ace,
5150 .subdevice = 0x6071,
5151 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5152 },{
5153 .vendor = PCI_VENDOR_ID_PHILIPS,
5154 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5155 .subvendor = 0x5ace,
5156 .subdevice = 0x6072,
5157 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5158 },{
5159 .vendor = PCI_VENDOR_ID_PHILIPS,
5160 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5161 .subvendor = 0x5ace,
5162 .subdevice = 0x6073,
5163 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5164 },{
5165 .vendor = PCI_VENDOR_ID_PHILIPS,
5166 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5167 .subvendor = 0x5ace,
5168 .subdevice = 0x6090,
5169 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5170 },{
5171 .vendor = PCI_VENDOR_ID_PHILIPS,
5172 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5173 .subvendor = 0x5ace,
5174 .subdevice = 0x6091,
5175 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5176 },{
5177 .vendor = PCI_VENDOR_ID_PHILIPS,
5178 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5179 .subvendor = 0x5ace,
5180 .subdevice = 0x6092,
5181 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5182 },{
5183 .vendor = PCI_VENDOR_ID_PHILIPS,
5184 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5185 .subvendor = 0x5ace,
5186 .subdevice = 0x6093,
5187 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5188 },{
5189 .vendor = PCI_VENDOR_ID_PHILIPS,
5190 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5191 .subvendor = 0x5ace,
5192 .subdevice = 0x6190,
5193 .driver_data = SAA7134_BOARD_BEHOLD_M6,
5194 },{
5195 .vendor = PCI_VENDOR_ID_PHILIPS,
5196 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5197 .subvendor = 0x5ace,
5198 .subdevice = 0x6193,
5199 .driver_data = SAA7134_BOARD_BEHOLD_M6,
5200 },{
5201 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehab593f18c2007-10-07 02:17:09 -03005202 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5203 .subvendor = 0x4e42,
5204 .subdevice = 0x3502,
Hermann Pitton4ba24372008-01-20 19:27:51 -03005205 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
5206 }, {
5207 .vendor = PCI_VENDOR_ID_PHILIPS,
5208 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5209 .subvendor = 0x1822, /*Twinhan Technology Co. Ltd*/
5210 .subdevice = 0x0022,
5211 .driver_data = SAA7134_BOARD_TWINHAN_DTV_DVB_3056,
Hermann Pitton7b5b3f12008-04-22 14:42:12 -03005212 }, {
5213 .vendor = PCI_VENDOR_ID_PHILIPS,
5214 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5215 .subvendor = 0x16be,
5216 .subdevice = 0x0010, /* Medion version CTX953_V.1.4.3 */
5217 .driver_data = SAA7134_BOARD_CREATIX_CTX953,
Russell Kliese6a6179b62008-04-22 14:42:12 -03005218 }, {
5219 .vendor = PCI_VENDOR_ID_PHILIPS,
5220 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5221 .subvendor = 0x1462, /* MSI */
5222 .subdevice = 0x8625, /* TV@nywhere A/D v1.1 */
5223 .driver_data = SAA7134_BOARD_MSI_TVANYWHERE_AD11,
Mauro Carvalho Chehab593f18c2007-10-07 02:17:09 -03005224 },{
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03005225 .vendor = PCI_VENDOR_ID_PHILIPS,
5226 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5227 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5228 .subdevice = 0xf436,
5229 .driver_data = SAA7134_BOARD_AVERMEDIA_CARDBUS_506,
5230 }, {
5231 .vendor = PCI_VENDOR_ID_PHILIPS,
5232 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5233 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5234 .subdevice = 0xf936,
5235 .driver_data = SAA7134_BOARD_AVERMEDIA_A16D,
5236 }, {
5237 .vendor = PCI_VENDOR_ID_PHILIPS,
5238 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5239 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5240 .subdevice = 0xa836,
5241 .driver_data = SAA7134_BOARD_AVERMEDIA_M115,
5242 }, {
5243 .vendor = PCI_VENDOR_ID_PHILIPS,
5244 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5245 .subvendor = 0x185b,
5246 .subdevice = 0xc900,
5247 .driver_data = SAA7134_BOARD_VIDEOMATE_T750,
5248 }, {
Linus Torvalds1da177e2005-04-16 15:20:36 -07005249 /* --- boards without eeprom + subsystem ID --- */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005250 .vendor = PCI_VENDOR_ID_PHILIPS,
5251 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5252 .subvendor = PCI_VENDOR_ID_PHILIPS,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005253 .subdevice = 0,
5254 .driver_data = SAA7134_BOARD_NOAUTO,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005255 },{
5256 .vendor = PCI_VENDOR_ID_PHILIPS,
5257 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5258 .subvendor = PCI_VENDOR_ID_PHILIPS,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005259 .subdevice = 0,
5260 .driver_data = SAA7134_BOARD_NOAUTO,
5261 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005262 /* --- default catch --- */
5263 .vendor = PCI_VENDOR_ID_PHILIPS,
5264 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005265 .subvendor = PCI_ANY_ID,
5266 .subdevice = PCI_ANY_ID,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005267 .driver_data = SAA7134_BOARD_UNKNOWN,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005268 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005269 .vendor = PCI_VENDOR_ID_PHILIPS,
5270 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005271 .subvendor = PCI_ANY_ID,
5272 .subdevice = PCI_ANY_ID,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005273 .driver_data = SAA7134_BOARD_UNKNOWN,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005274 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005275 .vendor = PCI_VENDOR_ID_PHILIPS,
5276 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005277 .subvendor = PCI_ANY_ID,
5278 .subdevice = PCI_ANY_ID,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005279 .driver_data = SAA7134_BOARD_UNKNOWN,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005280 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005281 .vendor = PCI_VENDOR_ID_PHILIPS,
5282 .device = PCI_DEVICE_ID_PHILIPS_SAA7135,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005283 .subvendor = PCI_ANY_ID,
5284 .subdevice = PCI_ANY_ID,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005285 .driver_data = SAA7134_BOARD_UNKNOWN,
5286 },{
5287 /* --- end of list --- */
5288 }
5289};
5290MODULE_DEVICE_TABLE(pci, saa7134_pci_tbl);
5291
5292/* ----------------------------------------------------------- */
5293/* flyvideo tweaks */
5294
Linus Torvalds1da177e2005-04-16 15:20:36 -07005295
5296static void board_flyvideo(struct saa7134_dev *dev)
5297{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005298 printk("%s: there are different flyvideo cards with different tuners\n"
5299 "%s: out there, you might have to use the tuner=<nr> insmod\n"
5300 "%s: option to override the default value.\n",
5301 dev->name, dev->name, dev->name);
5302}
5303
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03005304static int saa7134_xc2028_callback(struct saa7134_dev *dev,
5305 int command, int arg)
5306{
5307 switch (command) {
5308 case XC2028_TUNER_RESET:
5309 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x06e20000, 0x06e20000);
5310 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x06a20000, 0x06a20000);
Mauro Carvalho Chehab95a2fdb2008-03-28 17:52:44 -03005311 mdelay(250);
5312 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x06e20000, 0);
5313 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x06a20000, 0);
5314 mdelay(250);
5315 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x06e20000, 0x06e20000);
5316 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x06a20000, 0x06a20000);
5317 mdelay(250);
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03005318 saa_andorl(SAA7133_ANALOG_IO_SELECT >> 2, 0x02, 0x02);
5319 saa_andorl(SAA7134_ANALOG_IN_CTRL1 >> 2, 0x81, 0x81);
5320 saa_andorl(SAA7134_AUDIO_CLOCK0 >> 2, 0x03187de7, 0x03187de7);
5321 saa_andorl(SAA7134_AUDIO_PLL_CTRL >> 2, 0x03, 0x03);
5322 saa_andorl(SAA7134_AUDIO_CLOCKS_PER_FIELD0 >> 2,
5323 0x0001e000, 0x0001e000);
5324 return 0;
5325 }
5326 return -EINVAL;
5327}
5328
5329
5330static int saa7134_tda8290_callback(struct saa7134_dev *dev,
5331 int command, int arg)
5332{
5333 u8 sync_control;
5334
5335 switch (command) {
5336 case 0: /* switch LNA gain through GPIO 22*/
5337 saa7134_set_gpio(dev, 22, arg) ;
5338 break;
5339 case 1: /* vsync output at GPIO22. 50 / 60Hz */
5340 saa_andorb(SAA7134_VIDEO_PORT_CTRL3, 0x80, 0x80);
5341 saa_andorb(SAA7134_VIDEO_PORT_CTRL6, 0x0f, 0x03);
5342 if (arg == 1)
5343 sync_control = 11;
5344 else
5345 sync_control = 17;
5346 saa_writeb(SAA7134_VGATE_START, sync_control);
5347 saa_writeb(SAA7134_VGATE_STOP, sync_control + 1);
5348 saa_andorb(SAA7134_MISC_VGATE_MSB, 0x03, 0x00);
5349 break;
5350 default:
5351 return -EINVAL;
5352 }
5353
5354 return 0;
5355}
5356
5357int saa7134_tuner_callback(void *priv, int command, int arg)
5358{
Hartmut Hackmann0fea03f2008-04-22 14:46:10 -03005359 struct saa7134_dev *dev = priv;
Hartmut Hackmann7bff4b42008-04-22 14:46:08 -03005360 if (dev != NULL) {
5361 switch (dev->tuner_type) {
5362 case TUNER_PHILIPS_TDA8290:
5363 return saa7134_tda8290_callback(dev, command, arg);
5364 case TUNER_XC2028:
5365 return saa7134_xc2028_callback(dev, command, arg);
5366 }
Mauro Carvalho Chehab0be51b42008-04-22 14:46:10 -03005367 } else {
5368 printk(KERN_ERR "saa7134: Error - device struct undefined.\n");
5369 return -EINVAL;
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03005370 }
5371 return -EINVAL;
5372}
5373EXPORT_SYMBOL(saa7134_tuner_callback);
5374
Linus Torvalds1da177e2005-04-16 15:20:36 -07005375/* ----------------------------------------------------------- */
5376
Michael Krufky993efa72007-11-15 10:34:33 -03005377static void hauppauge_eeprom(struct saa7134_dev *dev, u8 *eeprom_data)
5378{
5379 struct tveeprom tv;
5380
5381 tveeprom_hauppauge_analog(&dev->i2c_client, &tv, eeprom_data);
5382
5383 /* Make sure we support the board model */
5384 switch (tv.model) {
5385 case 67019: /* WinTV-HVR1110 (Retail, IR Blaster, hybrid, FM, SVid/Comp, 3.5mm audio in) */
5386 case 67109: /* WinTV-HVR1000 (Retail, IR Receive, analog, no FM, SVid/Comp, 3.5mm audio in) */
5387 case 67559: /* WinTV-HVR1110 (OEM, no IR, hybrid, FM, SVid/Comp, RCA aud) */
5388 case 67569: /* WinTV-HVR1110 (OEM, no IR, hybrid, FM) */
5389 case 67579: /* WinTV-HVR1110 (OEM, no IR, hybrid, no FM) */
5390 case 67589: /* WinTV-HVR1110 (OEM, no IR, hybrid, no FM, SVid/Comp, RCA aud) */
5391 case 67599: /* WinTV-HVR1110 (OEM, no IR, hybrid, no FM, SVid/Comp, RCA aud) */
5392 break;
5393 default:
5394 printk(KERN_WARNING "%s: warning: "
5395 "unknown hauppauge model #%d\n", dev->name, tv.model);
5396 break;
5397 }
5398
5399 printk(KERN_INFO "%s: hauppauge eeprom: model=%d\n",
5400 dev->name, tv.model);
5401}
5402
5403/* ----------------------------------------------------------- */
5404
Linus Torvalds1da177e2005-04-16 15:20:36 -07005405int saa7134_board_init1(struct saa7134_dev *dev)
5406{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005407 /* Always print gpio, often manufacturers encode tuner type and other info. */
Linus Torvalds1da177e2005-04-16 15:20:36 -07005408 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0);
5409 dev->gpio_value = saa_readl(SAA7134_GPIO_GPSTATUS0 >> 2);
5410 printk(KERN_INFO "%s: board init: gpio is %x\n", dev->name, dev->gpio_value);
5411
5412 switch (dev->board) {
5413 case SAA7134_BOARD_FLYVIDEO2000:
5414 case SAA7134_BOARD_FLYVIDEO3000:
Zac Bowlingf49ba8d2006-06-19 19:49:20 -03005415 case SAA7134_BOARD_FLYVIDEO3000_NTSC:
Ricardo Cerqueiracb2444d2005-11-08 21:38:47 -08005416 dev->has_remote = SAA7134_REMOTE_GPIO;
Linus Torvalds1da177e2005-04-16 15:20:36 -07005417 board_flyvideo(dev);
5418 break;
Arnaud Patard6af90ab2005-11-08 21:36:55 -08005419 case SAA7134_BOARD_FLYTVPLATINUM_MINI2:
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005420 case SAA7134_BOARD_FLYTVPLATINUM_FM:
Linus Torvalds1da177e2005-04-16 15:20:36 -07005421 case SAA7134_BOARD_CINERGY400:
5422 case SAA7134_BOARD_CINERGY600:
5423 case SAA7134_BOARD_CINERGY600_MK3:
5424 case SAA7134_BOARD_ECS_TVP3XP:
5425 case SAA7134_BOARD_ECS_TVP3XP_4CB5:
Simon Farnsworthb39423a2007-05-01 10:01:20 -03005426 case SAA7134_BOARD_ECS_TVP3XP_4CB6:
Linus Torvalds1da177e2005-04-16 15:20:36 -07005427 case SAA7134_BOARD_MD2819:
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07005428 case SAA7134_BOARD_KWORLD_VSTREAM_XPERT:
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005429 case SAA7134_BOARD_KWORLD_XPERT:
Linus Torvalds1da177e2005-04-16 15:20:36 -07005430 case SAA7134_BOARD_AVERMEDIA_STUDIO_305:
5431 case SAA7134_BOARD_AVERMEDIA_305:
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07005432 case SAA7134_BOARD_AVERMEDIA_STUDIO_307:
Linus Torvalds1da177e2005-04-16 15:20:36 -07005433 case SAA7134_BOARD_AVERMEDIA_307:
Mikhail Fedotov3ac706d2006-10-06 20:23:47 -03005434 case SAA7134_BOARD_AVERMEDIA_STUDIO_507:
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07005435 case SAA7134_BOARD_AVERMEDIA_GO_007_FM:
pasky@ucw.cz450efcf2006-11-12 14:22:32 -03005436 case SAA7134_BOARD_AVERMEDIA_777:
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005437/* case SAA7134_BOARD_SABRENT_SBTTVFM: */ /* not finished yet */
Linus Torvalds1da177e2005-04-16 15:20:36 -07005438 case SAA7134_BOARD_VIDEOMATE_TV_PVR:
Nickolay V. Shmyrev2a9a9a82006-01-09 15:25:33 -02005439 case SAA7134_BOARD_VIDEOMATE_GOLD_PLUS:
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005440 case SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII:
Nickolay V. Shmyrevfea095f2005-11-08 21:36:47 -08005441 case SAA7134_BOARD_VIDEOMATE_DVBT_300:
Michael Krufkyafce8922005-11-08 21:36:57 -08005442 case SAA7134_BOARD_VIDEOMATE_DVBT_200:
Hartmut Hackmanncbb94522006-10-30 20:00:16 -03005443 case SAA7134_BOARD_VIDEOMATE_DVBT_200A:
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03005444 case SAA7134_BOARD_VIDEOMATE_T750:
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005445 case SAA7134_BOARD_MANLI_MTV001:
5446 case SAA7134_BOARD_MANLI_MTV002:
Nickolay V. Shmyreva8ff4172005-11-08 21:36:16 -08005447 case SAA7134_BOARD_BEHOLD_409FM:
Linus Torvalds1da177e2005-04-16 15:20:36 -07005448 case SAA7134_BOARD_AVACSSMARTTV:
Nickolay V. Shmyrev6b961442005-11-08 21:36:22 -08005449 case SAA7134_BOARD_GOTVIEW_7135:
James R. Webbdc2286c2005-11-08 21:37:00 -08005450 case SAA7134_BOARD_KWORLD_TERMINATOR:
Ricardo Cerqueira17ce1ff2005-11-08 21:38:47 -08005451 case SAA7134_BOARD_SEDNA_PC_TV_CARDBUS:
Giampiero Giancipoli3d8466e2006-02-07 06:49:09 -02005452 case SAA7134_BOARD_FLYDVBT_LR301:
Hermann Pitton91607232006-12-07 21:45:28 -03005453 case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
Hartmut Hackmannf3eec0c02007-03-14 20:33:55 -03005454 case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA:
Rudo Thomasa8029172006-02-27 00:08:46 -03005455 case SAA7134_BOARD_FLYDVBTDUO:
Michal Majchrowiczb04c1ba2006-09-13 16:42:42 -03005456 case SAA7134_BOARD_PROTEUS_2309:
pasky@ucw.cz29e0f1a2006-11-12 14:23:32 -03005457 case SAA7134_BOARD_AVERMEDIA_A16AR:
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03005458 case SAA7134_BOARD_ENCORE_ENLTV:
5459 case SAA7134_BOARD_ENCORE_ENLTV_FM:
Tony Wan480f75a2007-05-11 11:33:50 -03005460 case SAA7134_BOARD_10MOONSTVMASTER3:
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03005461 case SAA7134_BOARD_BEHOLD_401:
5462 case SAA7134_BOARD_BEHOLD_403:
5463 case SAA7134_BOARD_BEHOLD_403FM:
5464 case SAA7134_BOARD_BEHOLD_405:
5465 case SAA7134_BOARD_BEHOLD_405FM:
5466 case SAA7134_BOARD_BEHOLD_407:
5467 case SAA7134_BOARD_BEHOLD_407FM:
5468 case SAA7134_BOARD_BEHOLD_409:
5469 case SAA7134_BOARD_BEHOLD_505FM:
5470 case SAA7134_BOARD_BEHOLD_507_9FM:
Adrian Pardinif0ba3562008-02-11 12:40:53 -03005471 case SAA7134_BOARD_GENIUS_TVGO_A11MCE:
Ricardo Cerqueiracb2444d2005-11-08 21:38:47 -08005472 dev->has_remote = SAA7134_REMOTE_GPIO;
Linus Torvalds1da177e2005-04-16 15:20:36 -07005473 break;
Igor M. Liplianine2ac28f2006-08-08 09:10:10 -03005474 case SAA7134_BOARD_FLYDVBS_LR300:
5475 saa_writeb(SAA7134_GPIO_GPMODE3, 0x80);
5476 saa_writeb(SAA7134_GPIO_GPSTATUS2, 0x40);
5477 dev->has_remote = SAA7134_REMOTE_GPIO;
5478 break;
Linus Torvalds1da177e2005-04-16 15:20:36 -07005479 case SAA7134_BOARD_MD5044:
5480 printk("%s: seems there are two different versions of the MD5044\n"
Michael Krufkyfd2f2672006-03-11 16:21:36 -03005481 "%s: (with the same ID) out there. If sound doesn't work for\n"
5482 "%s: you try the audio_clock_override=0x200000 insmod option.\n",
5483 dev->name,dev->name,dev->name);
Linus Torvalds1da177e2005-04-16 15:20:36 -07005484 break;
5485 case SAA7134_BOARD_CINERGY400_CARDBUS:
5486 /* power-up tuner chip */
5487 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000);
5488 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000000);
Mikhail Gusarov7bbbc0a2006-04-20 13:18:50 -03005489 break;
Hartmut Hackmanndf8cf702006-03-03 12:09:26 -03005490 case SAA7134_BOARD_PINNACLE_300I_DVBT_PAL:
5491 /* this turns the remote control chip off to work around a bug in it */
5492 saa_writeb(SAA7134_GPIO_GPMODE1, 0x80);
5493 saa_writeb(SAA7134_GPIO_GPSTATUS1, 0x80);
5494 break;
Pieter Palmerscf1c5d12005-11-08 21:37:40 -08005495 case SAA7134_BOARD_MONSTERTV_MOBILE:
5496 /* power-up tuner chip */
5497 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000);
5498 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000004);
Linus Torvalds1da177e2005-04-16 15:20:36 -07005499 break;
Peter Missel10b7a902006-01-23 17:11:06 -02005500 case SAA7134_BOARD_FLYDVBT_DUO_CARDBUS:
Nickolay V. Shmyrev6b961442005-11-08 21:36:22 -08005501 /* turn the fan on */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005502 saa_writeb(SAA7134_GPIO_GPMODE3, 0x08);
5503 saa_writeb(SAA7134_GPIO_GPSTATUS3, 0x06);
5504 break;
Hartmut Hackmanndf42eaf2006-02-07 06:49:10 -02005505 case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331:
Hartmut Hackmannd95b8942006-03-27 19:39:30 -03005506 case SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS:
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03005507 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x08000000, 0x08000000);
5508 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x08000000, 0x00000000);
Hartmut Hackmanndf42eaf2006-02-07 06:49:10 -02005509 break;
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005510 case SAA7134_BOARD_AVERMEDIA_CARDBUS:
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03005511 case SAA7134_BOARD_AVERMEDIA_CARDBUS_506:
5512 case SAA7134_BOARD_AVERMEDIA_M115:
Mauro Carvalho Chehab95a2fdb2008-03-28 17:52:44 -03005513 case SAA7134_BOARD_AVERMEDIA_A16D:
5514 /* power-down tuner chip */
5515 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0xffffffff, 0);
5516 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0);
5517 msleep(10);
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005518 /* power-up tuner chip */
5519 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0xffffffff, 0xffffffff);
5520 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0xffffffff);
Mauro Carvalho Chehab95a2fdb2008-03-28 17:52:44 -03005521 msleep(10);
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005522 break;
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03005523 case SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM:
5524 /* power-down tuner chip */
5525 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x000A8004, 0x000A8004);
5526 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x000A8004, 0);
5527 msleep(10);
5528 /* power-up tuner chip */
5529 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x000A8004, 0x000A8004);
5530 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x000A8004, 0x000A8004);
5531 msleep(10);
5532 /* remote via GPIO */
5533 dev->has_remote = SAA7134_REMOTE_GPIO;
5534 break;
Nickolay V. Shmyrevbb881f12005-11-08 21:36:35 -08005535 case SAA7134_BOARD_RTD_VFG7350:
5536
5537 /*
5538 * Make sure Production Test Register at offset 0x1D1 is cleared
5539 * to take chip out of test mode. Clearing bit 4 (TST_EN_AOUT)
5540 * prevents pin 105 from remaining low; keeping pin 105 low
5541 * continually resets the SAA6752 chip.
5542 */
5543
5544 saa_writeb (SAA7134_PRODUCTION_TEST_MODE, 0x00);
5545 break;
Ricardo Cerqueiracb2444d2005-11-08 21:38:47 -08005546 /* i2c remotes */
5547 case SAA7134_BOARD_PINNACLE_PCTV_110i:
Hartmut Hackmann587d2fd2006-10-06 19:13:50 -03005548 case SAA7134_BOARD_PINNACLE_PCTV_310i:
Ricardo Cerqueiracb2444d2005-11-08 21:38:47 -08005549 case SAA7134_BOARD_UPMOST_PURPLE_TV:
Thomas Genty177aaaf2006-11-29 21:57:24 -03005550 case SAA7134_BOARD_HAUPPAUGE_HVR1110:
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03005551 case SAA7134_BOARD_BEHOLD_607_9FM:
5552 case SAA7134_BOARD_BEHOLD_M6:
Ricardo Cerqueiracb2444d2005-11-08 21:38:47 -08005553 dev->has_remote = SAA7134_REMOTE_I2C;
5554 break;
Rickard Osser68593af2006-03-11 17:14:12 -03005555 case SAA7134_BOARD_AVERMEDIA_A169_B:
Michael Krufky12a219d2006-03-14 16:07:42 -03005556 printk("%s: %s: dual saa713x broadcast decoders\n"
Rickard Osser68593af2006-03-11 17:14:12 -03005557 "%s: Sorry, none of the inputs to this chip are supported yet.\n"
5558 "%s: Dual decoder functionality is disabled for now, use the other chip.\n",
Michael Krufky12a219d2006-03-14 16:07:42 -03005559 dev->name,card(dev).name,dev->name,dev->name);
Rickard Osser68593af2006-03-11 17:14:12 -03005560 break;
Markus Rechbergere95d3172007-04-27 12:31:19 -03005561 case SAA7134_BOARD_AVERMEDIA_M102:
5562 /* enable tuner */
Albert Grahamd2761f22007-12-09 09:44:38 -03005563 dev->has_remote = SAA7134_REMOTE_GPIO;
Markus Rechbergere95d3172007-04-27 12:31:19 -03005564 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x8c040007, 0x8c040007);
5565 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x0c0007cd, 0x0c0007cd);
5566 break;
Matthias Schwarzottfc9d8ed2008-04-08 21:45:08 -03005567 case SAA7134_BOARD_AVERMEDIA_A700_PRO:
5568 case SAA7134_BOARD_AVERMEDIA_A700_HYBRID:
5569 /* write windows gpio values */
5570 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x80040100, 0x80040100);
5571 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x80040100, 0x00040100);
5572 printk("%s: %s: hybrid analog/dvb card\n"
5573 "%s: Sorry, only the analog inputs are supported for now.\n",
5574 dev->name, card(dev).name, dev->name);
5575 break;
Linus Torvalds1da177e2005-04-16 15:20:36 -07005576 }
Linus Torvalds1da177e2005-04-16 15:20:36 -07005577 return 0;
5578}
5579
5580/* stuff which needs working i2c */
5581int saa7134_board_init2(struct saa7134_dev *dev)
5582{
5583 unsigned char buf;
5584 int board;
Hartmut Hackmanncfeb8832007-04-27 12:31:17 -03005585 struct tuner_setup tun_setup;
5586 tun_setup.config = 0;
5587 tun_setup.tuner_callback = saa7134_tuner_callback;
Linus Torvalds1da177e2005-04-16 15:20:36 -07005588
5589 switch (dev->board) {
5590 case SAA7134_BOARD_BMK_MPEX_NOTUNER:
5591 case SAA7134_BOARD_BMK_MPEX_TUNER:
5592 dev->i2c_client.addr = 0x60;
5593 board = (i2c_master_recv(&dev->i2c_client,&buf,0) < 0)
5594 ? SAA7134_BOARD_BMK_MPEX_NOTUNER
5595 : SAA7134_BOARD_BMK_MPEX_TUNER;
5596 if (board == dev->board)
5597 break;
5598 dev->board = board;
5599 printk("%s: board type fixup: %s\n", dev->name,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005600 saa7134_boards[dev->board].name);
Linus Torvalds1da177e2005-04-16 15:20:36 -07005601 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005602
5603 if (TUNER_ABSENT != dev->tuner_type) {
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03005604 tun_setup.mode_mask = T_RADIO |
5605 T_ANALOG_TV |
5606 T_DIGITAL_TV;
5607 tun_setup.type = dev->tuner_type;
5608 tun_setup.addr = ADDR_UNSET;
5609 tun_setup.tuner_callback = saa7134_tuner_callback;
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005610
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03005611 saa7134_i2c_call_clients(dev,
5612 TUNER_SET_TYPE_ADDR,
5613 &tun_setup);
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005614 }
5615 break;
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08005616 case SAA7134_BOARD_MD7134:
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005617 {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005618 u8 subaddr;
5619 u8 data[3];
5620 int ret, tuner_t;
5621
5622 struct i2c_msg msg[] = {{.addr=0x50, .flags=0, .buf=&subaddr, .len = 1},
5623 {.addr=0x50, .flags=I2C_M_RD, .buf=data, .len = 3}};
5624 subaddr= 0x14;
5625 tuner_t = 0;
5626 ret = i2c_transfer(&dev->i2c_adap, msg, 2);
5627 if (ret != 2) {
5628 printk(KERN_ERR "EEPROM read failure\n");
5629 } else if ((data[0] != 0) && (data[0] != 0xff)) {
5630 /* old config structure */
5631 subaddr = data[0] + 2;
5632 msg[1].len = 2;
5633 i2c_transfer(&dev->i2c_adap, msg, 2);
5634 tuner_t = (data[0] << 8) + data[1];
5635 switch (tuner_t){
5636 case 0x0103:
5637 dev->tuner_type = TUNER_PHILIPS_PAL;
5638 break;
5639 case 0x010C:
5640 dev->tuner_type = TUNER_PHILIPS_FM1216ME_MK3;
5641 break;
5642 default:
5643 printk(KERN_ERR "%s Cant determine tuner type %x from EEPROM\n", dev->name, tuner_t);
5644 }
5645 } else if ((data[1] != 0) && (data[1] != 0xff)) {
5646 /* new config structure */
5647 subaddr = data[1] + 1;
5648 msg[1].len = 1;
5649 i2c_transfer(&dev->i2c_adap, msg, 2);
5650 subaddr = data[0] + 1;
5651 msg[1].len = 2;
5652 i2c_transfer(&dev->i2c_adap, msg, 2);
5653 tuner_t = (data[1] << 8) + data[0];
5654 switch (tuner_t) {
5655 case 0x0005:
5656 dev->tuner_type = TUNER_PHILIPS_FM1216ME_MK3;
5657 break;
5658 case 0x001d:
5659 dev->tuner_type = TUNER_PHILIPS_FMD1216ME_MK3;
5660 printk(KERN_INFO "%s Board has DVB-T\n", dev->name);
5661 break;
5662 default:
5663 printk(KERN_ERR "%s Cant determine tuner type %x from EEPROM\n", dev->name, tuner_t);
5664 }
5665 } else {
5666 printk(KERN_ERR "%s unexpected config structure\n", dev->name);
5667 }
5668
5669 printk(KERN_INFO "%s Tuner type is %d\n", dev->name, dev->tuner_type);
5670 if (dev->tuner_type == TUNER_PHILIPS_FMD1216ME_MK3) {
Mauro Carvalho Chehab7f171122007-10-18 19:56:47 -03005671 struct v4l2_priv_tun_config tda9887_cfg;
5672
5673 tda9887_cfg.tuner = TUNER_TDA9887;
5674 tda9887_cfg.priv = &dev->tda9887_conf;
5675
5676 dev->tda9887_conf = TDA9887_PRESENT |
5677 TDA9887_PORT1_ACTIVE |
5678 TDA9887_PORT2_ACTIVE;
5679
5680 saa7134_i2c_call_clients(dev, TUNER_SET_CONFIG,
5681 &tda9887_cfg);
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005682 }
5683
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03005684 tun_setup.mode_mask = T_RADIO |
5685 T_ANALOG_TV |
5686 T_DIGITAL_TV;
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005687 tun_setup.type = dev->tuner_type;
5688 tun_setup.addr = ADDR_UNSET;
5689
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03005690 saa7134_i2c_call_clients(dev,
5691 TUNER_SET_TYPE_ADDR, &tun_setup);
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005692 }
Linus Torvalds1da177e2005-04-16 15:20:36 -07005693 break;
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08005694 case SAA7134_BOARD_PHILIPS_EUROPA:
Hartmut Hackmann6ab465a2008-04-22 14:42:11 -03005695 if (dev->autodetected && (dev->eedata[0x41] == 0x1c)) {
5696 /* Reconfigure board as Snake reference design */
5697 dev->board = SAA7134_BOARD_PHILIPS_SNAKE;
5698 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
5699 printk(KERN_INFO "%s: Reconfigured board as %s\n",
5700 dev->name, saa7134_boards[dev->board].name);
5701 break;
5702 }
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08005703 case SAA7134_BOARD_VIDEOMATE_DVBT_300:
Hartmut Hackmanncf146ca2006-10-02 20:49:24 -03005704 case SAA7134_BOARD_ASUS_EUROPA2_HYBRID:
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08005705 /* The Philips EUROPA based hybrid boards have the tuner connected through
5706 * the channel decoder. We have to make it transparent to find it
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08005707 */
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08005708 {
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08005709 u8 data[] = { 0x07, 0x02};
5710 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
5711 i2c_transfer(&dev->i2c_adap, &msg, 1);
5712
5713 tun_setup.mode_mask = T_ANALOG_TV | T_DIGITAL_TV;
5714 tun_setup.type = dev->tuner_type;
5715 tun_setup.addr = dev->tuner_addr;
5716
5717 saa7134_i2c_call_clients (dev, TUNER_SET_TYPE_ADDR,&tun_setup);
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08005718 }
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08005719 break;
Hartmut Hackmann90e9df72005-11-08 21:38:42 -08005720 case SAA7134_BOARD_PHILIPS_TIGER:
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03005721 case SAA7134_BOARD_PHILIPS_TIGER_S:
5722 {
5723 u8 data[] = { 0x3c, 0x33, 0x60};
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03005724 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
5725 if(dev->autodetected && (dev->eedata[0x49] == 0x50)) {
5726 dev->board = SAA7134_BOARD_PHILIPS_TIGER_S;
5727 printk(KERN_INFO "%s: Reconfigured board as %s\n",
5728 dev->name, saa7134_boards[dev->board].name);
5729 }
5730 if(dev->board == SAA7134_BOARD_PHILIPS_TIGER_S) {
5731 tun_setup.mode_mask = T_ANALOG_TV | T_DIGITAL_TV;
5732 tun_setup.type = TUNER_PHILIPS_TDA8290;
5733 tun_setup.addr = 0x4b;
5734 tun_setup.config = 2;
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03005735
5736 saa7134_i2c_call_clients (dev, TUNER_SET_TYPE_ADDR,&tun_setup);
5737 data[2] = 0x68;
5738 }
5739 i2c_transfer(&dev->i2c_adap, &msg, 1);
5740 }
5741 break;
Michael Krufky993efa72007-11-15 10:34:33 -03005742 case SAA7134_BOARD_HAUPPAUGE_HVR1110:
5743 hauppauge_eeprom(dev, dev->eedata+0x80);
5744 /* break intentionally omitted */
Hartmut Hackmann587d2fd2006-10-06 19:13:50 -03005745 case SAA7134_BOARD_PINNACLE_PCTV_310i:
Simon Farnsworthb39423a2007-05-01 10:01:20 -03005746 case SAA7134_BOARD_KWORLD_DVBT_210:
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02005747 case SAA7134_BOARD_TEVION_DVBT_220RF:
Hartmut Hackmannd4b0aba2005-11-08 21:38:44 -08005748 case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
Hartmut Hackmannf3eec0c02007-03-14 20:33:55 -03005749 case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA:
Hartmut Hackmann5eda2272006-08-07 14:03:32 -03005750 case SAA7134_BOARD_MEDION_MD8800_QUADRO:
Hermann Pitton4ba24372008-01-20 19:27:51 -03005751 case SAA7134_BOARD_AVERMEDIA_SUPER_007:
5752 case SAA7134_BOARD_TWINHAN_DTV_DVB_3056:
Hermann Pitton7b5b3f12008-04-22 14:42:12 -03005753 case SAA7134_BOARD_CREATIX_CTX953:
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02005754 /* this is a hybrid board, initialize to analog mode
5755 * and configure firmware eeprom address
5756 */
Hartmut Hackmann90e9df72005-11-08 21:38:42 -08005757 {
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03005758 u8 data[] = { 0x3c, 0x33, 0x60};
Hartmut Hackmann90e9df72005-11-08 21:38:42 -08005759 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
5760 i2c_transfer(&dev->i2c_adap, &msg, 1);
5761 }
5762 break;
Nico Sabbi420f32f2006-03-03 12:11:28 -03005763 case SAA7134_BOARD_FLYDVB_TRIO:
Hartmut Hackmann293cdab2006-02-27 21:08:07 -03005764 {
5765 u8 data[] = { 0x3c, 0x33, 0x62};
5766 struct i2c_msg msg = {.addr=0x09, .flags=0, .buf=data, .len = sizeof(data)};
5767 i2c_transfer(&dev->i2c_adap, &msg, 1);
5768 }
5769 break;
Hartmut Hackmanndf42eaf2006-02-07 06:49:10 -02005770 case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331:
Hartmut Hackmannd95b8942006-03-27 19:39:30 -03005771 case SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS:
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03005772 /* initialize analog mode */
Hartmut Hackmanndf42eaf2006-02-07 06:49:10 -02005773 {
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03005774 u8 data[] = { 0x3c, 0x33, 0x6a};
Hartmut Hackmanndf42eaf2006-02-07 06:49:10 -02005775 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
5776 i2c_transfer(&dev->i2c_adap, &msg, 1);
5777 }
5778 break;
Hartmut Hackmann550a9a52006-11-15 21:31:54 -03005779 case SAA7134_BOARD_CINERGY_HT_PCMCIA:
Michael Krufky9de271e2007-01-16 18:36:40 -03005780 case SAA7134_BOARD_CINERGY_HT_PCI:
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03005781 /* initialize analog mode */
Hartmut Hackmann550a9a52006-11-15 21:31:54 -03005782 {
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03005783 u8 data[] = { 0x3c, 0x33, 0x68};
Hartmut Hackmann550a9a52006-11-15 21:31:54 -03005784 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
5785 i2c_transfer(&dev->i2c_adap, &msg, 1);
5786 }
5787 break;
Curt Meyers20b5ee52006-02-27 00:08:39 -03005788 case SAA7134_BOARD_KWORLD_ATSC110:
5789 {
5790 /* enable tuner */
5791 int i;
Michael Krufkyb9ee9ad2006-02-27 00:09:14 -03005792 static const u8 buffer [] = { 0x10,0x12,0x13,0x04,0x16,0x00,0x14,0x04,0x017,0x00 };
Curt Meyers20b5ee52006-02-27 00:08:39 -03005793 dev->i2c_client.addr = 0x0a;
5794 for (i = 0; i < 5; i++)
5795 if (2 != i2c_master_send(&dev->i2c_client,&buffer[i*2],2))
5796 printk(KERN_WARNING "%s: Unable to enable tuner(%i).\n",
5797 dev->name, i);
5798 }
5799 break;
Hartmut Hackmanncbb94522006-10-30 20:00:16 -03005800 case SAA7134_BOARD_VIDEOMATE_DVBT_200:
5801 case SAA7134_BOARD_VIDEOMATE_DVBT_200A:
5802 /* The T200 and the T200A share the same pci id. Consequently,
5803 * we are going to query eeprom to try to find out which one we
5804 * are actually looking at. */
5805
5806 /* Don't do this if the board was specifically selected with an
5807 * insmod option or if we have the default configuration T200*/
5808 if(!dev->autodetected || (dev->eedata[0x41] == 0xd0))
5809 break;
5810 if(dev->eedata[0x41] == 0x02) {
5811 /* Reconfigure board as T200A */
5812 dev->board = SAA7134_BOARD_VIDEOMATE_DVBT_200A;
5813 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
5814 dev->tda9887_conf = saa7134_boards[dev->board].tda9887_conf;
5815 printk(KERN_INFO "%s: Reconfigured board as %s\n",
5816 dev->name, saa7134_boards[dev->board].name);
5817 } else {
5818 printk(KERN_WARNING "%s: Unexpected tuner type info: %x in eeprom\n",
5819 dev->name, dev->eedata[0x41]);
5820 break;
5821 }
5822 break;
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03005823 case SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM:
5824 {
5825 struct v4l2_priv_tun_config tea5767_cfg;
5826 struct tea5767_ctrl ctl;
5827
5828 dev->i2c_client.addr = 0xC0;
5829 /* set TEA5767(analog FM) defines */
5830 memset(&ctl, 0, sizeof(ctl));
5831 ctl.xtal_freq = TEA5767_HIGH_LO_13MHz;
5832 tea5767_cfg.tuner = TUNER_TEA5767;
5833 tea5767_cfg.priv = &ctl;
5834 saa7134_i2c_call_clients(dev, TUNER_SET_CONFIG, &tea5767_cfg);
5835 }
5836 break;
Linus Torvalds1da177e2005-04-16 15:20:36 -07005837 }
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03005838
5839 if (dev->tuner_type == TUNER_XC2028) {
5840 struct v4l2_priv_tun_config xc2028_cfg;
5841 struct xc2028_ctrl ctl;
5842
5843 memset(&xc2028_cfg, 0, sizeof(ctl));
5844 memset(&ctl, 0, sizeof(ctl));
5845
5846 ctl.fname = XC2028_DEFAULT_FIRMWARE;
5847 ctl.max_len = 64;
5848
Mauro Carvalho Chehab95a2fdb2008-03-28 17:52:44 -03005849 switch (dev->board) {
5850 case SAA7134_BOARD_AVERMEDIA_A16D:
5851 ctl.demod = XC3028_FE_ZARLINK456;
5852 break;
5853 default:
5854 ctl.demod = XC3028_FE_OREN538;
5855 ctl.mts = 1;
5856 }
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03005857
5858 xc2028_cfg.tuner = TUNER_XC2028;
5859 xc2028_cfg.priv = &ctl;
5860
5861 saa7134_i2c_call_clients(dev, TUNER_SET_CONFIG, &xc2028_cfg);
5862 }
5863
Linus Torvalds1da177e2005-04-16 15:20:36 -07005864 return 0;
5865}