blob: 6893f998d292957313facf76d9fdb69ecd4bba0f [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
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -030050/* If radio_type !=UNSET, radio_addr should be specified
51 */
52
Linus Torvalds1da177e2005-04-16 15:20:36 -070053struct saa7134_board saa7134_boards[] = {
54 [SAA7134_BOARD_UNKNOWN] = {
55 .name = "UNKNOWN/GENERIC",
56 .audio_clock = 0x00187de7,
57 .tuner_type = TUNER_ABSENT,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -070058 .radio_type = UNSET,
59 .tuner_addr = ADDR_UNSET,
60 .radio_addr = ADDR_UNSET,
61
Linus Torvalds1da177e2005-04-16 15:20:36 -070062 .inputs = {{
63 .name = "default",
64 .vmux = 0,
65 .amux = LINE1,
66 }},
67 },
68 [SAA7134_BOARD_PROTEUS_PRO] = {
69 /* /me */
70 .name = "Proteus Pro [philips reference design]",
71 .audio_clock = 0x00187de7,
72 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -070073 .radio_type = UNSET,
74 .tuner_addr = ADDR_UNSET,
75 .radio_addr = ADDR_UNSET,
76
Linus Torvalds1da177e2005-04-16 15:20:36 -070077 .inputs = {{
78 .name = name_comp1,
79 .vmux = 0,
80 .amux = LINE1,
81 },{
82 .name = name_tv,
83 .vmux = 1,
84 .amux = TV,
85 .tv = 1,
86 },{
87 .name = name_tv_mono,
88 .vmux = 1,
89 .amux = LINE2,
90 .tv = 1,
91 }},
92 .radio = {
93 .name = name_radio,
94 .amux = LINE2,
95 },
96 },
97 [SAA7134_BOARD_FLYVIDEO3000] = {
98 /* "Marco d'Itri" <md@Linux.IT> */
99 .name = "LifeView FlyVIDEO3000",
100 .audio_clock = 0x00200000,
101 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700102 .radio_type = UNSET,
103 .tuner_addr = ADDR_UNSET,
104 .radio_addr = ADDR_UNSET,
105
Linus Torvalds1da177e2005-04-16 15:20:36 -0700106 .gpiomask = 0xe000,
107 .inputs = {{
108 .name = name_tv,
109 .vmux = 1,
110 .amux = TV,
111 .gpio = 0x8000,
112 .tv = 1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700113 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -0700114 .name = name_tv_mono,
115 .vmux = 1,
116 .amux = LINE2,
117 .gpio = 0x0000,
118 .tv = 1,
119 },{
120 .name = name_comp1,
121 .vmux = 0,
122 .amux = LINE2,
123 .gpio = 0x4000,
124 },{
125 .name = name_comp2,
126 .vmux = 3,
127 .amux = LINE2,
128 .gpio = 0x4000,
129 },{
130 .name = name_svideo,
131 .vmux = 8,
132 .amux = LINE2,
133 .gpio = 0x4000,
134 }},
135 .radio = {
136 .name = name_radio,
137 .amux = LINE2,
138 .gpio = 0x2000,
139 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700140 .mute = {
141 .name = name_mute,
142 .amux = TV,
143 .gpio = 0x8000,
144 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700145 },
146 [SAA7134_BOARD_FLYVIDEO2000] = {
147 /* "TC Wan" <tcwan@cs.usm.my> */
Peter Missel10b7a902006-01-23 17:11:06 -0200148 .name = "LifeView/Typhoon FlyVIDEO2000",
Linus Torvalds1da177e2005-04-16 15:20:36 -0700149 .audio_clock = 0x00200000,
150 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700151 .radio_type = UNSET,
152 .tuner_addr = ADDR_UNSET,
153 .radio_addr = ADDR_UNSET,
154
Linus Torvalds1da177e2005-04-16 15:20:36 -0700155 .gpiomask = 0xe000,
156 .inputs = {{
157 .name = name_tv,
158 .vmux = 1,
159 .amux = LINE2,
160 .gpio = 0x0000,
161 .tv = 1,
162 },{
163 .name = name_comp1,
164 .vmux = 0,
165 .amux = LINE2,
166 .gpio = 0x4000,
167 },{
168 .name = name_comp2,
169 .vmux = 3,
170 .amux = LINE2,
171 .gpio = 0x4000,
172 },{
173 .name = name_svideo,
174 .vmux = 8,
175 .amux = LINE2,
176 .gpio = 0x4000,
177 }},
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700178 .radio = {
179 .name = name_radio,
180 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700181 .gpio = 0x2000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700182 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700183 .mute = {
184 .name = name_mute,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700185 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700186 .gpio = 0x8000,
187 },
188 },
189 [SAA7134_BOARD_FLYTVPLATINUM_MINI] = {
190 /* "Arnaud Quette" <aquette@free.fr> */
191 .name = "LifeView FlyTV Platinum Mini",
192 .audio_clock = 0x00200000,
193 .tuner_type = TUNER_PHILIPS_TDA8290,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700194 .radio_type = UNSET,
195 .tuner_addr = ADDR_UNSET,
196 .radio_addr = ADDR_UNSET,
197
Linus Torvalds1da177e2005-04-16 15:20:36 -0700198 .inputs = {{
199 .name = name_tv,
200 .vmux = 1,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -0700201 .amux = TV,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700202 .tv = 1,
203 },{
Glen Gray2d14f782005-11-08 21:36:12 -0800204 .name = name_comp1, /* Composite signal on S-Video input */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700205 .vmux = 0,
206 .amux = LINE2,
207 },{
Glen Gray2d14f782005-11-08 21:36:12 -0800208 .name = name_comp2, /* Composite input */
209 .vmux = 3,
210 .amux = LINE2,
211 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -0700212 .name = name_svideo,
213 .vmux = 8,
214 .amux = LINE2,
215 }},
216 },
217 [SAA7134_BOARD_FLYTVPLATINUM_FM] = {
218 /* LifeView FlyTV Platinum FM (LR214WF) */
219 /* "Peter Missel <peter.missel@onlinehome.de> */
Hartmut Hackmann42e6b3b2006-03-27 19:04:48 -0300220 .name = "LifeView FlyTV Platinum FM / Gold",
Linus Torvalds1da177e2005-04-16 15:20:36 -0700221 .audio_clock = 0x00200000,
222 .tuner_type = TUNER_PHILIPS_TDA8290,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700223 .radio_type = UNSET,
224 .tuner_addr = ADDR_UNSET,
225 .radio_addr = ADDR_UNSET,
226
Peter Missel6c9e7372005-05-01 08:59:05 -0700227 .gpiomask = 0x1E000, /* Set GP16 and unused 15,14,13 to Output */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700228 .inputs = {{
229 .name = name_tv,
230 .vmux = 1,
231 .amux = TV,
Peter Missel6c9e7372005-05-01 08:59:05 -0700232 .gpio = 0x10000, /* GP16=1 selects TV input */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700233 .tv = 1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700234 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -0700235/* .name = name_tv_mono,
236 .vmux = 1,
237 .amux = LINE2,
238 .gpio = 0x0000,
239 .tv = 1,
240 },{
241*/ .name = name_comp1, /* Composite signal on S-Video input */
242 .vmux = 0,
243 .amux = LINE2,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700244/* .gpio = 0x4000, */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700245 },{
246 .name = name_comp2, /* Composite input */
247 .vmux = 3,
248 .amux = LINE2,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700249/* .gpio = 0x4000, */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700250 },{
251 .name = name_svideo, /* S-Video signal on S-Video input */
252 .vmux = 8,
253 .amux = LINE2,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700254/* .gpio = 0x4000, */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700255 }},
Peter Missel6c9e7372005-05-01 08:59:05 -0700256 .radio = {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700257 .name = name_radio,
Peter Missel6c9e7372005-05-01 08:59:05 -0700258 .amux = TV,
259 .gpio = 0x00000, /* GP16=0 selects FM radio antenna */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700260 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700261 .mute = {
262 .name = name_mute,
263 .amux = TV,
264 .gpio = 0x10000,
265 },
Peter Missel6c9e7372005-05-01 08:59:05 -0700266 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700267 [SAA7134_BOARD_EMPRESS] = {
268 /* "Gert Vervoort" <gert.vervoort@philips.com> */
269 .name = "EMPRESS",
270 .audio_clock = 0x00187de7,
271 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700272 .radio_type = UNSET,
273 .tuner_addr = ADDR_UNSET,
274 .radio_addr = ADDR_UNSET,
275
Linus Torvalds1da177e2005-04-16 15:20:36 -0700276 .inputs = {{
277 .name = name_comp1,
278 .vmux = 0,
279 .amux = LINE1,
280 },{
281 .name = name_svideo,
282 .vmux = 8,
283 .amux = LINE1,
284 },{
285 .name = name_tv,
286 .vmux = 1,
287 .amux = LINE2,
288 .tv = 1,
289 }},
290 .radio = {
291 .name = name_radio,
292 .amux = LINE2,
293 },
294 .mpeg = SAA7134_MPEG_EMPRESS,
295 .video_out = CCIR656,
296 },
297 [SAA7134_BOARD_MONSTERTV] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700298 /* "K.Ohta" <alpha292@bremen.or.jp> */
299 .name = "SKNet Monster TV",
300 .audio_clock = 0x00187de7,
301 .tuner_type = TUNER_PHILIPS_NTSC_M,
302 .radio_type = UNSET,
303 .tuner_addr = ADDR_UNSET,
304 .radio_addr = ADDR_UNSET,
305
306 .inputs = {{
307 .name = name_tv,
308 .vmux = 1,
309 .amux = TV,
310 .tv = 1,
311 },{
312 .name = name_comp1,
313 .vmux = 0,
314 .amux = LINE1,
315 },{
316 .name = name_svideo,
317 .vmux = 8,
318 .amux = LINE1,
319 }},
320 .radio = {
321 .name = name_radio,
322 .amux = LINE2,
323 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700324 },
325 [SAA7134_BOARD_MD9717] = {
326 .name = "Tevion MD 9717",
327 .audio_clock = 0x00200000,
328 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700329 .radio_type = UNSET,
330 .tuner_addr = ADDR_UNSET,
331 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700332 .inputs = {{
333 .name = name_tv,
334 .vmux = 1,
335 .amux = TV,
336 .tv = 1,
337 },{
338 /* workaround for problems with normal TV sound */
339 .name = name_tv_mono,
340 .vmux = 1,
341 .amux = LINE2,
342 .tv = 1,
343 },{
344 .name = name_comp1,
Hermann Pitton4aa504a2007-11-28 21:50:26 -0300345 .vmux = 0,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700346 .amux = LINE1,
347 },{
348 .name = name_comp2,
349 .vmux = 3,
350 .amux = LINE1,
351 },{
352 .name = name_svideo,
353 .vmux = 8,
354 .amux = LINE1,
355 }},
356 .radio = {
357 .name = name_radio,
358 .amux = LINE2,
359 },
Hermann Pittoncc764662007-11-28 21:54:35 -0300360 .mute = {
361 .name = name_mute,
362 .amux = TV,
363 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700364 },
365 [SAA7134_BOARD_TVSTATION_RDS] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700366 /* Typhoon TV Tuner RDS: Art.Nr. 50694 */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700367 .name = "KNC One TV-Station RDS / Typhoon TV Tuner RDS",
368 .audio_clock = 0x00200000,
369 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700370 .radio_type = UNSET,
371 .tuner_addr = ADDR_UNSET,
372 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700373 .tda9887_conf = TDA9887_PRESENT,
374 .inputs = {{
375 .name = name_tv,
376 .vmux = 1,
377 .amux = TV,
378 .tv = 1,
379 },{
380 .name = name_tv_mono,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700381 .vmux = 1,
382 .amux = LINE2,
383 .tv = 1,
384 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -0700385
386 .name = name_svideo,
387 .vmux = 8,
388 .amux = LINE1,
389 },{
390 .name = name_comp1,
391 .vmux = 3,
392 .amux = LINE1,
393 },{
394
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700395 .name = "CVid over SVid",
396 .vmux = 0,
397 .amux = LINE1,
398 }},
Linus Torvalds1da177e2005-04-16 15:20:36 -0700399 .radio = {
400 .name = name_radio,
401 .amux = LINE2,
402 },
403 },
404 [SAA7134_BOARD_TVSTATION_DVR] = {
405 .name = "KNC One TV-Station DVR",
406 .audio_clock = 0x00200000,
407 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700408 .radio_type = UNSET,
409 .tuner_addr = ADDR_UNSET,
410 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700411 .tda9887_conf = TDA9887_PRESENT,
412 .gpiomask = 0x820000,
413 .inputs = {{
414 .name = name_tv,
415 .vmux = 1,
Rafał Bilskiaac0ca62007-06-20 05:36:26 -0300416 .amux = TV,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700417 .tv = 1,
418 .gpio = 0x20000,
419 },{
420 .name = name_svideo,
421 .vmux = 8,
422 .amux = LINE1,
423 .gpio = 0x20000,
424 },{
425 .name = name_comp1,
426 .vmux = 3,
427 .amux = LINE1,
428 .gpio = 0x20000,
429 }},
430 .radio = {
431 .name = name_radio,
432 .amux = LINE2,
433 .gpio = 0x20000,
434 },
435 .mpeg = SAA7134_MPEG_EMPRESS,
436 .video_out = CCIR656,
437 },
438 [SAA7134_BOARD_CINERGY400] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700439 .name = "Terratec Cinergy 400 TV",
440 .audio_clock = 0x00200000,
441 .tuner_type = TUNER_PHILIPS_PAL,
442 .radio_type = UNSET,
443 .tuner_addr = ADDR_UNSET,
444 .radio_addr = ADDR_UNSET,
445 .inputs = {{
446 .name = name_tv,
447 .vmux = 1,
448 .amux = TV,
449 .tv = 1,
450 },{
451 .name = name_comp1,
452 .vmux = 4,
453 .amux = LINE1,
454 },{
455 .name = name_svideo,
456 .vmux = 8,
457 .amux = LINE1,
458 },{
459 .name = name_comp2, /* CVideo over SVideo Connector */
460 .vmux = 0,
461 .amux = LINE1,
462 }}
463 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700464 [SAA7134_BOARD_MD5044] = {
465 .name = "Medion 5044",
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700466 .audio_clock = 0x00187de7, /* was: 0x00200000, */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700467 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700468 .radio_type = UNSET,
469 .tuner_addr = ADDR_UNSET,
470 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700471 .tda9887_conf = TDA9887_PRESENT,
472 .inputs = {{
473 .name = name_tv,
474 .vmux = 1,
475 .amux = TV,
476 .tv = 1,
477 },{
478 /* workaround for problems with normal TV sound */
479 .name = name_tv_mono,
480 .vmux = 1,
481 .amux = LINE2,
482 .tv = 1,
483 },{
484 .name = name_comp1,
485 .vmux = 0,
486 .amux = LINE2,
487 },{
488 .name = name_comp2,
489 .vmux = 3,
490 .amux = LINE2,
491 },{
492 .name = name_svideo,
493 .vmux = 8,
494 .amux = LINE2,
495 }},
496 .radio = {
497 .name = name_radio,
498 .amux = LINE2,
499 },
500 },
501 [SAA7134_BOARD_KWORLD] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700502 .name = "Kworld/KuroutoShikou SAA7130-TVPCI",
Linus Torvalds1da177e2005-04-16 15:20:36 -0700503 .audio_clock = 0x00187de7,
504 .tuner_type = TUNER_PHILIPS_NTSC_M,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700505 .radio_type = UNSET,
506 .tuner_addr = ADDR_UNSET,
507 .radio_addr = ADDR_UNSET,
508 .inputs = {{
509 .name = name_svideo,
510 .vmux = 8,
511 .amux = LINE1,
512 },{
513 .name = name_comp1,
514 .vmux = 3,
515 .amux = LINE1,
516 },{
517 .name = name_tv,
518 .vmux = 1,
519 .amux = LINE2,
520 .tv = 1,
521 }},
522 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700523 [SAA7134_BOARD_CINERGY600] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700524 .name = "Terratec Cinergy 600 TV",
525 .audio_clock = 0x00200000,
526 .tuner_type = TUNER_PHILIPS_PAL,
527 .radio_type = UNSET,
528 .tuner_addr = ADDR_UNSET,
529 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700530 .tda9887_conf = TDA9887_PRESENT,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700531 .inputs = {{
532 .name = name_tv,
533 .vmux = 1,
534 .amux = TV,
535 .tv = 1,
536 },{
537 .name = name_comp1,
538 .vmux = 4,
539 .amux = LINE1,
540 },{
541 .name = name_svideo,
542 .vmux = 8,
543 .amux = LINE1,
544 },{
545 .name = name_comp2, /* CVideo over SVideo Connector */
546 .vmux = 0,
547 .amux = LINE1,
548 }},
Linus Torvalds1da177e2005-04-16 15:20:36 -0700549 .radio = {
550 .name = name_radio,
551 .amux = LINE2,
Michael Krufky67ac9a42006-03-14 16:18:49 -0300552 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700553 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700554 [SAA7134_BOARD_MD7134] = {
555 .name = "Medion 7134",
Linus Torvalds1da177e2005-04-16 15:20:36 -0700556 .audio_clock = 0x00187de7,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700557 .tuner_type = TUNER_PHILIPS_FMD1216ME_MK3,
558 .radio_type = UNSET,
559 .tuner_addr = ADDR_UNSET,
560 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700561 .tda9887_conf = TDA9887_PRESENT,
562 .mpeg = SAA7134_MPEG_DVB,
563 .inputs = {{
564 .name = name_tv,
565 .vmux = 1,
566 .amux = TV,
567 .tv = 1,
568 },{
569 .name = name_comp1,
570 .vmux = 0,
571 .amux = LINE1,
572 },{
573 .name = name_svideo,
574 .vmux = 8,
575 .amux = LINE1,
576 }},
577 .radio = {
578 .name = name_radio,
579 .amux = LINE2,
Hermann Pittoncc764662007-11-28 21:54:35 -0300580 },
581 .mute = {
582 .name = name_mute,
583 .amux = TV,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700584 },
585 },
586 [SAA7134_BOARD_TYPHOON_90031] = {
587 /* aka Typhoon "TV+Radio", Art.Nr 90031 */
588 /* Tom Zoerner <tomzo at users sourceforge net> */
589 .name = "Typhoon TV+Radio 90031",
590 .audio_clock = 0x00200000,
591 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700592 .radio_type = UNSET,
593 .tuner_addr = ADDR_UNSET,
594 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700595 .tda9887_conf = TDA9887_PRESENT,
596 .inputs = {{
597 .name = name_tv,
598 .vmux = 1,
599 .amux = TV,
600 .tv = 1,
601 },{
602 .name = name_comp1,
603 .vmux = 3,
604 .amux = LINE1,
605 },{
606 .name = name_svideo,
607 .vmux = 8,
608 .amux = LINE1,
609 }},
610 .radio = {
611 .name = name_radio,
612 .amux = LINE2,
613 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700614 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700615 [SAA7134_BOARD_ELSA] = {
616 .name = "ELSA EX-VISION 300TV",
617 .audio_clock = 0x00187de7,
618 .tuner_type = TUNER_HITACHI_NTSC,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700619 .radio_type = UNSET,
620 .tuner_addr = ADDR_UNSET,
621 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700622 .inputs = {{
623 .name = name_svideo,
624 .vmux = 8,
625 .amux = LINE1,
626 },{
627 .name = name_comp1,
628 .vmux = 0,
629 .amux = LINE1,
630 },{
631 .name = name_tv,
632 .vmux = 4,
633 .amux = LINE2,
634 .tv = 1,
635 }},
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700636 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700637 [SAA7134_BOARD_ELSA_500TV] = {
638 .name = "ELSA EX-VISION 500TV",
639 .audio_clock = 0x00187de7,
640 .tuner_type = TUNER_HITACHI_NTSC,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700641 .radio_type = UNSET,
642 .tuner_addr = ADDR_UNSET,
643 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700644 .inputs = {{
645 .name = name_svideo,
646 .vmux = 7,
647 .amux = LINE1,
648 },{
649 .name = name_tv,
650 .vmux = 8,
651 .amux = TV,
652 .tv = 1,
653 },{
654 .name = name_tv_mono,
655 .vmux = 8,
656 .amux = LINE2,
657 .tv = 1,
658 }},
Linus Torvalds1da177e2005-04-16 15:20:36 -0700659 },
Tamuki Shoichid0456d12006-02-27 00:08:04 -0300660 [SAA7134_BOARD_ELSA_700TV] = {
661 .name = "ELSA EX-VISION 700TV",
662 .audio_clock = 0x00187de7,
663 .tuner_type = TUNER_HITACHI_NTSC,
664 .radio_type = UNSET,
665 .tuner_addr = ADDR_UNSET,
666 .radio_addr = ADDR_UNSET,
667 .inputs = {{
668 .name = name_tv,
669 .vmux = 4,
670 .amux = LINE2,
671 .tv = 1,
672 },{
673 .name = name_comp1,
674 .vmux = 6,
675 .amux = LINE1,
676 },{
677 .name = name_svideo,
678 .vmux = 7,
679 .amux = LINE1,
680 }},
681 .mute = {
682 .name = name_mute,
683 .amux = TV,
684 },
685 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700686 [SAA7134_BOARD_ASUSTeK_TVFM7134] = {
687 .name = "ASUS TV-FM 7134",
688 .audio_clock = 0x00187de7,
689 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
690 .radio_type = UNSET,
691 .tuner_addr = ADDR_UNSET,
692 .radio_addr = ADDR_UNSET,
693 .tda9887_conf = TDA9887_PRESENT,
694 .inputs = {{
695 .name = name_tv,
696 .vmux = 1,
697 .amux = TV,
698 .tv = 1,
699 },{
700 .name = name_comp1,
701 .vmux = 4,
702 .amux = LINE2,
703 },{
704 .name = name_svideo,
705 .vmux = 6,
706 .amux = LINE2,
707 }},
708 .radio = {
709 .name = name_radio,
710 .amux = LINE1,
711 },
712 },
713 [SAA7134_BOARD_ASUSTeK_TVFM7135] = {
714 .name = "ASUS TV-FM 7135",
715 .audio_clock = 0x00187de7,
716 .tuner_type = TUNER_PHILIPS_TDA8290,
717 .radio_type = UNSET,
718 .tuner_addr = ADDR_UNSET,
719 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700720 .gpiomask = 0x200000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700721 .inputs = {{
722 .name = name_tv,
723 .vmux = 1,
724 .amux = TV,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700725 .gpio = 0x0000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700726 .tv = 1,
727 },{
728 .name = name_comp1,
729 .vmux = 4,
730 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700731 .gpio = 0x0000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700732 },{
733 .name = name_svideo,
734 .vmux = 6,
735 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700736 .gpio = 0x0000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700737 }},
738 .radio = {
739 .name = name_radio,
740 .amux = TV,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700741 .gpio = 0x200000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700742 },
743 .mute = {
744 .name = name_mute,
745 .gpio = 0x0000,
746 },
747
Linus Torvalds1da177e2005-04-16 15:20:36 -0700748 },
749 [SAA7134_BOARD_VA1000POWER] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700750 .name = "AOPEN VA1000 POWER",
Linus Torvalds1da177e2005-04-16 15:20:36 -0700751 .audio_clock = 0x00187de7,
752 .tuner_type = TUNER_PHILIPS_NTSC,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700753 .radio_type = UNSET,
754 .tuner_addr = ADDR_UNSET,
755 .radio_addr = ADDR_UNSET,
756 .inputs = {{
757 .name = name_svideo,
758 .vmux = 8,
759 .amux = LINE1,
760 },{
761 .name = name_comp1,
762 .vmux = 3,
763 .amux = LINE1,
764 },{
765 .name = name_tv,
766 .vmux = 1,
767 .amux = LINE2,
768 .tv = 1,
769 }},
Linus Torvalds1da177e2005-04-16 15:20:36 -0700770 },
771 [SAA7134_BOARD_10MOONSTVMASTER] = {
772 /* "lilicheng" <llc@linuxfans.org> */
773 .name = "10MOONS PCI TV CAPTURE CARD",
774 .audio_clock = 0x00200000,
775 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700776 .radio_type = UNSET,
777 .tuner_addr = ADDR_UNSET,
778 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700779 .gpiomask = 0xe000,
780 .inputs = {{
781 .name = name_tv,
782 .vmux = 1,
783 .amux = LINE2,
784 .gpio = 0x0000,
785 .tv = 1,
786 },{
787 .name = name_comp1,
788 .vmux = 0,
789 .amux = LINE2,
790 .gpio = 0x4000,
791 },{
792 .name = name_comp2,
793 .vmux = 3,
794 .amux = LINE2,
795 .gpio = 0x4000,
796 },{
797 .name = name_svideo,
798 .vmux = 8,
799 .amux = LINE2,
800 .gpio = 0x4000,
801 }},
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700802 .radio = {
803 .name = name_radio,
804 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700805 .gpio = 0x2000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700806 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700807 .mute = {
808 .name = name_mute,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700809 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700810 .gpio = 0x8000,
811 },
812 },
813 [SAA7134_BOARD_BMK_MPEX_NOTUNER] = {
814 /* "Andrew de Quincey" <adq@lidskialf.net> */
815 .name = "BMK MPEX No Tuner",
816 .audio_clock = 0x200000,
817 .tuner_type = TUNER_ABSENT,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700818 .radio_type = UNSET,
819 .tuner_addr = ADDR_UNSET,
820 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700821 .inputs = {{
822 .name = name_comp1,
823 .vmux = 4,
824 .amux = LINE1,
825 },{
826 .name = name_comp2,
827 .vmux = 3,
828 .amux = LINE1,
829 },{
830 .name = name_comp3,
831 .vmux = 0,
832 .amux = LINE1,
833 },{
834 .name = name_comp4,
835 .vmux = 1,
836 .amux = LINE1,
837 },{
838 .name = name_svideo,
839 .vmux = 8,
840 .amux = LINE1,
841 }},
842 .mpeg = SAA7134_MPEG_EMPRESS,
843 .video_out = CCIR656,
844 },
845 [SAA7134_BOARD_VIDEOMATE_TV] = {
846 .name = "Compro VideoMate TV",
847 .audio_clock = 0x00187de7,
848 .tuner_type = TUNER_PHILIPS_NTSC_M,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700849 .radio_type = UNSET,
850 .tuner_addr = ADDR_UNSET,
851 .radio_addr = ADDR_UNSET,
852 .inputs = {{
853 .name = name_svideo,
854 .vmux = 8,
855 .amux = LINE1,
856 },{
857 .name = name_comp1,
858 .vmux = 3,
859 .amux = LINE1,
860 },{
861 .name = name_tv,
862 .vmux = 1,
863 .amux = LINE2,
864 .tv = 1,
865 }},
866 },
867 [SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS] = {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700868 .name = "Compro VideoMate TV Gold+",
869 .audio_clock = 0x00187de7,
870 .tuner_type = TUNER_PHILIPS_NTSC_M,
871 .gpiomask = 0x800c0000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700872 .radio_type = UNSET,
873 .tuner_addr = ADDR_UNSET,
874 .radio_addr = ADDR_UNSET,
875 .inputs = {{
876 .name = name_svideo,
877 .vmux = 8,
878 .amux = LINE1,
879 .gpio = 0x06c00012,
880 },{
881 .name = name_comp1,
882 .vmux = 3,
883 .amux = LINE1,
884 .gpio = 0x0ac20012,
885 },{
886 .name = name_tv,
887 .vmux = 1,
888 .amux = LINE2,
889 .gpio = 0x08c20012,
890 .tv = 1,
891 }}, /* radio and probably mute is missing */
892 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700893 [SAA7134_BOARD_CRONOS_PLUS] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700894 /*
895 gpio pins:
896 0 .. 3 BASE_ID
897 4 .. 7 PROTECT_ID
898 8 .. 11 USER_OUT
899 12 .. 13 USER_IN
900 14 .. 15 VIDIN_SEL
901 */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700902 .name = "Matrox CronosPlus",
903 .tuner_type = TUNER_ABSENT,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700904 .radio_type = UNSET,
905 .tuner_addr = ADDR_UNSET,
906 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700907 .gpiomask = 0xcf00,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700908 .inputs = {{
909 .name = name_comp1,
910 .vmux = 0,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700911 .gpio = 2 << 14,
912 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700913 .name = name_comp2,
914 .vmux = 0,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700915 .gpio = 1 << 14,
916 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700917 .name = name_comp3,
918 .vmux = 0,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700919 .gpio = 0 << 14,
920 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700921 .name = name_comp4,
922 .vmux = 0,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700923 .gpio = 3 << 14,
924 },{
925 .name = name_svideo,
926 .vmux = 8,
927 .gpio = 2 << 14,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700928 }},
929 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700930 [SAA7134_BOARD_MD2819] = {
931 .name = "AverMedia M156 / Medion 2819",
932 .audio_clock = 0x00187de7,
933 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700934 .radio_type = UNSET,
935 .tuner_addr = ADDR_UNSET,
936 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700937 .tda9887_conf = TDA9887_PRESENT,
Hermann Pittonad1ef132008-01-20 19:32:39 -0300938 .gpiomask = 0x03,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700939 .inputs = {{
940 .name = name_tv,
941 .vmux = 1,
942 .amux = TV,
943 .tv = 1,
Hermann Pittonad1ef132008-01-20 19:32:39 -0300944 .gpio = 0x00,
945 }, {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700946 .name = name_comp1,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700947 .vmux = 3,
Hermann Pittonad1ef132008-01-20 19:32:39 -0300948 .amux = LINE1,
949 .gpio = 0x02,
950 }, {
951 .name = name_comp2,
952 .vmux = 0,
953 .amux = LINE1,
954 .gpio = 0x02,
955 }, {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700956 .name = name_svideo,
957 .vmux = 8,
Hermann Pittonad1ef132008-01-20 19:32:39 -0300958 .amux = LINE1,
959 .gpio = 0x02,
960 } },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700961 .radio = {
962 .name = name_radio,
Hermann Pittonad1ef132008-01-20 19:32:39 -0300963 .amux = LINE1,
964 .gpio = 0x01,
965 },
966 .mute = {
967 .name = name_mute,
968 .amux = TV,
969 .gpio = 0x00,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700970 },
971 },
972 [SAA7134_BOARD_BMK_MPEX_TUNER] = {
973 /* "Greg Wickham <greg.wickham@grangenet.net> */
974 .name = "BMK MPEX Tuner",
975 .audio_clock = 0x200000,
976 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700977 .radio_type = UNSET,
978 .tuner_addr = ADDR_UNSET,
979 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700980 .inputs = {{
981 .name = name_comp1,
982 .vmux = 1,
983 .amux = LINE1,
984 },{
985 .name = name_svideo,
986 .vmux = 8,
987 .amux = LINE1,
988 },{
989 .name = name_tv,
990 .vmux = 3,
991 .amux = TV,
992 .tv = 1,
993 }},
994 .mpeg = SAA7134_MPEG_EMPRESS,
995 .video_out = CCIR656,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700996 },
997 [SAA7134_BOARD_ASUSTEK_TVFM7133] = {
998 .name = "ASUS TV-FM 7133",
999 .audio_clock = 0x00187de7,
1000 /* probably wrong, the 7133 one is the NTSC version ...
1001 * .tuner_type = TUNER_PHILIPS_FM1236_MK3 */
1002 .tuner_type = TUNER_LG_NTSC_NEW_TAPC,
1003 .radio_type = UNSET,
1004 .tuner_addr = ADDR_UNSET,
1005 .radio_addr = ADDR_UNSET,
1006 .tda9887_conf = TDA9887_PRESENT,
1007 .inputs = {{
1008 .name = name_tv,
1009 .vmux = 1,
1010 .amux = TV,
1011 .tv = 1,
1012
Linus Torvalds1da177e2005-04-16 15:20:36 -07001013 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001014 .name = name_comp1,
1015 .vmux = 4,
1016 .amux = LINE2,
1017 },{
1018 .name = name_svideo,
1019 .vmux = 6,
1020 .amux = LINE2,
1021 }},
1022 .radio = {
1023 .name = name_radio,
1024 .amux = LINE1,
1025 },
1026 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001027 [SAA7134_BOARD_PINNACLE_PCTV_STEREO] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001028 .name = "Pinnacle PCTV Stereo (saa7134)",
1029 .audio_clock = 0x00187de7,
1030 .tuner_type = TUNER_MT2032,
1031 .radio_type = UNSET,
1032 .tuner_addr = ADDR_UNSET,
1033 .radio_addr = ADDR_UNSET,
Hartmut Hackmanndf8cf702006-03-03 12:09:26 -03001034 .tda9887_conf = TDA9887_PRESENT | TDA9887_INTERCARRIER | TDA9887_PORT2_INACTIVE,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001035 .inputs = {{
1036 .name = name_tv,
1037 .vmux = 3,
1038 .amux = TV,
1039 .tv = 1,
1040 },{
1041 .name = name_comp1,
1042 .vmux = 0,
1043 .amux = LINE2,
1044 },{
1045 .name = name_comp2,
1046 .vmux = 1,
1047 .amux = LINE2,
1048 },{
1049 .name = name_svideo,
1050 .vmux = 8,
1051 .amux = LINE2,
1052 }},
1053 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001054 [SAA7134_BOARD_MANLI_MTV002] = {
1055 /* Ognjen Nastic <ognjen@logosoft.ba> */
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03001056 .name = "Manli MuchTV M-TV002",
Linus Torvalds1da177e2005-04-16 15:20:36 -07001057 .audio_clock = 0x00200000,
1058 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001059 .radio_type = UNSET,
1060 .tuner_addr = ADDR_UNSET,
1061 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001062 .inputs = {{
1063 .name = name_svideo,
1064 .vmux = 8,
1065 .amux = LINE1,
1066 },{
1067 .name = name_comp1,
1068 .vmux = 1,
1069 .amux = LINE1,
1070 },{
1071 .name = name_tv,
1072 .vmux = 3,
1073 .amux = LINE2,
1074 .tv = 1,
1075 }},
1076 .radio = {
1077 .name = name_radio,
1078 .amux = LINE2,
1079 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001080 },
1081 [SAA7134_BOARD_MANLI_MTV001] = {
1082 /* Ognjen Nastic <ognjen@logosoft.ba> UNTESTED */
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03001083 .name = "Manli MuchTV M-TV001",
Linus Torvalds1da177e2005-04-16 15:20:36 -07001084 .audio_clock = 0x00200000,
1085 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001086 .radio_type = UNSET,
1087 .tuner_addr = ADDR_UNSET,
1088 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001089 .inputs = {{
1090 .name = name_svideo,
1091 .vmux = 8,
1092 .amux = LINE1,
1093 },{
1094 .name = name_comp1,
1095 .vmux = 1,
1096 .amux = LINE1,
1097 },{
1098 .name = name_tv,
1099 .vmux = 3,
1100 .amux = LINE2,
1101 .tv = 1,
1102 }},
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001103 .mute = {
1104 .name = name_mute,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001105 .amux = LINE1,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001106 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001107 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001108 [SAA7134_BOARD_TG3000TV] = {
1109 /* TransGear 3000TV */
1110 .name = "Nagase Sangyo TransGear 3000TV",
1111 .audio_clock = 0x00187de7,
1112 .tuner_type = TUNER_PHILIPS_NTSC_M,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001113 .radio_type = UNSET,
1114 .tuner_addr = ADDR_UNSET,
1115 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001116 .inputs = {{
1117 .name = name_tv,
1118 .vmux = 1,
1119 .amux = LINE2,
1120 .tv = 1,
1121 },{
1122 .name = name_comp1,
1123 .vmux = 3,
1124 .amux = LINE2,
1125 },{
1126 .name = name_svideo,
1127 .vmux = 8,
1128 .amux = LINE2,
1129 }},
1130 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001131 [SAA7134_BOARD_ECS_TVP3XP] = {
1132 .name = "Elitegroup ECS TVP3XP FM1216 Tuner Card(PAL-BG,FM) ",
1133 .audio_clock = 0x187de7, /* xtal 32.1 MHz */
1134 .tuner_type = TUNER_PHILIPS_PAL,
1135 .radio_type = UNSET,
1136 .tuner_addr = ADDR_UNSET,
1137 .radio_addr = ADDR_UNSET,
1138 .inputs = {{
1139 .name = name_tv,
1140 .vmux = 1,
1141 .amux = TV,
1142 .tv = 1,
1143 },{
1144 .name = name_tv_mono,
1145 .vmux = 1,
1146 .amux = LINE2,
1147 .tv = 1,
1148 },{
1149 .name = name_comp1,
1150 .vmux = 3,
1151 .amux = LINE1,
1152 },{
1153 .name = name_svideo,
1154 .vmux = 8,
1155 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001156 },{
1157 .name = "CVid over SVid",
1158 .vmux = 0,
1159 .amux = LINE1,
1160 }},
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001161 .radio = {
1162 .name = name_radio,
1163 .amux = LINE2,
1164 },
1165 },
1166 [SAA7134_BOARD_ECS_TVP3XP_4CB5] = {
1167 .name = "Elitegroup ECS TVP3XP FM1236 Tuner Card (NTSC,FM)",
1168 .audio_clock = 0x187de7,
1169 .tuner_type = TUNER_PHILIPS_NTSC,
1170 .radio_type = UNSET,
1171 .tuner_addr = ADDR_UNSET,
1172 .radio_addr = ADDR_UNSET,
1173 .inputs = {{
1174 .name = name_tv,
1175 .vmux = 1,
1176 .amux = TV,
1177 .tv = 1,
1178 },{
1179 .name = name_tv_mono,
1180 .vmux = 1,
1181 .amux = LINE2,
1182 .tv = 1,
1183 },{
1184 .name = name_comp1,
1185 .vmux = 3,
1186 .amux = LINE1,
1187 },{
1188 .name = name_svideo,
1189 .vmux = 8,
1190 .amux = LINE1,
1191 },{
1192 .name = "CVid over SVid",
1193 .vmux = 0,
1194 .amux = LINE1,
1195 }},
1196 .radio = {
1197 .name = name_radio,
1198 .amux = LINE2,
1199 },
1200 },
Simon Farnsworthb39423a2007-05-01 10:01:20 -03001201 [SAA7134_BOARD_ECS_TVP3XP_4CB6] = {
1202 /* Barry Scott <barry.scott@onelan.co.uk> */
1203 .name = "Elitegroup ECS TVP3XP FM1246 Tuner Card (PAL,FM)",
1204 .audio_clock = 0x187de7,
1205 .tuner_type = TUNER_PHILIPS_PAL_I,
1206 .radio_type = UNSET,
1207 .tuner_addr = ADDR_UNSET,
1208 .radio_addr = ADDR_UNSET,
1209 .inputs = {{
1210 .name = name_tv,
1211 .vmux = 1,
1212 .amux = TV,
1213 .tv = 1,
1214 },{
1215 .name = name_tv_mono,
1216 .vmux = 1,
1217 .amux = LINE2,
1218 .tv = 1,
1219 },{
1220 .name = name_comp1,
1221 .vmux = 3,
1222 .amux = LINE1,
1223 },{
1224 .name = name_svideo,
1225 .vmux = 8,
1226 .amux = LINE1,
1227 },{
1228 .name = "CVid over SVid",
1229 .vmux = 0,
1230 .amux = LINE1,
1231 }},
1232 .radio = {
1233 .name = name_radio,
1234 .amux = LINE2,
1235 },
1236 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001237 [SAA7134_BOARD_AVACSSMARTTV] = {
1238 /* Roman Pszonczenko <romka@kolos.math.uni.lodz.pl> */
1239 .name = "AVACS SmartTV",
1240 .audio_clock = 0x00187de7,
1241 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001242 .radio_type = UNSET,
1243 .tuner_addr = ADDR_UNSET,
1244 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001245 .inputs = {{
1246 .name = name_tv,
1247 .vmux = 1,
1248 .amux = TV,
1249 .tv = 1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001250 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07001251 .name = name_tv_mono,
1252 .vmux = 1,
1253 .amux = LINE2,
1254 .tv = 1,
1255 },{
1256 .name = name_comp1,
1257 .vmux = 0,
1258 .amux = LINE2,
1259 },{
1260 .name = name_comp2,
1261 .vmux = 3,
1262 .amux = LINE2,
1263 },{
1264 .name = name_svideo,
1265 .vmux = 8,
1266 .amux = LINE2,
1267 }},
1268 .radio = {
1269 .name = name_radio,
1270 .amux = LINE2,
1271 .gpio = 0x200000,
1272 },
1273 },
1274 [SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER] = {
1275 /* Michael Smith <msmith@cbnco.com> */
1276 .name = "AVerMedia DVD EZMaker",
1277 .audio_clock = 0x00187de7,
1278 .tuner_type = TUNER_ABSENT,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001279 .radio_type = UNSET,
1280 .tuner_addr = ADDR_UNSET,
1281 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001282 .inputs = {{
1283 .name = name_comp1,
1284 .vmux = 3,
1285 },{
1286 .name = name_svideo,
1287 .vmux = 8,
1288 }},
1289 },
Massimo Piccionie2fc00c2008-07-11 13:48:02 -03001290 [SAA7134_BOARD_AVERMEDIA_M103] = {
1291 /* Massimo Piccioni <dafastidio@libero.it> */
1292 .name = "AVerMedia MiniPCI DVB-T Hybrid M103",
1293 .audio_clock = 0x187de7,
1294 .tuner_type = TUNER_XC2028,
1295 .radio_type = UNSET,
1296 .tuner_addr = ADDR_UNSET,
1297 .radio_addr = ADDR_UNSET,
1298 .mpeg = SAA7134_MPEG_DVB,
1299 .inputs = {{
1300 .name = name_tv,
1301 .vmux = 1,
1302 .amux = TV,
1303 .tv = 1,
1304 } },
1305 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001306 [SAA7134_BOARD_NOVAC_PRIMETV7133] = {
1307 /* toshii@netbsd.org */
1308 .name = "Noval Prime TV 7133",
1309 .audio_clock = 0x00200000,
1310 .tuner_type = TUNER_ALPS_TSBH1_NTSC,
1311 .radio_type = UNSET,
1312 .tuner_addr = ADDR_UNSET,
1313 .radio_addr = ADDR_UNSET,
1314 .inputs = {{
1315 .name = name_comp1,
1316 .vmux = 3,
1317 },{
1318 .name = name_tv,
1319 .vmux = 1,
1320 .amux = TV,
1321 .tv = 1,
1322 },{
1323 .name = name_svideo,
1324 .vmux = 8,
1325 }},
1326 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001327 [SAA7134_BOARD_AVERMEDIA_STUDIO_305] = {
1328 .name = "AverMedia AverTV Studio 305",
1329 .audio_clock = 0x00187de7,
1330 .tuner_type = TUNER_PHILIPS_FM1256_IH3,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001331 .radio_type = UNSET,
1332 .tuner_addr = ADDR_UNSET,
1333 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001334 .tda9887_conf = TDA9887_PRESENT,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001335 .inputs = {{
1336 .name = name_tv,
1337 .vmux = 1,
1338 .amux = LINE2,
1339 .tv = 1,
1340 },{
1341 .name = name_comp1,
1342 .vmux = 0,
1343 .amux = LINE2,
1344 },{
1345 .name = name_comp2,
1346 .vmux = 3,
1347 .amux = LINE2,
1348 },{
1349 .name = name_svideo,
1350 .vmux = 8,
1351 .amux = LINE2,
1352 }},
1353 .radio = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001354 .name = name_radio,
1355 .amux = LINE2,
1356 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001357 .mute = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001358 .name = name_mute,
1359 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001360 },
1361 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001362 [SAA7134_BOARD_UPMOST_PURPLE_TV] = {
1363 .name = "UPMOST PURPLE TV",
1364 .audio_clock = 0x00187de7,
1365 .tuner_type = TUNER_PHILIPS_FM1236_MK3,
1366 .radio_type = UNSET,
1367 .tuner_addr = ADDR_UNSET,
1368 .radio_addr = ADDR_UNSET,
1369 .tda9887_conf = TDA9887_PRESENT,
1370 .inputs = {{
1371 .name = name_tv,
1372 .vmux = 7,
1373 .amux = TV,
1374 .tv = 1,
1375 },{
1376 .name = name_svideo,
1377 .vmux = 7,
1378 .amux = LINE1,
1379 }},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001380 },
1381 [SAA7134_BOARD_ITEMS_MTV005] = {
1382 /* Norman Jonas <normanjonas@arcor.de> */
1383 .name = "Items MuchTV Plus / IT-005",
1384 .audio_clock = 0x00187de7,
1385 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001386 .radio_type = UNSET,
1387 .tuner_addr = ADDR_UNSET,
1388 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001389 .inputs = {{
1390 .name = name_tv,
1391 .vmux = 3,
1392 .amux = TV,
1393 .tv = 1,
1394 },{
1395 .name = name_comp1,
1396 .vmux = 1,
1397 .amux = LINE1,
1398 },{
1399 .name = name_svideo,
1400 .vmux = 8,
1401 .amux = LINE1,
1402 }},
1403 .radio = {
1404 .name = name_radio,
1405 .amux = LINE2,
1406 },
1407 },
1408 [SAA7134_BOARD_CINERGY200] = {
1409 .name = "Terratec Cinergy 200 TV",
1410 .audio_clock = 0x00200000,
1411 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001412 .radio_type = UNSET,
1413 .tuner_addr = ADDR_UNSET,
1414 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001415 .inputs = {{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001416 .name = name_tv,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001417 .vmux = 1,
1418 .amux = LINE2,
1419 .tv = 1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001420 },{
1421 .name = name_comp1,
1422 .vmux = 4,
1423 .amux = LINE1,
1424 },{
1425 .name = name_svideo,
1426 .vmux = 8,
1427 .amux = LINE1,
1428 },{
1429 .name = name_comp2, /* CVideo over SVideo Connector */
1430 .vmux = 0,
1431 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001432 }},
1433 .mute = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001434 .name = name_mute,
1435 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001436 },
1437 },
1438 [SAA7134_BOARD_VIDEOMATE_TV_PVR] = {
1439 /* Alain St-Denis <alain@topaze.homeip.net> */
1440 .name = "Compro VideoMate TV PVR/FM",
1441 .audio_clock = 0x00187de7,
1442 .tuner_type = TUNER_PHILIPS_NTSC_M,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001443 .radio_type = UNSET,
1444 .tuner_addr = ADDR_UNSET,
1445 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001446 .gpiomask = 0x808c0080,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001447 .inputs = {{
1448 .name = name_svideo,
1449 .vmux = 8,
1450 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001451 .gpio = 0x00080,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001452 },{
1453 .name = name_comp1,
1454 .vmux = 3,
1455 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001456 .gpio = 0x00080,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001457 },{
1458 .name = name_tv,
1459 .vmux = 1,
1460 .amux = LINE2_LEFT,
1461 .tv = 1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001462 .gpio = 0x00080,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001463 }},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001464 .radio = {
1465 .name = name_radio,
1466 .amux = LINE2,
1467 .gpio = 0x80000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001468 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001469 .mute = {
1470 .name = name_mute,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001471 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001472 .gpio = 0x40000,
1473 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001474 },
1475 [SAA7134_BOARD_SABRENT_SBTTVFM] = {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001476 /* Michael Rodriguez-Torrent <mrtorrent@asu.edu> */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001477 .name = "Sabrent SBT-TVFM (saa7130)",
1478 .audio_clock = 0x00187de7,
1479 .tuner_type = TUNER_PHILIPS_NTSC_M,
1480 .radio_type = UNSET,
1481 .tuner_addr = ADDR_UNSET,
1482 .radio_addr = ADDR_UNSET,
1483 .inputs = {{
Linus Torvalds1da177e2005-04-16 15:20:36 -07001484 .name = name_comp1,
1485 .vmux = 1,
Mauro Carvalho Chehab6a989d72005-09-09 13:03:57 -07001486 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001487 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001488 .name = name_tv,
1489 .vmux = 3,
1490 .amux = LINE2,
1491 .tv = 1,
1492 },{
1493 .name = name_svideo,
1494 .vmux = 8,
Mauro Carvalho Chehab6a989d72005-09-09 13:03:57 -07001495 .amux = LINE1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001496 }},
1497 .radio = {
1498 .name = name_radio,
1499 .amux = LINE2,
1500 },
1501 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001502 [SAA7134_BOARD_ZOLID_XPERT_TV7134] = {
1503 /* Helge Jensen <helge.jensen@slog.dk> */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001504 .name = ":Zolid Xpert TV7134",
Linus Torvalds1da177e2005-04-16 15:20:36 -07001505 .audio_clock = 0x00187de7,
1506 .tuner_type = TUNER_PHILIPS_NTSC,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001507 .radio_type = UNSET,
1508 .tuner_addr = ADDR_UNSET,
1509 .radio_addr = ADDR_UNSET,
1510 .inputs = {{
Linus Torvalds1da177e2005-04-16 15:20:36 -07001511 .name = name_svideo,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001512 .vmux = 8,
1513 .amux = LINE1,
1514 },{
1515 .name = name_comp1,
1516 .vmux = 3,
1517 .amux = LINE1,
1518 },{
1519 .name = name_tv,
1520 .vmux = 1,
1521 .amux = LINE2,
1522 .tv = 1,
1523 }},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001524 },
1525 [SAA7134_BOARD_EMPIRE_PCI_TV_RADIO_LE] = {
1526 /* "Matteo Az" <matte.az@nospam.libero.it> ;-) */
1527 .name = "Empire PCI TV-Radio LE",
1528 .audio_clock = 0x00187de7,
1529 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001530 .radio_type = UNSET,
1531 .tuner_addr = ADDR_UNSET,
1532 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001533 .gpiomask = 0x4000,
1534 .inputs = {{
1535 .name = name_tv_mono,
1536 .vmux = 1,
1537 .amux = LINE2,
1538 .gpio = 0x8000,
1539 .tv = 1,
1540 },{
1541 .name = name_comp1,
1542 .vmux = 3,
1543 .amux = LINE1,
1544 .gpio = 0x8000,
1545 },{
1546 .name = name_svideo,
1547 .vmux = 6,
1548 .amux = LINE1,
1549 .gpio = 0x8000,
1550 }},
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001551 .radio = {
1552 .name = name_radio,
1553 .amux = LINE1,
1554 .gpio = 0x8000,
1555 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001556 .mute = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001557 .name = name_mute,
1558 .amux = TV,
1559 .gpio =0x8000,
1560 }
Linus Torvalds1da177e2005-04-16 15:20:36 -07001561 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001562 [SAA7134_BOARD_AVERMEDIA_STUDIO_307] = {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001563 /*
1564 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1565 Lots of thanks to Andrey Zolotarev <zolotarev_andrey@mail.ru>
1566 */
1567 .name = "Avermedia AVerTV Studio 307",
1568 .audio_clock = 0x00187de7,
1569 .tuner_type = TUNER_PHILIPS_FM1256_IH3,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001570 .radio_type = UNSET,
1571 .tuner_addr = ADDR_UNSET,
1572 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001573 .tda9887_conf = TDA9887_PRESENT,
1574 .gpiomask = 0x03,
1575 .inputs = {{
1576 .name = name_tv,
1577 .vmux = 1,
1578 .amux = TV,
1579 .tv = 1,
1580 .gpio = 0x00,
1581 },{
Stas Sergeevf438d972007-09-17 15:34:09 -03001582 .name = name_comp,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001583 .vmux = 3,
Stas Sergeevf5e4fee2007-09-02 03:56:18 -03001584 .amux = LINE1,
1585 .gpio = 0x02,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001586 },{
1587 .name = name_svideo,
1588 .vmux = 8,
Stas Sergeevf5e4fee2007-09-02 03:56:18 -03001589 .amux = LINE1,
1590 .gpio = 0x02,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001591 }},
1592 .radio = {
1593 .name = name_radio,
1594 .amux = LINE1,
1595 .gpio = 0x01,
1596 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001597 .mute = {
1598 .name = name_mute,
1599 .amux = LINE1,
1600 .gpio = 0x00,
1601 },
1602 },
1603 [SAA7134_BOARD_AVERMEDIA_GO_007_FM] = {
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001604 .name = "Avermedia AVerTV GO 007 FM",
1605 .audio_clock = 0x00187de7,
1606 .tuner_type = TUNER_PHILIPS_TDA8290,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001607 .radio_type = UNSET,
1608 .tuner_addr = ADDR_UNSET,
1609 .radio_addr = ADDR_UNSET,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001610 .gpiomask = 0x00300003,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001611 /* .gpiomask = 0x8c240003, */
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001612 .inputs = {{
1613 .name = name_tv,
1614 .vmux = 1,
1615 .amux = TV,
1616 .tv = 1,
1617 .gpio = 0x01,
1618 },{
1619 .name = name_comp1,
1620 .vmux = 0,
Damian Minkovfbc84082007-03-29 08:47:39 -03001621 .amux = LINE1,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001622 .gpio = 0x02,
1623 },{
1624 .name = name_svideo,
1625 .vmux = 6,
Damian Minkovfbc84082007-03-29 08:47:39 -03001626 .amux = LINE1,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001627 .gpio = 0x02,
1628 }},
1629 .radio = {
1630 .name = name_radio,
1631 .amux = LINE1,
1632 .gpio = 0x00300001,
1633 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001634 .mute = {
1635 .name = name_mute,
1636 .amux = TV,
1637 .gpio = 0x01,
1638 },
1639 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001640 [SAA7134_BOARD_AVERMEDIA_CARDBUS] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001641 /* Kees.Blom@cwi.nl */
1642 .name = "AVerMedia Cardbus TV/Radio (E500)",
1643 .audio_clock = 0x187de7,
1644 .tuner_type = TUNER_PHILIPS_TDA8290,
1645 .radio_type = UNSET,
1646 .tuner_addr = ADDR_UNSET,
1647 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001648 .inputs = {{
1649 .name = name_tv,
1650 .vmux = 1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001651 .amux = TV,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001652 .tv = 1,
1653 },{
1654 .name = name_comp1,
1655 .vmux = 3,
1656 .amux = LINE2,
1657 },{
1658 .name = name_svideo,
1659 .vmux = 8,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001660 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001661 }},
1662 .radio = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001663 .name = name_radio,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001664 .amux = LINE1,
1665 },
1666 },
1667 [SAA7134_BOARD_CINERGY400_CARDBUS] = {
1668 .name = "Terratec Cinergy 400 mobile",
1669 .audio_clock = 0x187de7,
1670 .tuner_type = TUNER_ALPS_TSBE5_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001671 .radio_type = UNSET,
1672 .tuner_addr = ADDR_UNSET,
1673 .radio_addr = ADDR_UNSET,
1674 .tda9887_conf = TDA9887_PRESENT,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001675 .inputs = {{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001676 .name = name_tv,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001677 .vmux = 1,
1678 .amux = TV,
1679 .tv = 1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001680 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07001681 .name = name_tv_mono,
1682 .vmux = 1,
1683 .amux = LINE2,
1684 .tv = 1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001685 },{
1686 .name = name_comp1,
1687 .vmux = 3,
1688 .amux = LINE1,
1689 },{
1690 .name = name_svideo,
1691 .vmux = 8,
1692 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001693 }},
1694 },
1695 [SAA7134_BOARD_CINERGY600_MK3] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001696 .name = "Terratec Cinergy 600 TV MK3",
1697 .audio_clock = 0x00200000,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001698 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001699 .radio_type = UNSET,
1700 .tuner_addr = ADDR_UNSET,
1701 .radio_addr = ADDR_UNSET,
1702 .tda9887_conf = TDA9887_PRESENT,
1703 .inputs = {{
1704 .name = name_tv,
1705 .vmux = 1,
1706 .amux = TV,
1707 .tv = 1,
1708 },{
1709 .name = name_comp1,
1710 .vmux = 4,
1711 .amux = LINE1,
1712 },{
1713 .name = name_svideo,
1714 .vmux = 8,
1715 .amux = LINE1,
1716 },{
1717 .name = name_comp2, /* CVideo over SVideo Connector */
1718 .vmux = 0,
1719 .amux = LINE1,
1720 }},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001721 .radio = {
1722 .name = name_radio,
1723 .amux = LINE2,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001724 },
1725 },
1726 [SAA7134_BOARD_VIDEOMATE_GOLD_PLUS] = {
1727 /* Dylan Walkden <dylan_walkden@hotmail.com> */
1728 .name = "Compro VideoMate Gold+ Pal",
1729 .audio_clock = 0x00187de7,
1730 .tuner_type = TUNER_PHILIPS_PAL,
1731 .radio_type = UNSET,
1732 .tuner_addr = ADDR_UNSET,
1733 .radio_addr = ADDR_UNSET,
1734 .gpiomask = 0x1ce780,
1735 .inputs = {{
1736 .name = name_svideo,
1737 .vmux = 0, /* CVideo over SVideo Connector - ok? */
1738 .amux = LINE1,
1739 .gpio = 0x008080,
1740 },{
1741 .name = name_comp1,
1742 .vmux = 3,
1743 .amux = LINE1,
1744 .gpio = 0x008080,
1745 },{
1746 .name = name_tv,
1747 .vmux = 1,
1748 .amux = TV,
1749 .tv = 1,
1750 .gpio = 0x008080,
1751 }},
1752 .radio = {
1753 .name = name_radio,
1754 .amux = LINE2,
1755 .gpio = 0x80000,
1756 },
1757 .mute = {
1758 .name = name_mute,
1759 .amux = LINE2,
1760 .gpio = 0x0c8000,
1761 },
1762 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001763 [SAA7134_BOARD_PINNACLE_300I_DVBT_PAL] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001764 .name = "Pinnacle PCTV 300i DVB-T + PAL",
1765 .audio_clock = 0x00187de7,
1766 .tuner_type = TUNER_MT2032,
1767 .radio_type = UNSET,
1768 .tuner_addr = ADDR_UNSET,
1769 .radio_addr = ADDR_UNSET,
Hartmut Hackmanndf8cf702006-03-03 12:09:26 -03001770 .tda9887_conf = TDA9887_PRESENT | TDA9887_INTERCARRIER | TDA9887_PORT2_INACTIVE,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001771 .mpeg = SAA7134_MPEG_DVB,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001772 .inputs = {{
1773 .name = name_tv,
1774 .vmux = 3,
1775 .amux = TV,
1776 .tv = 1,
1777 },{
1778 .name = name_comp1,
1779 .vmux = 0,
1780 .amux = LINE2,
1781 },{
1782 .name = name_comp2,
1783 .vmux = 1,
1784 .amux = LINE2,
1785 },{
1786 .name = name_svideo,
1787 .vmux = 8,
1788 .amux = LINE2,
1789 }},
1790 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001791 [SAA7134_BOARD_PROVIDEO_PV952] = {
1792 /* andreas.kretschmer@web.de */
1793 .name = "ProVideo PV952",
1794 .audio_clock = 0x00187de7,
1795 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001796 .radio_type = UNSET,
1797 .tuner_addr = ADDR_UNSET,
1798 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001799 .tda9887_conf = TDA9887_PRESENT,
1800 .inputs = {{
1801 .name = name_comp1,
1802 .vmux = 0,
1803 .amux = LINE1,
1804 },{
1805 .name = name_tv,
1806 .vmux = 1,
1807 .amux = TV,
1808 .tv = 1,
1809 },{
1810 .name = name_tv_mono,
1811 .vmux = 1,
1812 .amux = LINE2,
1813 .tv = 1,
1814 }},
1815 .radio = {
1816 .name = name_radio,
1817 .amux = LINE2,
1818 },
1819 },
1820 [SAA7134_BOARD_AVERMEDIA_305] = {
1821 /* much like the "studio" version but without radio
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001822 * and another tuner (sirspiritus@yandex.ru) */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001823 .name = "AverMedia AverTV/305",
1824 .audio_clock = 0x00187de7,
1825 .tuner_type = TUNER_PHILIPS_FQ1216ME,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001826 .radio_type = UNSET,
1827 .tuner_addr = ADDR_UNSET,
1828 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001829 .tda9887_conf = TDA9887_PRESENT,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001830 .inputs = {{
1831 .name = name_tv,
1832 .vmux = 1,
1833 .amux = LINE2,
1834 .tv = 1,
1835 },{
1836 .name = name_comp1,
1837 .vmux = 0,
1838 .amux = LINE2,
1839 },{
1840 .name = name_comp2,
1841 .vmux = 3,
1842 .amux = LINE2,
1843 },{
1844 .name = name_svideo,
1845 .vmux = 8,
1846 .amux = LINE2,
1847 }},
1848 .mute = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001849 .name = name_mute,
1850 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001851 },
1852 },
1853 [SAA7134_BOARD_FLYDVBTDUO] = {
1854 /* LifeView FlyDVB-T DUO */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001855 /* "Nico Sabbi <nsabbi@tiscali.it> Hartmut Hackmann hartmut.hackmann@t-online.de*/
Peter Misseldb483672007-04-27 12:31:20 -03001856 .name = "LifeView FlyDVB-T DUO / MSI TV@nywhere Duo",
Linus Torvalds1da177e2005-04-16 15:20:36 -07001857 .audio_clock = 0x00200000,
1858 .tuner_type = TUNER_PHILIPS_TDA8290,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001859 .radio_type = UNSET,
1860 .tuner_addr = ADDR_UNSET,
1861 .radio_addr = ADDR_UNSET,
Peter Missel7c7fea62007-04-27 12:31:14 -03001862 .gpiomask = 0x00200000,
Michael Krufky8ce47da2007-04-27 12:31:14 -03001863 .mpeg = SAA7134_MPEG_DVB,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001864 .inputs = {{
1865 .name = name_tv,
1866 .vmux = 1,
1867 .amux = TV,
Peter Missel7c7fea62007-04-27 12:31:14 -03001868 .gpio = 0x200000, /* GPIO21=High for TV input */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001869 .tv = 1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001870 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07001871 .name = name_comp1, /* Composite signal on S-Video input */
1872 .vmux = 0,
1873 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001874 },{
1875 .name = name_comp2, /* Composite input */
1876 .vmux = 3,
1877 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001878 },{
1879 .name = name_svideo, /* S-Video signal on S-Video input */
1880 .vmux = 8,
1881 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001882 }},
Peter Missel7c7fea62007-04-27 12:31:14 -03001883 .radio = {
1884 .name = name_radio,
1885 .amux = TV,
1886 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
1887 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001888 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001889 [SAA7134_BOARD_PHILIPS_TOUGH] = {
1890 .name = "Philips TOUGH DVB-T reference design",
1891 .tuner_type = TUNER_ABSENT,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001892 .audio_clock = 0x00187de7,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001893 .radio_type = UNSET,
1894 .tuner_addr = ADDR_UNSET,
1895 .radio_addr = ADDR_UNSET,
1896 .mpeg = SAA7134_MPEG_DVB,
1897 .inputs = {{
1898 .name = name_comp1,
1899 .vmux = 0,
1900 .amux = LINE1,
1901 },{
1902 .name = name_svideo,
1903 .vmux = 8,
1904 .amux = LINE1,
1905 }},
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001906 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001907 [SAA7134_BOARD_AVERMEDIA_307] = {
1908 /*
1909 Davydov Vladimir <vladimir@iqmedia.com>
1910 */
1911 .name = "Avermedia AVerTV 307",
1912 .audio_clock = 0x00187de7,
1913 .tuner_type = TUNER_PHILIPS_FQ1216ME,
1914 .radio_type = UNSET,
1915 .tuner_addr = ADDR_UNSET,
1916 .radio_addr = ADDR_UNSET,
1917 .tda9887_conf = TDA9887_PRESENT,
1918 .inputs = {{
1919 .name = name_tv,
1920 .vmux = 1,
1921 .amux = TV,
1922 .tv = 1,
1923 },{
1924 .name = name_comp1,
1925 .vmux = 0,
1926 .amux = LINE1,
1927 },{
1928 .name = name_comp2,
1929 .vmux = 3,
1930 .amux = LINE1,
1931 },{
1932 .name = name_svideo,
1933 .vmux = 8,
1934 .amux = LINE1,
1935 }},
1936 },
1937 [SAA7134_BOARD_ADS_INSTANT_TV] = {
1938 .name = "ADS Tech Instant TV (saa7135)",
1939 .audio_clock = 0x00187de7,
1940 .tuner_type = TUNER_PHILIPS_TDA8290,
1941 .radio_type = UNSET,
1942 .tuner_addr = ADDR_UNSET,
1943 .radio_addr = ADDR_UNSET,
1944 .inputs = {{
1945 .name = name_tv,
1946 .vmux = 1,
1947 .amux = TV,
1948 .tv = 1,
1949 },{
1950 .name = name_comp1,
1951 .vmux = 3,
1952 .amux = LINE2,
1953 },{
1954 .name = name_svideo,
1955 .vmux = 8,
1956 .amux = LINE2,
1957 }},
1958 },
1959 [SAA7134_BOARD_KWORLD_VSTREAM_XPERT] = {
1960 .name = "Kworld/Tevion V-Stream Xpert TV PVR7134",
1961 .audio_clock = 0x00187de7,
1962 .tuner_type = TUNER_PHILIPS_PAL_I,
1963 .radio_type = UNSET,
1964 .tuner_addr = ADDR_UNSET,
1965 .radio_addr = ADDR_UNSET,
1966 .gpiomask = 0x0700,
1967 .inputs = {{
1968 .name = name_tv,
1969 .vmux = 1,
1970 .amux = TV,
1971 .tv = 1,
1972 .gpio = 0x000,
1973 },{
1974 .name = name_comp1,
1975 .vmux = 3,
1976 .amux = LINE1,
1977 .gpio = 0x200, /* gpio by DScaler */
1978 },{
1979 .name = name_svideo,
1980 .vmux = 0,
1981 .amux = LINE1,
1982 .gpio = 0x200,
1983 }},
1984 .radio = {
1985 .name = name_radio,
1986 .amux = LINE1,
1987 .gpio = 0x100,
1988 },
1989 .mute = {
1990 .name = name_mute,
1991 .amux = TV,
1992 .gpio = 0x000,
1993 },
1994 },
Peter Missel10b7a902006-01-23 17:11:06 -02001995 [SAA7134_BOARD_FLYDVBT_DUO_CARDBUS] = {
Hartmut Hackmann2c591942006-08-07 14:03:32 -03001996 .name = "LifeView/Typhoon/Genius FlyDVB-T Duo Cardbus",
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001997 .audio_clock = 0x00200000,
1998 .tuner_type = TUNER_PHILIPS_TDA8290,
1999 .radio_type = UNSET,
2000 .tuner_addr = ADDR_UNSET,
2001 .radio_addr = ADDR_UNSET,
2002 .mpeg = SAA7134_MPEG_DVB,
Peter Missel10b7a902006-01-23 17:11:06 -02002003 .gpiomask = 0x00200000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07002004 .inputs = {{
2005 .name = name_tv,
2006 .vmux = 1,
2007 .amux = TV,
Peter Missel10b7a902006-01-23 17:11:06 -02002008 .gpio = 0x200000, /* GPIO21=High for TV input */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07002009 .tv = 1,
2010 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07002011 .name = name_svideo, /* S-Video signal on S-Video input */
2012 .vmux = 8,
2013 .amux = LINE2,
Peter Missel10b7a902006-01-23 17:11:06 -02002014 },{
2015 .name = name_comp1, /* Composite signal on S-Video input */
2016 .vmux = 0,
2017 .amux = LINE2,
2018 },{
2019 .name = name_comp2, /* Composite input */
2020 .vmux = 3,
2021 .amux = LINE2,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07002022 }},
2023 .radio = {
2024 .name = name_radio,
Peter Missel10b7a902006-01-23 17:11:06 -02002025 .amux = TV,
2026 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07002027 },
2028 },
2029 [SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII] = {
2030 .name = "Compro VideoMate TV Gold+II",
2031 .audio_clock = 0x002187de7,
2032 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
2033 .radio_type = TUNER_TEA5767,
2034 .tuner_addr = 0x63,
2035 .radio_addr = 0x60,
2036 .gpiomask = 0x8c1880,
2037 .inputs = {{
2038 .name = name_svideo,
2039 .vmux = 0,
2040 .amux = LINE1,
2041 .gpio = 0x800800,
2042 },{
2043 .name = name_comp1,
2044 .vmux = 3,
2045 .amux = LINE1,
2046 .gpio = 0x801000,
2047 },{
2048 .name = name_tv,
2049 .vmux = 1,
2050 .amux = TV,
2051 .tv = 1,
2052 .gpio = 0x800000,
2053 }},
2054 .radio = {
2055 .name = name_radio,
2056 .amux = TV,
2057 .gpio = 0x880000,
2058 },
2059 .mute = {
2060 .name = name_mute,
2061 .amux = LINE2,
2062 .gpio = 0x840000,
2063 },
2064 },
2065 [SAA7134_BOARD_KWORLD_XPERT] = {
2066 /*
2067 FIXME:
2068 - Remote control doesn't initialize properly.
2069 - Audio volume starts muted,
2070 then gradually increases after channel change.
2071 - Overlay scaling problems (application error?)
2072 - Composite S-Video untested.
2073 From: Konrad Rzepecki <hannibal@megapolis.pl>
2074 */
2075 .name = "Kworld Xpert TV PVR7134",
2076 .audio_clock = 0x00187de7,
2077 .tuner_type = TUNER_TENA_9533_DI,
2078 .radio_type = TUNER_TEA5767,
2079 .tuner_addr = 0x61,
2080 .radio_addr = 0x60,
2081 .gpiomask = 0x0700,
2082 .inputs = {{
2083 .name = name_tv,
2084 .vmux = 1,
2085 .amux = TV,
2086 .tv = 1,
2087 .gpio = 0x000,
2088 },{
2089 .name = name_comp1,
2090 .vmux = 3,
2091 .amux = LINE1,
2092 .gpio = 0x200, /* gpio by DScaler */
2093 },{
2094 .name = name_svideo,
2095 .vmux = 0,
2096 .amux = LINE1,
2097 .gpio = 0x200,
2098 }},
2099 .radio = {
2100 .name = name_radio,
2101 .amux = LINE1,
2102 .gpio = 0x100,
2103 },
2104 .mute = {
2105 .name = name_mute,
2106 .amux = TV,
2107 .gpio = 0x000,
2108 },
2109 },
Mauro Carvalho Chehab2f180712005-09-09 13:03:46 -07002110 [SAA7134_BOARD_FLYTV_DIGIMATRIX] = {
2111 .name = "FlyTV mini Asus Digimatrix",
2112 .audio_clock = 0x00200000,
Michael Krufkyf3629be2006-03-11 17:02:01 -03002113 .tuner_type = TUNER_LG_TALN,
Mauro Carvalho Chehab2f180712005-09-09 13:03:46 -07002114 .radio_type = UNSET,
2115 .tuner_addr = ADDR_UNSET,
2116 .radio_addr = ADDR_UNSET,
2117 .inputs = {{
2118 .name = name_tv,
2119 .vmux = 1,
2120 .amux = TV,
2121 .tv = 1,
2122 },{
2123 .name = name_tv_mono,
2124 .vmux = 1,
2125 .amux = LINE2,
2126 .tv = 1,
2127 },{
2128 .name = name_comp1,
2129 .vmux = 0,
2130 .amux = LINE2,
2131 },{
2132 .name = name_comp2,
2133 .vmux = 3,
2134 .amux = LINE2,
2135 },{
2136 .name = name_svideo,
2137 .vmux = 8,
2138 .amux = LINE2,
2139 }},
2140 .radio = {
2141 .name = name_radio, /* radio unconfirmed */
2142 .amux = LINE2,
2143 },
2144 },
Mauro Carvalho Chehab260784d2005-09-09 13:03:49 -07002145 [SAA7134_BOARD_KWORLD_TERMINATOR] = {
2146 /* Kworld V-Stream Studio TV Terminator */
2147 /* "James Webb <jrwebb@qwest.net> */
2148 .name = "V-Stream Studio TV Terminator",
2149 .audio_clock = 0x00187de7,
2150 .tuner_type = TUNER_PHILIPS_TDA8290,
2151 .radio_type = UNSET,
2152 .tuner_addr = ADDR_UNSET,
2153 .radio_addr = ADDR_UNSET,
2154 .gpiomask = 1 << 21,
2155 .inputs = {{
2156 .name = name_tv,
2157 .vmux = 1,
2158 .amux = TV,
2159 .gpio = 0x0000000,
2160 .tv = 1,
2161 },{
2162 .name = name_comp1, /* Composite input */
2163 .vmux = 3,
2164 .amux = LINE2,
2165 .gpio = 0x0000000,
2166 },{
2167 .name = name_svideo, /* S-Video input */
2168 .vmux = 8,
2169 .amux = LINE2,
2170 .gpio = 0x0000000,
2171 }},
2172 .radio = {
2173 .name = name_radio,
2174 .amux = TV,
2175 .gpio = 0x0200000,
2176 },
2177 },
Mauro Carvalho Chehab4279f022005-09-09 13:03:51 -07002178 [SAA7134_BOARD_YUAN_TUN900] = {
2179 /* FIXME:
2180 * S-Video and composite sources untested.
2181 * Radio not working.
2182 * Remote control not yet implemented.
2183 * From : codemaster@webgeeks.be */
2184 .name = "Yuan TUN-900 (saa7135)",
2185 .audio_clock = 0x00187de7,
2186 .tuner_type = TUNER_PHILIPS_TDA8290,
2187 .radio_type = UNSET,
2188 .tuner_addr= ADDR_UNSET,
2189 .radio_addr= ADDR_UNSET,
2190 .gpiomask = 0x00010003,
2191 .inputs = {{
2192 .name = name_tv,
2193 .vmux = 1,
2194 .amux = TV,
2195 .tv = 1,
2196 .gpio = 0x01,
2197 },{
2198 .name = name_comp1,
2199 .vmux = 0,
2200 .amux = LINE2,
2201 .gpio = 0x02,
2202 },{
2203 .name = name_svideo,
2204 .vmux = 6,
2205 .amux = LINE2,
2206 .gpio = 0x02,
2207 }},
2208 .radio = {
2209 .name = name_radio,
2210 .amux = LINE1,
2211 .gpio = 0x00010003,
2212 },
2213 .mute = {
2214 .name = name_mute,
2215 .amux = TV,
2216 .gpio = 0x01,
2217 },
2218 },
Nickolay V. Shmyreva8ff4172005-11-08 21:36:16 -08002219 [SAA7134_BOARD_BEHOLD_409FM] = {
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002220 /* <http://tuner.beholder.ru>, Sergey <skiv@orel.ru> */
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03002221 /* Beholder Intl. Ltd. 2008 */
2222 /*Dmitry Belimov <d.belimov@gmail.com> */
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002223 .name = "Beholder BeholdTV 409 FM",
2224 .audio_clock = 0x00187de7,
2225 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
2226 .radio_type = UNSET,
2227 .tuner_addr = ADDR_UNSET,
2228 .radio_addr = ADDR_UNSET,
2229 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03002230 .gpiomask = 0x00008000,
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002231 .inputs = {{
2232 .name = name_tv,
Nickolay V. Shmyreva8ff4172005-11-08 21:36:16 -08002233 .vmux = 3,
2234 .amux = TV,
2235 .tv = 1,
2236 },{
2237 .name = name_comp1,
2238 .vmux = 1,
2239 .amux = LINE1,
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002240 },{
2241 .name = name_svideo,
Nickolay V. Shmyreva8ff4172005-11-08 21:36:16 -08002242 .vmux = 8,
2243 .amux = LINE1,
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002244 }},
2245 .radio = {
2246 .name = name_radio,
Nickolay V. Shmyreva8ff4172005-11-08 21:36:16 -08002247 .amux = LINE2,
Trent Piepho657de3c2006-06-20 00:30:57 -03002248 },
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002249 },
2250 [SAA7134_BOARD_GOTVIEW_7135] = {
Nickolay V. Shmyrevdcd555e2005-11-08 21:36:23 -08002251 /* Mike Baikov <mike@baikov.com> */
Nickolay V. Shmyrev6b961442005-11-08 21:36:22 -08002252 /* Andrey Cvetcov <ays14@yandex.ru> */
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002253 .name = "GoTView 7135 PCI",
2254 .audio_clock = 0x00187de7,
2255 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
2256 .radio_type = UNSET,
2257 .tuner_addr = ADDR_UNSET,
2258 .radio_addr = ADDR_UNSET,
2259 .tda9887_conf = TDA9887_PRESENT,
2260 .gpiomask = 0x00200003,
2261 .inputs = {{
2262 .name = name_tv,
2263 .vmux = 1,
2264 .amux = TV,
2265 .tv = 1,
2266 .gpio = 0x00200003,
2267 },{
2268 .name = name_tv_mono,
2269 .vmux = 1,
2270 .amux = LINE2,
2271 .gpio = 0x00200003,
2272 },{
2273 .name = name_comp1,
2274 .vmux = 3,
2275 .amux = LINE1,
2276 .gpio = 0x00200003,
2277 },{
2278 .name = name_svideo,
2279 .vmux = 8,
2280 .amux = LINE1,
2281 .gpio = 0x00200003,
2282 }},
2283 .radio = {
2284 .name = name_radio,
2285 .amux = LINE2,
2286 .gpio = 0x00200003,
2287 },
2288 .mute = {
2289 .name = name_mute,
2290 .amux = TV,
2291 .gpio = 0x00200003,
2292 },
2293 },
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08002294 [SAA7134_BOARD_PHILIPS_EUROPA] = {
2295 .name = "Philips EUROPA V3 reference design",
2296 .audio_clock = 0x00187de7,
2297 .tuner_type = TUNER_PHILIPS_TD1316,
2298 .radio_type = UNSET,
2299 .tuner_addr = 0x61,
2300 .radio_addr = ADDR_UNSET,
Hartmut Hackmann44fd06f2006-02-27 00:09:11 -03002301 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08002302 .mpeg = SAA7134_MPEG_DVB,
2303 .inputs = {{
2304 .name = name_tv,
2305 .vmux = 3,
2306 .amux = TV,
2307 .tv = 1,
2308 },{
2309 .name = name_comp1,
2310 .vmux = 0,
2311 .amux = LINE2,
2312 },{
2313 .name = name_svideo,
2314 .vmux = 8,
2315 .amux = LINE2,
2316 }},
2317 },
2318 [SAA7134_BOARD_VIDEOMATE_DVBT_300] = {
2319 .name = "Compro Videomate DVB-T300",
2320 .audio_clock = 0x00187de7,
2321 .tuner_type = TUNER_PHILIPS_TD1316,
2322 .radio_type = UNSET,
2323 .tuner_addr = 0x61,
2324 .radio_addr = ADDR_UNSET,
Hartmut Hackmann44fd06f2006-02-27 00:09:11 -03002325 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08002326 .mpeg = SAA7134_MPEG_DVB,
2327 .inputs = {{
2328 .name = name_tv,
2329 .vmux = 3,
2330 .amux = TV,
2331 .tv = 1,
2332 },{
2333 .name = name_comp1,
2334 .vmux = 1,
2335 .amux = LINE2,
2336 },{
2337 .name = name_svideo,
2338 .vmux = 8,
2339 .amux = LINE2,
2340 }},
2341 },
2342 [SAA7134_BOARD_VIDEOMATE_DVBT_200] = {
2343 .name = "Compro Videomate DVB-T200",
2344 .tuner_type = TUNER_ABSENT,
2345 .audio_clock = 0x00187de7,
2346 .radio_type = UNSET,
2347 .tuner_addr = ADDR_UNSET,
2348 .radio_addr = ADDR_UNSET,
2349 .mpeg = SAA7134_MPEG_DVB,
2350 .inputs = {{
2351 .name = name_comp1,
2352 .vmux = 0,
2353 .amux = LINE1,
2354 },{
2355 .name = name_svideo,
2356 .vmux = 8,
2357 .amux = LINE1,
2358 }},
2359 },
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002360 [SAA7134_BOARD_RTD_VFG7350] = {
2361 .name = "RTD Embedded Technologies VFG7350",
2362 .audio_clock = 0x00200000,
2363 .tuner_type = TUNER_ABSENT,
2364 .radio_type = UNSET,
2365 .tuner_addr = ADDR_UNSET,
2366 .radio_addr = ADDR_UNSET,
2367 .inputs = {{
2368 .name = "Composite 0",
2369 .vmux = 0,
2370 .amux = LINE1,
2371 },{
2372 .name = "Composite 1",
2373 .vmux = 1,
2374 .amux = LINE2,
2375 },{
2376 .name = "Composite 2",
2377 .vmux = 2,
2378 .amux = LINE1,
2379 },{
2380 .name = "Composite 3",
2381 .vmux = 3,
2382 .amux = LINE2,
2383 },{
2384 .name = "S-Video 0",
2385 .vmux = 8,
2386 .amux = LINE1,
2387 },{
2388 .name = "S-Video 1",
2389 .vmux = 9,
2390 .amux = LINE2,
2391 }},
2392 .mpeg = SAA7134_MPEG_EMPRESS,
2393 .video_out = CCIR656,
Robert W. Boone2f8d4f52005-11-08 21:37:10 -08002394 .vid_port_opts = ( SET_T_CODE_POLARITY_NON_INVERTED |
2395 SET_CLOCK_NOT_DELAYED |
2396 SET_CLOCK_INVERTED |
2397 SET_VSYNC_OFF ),
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002398 },
2399 [SAA7134_BOARD_RTD_VFG7330] = {
2400 .name = "RTD Embedded Technologies VFG7330",
2401 .audio_clock = 0x00200000,
2402 .tuner_type = TUNER_ABSENT,
2403 .radio_type = UNSET,
2404 .tuner_addr = ADDR_UNSET,
2405 .radio_addr = ADDR_UNSET,
2406 .inputs = {{
2407 .name = "Composite 0",
2408 .vmux = 0,
2409 .amux = LINE1,
2410 },{
2411 .name = "Composite 1",
2412 .vmux = 1,
2413 .amux = LINE2,
2414 },{
2415 .name = "Composite 2",
2416 .vmux = 2,
2417 .amux = LINE1,
2418 },{
2419 .name = "Composite 3",
2420 .vmux = 3,
2421 .amux = LINE2,
2422 },{
2423 .name = "S-Video 0",
2424 .vmux = 8,
2425 .amux = LINE1,
2426 },{
2427 .name = "S-Video 1",
2428 .vmux = 9,
2429 .amux = LINE2,
2430 }},
2431 },
Mauro Carvalho Chehab058afaf2005-11-08 21:36:49 -08002432 [SAA7134_BOARD_FLYTVPLATINUM_MINI2] = {
2433 .name = "LifeView FlyTV Platinum Mini2",
2434 .audio_clock = 0x00200000,
2435 .tuner_type = TUNER_PHILIPS_TDA8290,
2436 .radio_type = UNSET,
2437 .tuner_addr = ADDR_UNSET,
2438 .radio_addr = ADDR_UNSET,
2439
2440 .inputs = {{
2441 .name = name_tv,
2442 .vmux = 1,
2443 .amux = TV,
2444 .tv = 1,
2445 },{
2446 .name = name_comp1, /* Composite signal on S-Video input */
2447 .vmux = 0,
2448 .amux = LINE2,
2449 },{
2450 .name = name_comp2, /* Composite input */
2451 .vmux = 3,
2452 .amux = LINE2,
2453 },{
2454 .name = name_svideo,
2455 .vmux = 8,
2456 .amux = LINE2,
2457 }},
2458 },
Michael Krufky76bc3a32005-11-08 21:37:27 -08002459 [SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180] = {
Michael Krufkyac113d12005-11-08 21:38:21 -08002460 /* Michael Krufky <mkrufky@m1k.net>
2461 * Uses Alps Electric TDHU2, containing NXT2004 ATSC Decoder
2462 * AFAIK, there is no analog demod, thus,
2463 * no support for analog television.
2464 */
Michael Krufky76bc3a32005-11-08 21:37:27 -08002465 .name = "AVerMedia AVerTVHD MCE A180",
2466 .audio_clock = 0x00187de7,
2467 .tuner_type = TUNER_ABSENT,
2468 .radio_type = UNSET,
2469 .tuner_addr = ADDR_UNSET,
2470 .radio_addr = ADDR_UNSET,
Michael Krufky3b64e8e2005-11-08 21:38:20 -08002471 .mpeg = SAA7134_MPEG_DVB,
Michael Krufky76bc3a32005-11-08 21:37:27 -08002472 .inputs = {{
2473 .name = name_comp1,
2474 .vmux = 3,
2475 .amux = LINE2,
2476 },{
2477 .name = name_svideo,
2478 .vmux = 8,
2479 .amux = LINE2,
2480 }},
2481 },
Pieter Palmerscf1c5d12005-11-08 21:37:40 -08002482 [SAA7134_BOARD_MONSTERTV_MOBILE] = {
2483 .name = "SKNet MonsterTV Mobile",
2484 .audio_clock = 0x00187de7,
2485 .tuner_type = TUNER_PHILIPS_TDA8290,
2486 .radio_type = UNSET,
2487 .tuner_addr = ADDR_UNSET,
2488 .radio_addr = ADDR_UNSET,
2489
2490 .inputs = {{
2491 .name = name_tv,
2492 .vmux = 1,
2493 .amux = TV,
2494 .tv = 1,
2495 },{
2496 .name = name_comp1,
2497 .vmux = 3,
2498 .amux = LINE1,
2499 },{
2500 .name = name_svideo,
2501 .vmux = 6,
2502 .amux = LINE1,
2503 }},
2504 },
Ricardo Cerqueirac2f6f9d2005-11-08 21:37:51 -08002505 [SAA7134_BOARD_PINNACLE_PCTV_110i] = {
Karsten Suehringcb46e3c2006-02-27 00:08:08 -03002506 .name = "Pinnacle PCTV 40i/50i/110i (saa7133)",
Ricardo Cerqueirac2f6f9d2005-11-08 21:37:51 -08002507 .audio_clock = 0x00187de7,
2508 .tuner_type = TUNER_PHILIPS_TDA8290,
2509 .radio_type = UNSET,
2510 .tuner_addr = ADDR_UNSET,
2511 .radio_addr = ADDR_UNSET,
2512 .gpiomask = 0x080200000,
Yuri Funduryaneec25fa2008-02-17 01:22:37 -03002513 .inputs = { {
2514 .name = name_tv,
2515 .vmux = 4,
2516 .amux = TV,
2517 .tv = 1,
2518 }, {
2519 .name = name_comp1,
2520 .vmux = 1,
2521 .amux = LINE2,
2522 }, {
2523 .name = name_comp2,
2524 .vmux = 0,
2525 .amux = LINE2,
2526 }, {
2527 .name = name_svideo,
2528 .vmux = 8,
2529 .amux = LINE2,
2530 } },
Ricardo Cerqueirac2f6f9d2005-11-08 21:37:51 -08002531 .radio = {
Yuri Funduryaneec25fa2008-02-17 01:22:37 -03002532 .name = name_radio,
2533 .amux = TV,
2534 .gpio = 0x0200000,
Ricardo Cerqueirac2f6f9d2005-11-08 21:37:51 -08002535 },
2536 },
Hermann Pitton28f02242005-11-08 21:38:03 -08002537 [SAA7134_BOARD_ASUSTeK_P7131_DUAL] = {
2538 .name = "ASUSTeK P7131 Dual",
2539 .audio_clock = 0x00187de7,
2540 .tuner_type = TUNER_PHILIPS_TDA8290,
2541 .radio_type = UNSET,
2542 .tuner_addr = ADDR_UNSET,
2543 .radio_addr = ADDR_UNSET,
2544 .gpiomask = 1 << 21,
Hartmut Hackmannd4b0aba2005-11-08 21:38:44 -08002545 .mpeg = SAA7134_MPEG_DVB,
Hermann Pitton28f02242005-11-08 21:38:03 -08002546 .inputs = {{
2547 .name = name_tv,
2548 .vmux = 1,
2549 .amux = TV,
2550 .tv = 1,
Hartmut Hackmann83646812006-10-12 20:38:51 -03002551 .gpio = 0x0000000,
Hermann Pitton28f02242005-11-08 21:38:03 -08002552 },{
2553 .name = name_comp1,
2554 .vmux = 3,
2555 .amux = LINE2,
Hartmut Hackmann83646812006-10-12 20:38:51 -03002556 .gpio = 0x0200000,
Hermann Pitton28f02242005-11-08 21:38:03 -08002557 },{
Hermann Pitton8387c662006-12-10 21:08:03 -03002558 .name = name_comp2,
2559 .vmux = 0,
2560 .amux = LINE2,
2561 .gpio = 0x0200000,
2562 },{
Hermann Pitton28f02242005-11-08 21:38:03 -08002563 .name = name_svideo,
2564 .vmux = 8,
2565 .amux = LINE2,
Hartmut Hackmann83646812006-10-12 20:38:51 -03002566 .gpio = 0x0200000,
Hermann Pitton28f02242005-11-08 21:38:03 -08002567 }},
2568 .radio = {
2569 .name = name_radio,
2570 .amux = TV,
2571 .gpio = 0x0200000,
2572 },
2573 },
Ricardo Cerqueira17ce1ff2005-11-08 21:38:47 -08002574 [SAA7134_BOARD_SEDNA_PC_TV_CARDBUS] = {
Paul T Zalacfe2e36c2005-11-08 21:38:04 -08002575 /* Paul Tom Zalac <pzalac@gmail.com> */
Pavel Mihaylovc3d93192005-11-08 21:38:43 -08002576 /* Pavel Mihaylov <bin@bash.info> */
Ricardo Cerqueira17ce1ff2005-11-08 21:38:47 -08002577 .name = "Sedna/MuchTV PC TV Cardbus TV/Radio (ITO25 Rev:2B)",
2578 /* Sedna/MuchTV (OEM) Cardbus TV Tuner */
Paul T Zalacfe2e36c2005-11-08 21:38:04 -08002579 .audio_clock = 0x00187de7,
Pavel Mihaylovc3d93192005-11-08 21:38:43 -08002580 .tuner_type = TUNER_PHILIPS_TDA8290,
Paul T Zalacfe2e36c2005-11-08 21:38:04 -08002581 .radio_type = UNSET,
2582 .tuner_addr = ADDR_UNSET,
2583 .radio_addr = ADDR_UNSET,
Pavel Mihaylovc3d93192005-11-08 21:38:43 -08002584 .gpiomask = 0xe880c0,
Paul T Zalacfe2e36c2005-11-08 21:38:04 -08002585 .inputs = {{
Pavel Mihaylovc3d93192005-11-08 21:38:43 -08002586 .name = name_tv,
2587 .vmux = 3,
2588 .amux = TV,
2589 .tv = 1,
2590 },{
Paul T Zalacfe2e36c2005-11-08 21:38:04 -08002591 .name = name_comp1,
2592 .vmux = 1,
Pavel Mihaylovc3d93192005-11-08 21:38:43 -08002593 .amux = LINE1,
2594 },{
2595 .name = name_svideo,
2596 .vmux = 6,
2597 .amux = LINE1,
Paul T Zalacfe2e36c2005-11-08 21:38:04 -08002598 }},
Pavel Mihaylovc3d93192005-11-08 21:38:43 -08002599 .radio = {
2600 .name = name_radio,
2601 .amux = LINE2,
2602 },
Paul T Zalacfe2e36c2005-11-08 21:38:04 -08002603 },
Michael Krufky5d5c9902005-11-08 21:38:08 -08002604 [SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV] = {
2605 /* "Cyril Lacoux (Yack)" <clacoux@ifeelgood.org> */
2606 .name = "ASUS Digimatrix TV",
2607 .audio_clock = 0x00200000,
2608 .tuner_type = TUNER_PHILIPS_FQ1216ME,
2609 .tda9887_conf = TDA9887_PRESENT,
2610 .radio_type = UNSET,
2611 .tuner_addr = ADDR_UNSET,
2612 .radio_addr = ADDR_UNSET,
2613 .inputs = {{
2614 .name = name_tv,
2615 .vmux = 1,
2616 .amux = TV,
2617 .tv = 1,
2618 },{
2619 .name = name_comp1,
2620 .vmux = 3,
2621 .amux = LINE1,
2622 },{
2623 .name = name_svideo,
2624 .vmux = 8,
2625 .amux = LINE1,
2626 }},
2627 },
Hartmut Hackmann90e9df72005-11-08 21:38:42 -08002628 [SAA7134_BOARD_PHILIPS_TIGER] = {
2629 .name = "Philips Tiger reference design",
2630 .audio_clock = 0x00187de7,
2631 .tuner_type = TUNER_PHILIPS_TDA8290,
2632 .radio_type = UNSET,
2633 .tuner_addr = ADDR_UNSET,
2634 .radio_addr = ADDR_UNSET,
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03002635 .tuner_config = 0,
Hartmut Hackmann90e9df72005-11-08 21:38:42 -08002636 .mpeg = SAA7134_MPEG_DVB,
Hartmut Hackmannde956c12007-04-27 12:31:12 -03002637 .gpiomask = 0x0200000,
Hartmut Hackmann90e9df72005-11-08 21:38:42 -08002638 .inputs = {{
2639 .name = name_tv,
2640 .vmux = 1,
2641 .amux = TV,
2642 .tv = 1,
2643 },{
2644 .name = name_comp1,
2645 .vmux = 3,
2646 .amux = LINE1,
2647 },{
2648 .name = name_svideo,
2649 .vmux = 8,
2650 .amux = LINE1,
2651 }},
Hartmut Hackmann0f79c362006-01-14 21:26:44 -02002652 .radio = {
2653 .name = name_radio,
2654 .amux = TV,
2655 .gpio = 0x0200000,
2656 },
Hartmut Hackmann90e9df72005-11-08 21:38:42 -08002657 },
Ricardo Cerqueira80d2ad92005-11-13 16:08:01 -08002658 [SAA7134_BOARD_MSI_TVATANYWHERE_PLUS] = {
2659 .name = "MSI TV@Anywhere plus",
2660 .audio_clock = 0x00187de7,
2661 .tuner_type = TUNER_PHILIPS_TDA8290,
2662 .radio_type = UNSET,
2663 .tuner_addr = ADDR_UNSET,
2664 .radio_addr = ADDR_UNSET,
hermann pittone382f622007-01-07 21:19:48 -03002665 .gpiomask = 1 << 21,
Ricardo Cerqueira80d2ad92005-11-13 16:08:01 -08002666 .inputs = {{
2667 .name = name_tv,
2668 .vmux = 1,
2669 .amux = TV,
2670 .tv = 1,
2671 },{
2672 .name = name_comp1,
2673 .vmux = 3,
hermann pittone382f622007-01-07 21:19:48 -03002674 .amux = LINE2, /* unconfirmed, taken from Philips driver */
2675 },{
2676 .name = name_comp2,
2677 .vmux = 0, /* untested, Composite over S-Video */
2678 .amux = LINE2,
Ricardo Cerqueira80d2ad92005-11-13 16:08:01 -08002679 },{
2680 .name = name_svideo,
hermann pittone382f622007-01-07 21:19:48 -03002681 .vmux = 8,
2682 .amux = LINE2,
Ricardo Cerqueira80d2ad92005-11-13 16:08:01 -08002683 }},
2684 .radio = {
2685 .name = name_radio,
hermann pittone382f622007-01-07 21:19:48 -03002686 .amux = TV,
2687 .gpio = 0x0200000,
Ricardo Cerqueira80d2ad92005-11-13 16:08:01 -08002688 },
2689 },
Jörg Schummerf639c9b2006-01-09 15:25:01 -02002690 [SAA7134_BOARD_CINERGY250PCI] = {
2691 /* remote-control does not work. The signal about a
2692 key press comes in via gpio, but the key code
2693 doesn't. Neither does it have an i2c remote control
2694 interface. */
2695 .name = "Terratec Cinergy 250 PCI TV",
2696 .audio_clock = 0x00187de7,
2697 .tuner_type = TUNER_PHILIPS_TDA8290,
2698 .radio_type = UNSET,
2699 .tuner_addr = ADDR_UNSET,
2700 .radio_addr = ADDR_UNSET,
2701 .gpiomask = 0x80200000,
2702 .inputs = {{
2703 .name = name_tv,
2704 .vmux = 1,
2705 .amux = TV,
2706 .tv = 1,
2707 },{
2708 .name = name_svideo, /* NOT tested */
2709 .vmux = 8,
2710 .amux = LINE1,
2711 }},
2712 .radio = {
2713 .name = name_radio,
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03002714 .amux = TV,
Jörg Schummerf639c9b2006-01-09 15:25:01 -02002715 .gpio = 0x0200000,
2716 },
2717 },
Peter Missel4aa6ba52006-01-09 15:32:45 -02002718 [SAA7134_BOARD_FLYDVB_TRIO] = {
2719 /* LifeView LR319 FlyDVB Trio */
2720 /* Peter Missel <peter.missel@onlinehome.de> */
2721 .name = "LifeView FlyDVB Trio",
2722 .audio_clock = 0x00200000,
2723 .tuner_type = TUNER_PHILIPS_TDA8290,
2724 .radio_type = UNSET,
2725 .tuner_addr = ADDR_UNSET,
2726 .radio_addr = ADDR_UNSET,
2727 .gpiomask = 0x00200000,
Hartmut Hackmann293cdab2006-02-27 21:08:07 -03002728 .mpeg = SAA7134_MPEG_DVB,
Peter Missel4aa6ba52006-01-09 15:32:45 -02002729 .inputs = {{
2730 .name = name_tv, /* Analog broadcast/cable TV */
2731 .vmux = 1,
2732 .amux = TV,
2733 .gpio = 0x200000, /* GPIO21=High for TV input */
2734 .tv = 1,
2735 },{
2736 .name = name_svideo, /* S-Video signal on S-Video input */
2737 .vmux = 8,
2738 .amux = LINE2,
2739 },{
2740 .name = name_comp1, /* Composite signal on S-Video input */
2741 .vmux = 0,
2742 .amux = LINE2,
2743 },{
2744 .name = name_comp2, /* Composite input */
2745 .vmux = 3,
2746 .amux = LINE2,
2747 }},
2748 .radio = {
2749 .name = name_radio,
2750 .amux = TV,
2751 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
2752 },
2753 },
Jose Alberto Regueroa78d0bf2006-02-07 06:25:14 -02002754 [SAA7134_BOARD_AVERMEDIA_777] = {
2755 .name = "AverTV DVB-T 777",
2756 .audio_clock = 0x00187de7,
2757 .tuner_type = TUNER_ABSENT,
2758 .radio_type = UNSET,
2759 .tuner_addr = ADDR_UNSET,
2760 .radio_addr = ADDR_UNSET,
2761 .mpeg = SAA7134_MPEG_DVB,
2762 .inputs = {{
2763 .name = name_comp1,
Hartmut Hackmann2174eb92006-03-27 19:15:47 -03002764 .vmux = 1,
Jose Alberto Regueroa78d0bf2006-02-07 06:25:14 -02002765 .amux = LINE1,
2766 },{
2767 .name = name_svideo,
2768 .vmux = 8,
2769 .amux = LINE1,
2770 }},
2771 },
Giampiero Giancipoli3d8466e2006-02-07 06:49:09 -02002772 [SAA7134_BOARD_FLYDVBT_LR301] = {
2773 /* LifeView FlyDVB-T */
2774 /* Giampiero Giancipoli <gianci@libero.it> */
Hartmut Hackmann42e6b3b2006-03-27 19:04:48 -03002775 .name = "LifeView FlyDVB-T / Genius VideoWonder DVB-T",
Giampiero Giancipoli3d8466e2006-02-07 06:49:09 -02002776 .audio_clock = 0x00200000,
2777 .tuner_type = TUNER_ABSENT,
2778 .radio_type = UNSET,
2779 .tuner_addr = ADDR_UNSET,
2780 .radio_addr = ADDR_UNSET,
2781 .mpeg = SAA7134_MPEG_DVB,
2782 .inputs = {{
2783 .name = name_comp1, /* Composite input */
2784 .vmux = 3,
2785 .amux = LINE2,
2786 },{
2787 .name = name_svideo, /* S-Video signal on S-Video input */
2788 .vmux = 8,
2789 .amux = LINE2,
2790 }},
2791 },
Hartmut Hackmanndf42eaf2006-02-07 06:49:10 -02002792 [SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331] = {
2793 .name = "ADS Instant TV Duo Cardbus PTV331",
2794 .audio_clock = 0x00200000,
2795 .tuner_type = TUNER_PHILIPS_TDA8290,
2796 .radio_type = UNSET,
2797 .tuner_addr = ADDR_UNSET,
2798 .radio_addr = ADDR_UNSET,
2799 .mpeg = SAA7134_MPEG_DVB,
2800 .gpiomask = 0x00600000, /* Bit 21 0=Radio, Bit 22 0=TV */
2801 .inputs = {{
2802 .name = name_tv,
2803 .vmux = 1,
2804 .amux = TV,
2805 .tv = 1,
2806 .gpio = 0x00200000,
2807 }},
2808 },
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02002809 [SAA7134_BOARD_TEVION_DVBT_220RF] = {
Adrian Bunk793f2252006-03-08 10:50:06 -03002810 .name = "Tevion/KWorld DVB-T 220RF",
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02002811 .audio_clock = 0x00187de7,
2812 .tuner_type = TUNER_PHILIPS_TDA8290,
2813 .radio_type = UNSET,
2814 .tuner_addr = ADDR_UNSET,
2815 .radio_addr = ADDR_UNSET,
2816 .mpeg = SAA7134_MPEG_DVB,
Simon Farnsworth289ea1f2007-09-10 13:37:26 -03002817 .gpiomask = 1 << 21,
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02002818 .inputs = {{
2819 .name = name_tv,
2820 .vmux = 1,
2821 .amux = TV,
2822 .tv = 1,
2823 },{
2824 .name = name_comp1,
2825 .vmux = 3,
2826 .amux = LINE1,
2827 },{
Simon Farnsworth289ea1f2007-09-10 13:37:26 -03002828 .name = name_comp2,
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02002829 .vmux = 0,
2830 .amux = LINE1,
Simon Farnsworth289ea1f2007-09-10 13:37:26 -03002831 },{
2832 .name = name_svideo,
2833 .vmux = 8,
2834 .amux = LINE1,
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02002835 }},
2836 .radio = {
2837 .name = name_radio,
Simon Farnsworth289ea1f2007-09-10 13:37:26 -03002838 .amux = TV,
2839 .gpio = 0x0200000,
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02002840 },
2841 },
Simon Farnsworthb39423a2007-05-01 10:01:20 -03002842 [SAA7134_BOARD_KWORLD_DVBT_210] = {
2843 .name = "KWorld DVB-T 210",
2844 .audio_clock = 0x00187de7,
2845 .tuner_type = TUNER_PHILIPS_TDA8290,
2846 .radio_type = UNSET,
2847 .tuner_addr = ADDR_UNSET,
2848 .radio_addr = ADDR_UNSET,
2849 .mpeg = SAA7134_MPEG_DVB,
2850 .gpiomask = 1 << 21,
2851 .inputs = {{
2852 .name = name_tv,
2853 .vmux = 1,
2854 .amux = TV,
2855 .tv = 1,
2856 },{
2857 .name = name_comp1,
2858 .vmux = 3,
2859 .amux = LINE1,
2860 },{
2861 .name = name_svideo,
2862 .vmux = 8,
2863 .amux = LINE1,
2864 }},
2865 .radio = {
2866 .name = name_radio,
2867 .amux = TV,
2868 .gpio = 0x0200000,
2869 },
2870 },
Andrew Burri3e1410a2006-02-27 00:08:23 -03002871 [SAA7134_BOARD_KWORLD_ATSC110] = {
Eric Sandeen0ac3a5b2007-10-08 16:13:02 -03002872 .name = "Kworld ATSC110/115",
Andrew Burri3e1410a2006-02-27 00:08:23 -03002873 .audio_clock = 0x00187de7,
2874 .tuner_type = TUNER_PHILIPS_TUV1236D,
2875 .radio_type = UNSET,
2876 .tuner_addr = ADDR_UNSET,
2877 .radio_addr = ADDR_UNSET,
2878 .tda9887_conf = TDA9887_PRESENT,
2879 .mpeg = SAA7134_MPEG_DVB,
2880 .inputs = {{
2881 .name = name_tv,
2882 .vmux = 1,
2883 .amux = TV,
2884 .tv = 1,
Curt Meyers6ba509d2006-02-27 00:08:32 -03002885 },{
2886 .name = name_comp1,
2887 .vmux = 3,
2888 .amux = LINE2,
2889 },{
2890 .name = name_svideo,
2891 .vmux = 8,
2892 .amux = LINE2,
Andrew Burri3e1410a2006-02-27 00:08:23 -03002893 }},
2894 },
Rickard Osser68593af2006-03-11 17:14:12 -03002895 [SAA7134_BOARD_AVERMEDIA_A169_B] = {
2896 /* AVerMedia A169 */
2897 /* Rickard Osser <ricky@osser.se> */
2898 /* This card has two saa7134 chips on it,
2899 but only one of them is currently working. */
2900 .name = "AVerMedia A169 B",
2901 .audio_clock = 0x02187de7,
2902 .tuner_type = TUNER_LG_TALN,
2903 .radio_type = UNSET,
2904 .tuner_addr = ADDR_UNSET,
2905 .radio_addr = ADDR_UNSET,
2906 .tda9887_conf = TDA9887_PRESENT,
2907 .gpiomask = 0x0a60000,
2908 },
2909 [SAA7134_BOARD_AVERMEDIA_A169_B1] = {
2910 /* AVerMedia A169 */
2911 /* Rickard Osser <ricky@osser.se> */
2912 .name = "AVerMedia A169 B1",
2913 .audio_clock = 0x02187de7,
2914 .tuner_type = TUNER_LG_TALN,
2915 .radio_type = UNSET,
2916 .tuner_addr = ADDR_UNSET,
2917 .radio_addr = ADDR_UNSET,
2918 .tda9887_conf = TDA9887_PRESENT,
2919 .gpiomask = 0xca60000,
2920 .inputs = {{
2921 .name = name_tv,
2922 .vmux = 4,
2923 .amux = TV,
2924 .tv = 1,
2925 .gpio = 0x04a61000,
2926 },{
2927 .name = name_comp2, /* Composite SVIDEO (B/W if signal is carried with SVIDEO) */
2928 .vmux = 1,
2929 .amux = LINE2,
2930 },{
2931 .name = name_svideo,
2932 .vmux = 9, /* 9 is correct as S-VIDEO1 according to a169.inf! */
2933 .amux = LINE1,
2934 }},
2935 },
Michael Krufkyba3a5a82006-03-14 19:02:12 -03002936 [SAA7134_BOARD_MD7134_BRIDGE_2] = {
Hartmut Hackmann637afdb2008-04-22 14:46:08 -03002937 /* The second saa7134 on this card only serves as DVB-S host bridge */
Michael Krufkyba3a5a82006-03-14 19:02:12 -03002938 .name = "Medion 7134 Bridge #2",
2939 .audio_clock = 0x00187de7,
2940 .radio_type = UNSET,
2941 .tuner_addr = ADDR_UNSET,
2942 .radio_addr = ADDR_UNSET,
Hartmut Hackmann637afdb2008-04-22 14:46:08 -03002943 .mpeg = SAA7134_MPEG_DVB,
Michael Krufkyba3a5a82006-03-14 19:02:12 -03002944 },
Hartmut Hackmannd95b8942006-03-27 19:39:30 -03002945 [SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS] = {
Mauro Carvalho Chehab593f18c2007-10-07 02:17:09 -03002946 .name = "LifeView FlyDVB-T Hybrid Cardbus/MSI TV @nywhere A/D NB",
Hartmut Hackmannd95b8942006-03-27 19:39:30 -03002947 .audio_clock = 0x00200000,
2948 .tuner_type = TUNER_PHILIPS_TDA8290,
2949 .radio_type = UNSET,
2950 .tuner_addr = ADDR_UNSET,
2951 .radio_addr = ADDR_UNSET,
2952 .mpeg = SAA7134_MPEG_DVB,
2953 .gpiomask = 0x00600000, /* Bit 21 0=Radio, Bit 22 0=TV */
2954 .inputs = {{
2955 .name = name_tv,
2956 .vmux = 1,
2957 .amux = TV,
2958 .gpio = 0x200000, /* GPIO21=High for TV input */
2959 .tv = 1,
2960 },{
2961 .name = name_svideo, /* S-Video signal on S-Video input */
2962 .vmux = 8,
2963 .amux = LINE2,
2964 },{
2965 .name = name_comp1, /* Composite signal on S-Video input */
2966 .vmux = 0,
2967 .amux = LINE2,
2968 },{
2969 .name = name_comp2, /* Composite input */
2970 .vmux = 3,
2971 .amux = LINE2,
2972 }},
2973 .radio = {
2974 .name = name_radio,
2975 .amux = TV,
2976 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
2977 },
2978 },
Zac Bowlingf49ba8d2006-06-19 19:49:20 -03002979 [SAA7134_BOARD_FLYVIDEO3000_NTSC] = {
2980 /* "Zac Bowling" <zac@zacbowling.com> */
2981 .name = "LifeView FlyVIDEO3000 (NTSC)",
2982 .audio_clock = 0x00200000,
2983 .tuner_type = TUNER_PHILIPS_NTSC,
2984 .radio_type = UNSET,
2985 .tuner_addr = ADDR_UNSET,
2986 .radio_addr = ADDR_UNSET,
2987
2988 .gpiomask = 0xe000,
2989 .inputs = {{
2990 .name = name_tv,
2991 .vmux = 1,
2992 .amux = TV,
2993 .gpio = 0x8000,
2994 .tv = 1,
2995 },{
2996 .name = name_tv_mono,
2997 .vmux = 1,
2998 .amux = LINE2,
2999 .gpio = 0x0000,
3000 .tv = 1,
3001 },{
3002 .name = name_comp1,
3003 .vmux = 0,
3004 .amux = LINE2,
3005 .gpio = 0x4000,
3006 },{
3007 .name = name_comp2,
3008 .vmux = 3,
3009 .amux = LINE2,
3010 .gpio = 0x4000,
3011 },{
3012 .name = name_svideo,
3013 .vmux = 8,
3014 .amux = LINE2,
3015 .gpio = 0x4000,
3016 }},
3017 .radio = {
3018 .name = name_radio,
3019 .amux = LINE2,
3020 .gpio = 0x2000,
3021 },
3022 .mute = {
3023 .name = name_mute,
3024 .amux = TV,
3025 .gpio = 0x8000,
3026 },
3027 },
Hartmut Hackmann5eda2272006-08-07 14:03:32 -03003028 [SAA7134_BOARD_MEDION_MD8800_QUADRO] = {
3029 .name = "Medion Md8800 Quadro",
3030 .audio_clock = 0x00187de7,
3031 .tuner_type = TUNER_PHILIPS_TDA8290,
3032 .radio_type = UNSET,
3033 .tuner_addr = ADDR_UNSET,
3034 .radio_addr = ADDR_UNSET,
3035 .mpeg = SAA7134_MPEG_DVB,
3036 .inputs = {{
3037 .name = name_tv,
3038 .vmux = 1,
3039 .amux = TV,
3040 .tv = 1,
3041 },{
3042 .name = name_comp1,
3043 .vmux = 0,
hermann pitton387a2992007-10-25 21:26:53 -03003044 .amux = LINE1,
Hartmut Hackmann5eda2272006-08-07 14:03:32 -03003045 },{
3046 .name = name_svideo,
3047 .vmux = 8,
hermann pitton387a2992007-10-25 21:26:53 -03003048 .amux = LINE1,
Hartmut Hackmann5eda2272006-08-07 14:03:32 -03003049 }},
3050 },
Igor M. Liplianine2ac28f2006-08-08 09:10:10 -03003051 [SAA7134_BOARD_FLYDVBS_LR300] = {
3052 /* LifeView FlyDVB-s */
3053 /* Igor M. Liplianin <liplianin@tut.by> */
3054 .name = "LifeView FlyDVB-S /Acorp TV134DS",
3055 .audio_clock = 0x00200000,
3056 .tuner_type = TUNER_ABSENT,
3057 .radio_type = UNSET,
3058 .tuner_addr = ADDR_UNSET,
3059 .radio_addr = ADDR_UNSET,
3060 .mpeg = SAA7134_MPEG_DVB,
3061 .inputs = {{
3062 .name = name_comp1, /* Composite input */
3063 .vmux = 3,
3064 .amux = LINE1,
3065 },{
3066 .name = name_svideo, /* S-Video signal on S-Video input */
3067 .vmux = 8,
3068 .amux = LINE1,
3069 }},
3070 },
Michal Majchrowiczb04c1ba2006-09-13 16:42:42 -03003071 [SAA7134_BOARD_PROTEUS_2309] = {
3072 .name = "Proteus Pro 2309",
3073 .audio_clock = 0x00187de7,
3074 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3075 .radio_type = UNSET,
3076 .tuner_addr = ADDR_UNSET,
3077 .radio_addr = ADDR_UNSET,
3078 .tda9887_conf = TDA9887_PRESENT,
3079 .inputs = {{
3080 .name = name_tv,
3081 .vmux = 1,
3082 .amux = LINE2,
3083 .tv = 1,
3084 },{
3085 .name = name_comp1,
3086 .vmux = 0,
3087 .amux = LINE2,
3088 },{
3089 .name = name_comp2,
3090 .vmux = 3,
3091 .amux = LINE2,
3092 },{
3093 .name = name_svideo,
3094 .vmux = 8,
3095 .amux = LINE2,
3096 }},
3097 .mute = {
3098 .name = name_mute,
3099 .amux = LINE1,
3100 },
3101 },
Petr Baudis515c2082006-09-26 16:53:53 -03003102 [SAA7134_BOARD_AVERMEDIA_A16AR] = {
3103 /* Petr Baudis <pasky@ucw.cz> */
3104 .name = "AVerMedia TV Hybrid A16AR",
3105 .audio_clock = 0x187de7,
pasky@ucw.cz0871a882006-11-12 14:24:57 -03003106 .tuner_type = TUNER_PHILIPS_TD1316, /* untested */
Petr Baudis515c2082006-09-26 16:53:53 -03003107 .radio_type = TUNER_TEA5767, /* untested */
3108 .tuner_addr = ADDR_UNSET,
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03003109 .radio_addr = 0x60,
Petr Baudis515c2082006-09-26 16:53:53 -03003110 .tda9887_conf = TDA9887_PRESENT,
3111 .mpeg = SAA7134_MPEG_DVB,
3112 .inputs = {{
3113 .name = name_tv,
3114 .vmux = 1,
3115 .amux = TV,
3116 .tv = 1,
3117 },{
3118 .name = name_comp1,
3119 .vmux = 3,
3120 .amux = LINE2,
3121 },{
3122 .name = name_svideo,
3123 .vmux = 8,
3124 .amux = LINE1,
3125 }},
3126 .radio = {
3127 .name = name_radio,
3128 .amux = LINE1,
3129 },
3130 },
Hartmut Hackmanncf146ca2006-10-02 20:49:24 -03003131 [SAA7134_BOARD_ASUS_EUROPA2_HYBRID] = {
3132 .name = "Asus Europa2 OEM",
3133 .audio_clock = 0x00187de7,
3134 .tuner_type = TUNER_PHILIPS_FMD1216ME_MK3,
3135 .radio_type = UNSET,
3136 .tuner_addr = ADDR_UNSET,
3137 .radio_addr = ADDR_UNSET,
3138 .tda9887_conf = TDA9887_PRESENT| TDA9887_PORT1_ACTIVE | TDA9887_PORT2_ACTIVE,
3139 .mpeg = SAA7134_MPEG_DVB,
3140 .inputs = {{
3141 .name = name_tv,
3142 .vmux = 3,
3143 .amux = TV,
3144 .tv = 1,
3145 },{
3146 .name = name_comp1,
3147 .vmux = 4,
3148 .amux = LINE2,
3149 },{
3150 .name = name_svideo,
3151 .vmux = 8,
3152 .amux = LINE2,
3153 }},
3154 .radio = {
3155 .name = name_radio,
3156 .amux = LINE1,
3157 },
3158 },
Hartmut Hackmann587d2fd2006-10-06 19:13:50 -03003159 [SAA7134_BOARD_PINNACLE_PCTV_310i] = {
3160 .name = "Pinnacle PCTV 310i",
3161 .audio_clock = 0x00187de7,
3162 .tuner_type = TUNER_PHILIPS_TDA8290,
3163 .radio_type = UNSET,
3164 .tuner_addr = ADDR_UNSET,
3165 .radio_addr = ADDR_UNSET,
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03003166 .tuner_config = 1,
Hartmut Hackmann587d2fd2006-10-06 19:13:50 -03003167 .mpeg = SAA7134_MPEG_DVB,
3168 .gpiomask = 0x000200000,
3169 .inputs = {{
3170 .name = name_tv,
3171 .vmux = 4,
3172 .amux = TV,
3173 .tv = 1,
3174 },{
3175 .name = name_comp1,
3176 .vmux = 1,
3177 .amux = LINE2,
3178 },{
3179 .name = name_comp2,
3180 .vmux = 0,
3181 .amux = LINE2,
3182 },{
3183 .name = name_svideo,
3184 .vmux = 8,
3185 .amux = LINE2,
3186 }},
3187 .radio = {
3188 .name = name_radio,
3189 .amux = TV,
3190 .gpio = 0x0200000,
3191 },
3192 },
Mikhail Fedotov3ac706d2006-10-06 20:23:47 -03003193 [SAA7134_BOARD_AVERMEDIA_STUDIO_507] = {
3194 /* Mikhail Fedotov <mo_fedotov@mail.ru> */
3195 .name = "Avermedia AVerTV Studio 507",
3196 .audio_clock = 0x00187de7,
3197 .tuner_type = TUNER_PHILIPS_FM1256_IH3,
3198 .radio_type = UNSET,
3199 .tuner_addr = ADDR_UNSET,
3200 .radio_addr = ADDR_UNSET,
3201 .tda9887_conf = TDA9887_PRESENT,
3202 .gpiomask = 0x03,
3203 .inputs = {{
3204 .name = name_tv,
3205 .vmux = 1,
3206 .amux = TV,
3207 .tv = 1,
3208 .gpio = 0x00,
3209 },{
3210 .name = name_comp1,
3211 .vmux = 0,
3212 .amux = LINE2,
3213 .gpio = 0x00,
3214 },{
3215 .name = name_comp2,
3216 .vmux = 3,
3217 .amux = LINE2,
3218 .gpio = 0x00,
3219 },{
3220 .name = name_svideo,
3221 .vmux = 8,
3222 .amux = LINE2,
3223 .gpio = 0x00,
3224 }},
3225 .radio = {
3226 .name = name_radio,
3227 .amux = LINE2,
3228 .gpio = 0x01,
3229 },
3230 .mute = {
3231 .name = name_mute,
3232 .amux = LINE1,
3233 .gpio = 0x00,
3234 },
3235 },
Hartmut Hackmanncbb94522006-10-30 20:00:16 -03003236 [SAA7134_BOARD_VIDEOMATE_DVBT_200A] = {
3237 /* Francis Barber <fedora@barber-family.id.au> */
3238 .name = "Compro Videomate DVB-T200A",
3239 .audio_clock = 0x00187de7,
3240 .tuner_type = TUNER_ABSENT,
3241 .radio_type = UNSET,
3242 .tuner_addr = ADDR_UNSET,
3243 .radio_addr = ADDR_UNSET,
3244 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
3245 .mpeg = SAA7134_MPEG_DVB,
3246 .inputs = {{
3247 .name = name_tv,
3248 .vmux = 3,
3249 .amux = TV,
3250 .tv = 1,
3251 },{
3252 .name = name_comp1,
3253 .vmux = 1,
3254 .amux = LINE2,
3255 },{
3256 .name = name_svideo,
3257 .vmux = 8,
3258 .amux = LINE2,
3259 }},
3260 },
Thomas Gentyc6e53da2006-11-05 14:17:30 -03003261 [SAA7134_BOARD_HAUPPAUGE_HVR1110] = {
3262 /* Thomas Genty <tomlohave@gmail.com> */
3263 .name = "Hauppauge WinTV-HVR1110 DVB-T/Hybrid",
3264 .audio_clock = 0x00187de7,
3265 .tuner_type = TUNER_PHILIPS_TDA8290,
3266 .radio_type = UNSET,
3267 .tuner_addr = ADDR_UNSET,
3268 .radio_addr = ADDR_UNSET,
Michael Krufkyb3aa2262007-12-09 21:13:38 -03003269 .tuner_config = 1,
Thomas Gentyc6e53da2006-11-05 14:17:30 -03003270 .mpeg = SAA7134_MPEG_DVB,
Thomas Gentyc6e53da2006-11-05 14:17:30 -03003271 .inputs = {{
3272 .name = name_tv,
3273 .vmux = 1,
3274 .amux = TV,
3275 .tv = 1,
Thomas Genty177aaaf2006-11-29 21:57:24 -03003276 },{
3277 .name = name_comp1,
3278 .vmux = 3,
3279 .amux = LINE2, /* FIXME: audio doesn't work on svideo/composite */
3280 },{
3281 .name = name_svideo,
3282 .vmux = 8,
3283 .amux = LINE2, /* FIXME: audio doesn't work on svideo/composite */
Thomas Gentyc6e53da2006-11-05 14:17:30 -03003284 }},
3285 .radio = {
3286 .name = name_radio,
3287 .amux = TV,
Thomas Gentyc6e53da2006-11-05 14:17:30 -03003288 },
3289 },
Hartmut Hackmann550a9a52006-11-15 21:31:54 -03003290 [SAA7134_BOARD_CINERGY_HT_PCMCIA] = {
3291 .name = "Terratec Cinergy HT PCMCIA",
3292 .audio_clock = 0x00187de7,
3293 .tuner_type = TUNER_PHILIPS_TDA8290,
3294 .radio_type = UNSET,
3295 .tuner_addr = ADDR_UNSET,
3296 .radio_addr = ADDR_UNSET,
3297 .mpeg = SAA7134_MPEG_DVB,
3298 .inputs = {{
3299 .name = name_tv,
3300 .vmux = 1,
3301 .amux = TV,
3302 .tv = 1,
3303 },{
3304 .name = name_comp1,
3305 .vmux = 0,
3306 .amux = LINE1,
3307 },{
3308 .name = name_svideo,
3309 .vmux = 6,
3310 .amux = LINE1,
3311 }},
3312 },
Steven Walterd1158f42006-12-20 09:29:09 -03003313 [SAA7134_BOARD_ENCORE_ENLTV] = {
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03003314 /* Steven Walter <stevenrwalter@gmail.com>
3315 Juan Pablo Sormani <sorman@gmail.com> */
Steven Walterd1158f42006-12-20 09:29:09 -03003316 .name = "Encore ENLTV",
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03003317 .audio_clock = 0x00200000,
Steven Walterd1158f42006-12-20 09:29:09 -03003318 .tuner_type = TUNER_TNF_5335MF,
3319 .radio_type = UNSET,
3320 .tuner_addr = ADDR_UNSET,
3321 .radio_addr = ADDR_UNSET,
3322 .inputs = {{
3323 .name = name_tv,
3324 .vmux = 1,
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03003325 .amux = 3,
Steven Walterd1158f42006-12-20 09:29:09 -03003326 .tv = 1,
3327 },{
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03003328 .name = name_tv_mono,
3329 .vmux = 7,
3330 .amux = 4,
3331 .tv = 1,
3332 },{
3333 .name = name_comp1,
3334 .vmux = 3,
3335 .amux = 2,
3336 },{
Steven Walterd1158f42006-12-20 09:29:09 -03003337 .name = name_svideo,
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03003338 .vmux = 0,
3339 .amux = 2,
Steven Walterd1158f42006-12-20 09:29:09 -03003340 }},
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03003341 .radio = {
3342 .name = name_radio,
3343 .amux = LINE2,
3344/* .gpio = 0x00300001,*/
3345 .gpio = 0x20000,
3346
3347 },
3348 .mute = {
3349 .name = name_mute,
3350 .amux = 0,
3351 },
3352 },
3353 [SAA7134_BOARD_ENCORE_ENLTV_FM] = {
3354 /* Juan Pablo Sormani <sorman@gmail.com> */
3355 .name = "Encore ENLTV-FM",
3356 .audio_clock = 0x00200000,
Michael Krufkyab8b8702008-04-22 14:46:05 -03003357 .tuner_type = TUNER_PHILIPS_FCV1236D,
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03003358 .radio_type = UNSET,
3359 .tuner_addr = ADDR_UNSET,
3360 .radio_addr = ADDR_UNSET,
3361 .inputs = {{
3362 .name = name_tv,
3363 .vmux = 1,
3364 .amux = 3,
3365 .tv = 1,
3366 },{
3367 .name = name_tv_mono,
3368 .vmux = 7,
3369 .amux = 4,
3370 .tv = 1,
3371 },{
3372 .name = name_comp1,
3373 .vmux = 3,
3374 .amux = 2,
3375 },{
3376 .name = name_svideo,
3377 .vmux = 0,
3378 .amux = 2,
3379 }},
3380 .radio = {
3381 .name = name_radio,
3382 .amux = LINE2,
3383 .gpio = 0x20000,
3384
3385 },
3386 .mute = {
3387 .name = name_mute,
3388 .amux = 0,
3389 },
Steven Walterd1158f42006-12-20 09:29:09 -03003390 },
Michael Krufky9de271e2007-01-16 18:36:40 -03003391 [SAA7134_BOARD_CINERGY_HT_PCI] = {
3392 .name = "Terratec Cinergy HT PCI",
3393 .audio_clock = 0x00187de7,
3394 .tuner_type = TUNER_PHILIPS_TDA8290,
3395 .radio_type = UNSET,
3396 .tuner_addr = ADDR_UNSET,
3397 .radio_addr = ADDR_UNSET,
3398 .mpeg = SAA7134_MPEG_DVB,
3399 .inputs = {{
3400 .name = name_tv,
3401 .vmux = 1,
3402 .amux = TV,
3403 .tv = 1,
3404 },{
3405 .name = name_comp1,
3406 .vmux = 0,
3407 .amux = LINE1,
3408 },{
3409 .name = name_svideo,
3410 .vmux = 6,
3411 .amux = LINE1,
3412 }},
3413 },
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03003414 [SAA7134_BOARD_PHILIPS_TIGER_S] = {
3415 .name = "Philips Tiger - S Reference design",
3416 .audio_clock = 0x00187de7,
3417 .tuner_type = TUNER_PHILIPS_TDA8290,
3418 .radio_type = UNSET,
3419 .tuner_addr = ADDR_UNSET,
3420 .radio_addr = ADDR_UNSET,
3421 .tuner_config = 2,
3422 .mpeg = SAA7134_MPEG_DVB,
3423 .gpiomask = 0x0200000,
3424 .inputs = {{
3425 .name = name_tv,
3426 .vmux = 1,
3427 .amux = TV,
3428 .tv = 1,
3429 },{
3430 .name = name_comp1,
3431 .vmux = 3,
3432 .amux = LINE1,
3433 },{
3434 .name = name_svideo,
3435 .vmux = 8,
3436 .amux = LINE1,
3437 }},
3438 .radio = {
3439 .name = name_radio,
3440 .amux = TV,
3441 .gpio = 0x0200000,
3442 },
3443 },
Markus Rechbergere95d3172007-04-27 12:31:19 -03003444 [SAA7134_BOARD_AVERMEDIA_M102] = {
3445 .name = "Avermedia M102",
3446 .audio_clock = 0x00187de7,
3447 .tuner_type = TUNER_PHILIPS_TDA8290,
3448 .radio_type = UNSET,
3449 .tuner_addr = ADDR_UNSET,
3450 .radio_addr = ADDR_UNSET,
3451 .gpiomask = 1<<21,
3452 .inputs = {{
3453 .name = name_tv,
3454 .vmux = 1,
3455 .amux = TV,
3456 .tv = 1,
3457 },{
3458 .name = name_comp1,
3459 .vmux = 0,
3460 .amux = LINE2,
3461 },{
3462 .name = name_svideo,
3463 .vmux = 6,
3464 .amux = LINE2,
3465 }},
3466 },
Hartmut Hackmanne06cea42007-03-13 20:58:29 -03003467 [SAA7134_BOARD_ASUS_P7131_4871] = {
3468 .name = "ASUS P7131 4871",
3469 .audio_clock = 0x00187de7,
3470 .tuner_type = TUNER_PHILIPS_TDA8290,
3471 .radio_type = UNSET,
3472 .tuner_addr = ADDR_UNSET,
3473 .radio_addr = ADDR_UNSET,
3474 .tuner_config = 2,
3475 .mpeg = SAA7134_MPEG_DVB,
3476 .gpiomask = 0x0200000,
3477 .inputs = {{
3478 .name = name_tv,
3479 .vmux = 1,
3480 .amux = TV,
3481 .tv = 1,
3482 .gpio = 0x0200000,
3483 }},
3484 },
Hartmut Hackmannf3eec0c02007-03-14 20:33:55 -03003485 [SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA] = {
3486 .name = "ASUSTeK P7131 Hybrid",
Hartmut Hackmanne06cea42007-03-13 20:58:29 -03003487 .audio_clock = 0x00187de7,
3488 .tuner_type = TUNER_PHILIPS_TDA8290,
3489 .radio_type = UNSET,
3490 .tuner_addr = ADDR_UNSET,
3491 .radio_addr = ADDR_UNSET,
3492 .tuner_config = 2,
3493 .gpiomask = 1 << 21,
3494 .mpeg = SAA7134_MPEG_DVB,
3495 .inputs = {{
3496 .name = name_tv,
3497 .vmux = 1,
3498 .amux = TV,
3499 .tv = 1,
3500 .gpio = 0x0000000,
3501 },{
3502 .name = name_comp1,
3503 .vmux = 3,
3504 .amux = LINE2,
3505 .gpio = 0x0200000,
3506 },{
3507 .name = name_comp2,
3508 .vmux = 0,
3509 .amux = LINE2,
3510 .gpio = 0x0200000,
3511 },{
3512 .name = name_svideo,
3513 .vmux = 8,
3514 .amux = LINE2,
3515 .gpio = 0x0200000,
3516 }},
3517 .radio = {
3518 .name = name_radio,
3519 .amux = TV,
3520 .gpio = 0x0200000,
3521 },
Hermann Pitton0b17d0e2008-07-12 12:27:59 -03003522 },
3523 [SAA7134_BOARD_ASUSTeK_P7131_ANALOG] = {
3524 .name = "ASUSTeK P7131 Analog",
3525 .audio_clock = 0x00187de7,
3526 .tuner_type = TUNER_PHILIPS_TDA8290,
3527 .radio_type = UNSET,
3528 .tuner_addr = ADDR_UNSET,
3529 .radio_addr = ADDR_UNSET,
3530 .gpiomask = 1 << 21,
3531 .inputs = {{
3532 .name = name_tv,
3533 .vmux = 1,
3534 .amux = TV,
3535 .tv = 1,
3536 .gpio = 0x0000000,
3537 }, {
3538 .name = name_comp1,
3539 .vmux = 3,
3540 .amux = LINE2,
3541 }, {
3542 .name = name_comp2,
3543 .vmux = 0,
3544 .amux = LINE2,
3545 }, {
3546 .name = name_svideo,
3547 .vmux = 8,
3548 .amux = LINE2,
3549 } },
3550 .radio = {
3551 .name = name_radio,
3552 .amux = TV,
3553 .gpio = 0x0200000,
3554 },
Hartmut Hackmanne06cea42007-03-13 20:58:29 -03003555 },
James T Klaas53958b32007-05-01 10:48:09 -03003556 [SAA7134_BOARD_SABRENT_TV_PCB05] = {
3557 .name = "Sabrent PCMCIA TV-PCB05",
3558 .audio_clock = 0x00187de7,
3559 .tuner_type = TUNER_PHILIPS_TDA8290,
3560 .radio_type = UNSET,
3561 .tuner_addr = ADDR_UNSET,
3562 .radio_addr = ADDR_UNSET,
3563 .inputs = {{
3564 .name = name_tv,
3565 .vmux = 1,
3566 .amux = TV,
3567 .tv = 1,
3568 },{
3569 .name = name_comp1,
3570 .vmux = 3,
3571 .amux = LINE1,
3572 },{
3573 .name = name_comp2,
3574 .vmux = 0,
3575 .amux = LINE1,
3576 },{
3577 .name = name_svideo,
3578 .vmux = 8,
3579 .amux = LINE1,
3580 }},
3581 .mute = {
3582 .name = name_mute,
3583 .amux = TV,
3584 },
3585 },
Tony Wanaaccb822007-05-10 12:16:47 -03003586 [SAA7134_BOARD_10MOONSTVMASTER3] = {
3587 /* Tony Wan <aloha_cn@hotmail.com> */
3588 .name = "10MOONS TM300 TV Card",
3589 .audio_clock = 0x00200000,
3590 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
3591 .radio_type = UNSET,
3592 .tuner_addr = ADDR_UNSET,
3593 .radio_addr = ADDR_UNSET,
3594 .gpiomask = 0x7000,
3595 .inputs = {{
3596 .name = name_tv,
3597 .vmux = 1,
3598 .amux = LINE2,
3599 .gpio = 0x0000,
3600 .tv = 1,
3601 },{
3602 .name = name_comp1,
3603 .vmux = 3,
3604 .amux = LINE1,
3605 .gpio = 0x2000,
3606 },{
3607 .name = name_svideo,
3608 .vmux = 8,
3609 .amux = LINE1,
3610 .gpio = 0x2000,
3611 }},
3612 .mute = {
3613 .name = name_mute,
3614 .amux = LINE2,
3615 .gpio = 0x3000,
3616 },
3617 },
Edgar Simod90d9f52007-08-20 14:14:50 -03003618 [SAA7134_BOARD_AVERMEDIA_SUPER_007] = {
3619 .name = "Avermedia Super 007",
3620 .audio_clock = 0x00187de7,
3621 .tuner_type = TUNER_PHILIPS_TDA8290,
3622 .radio_type = UNSET,
3623 .tuner_addr = ADDR_UNSET,
3624 .radio_addr = ADDR_UNSET,
3625 .tuner_config = 0,
3626 .mpeg = SAA7134_MPEG_DVB,
3627 .inputs = {{
3628 .name = name_tv, /* FIXME: analog tv untested */
3629 .vmux = 1,
3630 .amux = TV,
3631 .tv = 1,
3632 }},
3633 },
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003634 [SAA7134_BOARD_BEHOLD_401] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003635 /* Beholder Intl. Ltd. 2008 */
3636 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003637 .name = "Beholder BeholdTV 401",
3638 .audio_clock = 0x00187de7,
3639 .tuner_type = TUNER_PHILIPS_FQ1216ME,
3640 .radio_type = UNSET,
3641 .tuner_addr = ADDR_UNSET,
3642 .radio_addr = ADDR_UNSET,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003643 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003644 .inputs = {{
3645 .name = name_svideo,
3646 .vmux = 8,
3647 .amux = LINE1,
3648 },{
3649 .name = name_comp1,
3650 .vmux = 1,
3651 .amux = LINE1,
3652 },{
3653 .name = name_tv,
3654 .vmux = 3,
3655 .amux = LINE2,
3656 .tv = 1,
3657 }},
3658 .mute = {
3659 .name = name_mute,
3660 .amux = LINE1,
3661 },
3662 },
3663 [SAA7134_BOARD_BEHOLD_403] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003664 /* Beholder Intl. Ltd. 2008 */
3665 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003666 .name = "Beholder BeholdTV 403",
3667 .audio_clock = 0x00187de7,
3668 .tuner_type = TUNER_PHILIPS_FQ1216ME,
3669 .radio_type = UNSET,
3670 .tuner_addr = ADDR_UNSET,
3671 .radio_addr = ADDR_UNSET,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003672 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003673 .inputs = {{
3674 .name = name_svideo,
3675 .vmux = 8,
3676 .amux = LINE1,
3677 },{
3678 .name = name_comp1,
3679 .vmux = 1,
3680 .amux = LINE1,
3681 },{
3682 .name = name_tv,
3683 .vmux = 3,
3684 .amux = LINE2,
3685 .tv = 1,
3686 }},
3687 },
3688 [SAA7134_BOARD_BEHOLD_403FM] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003689 /* Beholder Intl. Ltd. 2008 */
3690 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003691 .name = "Beholder BeholdTV 403 FM",
3692 .audio_clock = 0x00187de7,
3693 .tuner_type = TUNER_PHILIPS_FQ1216ME,
3694 .radio_type = UNSET,
3695 .tuner_addr = ADDR_UNSET,
3696 .radio_addr = ADDR_UNSET,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003697 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003698 .inputs = {{
3699 .name = name_svideo,
3700 .vmux = 8,
3701 .amux = LINE1,
3702 },{
3703 .name = name_comp1,
3704 .vmux = 1,
3705 .amux = LINE1,
3706 },{
3707 .name = name_tv,
3708 .vmux = 3,
3709 .amux = LINE2,
3710 .tv = 1,
3711 }},
3712 .radio = {
3713 .name = name_radio,
3714 .amux = LINE2,
3715 },
3716 },
3717 [SAA7134_BOARD_BEHOLD_405] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003718 /* Beholder Intl. Ltd. 2008 */
3719 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003720 .name = "Beholder BeholdTV 405",
3721 .audio_clock = 0x00187de7,
3722 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3723 .radio_type = UNSET,
3724 .tuner_addr = ADDR_UNSET,
3725 .radio_addr = ADDR_UNSET,
3726 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003727 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003728 .inputs = {{
3729 .name = name_svideo,
3730 .vmux = 8,
3731 .amux = LINE1,
3732 },{
3733 .name = name_comp1,
3734 .vmux = 3,
3735 .amux = LINE1,
3736 },{
3737 .name = name_tv,
3738 .vmux = 3,
3739 .amux = LINE2,
3740 .tv = 1,
3741 }},
3742 },
3743 [SAA7134_BOARD_BEHOLD_405FM] = {
3744 /* Sergey <skiv@orel.ru> */
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003745 /* Beholder Intl. Ltd. 2008 */
3746 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003747 .name = "Beholder BeholdTV 405 FM",
3748 .audio_clock = 0x00187de7,
3749 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3750 .radio_type = UNSET,
3751 .tuner_addr = ADDR_UNSET,
3752 .radio_addr = ADDR_UNSET,
3753 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003754 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003755 .inputs = {{
3756 .name = name_svideo,
3757 .vmux = 8,
3758 .amux = LINE1,
3759 },{
3760 .name = name_comp1,
3761 .vmux = 3,
3762 .amux = LINE1,
3763 },{
3764 .name = name_tv,
3765 .vmux = 3,
3766 .amux = LINE2,
3767 .tv = 1,
3768 }},
3769 .radio = {
3770 .name = name_radio,
3771 .amux = LINE2,
3772 },
3773 },
Mauro Carvalho Chehab1434bc02008-01-07 05:20:04 -03003774 [SAA7134_BOARD_BEHOLD_407] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003775 /* Beholder Intl. Ltd. 2008 */
3776 /*Dmitry Belimov <d.belimov@gmail.com> */
Mauro Carvalho Chehab1434bc02008-01-07 05:20:04 -03003777 .name = "Beholder BeholdTV 407",
3778 .audio_clock = 0x00187de7,
3779 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3780 .radio_type = UNSET,
3781 .tuner_addr = ADDR_UNSET,
3782 .radio_addr = ADDR_UNSET,
3783 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003784 .gpiomask = 0x00008000,
Mauro Carvalho Chehab1434bc02008-01-07 05:20:04 -03003785 .inputs = {{
3786 .name = name_svideo,
3787 .vmux = 8,
3788 .amux = LINE1,
3789 .gpio = 0xc0c000,
3790 },{
3791 .name = name_comp1,
3792 .vmux = 1,
3793 .amux = LINE1,
3794 .gpio = 0xc0c000,
3795 },{
3796 .name = name_tv,
3797 .vmux = 3,
3798 .amux = TV,
3799 .tv = 1,
3800 .gpio = 0xc0c000,
3801 }},
3802 },
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003803 [SAA7134_BOARD_BEHOLD_407FM] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003804 /* Beholder Intl. Ltd. 2008 */
3805 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003806 .name = "Beholder BeholdTV 407 FM",
3807 .audio_clock = 0x00187de7,
3808 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3809 .radio_type = UNSET,
3810 .tuner_addr = ADDR_UNSET,
3811 .radio_addr = ADDR_UNSET,
3812 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003813 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003814 .inputs = {{
3815 .name = name_svideo,
3816 .vmux = 8,
3817 .amux = LINE1,
3818 .gpio = 0xc0c000,
3819 },{
3820 .name = name_comp1,
3821 .vmux = 1,
3822 .amux = LINE1,
3823 .gpio = 0xc0c000,
3824 },{
3825 .name = name_tv,
3826 .vmux = 3,
3827 .amux = TV,
3828 .tv = 1,
3829 .gpio = 0xc0c000,
3830 }},
3831 .radio = {
3832 .name = name_radio,
3833 .amux = LINE2,
3834 .gpio = 0xc0c000,
3835 },
3836 },
3837 [SAA7134_BOARD_BEHOLD_409] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003838 /* Beholder Intl. Ltd. 2008 */
3839 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003840 .name = "Beholder BeholdTV 409",
3841 .audio_clock = 0x00187de7,
3842 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3843 .radio_type = UNSET,
3844 .tuner_addr = ADDR_UNSET,
3845 .radio_addr = ADDR_UNSET,
3846 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003847 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003848 .inputs = {{
3849 .name = name_tv,
3850 .vmux = 3,
3851 .amux = TV,
3852 .tv = 1,
3853 },{
3854 .name = name_comp1,
3855 .vmux = 1,
3856 .amux = LINE1,
3857 },{
3858 .name = name_svideo,
3859 .vmux = 8,
3860 .amux = LINE1,
3861 }},
3862 },
3863 [SAA7134_BOARD_BEHOLD_505FM] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003864 /* Beholder Intl. Ltd. 2008 */
3865 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003866 .name = "Beholder BeholdTV 505 FM/RDS",
3867 .audio_clock = 0x00200000,
3868 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3869 .radio_type = UNSET,
3870 .tuner_addr = ADDR_UNSET,
3871 .radio_addr = ADDR_UNSET,
3872 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003873 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003874 .inputs = {{
3875 .name = name_tv,
3876 .vmux = 3,
3877 .amux = LINE2,
3878 .tv = 1,
3879 },{
3880 .name = name_comp1,
3881 .vmux = 1,
3882 .amux = LINE1,
3883 },{
3884 .name = name_svideo,
3885 .vmux = 8,
3886 .amux = LINE1,
3887 }},
3888 .mute = {
3889 .name = name_mute,
3890 .amux = LINE1,
3891 },
3892 .radio = {
3893 .name = name_radio,
3894 .amux = LINE2,
3895 },
3896 },
3897 [SAA7134_BOARD_BEHOLD_507_9FM] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003898 /* Beholder Intl. Ltd. 2008 */
3899 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003900 .name = "Beholder BeholdTV 507 FM/RDS / BeholdTV 509 FM",
3901 .audio_clock = 0x00187de7,
3902 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3903 .radio_type = UNSET,
3904 .tuner_addr = ADDR_UNSET,
3905 .radio_addr = ADDR_UNSET,
3906 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003907 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003908 .inputs = {{
3909 .name = name_tv,
3910 .vmux = 3,
3911 .amux = TV,
3912 .tv = 1,
3913 },{
3914 .name = name_comp1,
3915 .vmux = 1,
3916 .amux = LINE1,
3917 },{
3918 .name = name_svideo,
3919 .vmux = 8,
3920 .amux = LINE1,
3921 }},
3922 .radio = {
3923 .name = name_radio,
3924 .amux = LINE2,
3925 },
3926 },
3927 [SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003928 /* Beholder Intl. Ltd. 2008 */
3929 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003930 .name = "Beholder BeholdTV Columbus TVFM",
3931 .audio_clock = 0x00187de7,
3932 .tuner_type = TUNER_ALPS_TSBE5_PAL,
3933 .radio_type = UNSET,
3934 .tuner_addr = ADDR_UNSET,
3935 .radio_addr = ADDR_UNSET,
3936 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003937 .gpiomask = 0x000A8004,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003938 .inputs = {{
3939 .name = name_tv,
3940 .vmux = 3,
3941 .amux = TV,
3942 .tv = 1,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003943 .gpio = 0x000A8004,
3944 }, {
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003945 .name = name_comp1,
3946 .vmux = 1,
3947 .amux = LINE1,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003948 .gpio = 0x000A8000,
3949 }, {
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003950 .name = name_svideo,
3951 .vmux = 8,
3952 .amux = LINE1,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003953 .gpio = 0x000A8000,
3954 } },
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003955 .radio = {
3956 .name = name_radio,
3957 .amux = LINE2,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003958 .gpio = 0x000A8000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003959 },
3960 },
3961 [SAA7134_BOARD_BEHOLD_607_9FM] = {
3962 /* Andrey Melnikoff <temnota@kmv.ru> */
3963 .name = "Beholder BeholdTV 607 / BeholdTV 609",
3964 .audio_clock = 0x00187de7,
3965 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3966 .radio_type = UNSET,
3967 .tuner_addr = ADDR_UNSET,
3968 .radio_addr = ADDR_UNSET,
3969 .tda9887_conf = TDA9887_PRESENT,
3970 .inputs = {{
3971 .name = name_tv,
3972 .vmux = 3,
3973 .amux = TV,
3974 .tv = 1,
3975 },{
3976 .name = name_comp1,
3977 .vmux = 1,
3978 .amux = LINE1,
3979 },{
3980 .name = name_svideo,
3981 .vmux = 8,
3982 .amux = LINE1,
3983 }},
3984 .radio = {
3985 .name = name_radio,
3986 .amux = LINE2,
3987 },
3988 },
3989 [SAA7134_BOARD_BEHOLD_M6] = {
3990 /* Igor Kuznetsov <igk@igk.ru> */
3991 /* Andrey Melnikoff <temnota@kmv.ru> */
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03003992 /* Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> */
3993 .name = "Beholder BeholdTV M6",
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003994 .audio_clock = 0x00187de7,
3995 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3996 .radio_type = UNSET,
3997 .tuner_addr = ADDR_UNSET,
3998 .radio_addr = ADDR_UNSET,
3999 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03004000 .inputs = { {
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004001 .name = name_tv,
4002 .vmux = 3,
4003 .amux = TV,
4004 .tv = 1,
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03004005 }, {
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004006 .name = name_comp1,
4007 .vmux = 1,
4008 .amux = LINE1,
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03004009 }, {
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004010 .name = name_svideo,
4011 .vmux = 8,
4012 .amux = LINE1,
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03004013 } },
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004014 .radio = {
4015 .name = name_radio,
4016 .amux = LINE2,
4017 },
4018 .mpeg = SAA7134_MPEG_EMPRESS,
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03004019 .video_out = CCIR656,
4020 .vid_port_opts = (SET_T_CODE_POLARITY_NON_INVERTED |
4021 SET_CLOCK_NOT_DELAYED |
4022 SET_CLOCK_INVERTED |
4023 SET_VSYNC_OFF),
4024 },
4025 [SAA7134_BOARD_BEHOLD_M63] = {
4026 /* Igor Kuznetsov <igk@igk.ru> */
4027 /* Andrey Melnikoff <temnota@kmv.ru> */
4028 /* Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> */
4029 .name = "Beholder BeholdTV M63",
4030 .audio_clock = 0x00187de7,
4031 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4032 .radio_type = UNSET,
4033 .tuner_addr = ADDR_UNSET,
4034 .radio_addr = ADDR_UNSET,
4035 .tda9887_conf = TDA9887_PRESENT,
4036 .inputs = { {
4037 .name = name_tv,
4038 .vmux = 3,
4039 .amux = TV,
4040 .tv = 1,
4041 }, {
4042 .name = name_comp1,
4043 .vmux = 1,
4044 .amux = LINE1,
4045 }, {
4046 .name = name_svideo,
4047 .vmux = 8,
4048 .amux = LINE1,
4049 } },
4050 .radio = {
4051 .name = name_radio,
4052 .amux = LINE2,
4053 },
4054 .mpeg = SAA7134_MPEG_EMPRESS,
4055 .video_out = CCIR656,
4056 .vid_port_opts = (SET_T_CODE_POLARITY_NON_INVERTED |
4057 SET_CLOCK_NOT_DELAYED |
4058 SET_CLOCK_INVERTED |
4059 SET_VSYNC_OFF),
4060 },
4061 [SAA7134_BOARD_BEHOLD_M6_EXTRA] = {
4062 /* Igor Kuznetsov <igk@igk.ru> */
4063 /* Andrey Melnikoff <temnota@kmv.ru> */
4064 /* Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> */
4065 .name = "Beholder BeholdTV M6 Extra",
4066 .audio_clock = 0x00187de7,
4067 /* FIXME: Must be PHILIPS_FM1216ME_MK5*/
4068 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4069 .radio_type = UNSET,
4070 .tuner_addr = ADDR_UNSET,
4071 .radio_addr = ADDR_UNSET,
4072 .tda9887_conf = TDA9887_PRESENT,
4073 .inputs = { {
4074 .name = name_tv,
4075 .vmux = 3,
4076 .amux = TV,
4077 .tv = 1,
4078 }, {
4079 .name = name_comp1,
4080 .vmux = 1,
4081 .amux = LINE1,
4082 }, {
4083 .name = name_svideo,
4084 .vmux = 8,
4085 .amux = LINE1,
4086 } },
4087 .radio = {
4088 .name = name_radio,
4089 .amux = LINE2,
4090 },
4091 .mpeg = SAA7134_MPEG_EMPRESS,
4092 .video_out = CCIR656,
4093 .vid_port_opts = (SET_T_CODE_POLARITY_NON_INVERTED |
4094 SET_CLOCK_NOT_DELAYED |
4095 SET_CLOCK_INVERTED |
4096 SET_VSYNC_OFF),
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004097 },
Hermann Pitton4ba24372008-01-20 19:27:51 -03004098 [SAA7134_BOARD_TWINHAN_DTV_DVB_3056] = {
4099 .name = "Twinhan Hybrid DTV-DVB 3056 PCI",
4100 .audio_clock = 0x00187de7,
4101 .tuner_type = TUNER_PHILIPS_TDA8290,
4102 .radio_type = UNSET,
4103 .tuner_addr = ADDR_UNSET,
4104 .radio_addr = ADDR_UNSET,
4105 .tuner_config = 2,
4106 .mpeg = SAA7134_MPEG_DVB,
4107 .gpiomask = 0x0200000,
4108 .inputs = {{
4109 .name = name_tv,
4110 .vmux = 1,
4111 .amux = TV,
4112 .tv = 1,
4113 }, {
4114 .name = name_comp1,
4115 .vmux = 3,
4116 .amux = LINE1,
4117 }, {
4118 .name = name_svideo,
4119 .vmux = 8, /* untested */
4120 .amux = LINE1,
4121 } },
4122 .radio = {
4123 .name = name_radio,
4124 .amux = TV,
4125 .gpio = 0x0200000,
4126 },
4127 },
Adrian Pardinif0ba3562008-02-11 12:40:53 -03004128 [SAA7134_BOARD_GENIUS_TVGO_A11MCE] = {
4129 /* Adrian Pardini <pardo.bsso@gmail.com> */
4130 .name = "Genius TVGO AM11MCE",
4131 .audio_clock = 0x00200000,
4132 .tuner_type = TUNER_TNF_5335MF,
4133 .radio_type = UNSET,
4134 .tuner_addr = ADDR_UNSET,
4135 .radio_addr = ADDR_UNSET,
4136 .gpiomask = 0xf000,
4137 .inputs = {{
4138 .name = name_tv_mono,
4139 .vmux = 1,
4140 .amux = LINE2,
4141 .gpio = 0x0000,
4142 .tv = 1,
4143 }, {
4144 .name = name_comp1,
4145 .vmux = 3,
4146 .amux = LINE1,
4147 .gpio = 0x2000,
4148 .tv = 1
4149 }, {
4150 .name = name_svideo,
4151 .vmux = 8,
4152 .amux = LINE1,
4153 .gpio = 0x2000,
4154 } },
4155 .radio = {
4156 .name = name_radio,
4157 .amux = LINE2,
4158 .gpio = 0x1000,
4159 },
4160 .mute = {
4161 .name = name_mute,
4162 .amux = LINE2,
4163 .gpio = 0x6000,
4164 },
4165 },
Hartmut Hackmann6ab465a2008-04-22 14:42:11 -03004166 [SAA7134_BOARD_PHILIPS_SNAKE] = {
4167 .name = "NXP Snake DVB-S reference design",
4168 .audio_clock = 0x00200000,
4169 .tuner_type = TUNER_ABSENT,
4170 .radio_type = UNSET,
4171 .tuner_addr = ADDR_UNSET,
4172 .radio_addr = ADDR_UNSET,
4173 .mpeg = SAA7134_MPEG_DVB,
4174 .inputs = {{
4175 .name = name_comp1,
4176 .vmux = 3,
4177 .amux = LINE1,
4178 }, {
4179 .name = name_svideo,
4180 .vmux = 8,
4181 .amux = LINE1,
4182 } },
4183 },
Hermann Pitton7b5b3f12008-04-22 14:42:12 -03004184 [SAA7134_BOARD_CREATIX_CTX953] = {
4185 .name = "Medion/Creatix CTX953 Hybrid",
4186 .audio_clock = 0x00187de7,
4187 .tuner_type = TUNER_PHILIPS_TDA8290,
4188 .radio_type = UNSET,
4189 .tuner_addr = ADDR_UNSET,
4190 .radio_addr = ADDR_UNSET,
4191 .tuner_config = 0,
4192 .mpeg = SAA7134_MPEG_DVB,
4193 .inputs = {{
4194 .name = name_tv,
4195 .vmux = 1,
4196 .amux = TV,
4197 .tv = 1,
4198 }, {
4199 .name = name_comp1,
4200 .vmux = 0,
4201 .amux = LINE1,
4202 }, {
4203 .name = name_svideo,
4204 .vmux = 8,
4205 .amux = LINE1,
4206 } },
4207 },
Russell Kliese6a6179b62008-04-22 14:42:12 -03004208 [SAA7134_BOARD_MSI_TVANYWHERE_AD11] = {
4209 .name = "MSI TV@nywhere A/D v1.1",
4210 .audio_clock = 0x00187de7,
4211 .tuner_type = TUNER_PHILIPS_TDA8290,
4212 .radio_type = UNSET,
4213 .tuner_addr = ADDR_UNSET,
4214 .radio_addr = ADDR_UNSET,
4215 .tuner_config = 2,
4216 .mpeg = SAA7134_MPEG_DVB,
4217 .gpiomask = 0x0200000,
4218 .inputs = { {
4219 .name = name_tv,
4220 .vmux = 1,
4221 .amux = TV,
4222 .tv = 1,
4223 }, {
4224 .name = name_comp1,
4225 .vmux = 3,
4226 .amux = LINE1,
4227 }, {
4228 .name = name_svideo,
4229 .vmux = 8,
4230 .amux = LINE1,
4231 } },
4232 .radio = {
4233 .name = name_radio,
4234 .amux = TV,
4235 .gpio = 0x0200000,
4236 },
4237 },
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03004238 [SAA7134_BOARD_AVERMEDIA_CARDBUS_506] = {
Mauro Carvalho Chehabd9ae6dd2008-04-22 14:46:06 -03004239 .name = "AVerMedia Cardbus TV/Radio (E506R)",
4240 .audio_clock = 0x187de7,
4241 .tuner_type = TUNER_XC2028,
Mauro Carvalho Chehab6e741712008-04-22 14:46:07 -03004242 .radio_type = UNSET,
Mauro Carvalho Chehabd9ae6dd2008-04-22 14:46:06 -03004243 .tuner_addr = ADDR_UNSET,
4244 .radio_addr = ADDR_UNSET,
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03004245 .mpeg = SAA7134_MPEG_DVB,
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03004246 .inputs = {{
4247 .name = name_tv,
4248 .vmux = 1,
4249 .amux = TV,
4250 .tv = 1,
4251 }, {
Tim Farringtone5e4cd82008-06-29 11:54:08 -03004252 .name = name_comp,
4253 .vmux = 0,
4254 .amux = LINE1,
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03004255 }, {
4256 .name = name_svideo,
4257 .vmux = 8,
4258 .amux = LINE1,
4259 } },
4260 .radio = {
4261 .name = name_radio,
4262 .amux = TV,
4263 },
4264 },
4265 [SAA7134_BOARD_AVERMEDIA_A16D] = {
4266 .name = "AVerMedia Hybrid TV/Radio (A16D)",
4267 .audio_clock = 0x187de7,
4268 .tuner_type = TUNER_XC2028,
Mauro Carvalho Chehab6e741712008-04-22 14:46:07 -03004269 .radio_type = UNSET,
Mauro Carvalho Chehabd9ae6dd2008-04-22 14:46:06 -03004270 .tuner_addr = ADDR_UNSET,
4271 .radio_addr = ADDR_UNSET,
Hans Verkuilf87086e2008-07-18 00:50:58 -03004272 .mpeg = SAA7134_MPEG_DVB,
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03004273 .inputs = {{
4274 .name = name_tv,
4275 .vmux = 1,
4276 .amux = TV,
4277 .tv = 1,
4278 }, {
4279 .name = name_svideo,
4280 .vmux = 8,
4281 .amux = LINE1,
Dan Taylor9c7ecaf2008-06-27 13:29:41 -03004282 }, {
4283 .name = name_comp,
4284 .vmux = 0,
4285 .amux = LINE1,
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03004286 } },
4287 .radio = {
4288 .name = name_radio,
Tim Farrington6e501a32008-06-15 13:33:42 -03004289 .amux = TV,
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03004290 },
4291 },
4292 [SAA7134_BOARD_AVERMEDIA_M115] = {
4293 .name = "Avermedia M115",
4294 .audio_clock = 0x187de7,
4295 .tuner_type = TUNER_XC2028,
Mauro Carvalho Chehab6e741712008-04-22 14:46:07 -03004296 .radio_type = UNSET,
Mauro Carvalho Chehabd9ae6dd2008-04-22 14:46:06 -03004297 .tuner_addr = ADDR_UNSET,
4298 .radio_addr = ADDR_UNSET,
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03004299 .inputs = {{
4300 .name = name_tv,
4301 .vmux = 1,
4302 .amux = TV,
4303 .tv = 1,
4304 }, {
4305 .name = name_comp1,
4306 .vmux = 3,
4307 .amux = LINE1,
4308 }, {
4309 .name = name_svideo,
4310 .vmux = 8,
4311 .amux = LINE2,
4312 } },
4313 },
4314 [SAA7134_BOARD_VIDEOMATE_T750] = {
4315 /* John Newbigin <jn@it.swin.edu.au> */
4316 .name = "Compro VideoMate T750",
4317 .audio_clock = 0x00187de7,
4318 .tuner_type = TUNER_XC2028,
Mauro Carvalho Chehab6e741712008-04-22 14:46:07 -03004319 .radio_type = UNSET,
Mauro Carvalho Chehabd9ae6dd2008-04-22 14:46:06 -03004320 .tuner_addr = ADDR_UNSET,
4321 .radio_addr = ADDR_UNSET,
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03004322 .mpeg = SAA7134_MPEG_DVB,
4323 .inputs = {{
4324 .name = name_tv,
4325 .vmux = 3,
4326 .amux = TV,
4327 .tv = 1,
4328 }, {
4329 .name = name_comp1,
4330 .vmux = 1,
4331 .amux = LINE2,
4332 }, {
4333 .name = name_svideo,
4334 .vmux = 8,
4335 .amux = LINE2,
4336 } },
4337 .radio = {
4338 .name = name_radio,
4339 .amux = TV,
4340 }
Matthias Schwarzottfc9d8ed2008-04-08 21:45:08 -03004341 },
4342 [SAA7134_BOARD_AVERMEDIA_A700_PRO] = {
4343 /* Matthias Schwarzott <zzam@gentoo.org> */
4344 .name = "Avermedia DVB-S Pro A700",
4345 .audio_clock = 0x00187de7,
4346 .tuner_type = TUNER_ABSENT,
4347 .radio_type = UNSET,
4348 .tuner_addr = ADDR_UNSET,
4349 .radio_addr = ADDR_UNSET,
4350 /* no DVB support for now */
4351 /* .mpeg = SAA7134_MPEG_DVB, */
4352 .inputs = { {
4353 .name = name_comp,
4354 .vmux = 1,
4355 .amux = LINE1,
4356 }, {
4357 .name = name_svideo,
4358 .vmux = 6,
4359 .amux = LINE1,
4360 } },
4361 },
4362 [SAA7134_BOARD_AVERMEDIA_A700_HYBRID] = {
4363 /* Matthias Schwarzott <zzam@gentoo.org> */
4364 .name = "Avermedia DVB-S Hybrid+FM A700",
4365 .audio_clock = 0x00187de7,
4366 .tuner_type = TUNER_ABSENT, /* TUNER_XC2028 */
4367 .radio_type = UNSET,
4368 .tuner_addr = ADDR_UNSET,
4369 .radio_addr = ADDR_UNSET,
4370 /* no DVB support for now */
4371 /* .mpeg = SAA7134_MPEG_DVB, */
4372 .inputs = { {
4373 .name = name_comp,
4374 .vmux = 1,
4375 .amux = LINE1,
4376 }, {
4377 .name = name_svideo,
4378 .vmux = 6,
4379 .amux = LINE1,
4380 } },
4381 },
Igor Kuznetsov02505272008-04-26 14:53:48 -03004382 [SAA7134_BOARD_BEHOLD_H6] = {
4383 /* Igor Kuznetsov <igk@igk.ru> */
4384 .name = "Beholder BeholdTV H6",
4385 .audio_clock = 0x00187de7,
4386 .tuner_type = TUNER_PHILIPS_FMD1216ME_MK3,
4387 .radio_type = UNSET,
4388 .tuner_addr = ADDR_UNSET,
4389 .radio_addr = ADDR_UNSET,
4390 .tda9887_conf = TDA9887_PRESENT,
4391 .inputs = {{
4392 .name = name_tv,
4393 .vmux = 3,
4394 .amux = TV,
4395 .tv = 1,
4396 }, {
4397 .name = name_comp1,
4398 .vmux = 1,
4399 .amux = LINE1,
4400 }, {
4401 .name = name_svideo,
4402 .vmux = 8,
4403 .amux = LINE1,
4404 } },
4405 .radio = {
4406 .name = name_radio,
4407 .amux = LINE2,
4408 },
4409 /* no DVB support for now */
4410 /* .mpeg = SAA7134_MPEG_DVB, */
4411 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004412};
4413
Linus Torvalds1da177e2005-04-16 15:20:36 -07004414const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards);
4415
4416/* ------------------------------------------------------------------ */
4417/* PCI ids + subsystem IDs */
4418
4419struct pci_device_id saa7134_pci_tbl[] = {
4420 {
4421 .vendor = PCI_VENDOR_ID_PHILIPS,
4422 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4423 .subvendor = PCI_VENDOR_ID_PHILIPS,
4424 .subdevice = 0x2001,
4425 .driver_data = SAA7134_BOARD_PROTEUS_PRO,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004426 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004427 .vendor = PCI_VENDOR_ID_PHILIPS,
4428 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4429 .subvendor = PCI_VENDOR_ID_PHILIPS,
4430 .subdevice = 0x2001,
4431 .driver_data = SAA7134_BOARD_PROTEUS_PRO,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004432 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004433 .vendor = PCI_VENDOR_ID_PHILIPS,
4434 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4435 .subvendor = PCI_VENDOR_ID_PHILIPS,
4436 .subdevice = 0x6752,
4437 .driver_data = SAA7134_BOARD_EMPRESS,
4438 },{
4439 .vendor = PCI_VENDOR_ID_PHILIPS,
4440 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004441 .subvendor = 0x1131,
4442 .subdevice = 0x4e85,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004443 .driver_data = SAA7134_BOARD_MONSTERTV,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004444 },{
4445 .vendor = PCI_VENDOR_ID_PHILIPS,
4446 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Michael Krufky7df64e82005-11-08 21:36:16 -08004447 .subvendor = 0x153b,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004448 .subdevice = 0x1142,
4449 .driver_data = SAA7134_BOARD_CINERGY400,
4450 },{
4451 .vendor = PCI_VENDOR_ID_PHILIPS,
4452 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Michael Krufky7df64e82005-11-08 21:36:16 -08004453 .subvendor = 0x153b,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004454 .subdevice = 0x1143,
4455 .driver_data = SAA7134_BOARD_CINERGY600,
4456 },{
4457 .vendor = PCI_VENDOR_ID_PHILIPS,
4458 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Michael Krufky7df64e82005-11-08 21:36:16 -08004459 .subvendor = 0x153b,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004460 .subdevice = 0x1158,
4461 .driver_data = SAA7134_BOARD_CINERGY600_MK3,
4462 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004463 .vendor = PCI_VENDOR_ID_PHILIPS,
4464 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4465 .subvendor = 0x153b,
4466 .subdevice = 0x1162,
4467 .driver_data = SAA7134_BOARD_CINERGY400_CARDBUS,
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_SAA7134,
Zac Bowlingf49ba8d2006-06-19 19:49:20 -03004471 .subvendor = 0x5169,
4472 .subdevice = 0x0138,
4473 .driver_data = SAA7134_BOARD_FLYVIDEO3000_NTSC,
4474 },{
4475 .vendor = PCI_VENDOR_ID_PHILIPS,
4476 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004477 .subvendor = 0x5168,
4478 .subdevice = 0x0138,
4479 .driver_data = SAA7134_BOARD_FLYVIDEO3000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004480 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004481 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004482 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4483 .subvendor = 0x4e42, /* "Typhoon PCI Capture TV Card" Art.No. 50673 */
4484 .subdevice = 0x0138,
4485 .driver_data = SAA7134_BOARD_FLYVIDEO3000,
4486 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004487 .vendor = PCI_VENDOR_ID_PHILIPS,
4488 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4489 .subvendor = 0x5168,
4490 .subdevice = 0x0138,
4491 .driver_data = SAA7134_BOARD_FLYVIDEO2000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004492 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004493 .vendor = PCI_VENDOR_ID_PHILIPS,
Peter Missel10b7a902006-01-23 17:11:06 -02004494 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4495 .subvendor = 0x4e42, /* Typhoon */
4496 .subdevice = 0x0138, /* LifeView FlyTV Prime30 OEM */
4497 .driver_data = SAA7134_BOARD_FLYVIDEO2000,
4498 },{
4499 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004500 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004501 .subvendor = 0x5168,
4502 .subdevice = 0x0212, /* minipci, LR212 */
4503 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004504 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004505 .vendor = PCI_VENDOR_ID_PHILIPS,
4506 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Mauro Carvalho Chehab058afaf2005-11-08 21:36:49 -08004507 .subvendor = 0x14c0,
4508 .subdevice = 0x1212, /* minipci, LR1212 */
4509 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI2,
4510 },{
4511 .vendor = PCI_VENDOR_ID_PHILIPS,
4512 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Glen Gray2d14f782005-11-08 21:36:12 -08004513 .subvendor = 0x4e42,
4514 .subdevice = 0x0212, /* OEM minipci, LR212 */
4515 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
4516 },{
4517 .vendor = PCI_VENDOR_ID_PHILIPS,
4518 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Peter Missel10e92062005-05-01 08:59:21 -07004519 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
Simon Farnsworthb39423a2007-05-01 10:01:20 -03004520 .subdevice = 0x0214, /* Standard PCI, LR214 Rev E and earlier (SAA7135) */
4521 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
4522 },{
4523 .vendor = PCI_VENDOR_ID_PHILIPS,
4524 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4525 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
4526 .subdevice = 0x5214, /* Standard PCI, LR214 Rev F onwards (SAA7131) */
Linus Torvalds1da177e2005-04-16 15:20:36 -07004527 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004528 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004529 .vendor = PCI_VENDOR_ID_PHILIPS,
Peter Missel10e92062005-05-01 08:59:21 -07004530 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4531 .subvendor = 0x1489, /* KYE */
4532 .subdevice = 0x0214, /* Genius VideoWonder ProTV */
4533 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM, /* is an LR214WF actually */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004534 },{
Peter Missel10e92062005-05-01 08:59:21 -07004535 .vendor = PCI_VENDOR_ID_PHILIPS,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004536 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4537 .subvendor = 0x16be,
4538 .subdevice = 0x0003,
4539 .driver_data = SAA7134_BOARD_MD7134,
4540 },{
4541 .vendor = PCI_VENDOR_ID_PHILIPS,
4542 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4543 .subvendor = 0x1048,
4544 .subdevice = 0x226b,
4545 .driver_data = SAA7134_BOARD_ELSA,
4546 },{
4547 .vendor = PCI_VENDOR_ID_PHILIPS,
4548 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4549 .subvendor = 0x1048,
Michael Krufky9a7871b2006-02-27 15:22:49 -03004550 .subdevice = 0x226a,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004551 .driver_data = SAA7134_BOARD_ELSA_500TV,
4552 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004553 .vendor = PCI_VENDOR_ID_PHILIPS,
Tamuki Shoichid0456d12006-02-27 00:08:04 -03004554 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Michael Krufkyba524292006-02-27 14:38:17 -03004555 .subvendor = 0x1048,
4556 .subdevice = 0x226c,
Tamuki Shoichid0456d12006-02-27 00:08:04 -03004557 .driver_data = SAA7134_BOARD_ELSA_700TV,
4558 },{
4559 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004560 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4561 .subvendor = PCI_VENDOR_ID_ASUSTEK,
4562 .subdevice = 0x4842,
4563 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004564 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004565 .vendor = PCI_VENDOR_ID_PHILIPS,
4566 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4567 .subvendor = PCI_VENDOR_ID_ASUSTEK,
4568 .subdevice = 0x4845,
4569 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7135,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004570 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004571 .vendor = PCI_VENDOR_ID_PHILIPS,
4572 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4573 .subvendor = PCI_VENDOR_ID_ASUSTEK,
4574 .subdevice = 0x4830,
4575 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004576 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004577 .vendor = PCI_VENDOR_ID_PHILIPS,
4578 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4579 .subvendor = PCI_VENDOR_ID_ASUSTEK,
4580 .subdevice = 0x4843,
4581 .driver_data = SAA7134_BOARD_ASUSTEK_TVFM7133,
4582 },{
4583 .vendor = PCI_VENDOR_ID_PHILIPS,
4584 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4585 .subvendor = PCI_VENDOR_ID_ASUSTEK,
4586 .subdevice = 0x4840,
4587 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
4588 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004589 .vendor = PCI_VENDOR_ID_PHILIPS,
4590 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4591 .subvendor = PCI_VENDOR_ID_PHILIPS,
4592 .subdevice = 0xfe01,
4593 .driver_data = SAA7134_BOARD_TVSTATION_RDS,
4594 },{
4595 .vendor = PCI_VENDOR_ID_PHILIPS,
4596 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4597 .subvendor = 0x1894,
4598 .subdevice = 0xfe01,
4599 .driver_data = SAA7134_BOARD_TVSTATION_RDS,
4600 },{
4601 .vendor = PCI_VENDOR_ID_PHILIPS,
4602 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4603 .subvendor = 0x1894,
4604 .subdevice = 0xa006,
4605 .driver_data = SAA7134_BOARD_TVSTATION_DVR,
4606 },{
4607 .vendor = PCI_VENDOR_ID_PHILIPS,
4608 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004609 .subvendor = 0x1131,
4610 .subdevice = 0x7133,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004611 .driver_data = SAA7134_BOARD_VA1000POWER,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004612 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004613 .vendor = PCI_VENDOR_ID_PHILIPS,
4614 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004615 .subvendor = PCI_VENDOR_ID_PHILIPS,
4616 .subdevice = 0x2001,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004617 .driver_data = SAA7134_BOARD_10MOONSTVMASTER,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004618 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004619 .vendor = PCI_VENDOR_ID_PHILIPS,
4620 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004621 .subvendor = 0x185b,
4622 .subdevice = 0xc100,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004623 .driver_data = SAA7134_BOARD_VIDEOMATE_TV,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004624 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004625 .vendor = PCI_VENDOR_ID_PHILIPS,
4626 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004627 .subvendor = 0x185b,
4628 .subdevice = 0xc100,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004629 .driver_data = SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004630 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004631 .vendor = PCI_VENDOR_ID_PHILIPS,
4632 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004633 .subvendor = PCI_VENDOR_ID_MATROX,
4634 .subdevice = 0x48d0,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004635 .driver_data = SAA7134_BOARD_CRONOS_PLUS,
4636 },{
4637 .vendor = PCI_VENDOR_ID_PHILIPS,
4638 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004639 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4640 .subdevice = 0xa70b,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004641 .driver_data = SAA7134_BOARD_MD2819,
4642 },{
4643 .vendor = PCI_VENDOR_ID_PHILIPS,
Matthias Schwarzottfc9d8ed2008-04-08 21:45:08 -03004644 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4645 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4646 .subdevice = 0xa7a1,
4647 .driver_data = SAA7134_BOARD_AVERMEDIA_A700_PRO,
4648 }, {
4649 .vendor = PCI_VENDOR_ID_PHILIPS,
4650 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4651 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4652 .subdevice = 0xa7a2,
4653 .driver_data = SAA7134_BOARD_AVERMEDIA_A700_HYBRID,
4654 }, {
4655 .vendor = PCI_VENDOR_ID_PHILIPS,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004656 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004657 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4658 .subdevice = 0x2115,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004659 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_305,
4660 },{
4661 .vendor = PCI_VENDOR_ID_PHILIPS,
4662 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004663 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4664 .subdevice = 0x2108,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004665 .driver_data = SAA7134_BOARD_AVERMEDIA_305,
4666 },{
4667 .vendor = PCI_VENDOR_ID_PHILIPS,
4668 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004669 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4670 .subdevice = 0x10ff,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004671 .driver_data = SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004672 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004673 /* AVerMedia CardBus */
4674 .vendor = PCI_VENDOR_ID_PHILIPS,
4675 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004676 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4677 .subdevice = 0xd6ee,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004678 .driver_data = SAA7134_BOARD_AVERMEDIA_CARDBUS,
4679 },{
4680 /* TransGear 3000TV */
4681 .vendor = PCI_VENDOR_ID_PHILIPS,
4682 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004683 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4684 .subdevice = 0x050c,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004685 .driver_data = SAA7134_BOARD_TG3000TV,
4686 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004687 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004688 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4689 .subvendor = 0x11bd,
4690 .subdevice = 0x002b,
4691 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_STEREO,
4692 },{
4693 .vendor = PCI_VENDOR_ID_PHILIPS,
4694 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4695 .subvendor = 0x11bd,
4696 .subdevice = 0x002d,
4697 .driver_data = SAA7134_BOARD_PINNACLE_300I_DVBT_PAL,
4698 },{
4699 .vendor = PCI_VENDOR_ID_PHILIPS,
4700 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4701 .subvendor = 0x1019,
4702 .subdevice = 0x4cb4,
4703 .driver_data = SAA7134_BOARD_ECS_TVP3XP,
4704 },{
4705 .vendor = PCI_VENDOR_ID_PHILIPS,
4706 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4707 .subvendor = 0x1019,
4708 .subdevice = 0x4cb5,
4709 .driver_data = SAA7134_BOARD_ECS_TVP3XP_4CB5,
4710 },{
4711 .vendor = PCI_VENDOR_ID_PHILIPS,
Simon Farnsworthb39423a2007-05-01 10:01:20 -03004712 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4713 .subvendor = 0x1019,
4714 .subdevice = 0x4cb6,
4715 .driver_data = SAA7134_BOARD_ECS_TVP3XP_4CB6,
4716 },{
4717 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004718 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4719 .subvendor = 0x12ab,
4720 .subdevice = 0x0800,
4721 .driver_data = SAA7134_BOARD_UPMOST_PURPLE_TV,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004722 },{
4723 .vendor = PCI_VENDOR_ID_PHILIPS,
4724 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Michael Krufky7df64e82005-11-08 21:36:16 -08004725 .subvendor = 0x153b,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004726 .subdevice = 0x1152,
4727 .driver_data = SAA7134_BOARD_CINERGY200,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004728 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004729 .vendor = PCI_VENDOR_ID_PHILIPS,
4730 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004731 .subvendor = 0x185b,
4732 .subdevice = 0xc100,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004733 .driver_data = SAA7134_BOARD_VIDEOMATE_TV_PVR,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004734 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004735 .vendor = PCI_VENDOR_ID_PHILIPS,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004736 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4737 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4738 .subdevice = 0x9715,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07004739 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_307,
4740 },{
4741 .vendor = PCI_VENDOR_ID_PHILIPS,
4742 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4743 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4744 .subdevice = 0xa70a,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004745 .driver_data = SAA7134_BOARD_AVERMEDIA_307,
4746 },{
4747 .vendor = PCI_VENDOR_ID_PHILIPS,
4748 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4749 .subvendor = 0x185b,
4750 .subdevice = 0xc200,
4751 .driver_data = SAA7134_BOARD_VIDEOMATE_GOLD_PLUS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004752 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004753 .vendor = PCI_VENDOR_ID_PHILIPS,
4754 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4755 .subvendor = 0x1540,
4756 .subdevice = 0x9524,
4757 .driver_data = SAA7134_BOARD_PROVIDEO_PV952,
4758
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004759 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07004760 .vendor = PCI_VENDOR_ID_PHILIPS,
4761 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4762 .subvendor = 0x5168,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004763 .subdevice = 0x0502, /* Cardbus version */
Peter Missel10b7a902006-01-23 17:11:06 -02004764 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004765 },{
4766 .vendor = PCI_VENDOR_ID_PHILIPS,
4767 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4768 .subvendor = 0x5168,
4769 .subdevice = 0x0306, /* PCI version */
Linus Torvalds1da177e2005-04-16 15:20:36 -07004770 .driver_data = SAA7134_BOARD_FLYDVBTDUO,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07004771 },{
4772 .vendor = PCI_VENDOR_ID_PHILIPS,
4773 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4774 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4775 .subdevice = 0xf31f,
4776 .driver_data = SAA7134_BOARD_AVERMEDIA_GO_007_FM,
4777
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004778 },{
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07004779 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004780 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4781 .subvendor = PCI_VENDOR_ID_PHILIPS,
4782 .subdevice = 0x2004,
4783 .driver_data = SAA7134_BOARD_PHILIPS_TOUGH,
4784 },{
4785 .vendor = PCI_VENDOR_ID_PHILIPS,
4786 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07004787 .subvendor = 0x1421,
4788 .subdevice = 0x0350, /* PCI version */
4789 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004790 },{
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07004791 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004792 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07004793 .subvendor = 0x1421,
Ricardo Cerqueira41d70c22006-01-09 15:25:34 -02004794 .subdevice = 0x0351, /* PCI version, new revision */
4795 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
4796 },{
4797 .vendor = PCI_VENDOR_ID_PHILIPS,
4798 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4799 .subvendor = 0x1421,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07004800 .subdevice = 0x0370, /* cardbus version */
4801 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
Hartmut Hackmannd4b0aba2005-11-08 21:38:44 -08004802 },{
4803 .vendor = PCI_VENDOR_ID_PHILIPS,
4804 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4805 .subvendor = 0x1421,
4806 .subdevice = 0x1370, /* cardbus version */
4807 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
Linus Torvalds1da177e2005-04-16 15:20:36 -07004808
Peter Missel10b7a902006-01-23 17:11:06 -02004809 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004810 .vendor = PCI_VENDOR_ID_PHILIPS,
4811 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Peter Missel10b7a902006-01-23 17:11:06 -02004812 .subvendor = 0x4e42, /* Typhoon */
4813 .subdevice = 0x0502, /* LifeView LR502 OEM */
4814 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
Mauro Carvalho Chehab2f180712005-09-09 13:03:46 -07004815 },{
4816 .vendor = PCI_VENDOR_ID_PHILIPS,
4817 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4818 .subvendor = 0x1043,
4819 .subdevice = 0x0210, /* mini pci NTSC version */
4820 .driver_data = SAA7134_BOARD_FLYTV_DIGIMATRIX,
4821 },{
4822 .vendor = PCI_VENDOR_ID_PHILIPS,
4823 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4824 .subvendor = 0x1043,
4825 .subdevice = 0x0210, /* mini pci PAL/SECAM version */
Michael Krufky5d5c9902005-11-08 21:38:08 -08004826 .driver_data = SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07004827
4828 },{
Nickolay V. Shmyreva8ff4172005-11-08 21:36:16 -08004829 .vendor = PCI_VENDOR_ID_PHILIPS,
4830 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4831 .subvendor = 0x0000, /* It shouldn't break anything, since subdevice id seems unique */
4832 .subdevice = 0x4091,
4833 .driver_data = SAA7134_BOARD_BEHOLD_409FM,
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08004834 },{
4835 .vendor = PCI_VENDOR_ID_PHILIPS,
4836 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4837 .subvendor = 0x5456, /* GoTView */
4838 .subdevice = 0x7135,
4839 .driver_data = SAA7134_BOARD_GOTVIEW_7135,
4840 },{
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08004841 .vendor = PCI_VENDOR_ID_PHILIPS,
4842 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4843 .subvendor = PCI_VENDOR_ID_PHILIPS,
4844 .subdevice = 0x2004,
4845 .driver_data = SAA7134_BOARD_PHILIPS_EUROPA,
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08004846 },{
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08004847 .vendor = PCI_VENDOR_ID_PHILIPS,
4848 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4849 .subvendor = 0x185b,
4850 .subdevice = 0xc900,
4851 .driver_data = SAA7134_BOARD_VIDEOMATE_DVBT_300,
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08004852 },{
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08004853 .vendor = PCI_VENDOR_ID_PHILIPS,
4854 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4855 .subvendor = 0x185b,
4856 .subdevice = 0xc901,
4857 .driver_data = SAA7134_BOARD_VIDEOMATE_DVBT_200,
4858 },{
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08004859 .vendor = PCI_VENDOR_ID_PHILIPS,
4860 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4861 .subvendor = 0x1435,
4862 .subdevice = 0x7350,
4863 .driver_data = SAA7134_BOARD_RTD_VFG7350,
Nickolay V. Shmyrevbb881f12005-11-08 21:36:35 -08004864 },{
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08004865 .vendor = PCI_VENDOR_ID_PHILIPS,
4866 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4867 .subvendor = 0x1435,
4868 .subdevice = 0x7330,
4869 .driver_data = SAA7134_BOARD_RTD_VFG7330,
Pieter Palmerscf1c5d12005-11-08 21:37:40 -08004870 },{
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08004871 .vendor = PCI_VENDOR_ID_PHILIPS,
4872 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4873 .subvendor = 0x1461,
4874 .subdevice = 0x1044,
4875 .driver_data = SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180,
4876 },{
Pieter Palmerscf1c5d12005-11-08 21:37:40 -08004877 .vendor = PCI_VENDOR_ID_PHILIPS,
4878 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4879 .subvendor = 0x1131,
4880 .subdevice = 0x4ee9,
4881 .driver_data = SAA7134_BOARD_MONSTERTV_MOBILE,
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08004882 },{
Ricardo Cerqueirac2f6f9d2005-11-08 21:37:51 -08004883 .vendor = PCI_VENDOR_ID_PHILIPS,
4884 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4885 .subvendor = 0x11bd,
4886 .subdevice = 0x002e,
4887 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_110i,
4888 },{
Hermann Pitton28f02242005-11-08 21:38:03 -08004889 .vendor = PCI_VENDOR_ID_PHILIPS,
4890 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4891 .subvendor = 0x1043,
4892 .subdevice = 0x4862,
4893 .driver_data = SAA7134_BOARD_ASUSTeK_P7131_DUAL,
Pavel Mihaylovc3d93192005-11-08 21:38:43 -08004894 },{
Hartmut Hackmann90e9df72005-11-08 21:38:42 -08004895 .vendor = PCI_VENDOR_ID_PHILIPS,
4896 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4897 .subvendor = PCI_VENDOR_ID_PHILIPS,
4898 .subdevice = 0x2018,
4899 .driver_data = SAA7134_BOARD_PHILIPS_TIGER,
Hermann Pitton28f02242005-11-08 21:38:03 -08004900 },{
Ricardo Cerqueira80d2ad92005-11-13 16:08:01 -08004901 .vendor = PCI_VENDOR_ID_PHILIPS,
4902 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4903 .subvendor = 0x1462,
Hermann Pittonb6667e52008-01-12 14:43:48 -03004904 .subdevice = 0x6231, /* tda8275a, ks003 IR */
4905 .driver_data = SAA7134_BOARD_MSI_TVATANYWHERE_PLUS,
4906 },{
4907 .vendor = PCI_VENDOR_ID_PHILIPS,
4908 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4909 .subvendor = 0x1462,
4910 .subdevice = 0x8624, /* tda8275, ks003 IR */
Ricardo Cerqueira80d2ad92005-11-13 16:08:01 -08004911 .driver_data = SAA7134_BOARD_MSI_TVATANYWHERE_PLUS,
4912 },{
Jörg Schummerf639c9b2006-01-09 15:25:01 -02004913 .vendor = PCI_VENDOR_ID_PHILIPS,
4914 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4915 .subvendor = 0x153b,
4916 .subdevice = 0x1160,
4917 .driver_data = SAA7134_BOARD_CINERGY250PCI,
4918 },{
Peter Missel4aa6ba52006-01-09 15:32:45 -02004919 .vendor = PCI_VENDOR_ID_PHILIPS,
4920 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA 7131E */
4921 .subvendor = 0x5168,
4922 .subdevice = 0x0319,
4923 .driver_data = SAA7134_BOARD_FLYDVB_TRIO,
4924 },{
Jose Alberto Regueroa78d0bf2006-02-07 06:25:14 -02004925 .vendor = PCI_VENDOR_ID_PHILIPS,
Hartmut Hackmann1e9bfb92006-08-07 14:03:32 -03004926 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Jose Alberto Regueroa78d0bf2006-02-07 06:25:14 -02004927 .subvendor = 0x1461,
4928 .subdevice = 0x2c05,
4929 .driver_data = SAA7134_BOARD_AVERMEDIA_777,
4930 },{
Giampiero Giancipoli3d8466e2006-02-07 06:49:09 -02004931 .vendor = PCI_VENDOR_ID_PHILIPS,
4932 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4933 .subvendor = 0x5168,
4934 .subdevice = 0x0301,
4935 .driver_data = SAA7134_BOARD_FLYDVBT_LR301,
4936 },{
Hartmut Hackmanndf42eaf2006-02-07 06:49:10 -02004937 .vendor = PCI_VENDOR_ID_PHILIPS,
4938 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4939 .subvendor = 0x0331,
4940 .subdevice = 0x1421,
4941 .driver_data = SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331,
4942 },{
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02004943 .vendor = PCI_VENDOR_ID_PHILIPS,
4944 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4945 .subvendor = 0x17de,
4946 .subdevice = 0x7201,
4947 .driver_data = SAA7134_BOARD_TEVION_DVBT_220RF,
4948 },{
Andrew Burri3e1410a2006-02-27 00:08:23 -03004949 .vendor = PCI_VENDOR_ID_PHILIPS,
Simon Farnsworthb39423a2007-05-01 10:01:20 -03004950 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4951 .subvendor = 0x17de,
4952 .subdevice = 0x7250,
4953 .driver_data = SAA7134_BOARD_KWORLD_DVBT_210,
4954 },{
4955 .vendor = PCI_VENDOR_ID_PHILIPS,
Andrew Burri3e1410a2006-02-27 00:08:23 -03004956 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA7135HL */
4957 .subvendor = 0x17de,
4958 .subdevice = 0x7350,
4959 .driver_data = SAA7134_BOARD_KWORLD_ATSC110,
4960 },{
Rickard Osser68593af2006-03-11 17:14:12 -03004961 .vendor = PCI_VENDOR_ID_PHILIPS,
Eric Sandeen0ac3a5b2007-10-08 16:13:02 -03004962 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA7135HL */
4963 .subvendor = 0x17de,
4964 .subdevice = 0x7352,
4965 .driver_data = SAA7134_BOARD_KWORLD_ATSC110, /* ATSC 115 */
4966 },{
4967 .vendor = PCI_VENDOR_ID_PHILIPS,
Rickard Osser68593af2006-03-11 17:14:12 -03004968 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4969 .subvendor = 0x1461,
4970 .subdevice = 0x7360,
4971 .driver_data = SAA7134_BOARD_AVERMEDIA_A169_B,
4972 },{
4973 .vendor = PCI_VENDOR_ID_PHILIPS,
4974 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4975 .subvendor = 0x1461,
4976 .subdevice = 0x6360,
4977 .driver_data = SAA7134_BOARD_AVERMEDIA_A169_B1,
4978 },{
Michael Krufkyba3a5a82006-03-14 19:02:12 -03004979 .vendor = PCI_VENDOR_ID_PHILIPS,
4980 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4981 .subvendor = 0x16be,
4982 .subdevice = 0x0005,
4983 .driver_data = SAA7134_BOARD_MD7134_BRIDGE_2,
4984 },{
Igor M. Liplianine2ac28f2006-08-08 09:10:10 -03004985 .vendor = PCI_VENDOR_ID_PHILIPS,
4986 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4987 .subvendor = 0x5168,
4988 .subdevice = 0x0300,
4989 .driver_data = SAA7134_BOARD_FLYDVBS_LR300,
4990 },{
4991 .vendor = PCI_VENDOR_ID_PHILIPS,
4992 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4993 .subvendor = 0x4e42,
4994 .subdevice = 0x0300,/* LR300 */
4995 .driver_data = SAA7134_BOARD_FLYDVBS_LR300,
4996 },{
Hartmut Hackmann42e6b3b2006-03-27 19:04:48 -03004997 .vendor = PCI_VENDOR_ID_PHILIPS,
4998 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4999 .subvendor = 0x1489,
5000 .subdevice = 0x0301,
5001 .driver_data = SAA7134_BOARD_FLYDVBT_LR301,
5002 },{
5003 .vendor = PCI_VENDOR_ID_PHILIPS,
5004 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5005 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
5006 .subdevice = 0x0304,
5007 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
5008 },{
Hartmut Hackmannd95b8942006-03-27 19:39:30 -03005009 .vendor = PCI_VENDOR_ID_PHILIPS,
5010 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5011 .subvendor = 0x5168,
5012 .subdevice = 0x3306,
5013 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
5014 },{
5015 .vendor = PCI_VENDOR_ID_PHILIPS,
5016 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5017 .subvendor = 0x5168,
5018 .subdevice = 0x3502, /* whats the difference to 0x3306 ?*/
5019 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
5020 },{
Hartmut Hackmann5eda2272006-08-07 14:03:32 -03005021 .vendor = PCI_VENDOR_ID_PHILIPS,
5022 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Hermann Pitton29e4e052008-01-20 19:49:51 -03005023 .subvendor = 0x5168,
5024 .subdevice = 0x3307, /* FlyDVB-T Hybrid Mini PCI */
5025 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
5026 }, {
5027 .vendor = PCI_VENDOR_ID_PHILIPS,
5028 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Hartmut Hackmann5eda2272006-08-07 14:03:32 -03005029 .subvendor = 0x16be,
5030 .subdevice = 0x0007,
5031 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
5032 },{
5033 .vendor = PCI_VENDOR_ID_PHILIPS,
5034 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5035 .subvendor = 0x16be,
5036 .subdevice = 0x0008,
5037 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
5038 },{
Hartmut Hackmann1e9bfb92006-08-07 14:03:32 -03005039 .vendor = PCI_VENDOR_ID_PHILIPS,
5040 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Hermann Pitton728b92a2008-01-20 19:42:01 -03005041 .subvendor = 0x16be,
5042 .subdevice = 0x000d, /* triple CTX948_V1.1.1 */
5043 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
5044 }, {
5045 .vendor = PCI_VENDOR_ID_PHILIPS,
5046 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Hartmut Hackmann1e9bfb92006-08-07 14:03:32 -03005047 .subvendor = 0x1461,
5048 .subdevice = 0x2c05,
5049 .driver_data = SAA7134_BOARD_AVERMEDIA_777,
5050 },{
Hartmut Hackmann2c591942006-08-07 14:03:32 -03005051 .vendor = PCI_VENDOR_ID_PHILIPS,
5052 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5053 .subvendor = 0x1489,
5054 .subdevice = 0x0502, /* Cardbus version */
5055 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
5056 },{
Michal Majchrowiczb04c1ba2006-09-13 16:42:42 -03005057 .vendor = PCI_VENDOR_ID_PHILIPS,
5058 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5059 .subvendor = 0x0919, /* Philips Proteus PRO 2309 */
5060 .subdevice = 0x2003,
5061 .driver_data = SAA7134_BOARD_PROTEUS_2309,
5062 },{
Petr Baudis515c2082006-09-26 16:53:53 -03005063 .vendor = PCI_VENDOR_ID_PHILIPS,
5064 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5065 .subvendor = 0x1461,
5066 .subdevice = 0x2c00,
5067 .driver_data = SAA7134_BOARD_AVERMEDIA_A16AR,
5068 },{
Hartmut Hackmanncf146ca2006-10-02 20:49:24 -03005069 .vendor = PCI_VENDOR_ID_PHILIPS,
5070 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5071 .subvendor = 0x1043,
5072 .subdevice = 0x4860,
5073 .driver_data = SAA7134_BOARD_ASUS_EUROPA2_HYBRID,
5074 },{
Hartmut Hackmann587d2fd2006-10-06 19:13:50 -03005075 .vendor = PCI_VENDOR_ID_PHILIPS,
5076 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5077 .subvendor = 0x11bd,
5078 .subdevice = 0x002f,
5079 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_310i,
5080 },{
Mikhail Fedotov3ac706d2006-10-06 20:23:47 -03005081 .vendor = PCI_VENDOR_ID_PHILIPS,
5082 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5083 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5084 .subdevice = 0x9715,
5085 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_507,
5086 },{
Hartmut Hackmann83646812006-10-12 20:38:51 -03005087 .vendor = PCI_VENDOR_ID_PHILIPS,
5088 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5089 .subvendor = 0x1043,
5090 .subdevice = 0x4876,
Hartmut Hackmannf3eec0c02007-03-14 20:33:55 -03005091 .driver_data = SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA,
Hartmut Hackmann83646812006-10-12 20:38:51 -03005092 },{
Thomas Gentyc6e53da2006-11-05 14:17:30 -03005093 .vendor = PCI_VENDOR_ID_PHILIPS,
5094 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5095 .subvendor = 0x0070,
Michael Krufkyddf12222007-11-15 10:01:11 -03005096 .subdevice = 0x6700,
5097 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
5098 },{
5099 .vendor = PCI_VENDOR_ID_PHILIPS,
5100 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5101 .subvendor = 0x0070,
Thomas Gentyc6e53da2006-11-05 14:17:30 -03005102 .subdevice = 0x6701,
5103 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
5104 },{
Hartmut Hackmann550a9a52006-11-15 21:31:54 -03005105 .vendor = PCI_VENDOR_ID_PHILIPS,
5106 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Michael Krufkyddf12222007-11-15 10:01:11 -03005107 .subvendor = 0x0070,
5108 .subdevice = 0x6702,
5109 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
5110 },{
5111 .vendor = PCI_VENDOR_ID_PHILIPS,
5112 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5113 .subvendor = 0x0070,
5114 .subdevice = 0x6703,
5115 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
5116 },{
5117 .vendor = PCI_VENDOR_ID_PHILIPS,
5118 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5119 .subvendor = 0x0070,
5120 .subdevice = 0x6704,
5121 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
5122 },{
5123 .vendor = PCI_VENDOR_ID_PHILIPS,
5124 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5125 .subvendor = 0x0070,
5126 .subdevice = 0x6705,
5127 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
5128 },{
5129 .vendor = PCI_VENDOR_ID_PHILIPS,
5130 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Hartmut Hackmann550a9a52006-11-15 21:31:54 -03005131 .subvendor = 0x153b,
5132 .subdevice = 0x1172,
5133 .driver_data = SAA7134_BOARD_CINERGY_HT_PCMCIA,
5134 },{
Steven Walterd1158f42006-12-20 09:29:09 -03005135 .vendor = PCI_VENDOR_ID_PHILIPS,
5136 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5137 .subvendor = PCI_VENDOR_ID_PHILIPS,
5138 .subdevice = 0x2342,
5139 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
5140 },{
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03005141 .vendor = PCI_VENDOR_ID_PHILIPS,
5142 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5143 .subvendor = 0x1131,
5144 .subdevice = 0x2341,
5145 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
5146 },{
5147 .vendor = PCI_VENDOR_ID_PHILIPS,
5148 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5149 .subvendor = 0x3016,
5150 .subdevice = 0x2344,
5151 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
5152 },{
5153 .vendor = PCI_VENDOR_ID_PHILIPS,
5154 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5155 .subvendor = 0x1131,
5156 .subdevice = 0x230f,
5157 .driver_data = SAA7134_BOARD_ENCORE_ENLTV_FM,
5158 },{
Michael Krufky9de271e2007-01-16 18:36:40 -03005159 .vendor = PCI_VENDOR_ID_PHILIPS,
5160 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5161 .subvendor = 0x153b,
5162 .subdevice = 0x1175,
5163 .driver_data = SAA7134_BOARD_CINERGY_HT_PCI,
5164 },{
Markus Rechbergere95d3172007-04-27 12:31:19 -03005165 .vendor = PCI_VENDOR_ID_PHILIPS,
5166 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5167 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5168 .subdevice = 0xf31e,
5169 .driver_data = SAA7134_BOARD_AVERMEDIA_M102,
5170 },{
Peter Misseldb483672007-04-27 12:31:20 -03005171 .vendor = PCI_VENDOR_ID_PHILIPS,
5172 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5173 .subvendor = 0x4E42, /* MSI */
5174 .subdevice = 0x0306, /* TV@nywhere DUO */
5175 .driver_data = SAA7134_BOARD_FLYDVBTDUO,
5176 },{
Hartmut Hackmanne06cea42007-03-13 20:58:29 -03005177 .vendor = PCI_VENDOR_ID_PHILIPS,
5178 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5179 .subvendor = 0x1043,
5180 .subdevice = 0x4871,
5181 .driver_data = SAA7134_BOARD_ASUS_P7131_4871,
5182 },{
5183 .vendor = PCI_VENDOR_ID_PHILIPS,
5184 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5185 .subvendor = 0x1043,
5186 .subdevice = 0x4857,
5187 .driver_data = SAA7134_BOARD_ASUSTeK_P7131_DUAL,
5188 },{
James T Klaas53958b32007-05-01 10:48:09 -03005189 .vendor = PCI_VENDOR_ID_PHILIPS,
5190 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5191 .subvendor = 0x0919, /* SinoVideo PCI 2309 Proteus (7134) */
5192 .subdevice = 0x2003, /* OEM cardbus */
5193 .driver_data = SAA7134_BOARD_SABRENT_TV_PCB05,
5194 },{
Tony Wanaaccb822007-05-10 12:16:47 -03005195 .vendor = PCI_VENDOR_ID_PHILIPS,
5196 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5197 .subvendor = PCI_VENDOR_ID_PHILIPS,
5198 .subdevice = 0x2304,
5199 .driver_data = SAA7134_BOARD_10MOONSTVMASTER3,
5200 },{
Edgar Simod90d9f52007-08-20 14:14:50 -03005201 .vendor = PCI_VENDOR_ID_PHILIPS,
5202 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5203 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5204 .subdevice = 0xf01d, /* AVerTV DVB-T Super 007 */
5205 .driver_data = SAA7134_BOARD_AVERMEDIA_SUPER_007,
5206 },{
Mauro Carvalho Chehab593f18c2007-10-07 02:17:09 -03005207 .vendor = PCI_VENDOR_ID_PHILIPS,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03005208 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03005209 .subvendor = 0x0000,
5210 .subdevice = 0x4016,
5211 .driver_data = SAA7134_BOARD_BEHOLD_401,
5212 },{
5213 .vendor = PCI_VENDOR_ID_PHILIPS,
5214 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03005215 .subvendor = 0x0000,
5216 .subdevice = 0x4036,
5217 .driver_data = SAA7134_BOARD_BEHOLD_403,
5218 },{
5219 .vendor = PCI_VENDOR_ID_PHILIPS,
5220 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5221 .subvendor = 0x0000,
5222 .subdevice = 0x4037,
5223 .driver_data = SAA7134_BOARD_BEHOLD_403FM,
5224 },{
5225 .vendor = PCI_VENDOR_ID_PHILIPS,
5226 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5227 .subvendor = 0x0000,
5228 .subdevice = 0x4050,
5229 .driver_data = SAA7134_BOARD_BEHOLD_405,
5230 },{
5231 .vendor = PCI_VENDOR_ID_PHILIPS,
5232 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5233 .subvendor = 0x0000,
5234 .subdevice = 0x4051,
5235 .driver_data = SAA7134_BOARD_BEHOLD_405FM,
5236 },{
5237 .vendor = PCI_VENDOR_ID_PHILIPS,
5238 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5239 .subvendor = 0x0000,
5240 .subdevice = 0x4070,
5241 .driver_data = SAA7134_BOARD_BEHOLD_407,
5242 },{
5243 .vendor = PCI_VENDOR_ID_PHILIPS,
5244 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5245 .subvendor = 0x0000,
5246 .subdevice = 0x4071,
5247 .driver_data = SAA7134_BOARD_BEHOLD_407FM,
5248 },{
5249 .vendor = PCI_VENDOR_ID_PHILIPS,
5250 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5251 .subvendor = 0x0000,
5252 .subdevice = 0x4090,
5253 .driver_data = SAA7134_BOARD_BEHOLD_409,
5254 },{
5255 .vendor = PCI_VENDOR_ID_PHILIPS,
5256 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5257 .subvendor = 0x0000,
5258 .subdevice = 0x5051,
5259 .driver_data = SAA7134_BOARD_BEHOLD_505FM,
5260 },{
5261 .vendor = PCI_VENDOR_ID_PHILIPS,
5262 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5263 .subvendor = 0x0000,
5264 .subdevice = 0x505B,
5265 .driver_data = SAA7134_BOARD_BEHOLD_505FM,
5266 },{
5267 .vendor = PCI_VENDOR_ID_PHILIPS,
5268 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5269 .subvendor = 0x5ace,
5270 .subdevice = 0x5050,
5271 .driver_data = SAA7134_BOARD_BEHOLD_505FM,
5272 },{
5273 .vendor = PCI_VENDOR_ID_PHILIPS,
5274 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5275 .subvendor = 0x0000,
5276 .subdevice = 0x5071,
5277 .driver_data = SAA7134_BOARD_BEHOLD_507_9FM,
5278 },{
5279 .vendor = PCI_VENDOR_ID_PHILIPS,
5280 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5281 .subvendor = 0x0000,
5282 .subdevice = 0x507B,
5283 .driver_data = SAA7134_BOARD_BEHOLD_507_9FM,
5284 },{
5285 .vendor = PCI_VENDOR_ID_PHILIPS,
5286 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5287 .subvendor = 0x5ace,
5288 .subdevice = 0x5070,
5289 .driver_data = SAA7134_BOARD_BEHOLD_507_9FM,
5290 },{
5291 .vendor = PCI_VENDOR_ID_PHILIPS,
5292 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5293 .subvendor = 0x5ace,
5294 .subdevice = 0x5090,
5295 .driver_data = SAA7134_BOARD_BEHOLD_507_9FM,
5296 },{
5297 .vendor = PCI_VENDOR_ID_PHILIPS,
5298 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5299 .subvendor = 0x0000,
5300 .subdevice = 0x5201,
5301 .driver_data = SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM,
5302 },{
5303 .vendor = PCI_VENDOR_ID_PHILIPS,
5304 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5305 .subvendor = 0x5ace,
5306 .subdevice = 0x6070,
5307 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5308 },{
5309 .vendor = PCI_VENDOR_ID_PHILIPS,
5310 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5311 .subvendor = 0x5ace,
5312 .subdevice = 0x6071,
5313 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5314 },{
5315 .vendor = PCI_VENDOR_ID_PHILIPS,
5316 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5317 .subvendor = 0x5ace,
5318 .subdevice = 0x6072,
5319 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5320 },{
5321 .vendor = PCI_VENDOR_ID_PHILIPS,
5322 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5323 .subvendor = 0x5ace,
5324 .subdevice = 0x6073,
5325 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5326 },{
5327 .vendor = PCI_VENDOR_ID_PHILIPS,
5328 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5329 .subvendor = 0x5ace,
5330 .subdevice = 0x6090,
5331 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5332 },{
5333 .vendor = PCI_VENDOR_ID_PHILIPS,
5334 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5335 .subvendor = 0x5ace,
5336 .subdevice = 0x6091,
5337 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5338 },{
5339 .vendor = PCI_VENDOR_ID_PHILIPS,
5340 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5341 .subvendor = 0x5ace,
5342 .subdevice = 0x6092,
5343 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5344 },{
5345 .vendor = PCI_VENDOR_ID_PHILIPS,
5346 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5347 .subvendor = 0x5ace,
5348 .subdevice = 0x6093,
5349 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5350 },{
5351 .vendor = PCI_VENDOR_ID_PHILIPS,
5352 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5353 .subvendor = 0x5ace,
5354 .subdevice = 0x6190,
5355 .driver_data = SAA7134_BOARD_BEHOLD_M6,
5356 },{
5357 .vendor = PCI_VENDOR_ID_PHILIPS,
5358 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5359 .subvendor = 0x5ace,
5360 .subdevice = 0x6193,
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03005361 .driver_data = SAA7134_BOARD_BEHOLD_M6_EXTRA,
Igor Kuznetsov5fe95e02008-04-26 14:59:08 -03005362 }, {
5363 .vendor = PCI_VENDOR_ID_PHILIPS,
5364 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5365 .subvendor = 0x5ace,
5366 .subdevice = 0x6191,
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03005367 .driver_data = SAA7134_BOARD_BEHOLD_M63,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03005368 },{
5369 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehab593f18c2007-10-07 02:17:09 -03005370 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5371 .subvendor = 0x4e42,
5372 .subdevice = 0x3502,
Hermann Pitton4ba24372008-01-20 19:27:51 -03005373 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
5374 }, {
5375 .vendor = PCI_VENDOR_ID_PHILIPS,
5376 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5377 .subvendor = 0x1822, /*Twinhan Technology Co. Ltd*/
5378 .subdevice = 0x0022,
5379 .driver_data = SAA7134_BOARD_TWINHAN_DTV_DVB_3056,
Hermann Pitton7b5b3f12008-04-22 14:42:12 -03005380 }, {
5381 .vendor = PCI_VENDOR_ID_PHILIPS,
5382 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5383 .subvendor = 0x16be,
5384 .subdevice = 0x0010, /* Medion version CTX953_V.1.4.3 */
5385 .driver_data = SAA7134_BOARD_CREATIX_CTX953,
Russell Kliese6a6179b62008-04-22 14:42:12 -03005386 }, {
5387 .vendor = PCI_VENDOR_ID_PHILIPS,
5388 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5389 .subvendor = 0x1462, /* MSI */
5390 .subdevice = 0x8625, /* TV@nywhere A/D v1.1 */
5391 .driver_data = SAA7134_BOARD_MSI_TVANYWHERE_AD11,
Mauro Carvalho Chehab593f18c2007-10-07 02:17:09 -03005392 },{
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03005393 .vendor = PCI_VENDOR_ID_PHILIPS,
5394 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5395 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5396 .subdevice = 0xf436,
5397 .driver_data = SAA7134_BOARD_AVERMEDIA_CARDBUS_506,
5398 }, {
5399 .vendor = PCI_VENDOR_ID_PHILIPS,
5400 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5401 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5402 .subdevice = 0xf936,
5403 .driver_data = SAA7134_BOARD_AVERMEDIA_A16D,
5404 }, {
5405 .vendor = PCI_VENDOR_ID_PHILIPS,
5406 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5407 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5408 .subdevice = 0xa836,
5409 .driver_data = SAA7134_BOARD_AVERMEDIA_M115,
5410 }, {
5411 .vendor = PCI_VENDOR_ID_PHILIPS,
5412 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5413 .subvendor = 0x185b,
5414 .subdevice = 0xc900,
5415 .driver_data = SAA7134_BOARD_VIDEOMATE_T750,
5416 }, {
Igor Kuznetsov02505272008-04-26 14:53:48 -03005417 .vendor = PCI_VENDOR_ID_PHILIPS,
5418 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Daniel Gimpelevichbfda3a02008-06-28 01:45:26 -03005419 .subvendor = 0x5169,
5420 .subdevice = 0x1502,
5421 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
5422 }, {
5423 .vendor = PCI_VENDOR_ID_PHILIPS,
5424 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Igor Kuznetsov02505272008-04-26 14:53:48 -03005425 .subvendor = 0x5ace,
5426 .subdevice = 0x6290,
5427 .driver_data = SAA7134_BOARD_BEHOLD_H6,
5428 }, {
Massimo Piccionie2fc00c2008-07-11 13:48:02 -03005429 .vendor = PCI_VENDOR_ID_PHILIPS,
5430 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5431 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5432 .subdevice = 0xf636,
5433 .driver_data = SAA7134_BOARD_AVERMEDIA_M103,
5434 }, {
Linus Torvalds1da177e2005-04-16 15:20:36 -07005435 /* --- boards without eeprom + subsystem ID --- */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005436 .vendor = PCI_VENDOR_ID_PHILIPS,
5437 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5438 .subvendor = PCI_VENDOR_ID_PHILIPS,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005439 .subdevice = 0,
5440 .driver_data = SAA7134_BOARD_NOAUTO,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005441 },{
5442 .vendor = PCI_VENDOR_ID_PHILIPS,
5443 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5444 .subvendor = PCI_VENDOR_ID_PHILIPS,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005445 .subdevice = 0,
5446 .driver_data = SAA7134_BOARD_NOAUTO,
5447 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005448 /* --- default catch --- */
5449 .vendor = PCI_VENDOR_ID_PHILIPS,
5450 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005451 .subvendor = PCI_ANY_ID,
5452 .subdevice = PCI_ANY_ID,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005453 .driver_data = SAA7134_BOARD_UNKNOWN,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005454 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005455 .vendor = PCI_VENDOR_ID_PHILIPS,
5456 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005457 .subvendor = PCI_ANY_ID,
5458 .subdevice = PCI_ANY_ID,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005459 .driver_data = SAA7134_BOARD_UNKNOWN,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005460 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005461 .vendor = PCI_VENDOR_ID_PHILIPS,
5462 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005463 .subvendor = PCI_ANY_ID,
5464 .subdevice = PCI_ANY_ID,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005465 .driver_data = SAA7134_BOARD_UNKNOWN,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005466 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005467 .vendor = PCI_VENDOR_ID_PHILIPS,
5468 .device = PCI_DEVICE_ID_PHILIPS_SAA7135,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005469 .subvendor = PCI_ANY_ID,
5470 .subdevice = PCI_ANY_ID,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005471 .driver_data = SAA7134_BOARD_UNKNOWN,
5472 },{
5473 /* --- end of list --- */
5474 }
5475};
5476MODULE_DEVICE_TABLE(pci, saa7134_pci_tbl);
5477
5478/* ----------------------------------------------------------- */
5479/* flyvideo tweaks */
5480
Linus Torvalds1da177e2005-04-16 15:20:36 -07005481
5482static void board_flyvideo(struct saa7134_dev *dev)
5483{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005484 printk("%s: there are different flyvideo cards with different tuners\n"
5485 "%s: out there, you might have to use the tuner=<nr> insmod\n"
5486 "%s: option to override the default value.\n",
5487 dev->name, dev->name, dev->name);
5488}
5489
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03005490static int saa7134_xc2028_callback(struct saa7134_dev *dev,
5491 int command, int arg)
5492{
5493 switch (command) {
5494 case XC2028_TUNER_RESET:
Tim Farrington6e501a32008-06-15 13:33:42 -03005495 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00008000, 0x00000000);
5496 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00008000, 0x00008000);
5497 switch (dev->board) {
5498 case SAA7134_BOARD_AVERMEDIA_CARDBUS_506:
Massimo Piccionie2fc00c2008-07-11 13:48:02 -03005499 case SAA7134_BOARD_AVERMEDIA_M103:
Tim Farrington6e501a32008-06-15 13:33:42 -03005500 saa7134_set_gpio(dev, 23, 0);
5501 msleep(10);
5502 saa7134_set_gpio(dev, 23, 1);
5503 break;
5504 case SAA7134_BOARD_AVERMEDIA_A16D:
5505 saa7134_set_gpio(dev, 21, 0);
5506 msleep(10);
5507 saa7134_set_gpio(dev, 21, 1);
5508 break;
5509 }
5510 return 0;
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03005511 }
5512 return -EINVAL;
5513}
5514
5515
5516static int saa7134_tda8290_callback(struct saa7134_dev *dev,
5517 int command, int arg)
5518{
5519 u8 sync_control;
5520
5521 switch (command) {
5522 case 0: /* switch LNA gain through GPIO 22*/
5523 saa7134_set_gpio(dev, 22, arg) ;
5524 break;
5525 case 1: /* vsync output at GPIO22. 50 / 60Hz */
5526 saa_andorb(SAA7134_VIDEO_PORT_CTRL3, 0x80, 0x80);
5527 saa_andorb(SAA7134_VIDEO_PORT_CTRL6, 0x0f, 0x03);
5528 if (arg == 1)
5529 sync_control = 11;
5530 else
5531 sync_control = 17;
5532 saa_writeb(SAA7134_VGATE_START, sync_control);
5533 saa_writeb(SAA7134_VGATE_STOP, sync_control + 1);
5534 saa_andorb(SAA7134_MISC_VGATE_MSB, 0x03, 0x00);
5535 break;
5536 default:
5537 return -EINVAL;
5538 }
5539
5540 return 0;
5541}
5542
5543int saa7134_tuner_callback(void *priv, int command, int arg)
5544{
Hartmut Hackmann0fea03f2008-04-22 14:46:10 -03005545 struct saa7134_dev *dev = priv;
Hartmut Hackmann7bff4b42008-04-22 14:46:08 -03005546 if (dev != NULL) {
5547 switch (dev->tuner_type) {
5548 case TUNER_PHILIPS_TDA8290:
5549 return saa7134_tda8290_callback(dev, command, arg);
5550 case TUNER_XC2028:
5551 return saa7134_xc2028_callback(dev, command, arg);
5552 }
Mauro Carvalho Chehab0be51b42008-04-22 14:46:10 -03005553 } else {
5554 printk(KERN_ERR "saa7134: Error - device struct undefined.\n");
5555 return -EINVAL;
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03005556 }
5557 return -EINVAL;
5558}
5559EXPORT_SYMBOL(saa7134_tuner_callback);
5560
Linus Torvalds1da177e2005-04-16 15:20:36 -07005561/* ----------------------------------------------------------- */
5562
Michael Krufky993efa72007-11-15 10:34:33 -03005563static void hauppauge_eeprom(struct saa7134_dev *dev, u8 *eeprom_data)
5564{
5565 struct tveeprom tv;
5566
5567 tveeprom_hauppauge_analog(&dev->i2c_client, &tv, eeprom_data);
5568
5569 /* Make sure we support the board model */
5570 switch (tv.model) {
5571 case 67019: /* WinTV-HVR1110 (Retail, IR Blaster, hybrid, FM, SVid/Comp, 3.5mm audio in) */
5572 case 67109: /* WinTV-HVR1000 (Retail, IR Receive, analog, no FM, SVid/Comp, 3.5mm audio in) */
5573 case 67559: /* WinTV-HVR1110 (OEM, no IR, hybrid, FM, SVid/Comp, RCA aud) */
5574 case 67569: /* WinTV-HVR1110 (OEM, no IR, hybrid, FM) */
5575 case 67579: /* WinTV-HVR1110 (OEM, no IR, hybrid, no FM) */
5576 case 67589: /* WinTV-HVR1110 (OEM, no IR, hybrid, no FM, SVid/Comp, RCA aud) */
5577 case 67599: /* WinTV-HVR1110 (OEM, no IR, hybrid, no FM, SVid/Comp, RCA aud) */
5578 break;
5579 default:
5580 printk(KERN_WARNING "%s: warning: "
5581 "unknown hauppauge model #%d\n", dev->name, tv.model);
5582 break;
5583 }
5584
5585 printk(KERN_INFO "%s: hauppauge eeprom: model=%d\n",
5586 dev->name, tv.model);
5587}
5588
5589/* ----------------------------------------------------------- */
5590
Linus Torvalds1da177e2005-04-16 15:20:36 -07005591int saa7134_board_init1(struct saa7134_dev *dev)
5592{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005593 /* Always print gpio, often manufacturers encode tuner type and other info. */
Linus Torvalds1da177e2005-04-16 15:20:36 -07005594 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0);
5595 dev->gpio_value = saa_readl(SAA7134_GPIO_GPSTATUS0 >> 2);
5596 printk(KERN_INFO "%s: board init: gpio is %x\n", dev->name, dev->gpio_value);
5597
5598 switch (dev->board) {
5599 case SAA7134_BOARD_FLYVIDEO2000:
5600 case SAA7134_BOARD_FLYVIDEO3000:
Zac Bowlingf49ba8d2006-06-19 19:49:20 -03005601 case SAA7134_BOARD_FLYVIDEO3000_NTSC:
Ricardo Cerqueiracb2444d2005-11-08 21:38:47 -08005602 dev->has_remote = SAA7134_REMOTE_GPIO;
Linus Torvalds1da177e2005-04-16 15:20:36 -07005603 board_flyvideo(dev);
5604 break;
Arnaud Patard6af90ab2005-11-08 21:36:55 -08005605 case SAA7134_BOARD_FLYTVPLATINUM_MINI2:
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005606 case SAA7134_BOARD_FLYTVPLATINUM_FM:
Linus Torvalds1da177e2005-04-16 15:20:36 -07005607 case SAA7134_BOARD_CINERGY400:
5608 case SAA7134_BOARD_CINERGY600:
5609 case SAA7134_BOARD_CINERGY600_MK3:
5610 case SAA7134_BOARD_ECS_TVP3XP:
5611 case SAA7134_BOARD_ECS_TVP3XP_4CB5:
Simon Farnsworthb39423a2007-05-01 10:01:20 -03005612 case SAA7134_BOARD_ECS_TVP3XP_4CB6:
Linus Torvalds1da177e2005-04-16 15:20:36 -07005613 case SAA7134_BOARD_MD2819:
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07005614 case SAA7134_BOARD_KWORLD_VSTREAM_XPERT:
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005615 case SAA7134_BOARD_KWORLD_XPERT:
Linus Torvalds1da177e2005-04-16 15:20:36 -07005616 case SAA7134_BOARD_AVERMEDIA_STUDIO_305:
5617 case SAA7134_BOARD_AVERMEDIA_305:
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07005618 case SAA7134_BOARD_AVERMEDIA_STUDIO_307:
Linus Torvalds1da177e2005-04-16 15:20:36 -07005619 case SAA7134_BOARD_AVERMEDIA_307:
Mikhail Fedotov3ac706d2006-10-06 20:23:47 -03005620 case SAA7134_BOARD_AVERMEDIA_STUDIO_507:
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07005621 case SAA7134_BOARD_AVERMEDIA_GO_007_FM:
pasky@ucw.cz450efcf2006-11-12 14:22:32 -03005622 case SAA7134_BOARD_AVERMEDIA_777:
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005623/* case SAA7134_BOARD_SABRENT_SBTTVFM: */ /* not finished yet */
Linus Torvalds1da177e2005-04-16 15:20:36 -07005624 case SAA7134_BOARD_VIDEOMATE_TV_PVR:
Nickolay V. Shmyrev2a9a9a82006-01-09 15:25:33 -02005625 case SAA7134_BOARD_VIDEOMATE_GOLD_PLUS:
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005626 case SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII:
Nickolay V. Shmyrevfea095f2005-11-08 21:36:47 -08005627 case SAA7134_BOARD_VIDEOMATE_DVBT_300:
Michael Krufkyafce8922005-11-08 21:36:57 -08005628 case SAA7134_BOARD_VIDEOMATE_DVBT_200:
Hartmut Hackmanncbb94522006-10-30 20:00:16 -03005629 case SAA7134_BOARD_VIDEOMATE_DVBT_200A:
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03005630 case SAA7134_BOARD_VIDEOMATE_T750:
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005631 case SAA7134_BOARD_MANLI_MTV001:
5632 case SAA7134_BOARD_MANLI_MTV002:
Nickolay V. Shmyreva8ff4172005-11-08 21:36:16 -08005633 case SAA7134_BOARD_BEHOLD_409FM:
Linus Torvalds1da177e2005-04-16 15:20:36 -07005634 case SAA7134_BOARD_AVACSSMARTTV:
Nickolay V. Shmyrev6b961442005-11-08 21:36:22 -08005635 case SAA7134_BOARD_GOTVIEW_7135:
James R. Webbdc2286c2005-11-08 21:37:00 -08005636 case SAA7134_BOARD_KWORLD_TERMINATOR:
Ricardo Cerqueira17ce1ff2005-11-08 21:38:47 -08005637 case SAA7134_BOARD_SEDNA_PC_TV_CARDBUS:
Giampiero Giancipoli3d8466e2006-02-07 06:49:09 -02005638 case SAA7134_BOARD_FLYDVBT_LR301:
Hermann Pitton91607232006-12-07 21:45:28 -03005639 case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
Hartmut Hackmannf3eec0c02007-03-14 20:33:55 -03005640 case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA:
Hermann Pitton0b17d0e2008-07-12 12:27:59 -03005641 case SAA7134_BOARD_ASUSTeK_P7131_ANALOG:
Rudo Thomasa8029172006-02-27 00:08:46 -03005642 case SAA7134_BOARD_FLYDVBTDUO:
Michal Majchrowiczb04c1ba2006-09-13 16:42:42 -03005643 case SAA7134_BOARD_PROTEUS_2309:
pasky@ucw.cz29e0f1a2006-11-12 14:23:32 -03005644 case SAA7134_BOARD_AVERMEDIA_A16AR:
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03005645 case SAA7134_BOARD_ENCORE_ENLTV:
5646 case SAA7134_BOARD_ENCORE_ENLTV_FM:
Tony Wan480f75a2007-05-11 11:33:50 -03005647 case SAA7134_BOARD_10MOONSTVMASTER3:
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03005648 case SAA7134_BOARD_BEHOLD_401:
5649 case SAA7134_BOARD_BEHOLD_403:
5650 case SAA7134_BOARD_BEHOLD_403FM:
5651 case SAA7134_BOARD_BEHOLD_405:
5652 case SAA7134_BOARD_BEHOLD_405FM:
5653 case SAA7134_BOARD_BEHOLD_407:
5654 case SAA7134_BOARD_BEHOLD_407FM:
5655 case SAA7134_BOARD_BEHOLD_409:
5656 case SAA7134_BOARD_BEHOLD_505FM:
5657 case SAA7134_BOARD_BEHOLD_507_9FM:
Adrian Pardinif0ba3562008-02-11 12:40:53 -03005658 case SAA7134_BOARD_GENIUS_TVGO_A11MCE:
Ricardo Cerqueiracb2444d2005-11-08 21:38:47 -08005659 dev->has_remote = SAA7134_REMOTE_GPIO;
Linus Torvalds1da177e2005-04-16 15:20:36 -07005660 break;
Igor M. Liplianine2ac28f2006-08-08 09:10:10 -03005661 case SAA7134_BOARD_FLYDVBS_LR300:
5662 saa_writeb(SAA7134_GPIO_GPMODE3, 0x80);
5663 saa_writeb(SAA7134_GPIO_GPSTATUS2, 0x40);
5664 dev->has_remote = SAA7134_REMOTE_GPIO;
5665 break;
Linus Torvalds1da177e2005-04-16 15:20:36 -07005666 case SAA7134_BOARD_MD5044:
5667 printk("%s: seems there are two different versions of the MD5044\n"
Michael Krufkyfd2f2672006-03-11 16:21:36 -03005668 "%s: (with the same ID) out there. If sound doesn't work for\n"
5669 "%s: you try the audio_clock_override=0x200000 insmod option.\n",
5670 dev->name,dev->name,dev->name);
Linus Torvalds1da177e2005-04-16 15:20:36 -07005671 break;
5672 case SAA7134_BOARD_CINERGY400_CARDBUS:
5673 /* power-up tuner chip */
5674 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000);
5675 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000000);
Mikhail Gusarov7bbbc0a2006-04-20 13:18:50 -03005676 break;
Hartmut Hackmanndf8cf702006-03-03 12:09:26 -03005677 case SAA7134_BOARD_PINNACLE_300I_DVBT_PAL:
5678 /* this turns the remote control chip off to work around a bug in it */
5679 saa_writeb(SAA7134_GPIO_GPMODE1, 0x80);
5680 saa_writeb(SAA7134_GPIO_GPSTATUS1, 0x80);
5681 break;
Pieter Palmerscf1c5d12005-11-08 21:37:40 -08005682 case SAA7134_BOARD_MONSTERTV_MOBILE:
5683 /* power-up tuner chip */
5684 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000);
5685 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000004);
Linus Torvalds1da177e2005-04-16 15:20:36 -07005686 break;
Peter Missel10b7a902006-01-23 17:11:06 -02005687 case SAA7134_BOARD_FLYDVBT_DUO_CARDBUS:
Nickolay V. Shmyrev6b961442005-11-08 21:36:22 -08005688 /* turn the fan on */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005689 saa_writeb(SAA7134_GPIO_GPMODE3, 0x08);
5690 saa_writeb(SAA7134_GPIO_GPSTATUS3, 0x06);
5691 break;
Hartmut Hackmanndf42eaf2006-02-07 06:49:10 -02005692 case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331:
Hartmut Hackmannd95b8942006-03-27 19:39:30 -03005693 case SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS:
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03005694 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x08000000, 0x08000000);
5695 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x08000000, 0x00000000);
Hartmut Hackmanndf42eaf2006-02-07 06:49:10 -02005696 break;
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005697 case SAA7134_BOARD_AVERMEDIA_CARDBUS:
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03005698 case SAA7134_BOARD_AVERMEDIA_M115:
Mauro Carvalho Chehab95a2fdb2008-03-28 17:52:44 -03005699 /* power-down tuner chip */
5700 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0xffffffff, 0);
5701 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0);
5702 msleep(10);
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005703 /* power-up tuner chip */
5704 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0xffffffff, 0xffffffff);
5705 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0xffffffff);
Mauro Carvalho Chehab95a2fdb2008-03-28 17:52:44 -03005706 msleep(10);
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005707 break;
Tim Farrington6e501a32008-06-15 13:33:42 -03005708 case SAA7134_BOARD_AVERMEDIA_CARDBUS_506:
Massimo Piccionie2fc00c2008-07-11 13:48:02 -03005709 case SAA7134_BOARD_AVERMEDIA_M103:
Tim Farrington6e501a32008-06-15 13:33:42 -03005710 saa7134_set_gpio(dev, 23, 0);
5711 msleep(10);
5712 saa7134_set_gpio(dev, 23, 1);
5713 break;
5714 case SAA7134_BOARD_AVERMEDIA_A16D:
5715 saa7134_set_gpio(dev, 21, 0);
5716 msleep(10);
5717 saa7134_set_gpio(dev, 21, 1);
5718 msleep(1);
5719 dev->has_remote = SAA7134_REMOTE_GPIO;
5720 break;
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03005721 case SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM:
5722 /* power-down tuner chip */
5723 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x000A8004, 0x000A8004);
5724 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x000A8004, 0);
5725 msleep(10);
5726 /* power-up tuner chip */
5727 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x000A8004, 0x000A8004);
5728 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x000A8004, 0x000A8004);
5729 msleep(10);
5730 /* remote via GPIO */
5731 dev->has_remote = SAA7134_REMOTE_GPIO;
5732 break;
Nickolay V. Shmyrevbb881f12005-11-08 21:36:35 -08005733 case SAA7134_BOARD_RTD_VFG7350:
5734
5735 /*
5736 * Make sure Production Test Register at offset 0x1D1 is cleared
5737 * to take chip out of test mode. Clearing bit 4 (TST_EN_AOUT)
5738 * prevents pin 105 from remaining low; keeping pin 105 low
5739 * continually resets the SAA6752 chip.
5740 */
5741
5742 saa_writeb (SAA7134_PRODUCTION_TEST_MODE, 0x00);
5743 break;
Ricardo Cerqueiracb2444d2005-11-08 21:38:47 -08005744 /* i2c remotes */
5745 case SAA7134_BOARD_PINNACLE_PCTV_110i:
Hartmut Hackmann587d2fd2006-10-06 19:13:50 -03005746 case SAA7134_BOARD_PINNACLE_PCTV_310i:
Ricardo Cerqueiracb2444d2005-11-08 21:38:47 -08005747 case SAA7134_BOARD_UPMOST_PURPLE_TV:
Thomas Genty177aaaf2006-11-29 21:57:24 -03005748 case SAA7134_BOARD_HAUPPAUGE_HVR1110:
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03005749 case SAA7134_BOARD_BEHOLD_607_9FM:
5750 case SAA7134_BOARD_BEHOLD_M6:
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03005751 case SAA7134_BOARD_BEHOLD_M63:
5752 case SAA7134_BOARD_BEHOLD_M6_EXTRA:
Ricardo Cerqueiracb2444d2005-11-08 21:38:47 -08005753 dev->has_remote = SAA7134_REMOTE_I2C;
5754 break;
Rickard Osser68593af2006-03-11 17:14:12 -03005755 case SAA7134_BOARD_AVERMEDIA_A169_B:
Michael Krufky12a219d2006-03-14 16:07:42 -03005756 printk("%s: %s: dual saa713x broadcast decoders\n"
Rickard Osser68593af2006-03-11 17:14:12 -03005757 "%s: Sorry, none of the inputs to this chip are supported yet.\n"
5758 "%s: Dual decoder functionality is disabled for now, use the other chip.\n",
Michael Krufky12a219d2006-03-14 16:07:42 -03005759 dev->name,card(dev).name,dev->name,dev->name);
Rickard Osser68593af2006-03-11 17:14:12 -03005760 break;
Markus Rechbergere95d3172007-04-27 12:31:19 -03005761 case SAA7134_BOARD_AVERMEDIA_M102:
5762 /* enable tuner */
Albert Grahamd2761f22007-12-09 09:44:38 -03005763 dev->has_remote = SAA7134_REMOTE_GPIO;
Markus Rechbergere95d3172007-04-27 12:31:19 -03005764 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x8c040007, 0x8c040007);
5765 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x0c0007cd, 0x0c0007cd);
5766 break;
Matthias Schwarzottfc9d8ed2008-04-08 21:45:08 -03005767 case SAA7134_BOARD_AVERMEDIA_A700_PRO:
5768 case SAA7134_BOARD_AVERMEDIA_A700_HYBRID:
5769 /* write windows gpio values */
5770 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x80040100, 0x80040100);
5771 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x80040100, 0x00040100);
5772 printk("%s: %s: hybrid analog/dvb card\n"
Matthias Schwarzottb25fed12008-06-13 19:28:17 -03005773 "%s: Sorry, only analog s-video and composite input "
5774 "are supported for now.\n",
Matthias Schwarzottfc9d8ed2008-04-08 21:45:08 -03005775 dev->name, card(dev).name, dev->name);
5776 break;
Linus Torvalds1da177e2005-04-16 15:20:36 -07005777 }
Linus Torvalds1da177e2005-04-16 15:20:36 -07005778 return 0;
5779}
5780
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03005781static void saa7134_tuner_setup(struct saa7134_dev *dev)
5782{
5783 struct tuner_setup tun_setup;
5784 unsigned int mode_mask = T_RADIO |
5785 T_ANALOG_TV |
5786 T_DIGITAL_TV;
5787
5788 memset(&tun_setup, 0, sizeof(tun_setup));
5789 tun_setup.tuner_callback = saa7134_tuner_callback;
5790
5791 if (saa7134_boards[dev->board].radio_type != UNSET) {
5792 tun_setup.type = saa7134_boards[dev->board].radio_type;
5793 tun_setup.addr = saa7134_boards[dev->board].radio_addr;
5794
5795 tun_setup.mode_mask = T_RADIO;
5796
5797 saa7134_i2c_call_clients(dev, TUNER_SET_TYPE_ADDR, &tun_setup);
5798 mode_mask &= ~T_RADIO;
5799 }
5800
5801 if ((dev->tuner_type != TUNER_ABSENT) && (dev->tuner_type != UNSET)) {
5802 tun_setup.type = dev->tuner_type;
5803 tun_setup.addr = dev->tuner_addr;
5804 tun_setup.config = saa7134_boards[dev->board].tuner_config;
5805 tun_setup.tuner_callback = saa7134_tuner_callback;
5806
5807 tun_setup.mode_mask = mode_mask;
5808
5809 saa7134_i2c_call_clients(dev, TUNER_SET_TYPE_ADDR, &tun_setup);
5810 }
5811
5812 if (dev->tda9887_conf) {
5813 struct v4l2_priv_tun_config tda9887_cfg;
5814
5815 tda9887_cfg.tuner = TUNER_TDA9887;
5816 tda9887_cfg.priv = &dev->tda9887_conf;
5817
5818 saa7134_i2c_call_clients(dev, TUNER_SET_CONFIG,
5819 &tda9887_cfg);
5820 }
5821
5822 if (dev->tuner_type == TUNER_XC2028) {
5823 struct v4l2_priv_tun_config xc2028_cfg;
5824 struct xc2028_ctrl ctl;
5825
5826 memset(&xc2028_cfg, 0, sizeof(ctl));
5827 memset(&ctl, 0, sizeof(ctl));
5828
5829 ctl.fname = XC2028_DEFAULT_FIRMWARE;
5830 ctl.max_len = 64;
5831
5832 switch (dev->board) {
5833 case SAA7134_BOARD_AVERMEDIA_A16D:
Tim Farrington6e501a32008-06-15 13:33:42 -03005834 case SAA7134_BOARD_AVERMEDIA_CARDBUS_506:
Massimo Piccionie2fc00c2008-07-11 13:48:02 -03005835 case SAA7134_BOARD_AVERMEDIA_M103:
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03005836 ctl.demod = XC3028_FE_ZARLINK456;
5837 break;
5838 default:
5839 ctl.demod = XC3028_FE_OREN538;
5840 ctl.mts = 1;
5841 }
5842
5843 xc2028_cfg.tuner = TUNER_XC2028;
5844 xc2028_cfg.priv = &ctl;
5845
5846 saa7134_i2c_call_clients(dev, TUNER_SET_CONFIG, &xc2028_cfg);
5847 }
5848}
5849
Linus Torvalds1da177e2005-04-16 15:20:36 -07005850/* stuff which needs working i2c */
5851int saa7134_board_init2(struct saa7134_dev *dev)
5852{
5853 unsigned char buf;
5854 int board;
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03005855
5856 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
5857 dev->tuner_addr = saa7134_boards[dev->board].tuner_addr;
Linus Torvalds1da177e2005-04-16 15:20:36 -07005858
5859 switch (dev->board) {
5860 case SAA7134_BOARD_BMK_MPEX_NOTUNER:
5861 case SAA7134_BOARD_BMK_MPEX_TUNER:
5862 dev->i2c_client.addr = 0x60;
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03005863 board = (i2c_master_recv(&dev->i2c_client, &buf, 0) < 0)
Linus Torvalds1da177e2005-04-16 15:20:36 -07005864 ? SAA7134_BOARD_BMK_MPEX_NOTUNER
5865 : SAA7134_BOARD_BMK_MPEX_TUNER;
5866 if (board == dev->board)
5867 break;
5868 dev->board = board;
5869 printk("%s: board type fixup: %s\n", dev->name,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005870 saa7134_boards[dev->board].name);
Linus Torvalds1da177e2005-04-16 15:20:36 -07005871 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005872
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005873 break;
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08005874 case SAA7134_BOARD_MD7134:
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03005875 {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005876 u8 subaddr;
5877 u8 data[3];
5878 int ret, tuner_t;
5879
5880 struct i2c_msg msg[] = {{.addr=0x50, .flags=0, .buf=&subaddr, .len = 1},
5881 {.addr=0x50, .flags=I2C_M_RD, .buf=data, .len = 3}};
5882 subaddr= 0x14;
5883 tuner_t = 0;
5884 ret = i2c_transfer(&dev->i2c_adap, msg, 2);
5885 if (ret != 2) {
5886 printk(KERN_ERR "EEPROM read failure\n");
5887 } else if ((data[0] != 0) && (data[0] != 0xff)) {
5888 /* old config structure */
5889 subaddr = data[0] + 2;
5890 msg[1].len = 2;
5891 i2c_transfer(&dev->i2c_adap, msg, 2);
5892 tuner_t = (data[0] << 8) + data[1];
5893 switch (tuner_t){
5894 case 0x0103:
5895 dev->tuner_type = TUNER_PHILIPS_PAL;
5896 break;
5897 case 0x010C:
5898 dev->tuner_type = TUNER_PHILIPS_FM1216ME_MK3;
5899 break;
5900 default:
5901 printk(KERN_ERR "%s Cant determine tuner type %x from EEPROM\n", dev->name, tuner_t);
5902 }
5903 } else if ((data[1] != 0) && (data[1] != 0xff)) {
5904 /* new config structure */
5905 subaddr = data[1] + 1;
5906 msg[1].len = 1;
5907 i2c_transfer(&dev->i2c_adap, msg, 2);
5908 subaddr = data[0] + 1;
5909 msg[1].len = 2;
5910 i2c_transfer(&dev->i2c_adap, msg, 2);
5911 tuner_t = (data[1] << 8) + data[0];
5912 switch (tuner_t) {
5913 case 0x0005:
5914 dev->tuner_type = TUNER_PHILIPS_FM1216ME_MK3;
5915 break;
5916 case 0x001d:
5917 dev->tuner_type = TUNER_PHILIPS_FMD1216ME_MK3;
5918 printk(KERN_INFO "%s Board has DVB-T\n", dev->name);
5919 break;
5920 default:
5921 printk(KERN_ERR "%s Cant determine tuner type %x from EEPROM\n", dev->name, tuner_t);
5922 }
5923 } else {
5924 printk(KERN_ERR "%s unexpected config structure\n", dev->name);
5925 }
5926
5927 printk(KERN_INFO "%s Tuner type is %d\n", dev->name, dev->tuner_type);
Linus Torvalds1da177e2005-04-16 15:20:36 -07005928 break;
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03005929 }
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08005930 case SAA7134_BOARD_PHILIPS_EUROPA:
Hartmut Hackmann6ab465a2008-04-22 14:42:11 -03005931 if (dev->autodetected && (dev->eedata[0x41] == 0x1c)) {
5932 /* Reconfigure board as Snake reference design */
5933 dev->board = SAA7134_BOARD_PHILIPS_SNAKE;
5934 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
5935 printk(KERN_INFO "%s: Reconfigured board as %s\n",
5936 dev->name, saa7134_boards[dev->board].name);
5937 break;
5938 }
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08005939 case SAA7134_BOARD_VIDEOMATE_DVBT_300:
Hartmut Hackmanncf146ca2006-10-02 20:49:24 -03005940 case SAA7134_BOARD_ASUS_EUROPA2_HYBRID:
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03005941 {
5942
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08005943 /* The Philips EUROPA based hybrid boards have the tuner connected through
5944 * the channel decoder. We have to make it transparent to find it
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08005945 */
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08005946 u8 data[] = { 0x07, 0x02};
5947 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
5948 i2c_transfer(&dev->i2c_adap, &msg, 1);
5949
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08005950 break;
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03005951 }
Hartmut Hackmann90e9df72005-11-08 21:38:42 -08005952 case SAA7134_BOARD_PHILIPS_TIGER:
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03005953 case SAA7134_BOARD_PHILIPS_TIGER_S:
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03005954 {
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03005955 u8 data[] = { 0x3c, 0x33, 0x60};
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03005956 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03005957 if (dev->autodetected && (dev->eedata[0x49] == 0x50)) {
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03005958 dev->board = SAA7134_BOARD_PHILIPS_TIGER_S;
5959 printk(KERN_INFO "%s: Reconfigured board as %s\n",
5960 dev->name, saa7134_boards[dev->board].name);
5961 }
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03005962 if (dev->board == SAA7134_BOARD_PHILIPS_TIGER_S) {
5963 dev->tuner_type = TUNER_PHILIPS_TDA8290;
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03005964
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03005965 saa7134_tuner_setup(dev);
5966
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03005967 data[2] = 0x68;
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03005968 i2c_transfer(&dev->i2c_adap, &msg, 1);
5969
5970 /* Tuner setup is handled before I2C transfer.
5971 Due to that, there's no need to do it later
5972 */
5973 return 0;
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03005974 }
5975 i2c_transfer(&dev->i2c_adap, &msg, 1);
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03005976 break;
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03005977 }
Hermann Pitton0b17d0e2008-07-12 12:27:59 -03005978 case SAA7134_BOARD_ASUSTeK_TVFM7135:
5979 /* The card below is detected as card=53, but is different */
5980 if (dev->autodetected && (dev->eedata[0x27] == 0x03)) {
5981 dev->board = SAA7134_BOARD_ASUSTeK_P7131_ANALOG;
5982 printk(KERN_INFO "%s: P7131 analog only, using "
5983 "entry of %s\n",
5984 dev->name, saa7134_boards[dev->board].name);
5985 }
5986 break;
Michael Krufky993efa72007-11-15 10:34:33 -03005987 case SAA7134_BOARD_HAUPPAUGE_HVR1110:
5988 hauppauge_eeprom(dev, dev->eedata+0x80);
5989 /* break intentionally omitted */
Hartmut Hackmann587d2fd2006-10-06 19:13:50 -03005990 case SAA7134_BOARD_PINNACLE_PCTV_310i:
Simon Farnsworthb39423a2007-05-01 10:01:20 -03005991 case SAA7134_BOARD_KWORLD_DVBT_210:
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02005992 case SAA7134_BOARD_TEVION_DVBT_220RF:
Hartmut Hackmannd4b0aba2005-11-08 21:38:44 -08005993 case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
Hartmut Hackmannf3eec0c02007-03-14 20:33:55 -03005994 case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA:
Hartmut Hackmann5eda2272006-08-07 14:03:32 -03005995 case SAA7134_BOARD_MEDION_MD8800_QUADRO:
Hermann Pitton4ba24372008-01-20 19:27:51 -03005996 case SAA7134_BOARD_AVERMEDIA_SUPER_007:
5997 case SAA7134_BOARD_TWINHAN_DTV_DVB_3056:
Hermann Pitton7b5b3f12008-04-22 14:42:12 -03005998 case SAA7134_BOARD_CREATIX_CTX953:
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03005999 {
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02006000 /* this is a hybrid board, initialize to analog mode
6001 * and configure firmware eeprom address
6002 */
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03006003 u8 data[] = { 0x3c, 0x33, 0x60};
Hartmut Hackmann90e9df72005-11-08 21:38:42 -08006004 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
6005 i2c_transfer(&dev->i2c_adap, &msg, 1);
Hartmut Hackmann90e9df72005-11-08 21:38:42 -08006006 break;
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006007 }
Nico Sabbi420f32f2006-03-03 12:11:28 -03006008 case SAA7134_BOARD_FLYDVB_TRIO:
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006009 {
Hartmut Hackmann293cdab2006-02-27 21:08:07 -03006010 u8 data[] = { 0x3c, 0x33, 0x62};
6011 struct i2c_msg msg = {.addr=0x09, .flags=0, .buf=data, .len = sizeof(data)};
6012 i2c_transfer(&dev->i2c_adap, &msg, 1);
Hartmut Hackmann293cdab2006-02-27 21:08:07 -03006013 break;
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006014 }
Hartmut Hackmanndf42eaf2006-02-07 06:49:10 -02006015 case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331:
Hartmut Hackmannd95b8942006-03-27 19:39:30 -03006016 case SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS:
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006017 {
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03006018 /* initialize analog mode */
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03006019 u8 data[] = { 0x3c, 0x33, 0x6a};
Hartmut Hackmanndf42eaf2006-02-07 06:49:10 -02006020 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
6021 i2c_transfer(&dev->i2c_adap, &msg, 1);
Hartmut Hackmanndf42eaf2006-02-07 06:49:10 -02006022 break;
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006023 }
Hartmut Hackmann550a9a52006-11-15 21:31:54 -03006024 case SAA7134_BOARD_CINERGY_HT_PCMCIA:
Michael Krufky9de271e2007-01-16 18:36:40 -03006025 case SAA7134_BOARD_CINERGY_HT_PCI:
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006026 {
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03006027 /* initialize analog mode */
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03006028 u8 data[] = { 0x3c, 0x33, 0x68};
Hartmut Hackmann550a9a52006-11-15 21:31:54 -03006029 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
6030 i2c_transfer(&dev->i2c_adap, &msg, 1);
Hartmut Hackmann550a9a52006-11-15 21:31:54 -03006031 break;
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006032 }
Curt Meyers20b5ee52006-02-27 00:08:39 -03006033 case SAA7134_BOARD_KWORLD_ATSC110:
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006034 {
6035 /* enable tuner */
6036 int i;
6037 static const u8 buffer [] = { 0x10, 0x12, 0x13, 0x04, 0x16,
6038 0x00, 0x14, 0x04, 0x17, 0x00 };
6039 dev->i2c_client.addr = 0x0a;
6040 for (i = 0; i < 5; i++)
6041 if (2 != i2c_master_send(&dev->i2c_client,
6042 &buffer[i*2], 2))
6043 printk(KERN_WARNING
6044 "%s: Unable to enable tuner(%i).\n",
6045 dev->name, i);
Curt Meyers20b5ee52006-02-27 00:08:39 -03006046 break;
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006047 }
Hartmut Hackmanncbb94522006-10-30 20:00:16 -03006048 case SAA7134_BOARD_VIDEOMATE_DVBT_200:
6049 case SAA7134_BOARD_VIDEOMATE_DVBT_200A:
6050 /* The T200 and the T200A share the same pci id. Consequently,
6051 * we are going to query eeprom to try to find out which one we
6052 * are actually looking at. */
6053
6054 /* Don't do this if the board was specifically selected with an
6055 * insmod option or if we have the default configuration T200*/
6056 if(!dev->autodetected || (dev->eedata[0x41] == 0xd0))
6057 break;
6058 if(dev->eedata[0x41] == 0x02) {
6059 /* Reconfigure board as T200A */
6060 dev->board = SAA7134_BOARD_VIDEOMATE_DVBT_200A;
6061 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
6062 dev->tda9887_conf = saa7134_boards[dev->board].tda9887_conf;
6063 printk(KERN_INFO "%s: Reconfigured board as %s\n",
6064 dev->name, saa7134_boards[dev->board].name);
6065 } else {
6066 printk(KERN_WARNING "%s: Unexpected tuner type info: %x in eeprom\n",
6067 dev->name, dev->eedata[0x41]);
6068 break;
6069 }
6070 break;
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03006071 case SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM:
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006072 {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03006073 struct v4l2_priv_tun_config tea5767_cfg;
6074 struct tea5767_ctrl ctl;
6075
6076 dev->i2c_client.addr = 0xC0;
6077 /* set TEA5767(analog FM) defines */
6078 memset(&ctl, 0, sizeof(ctl));
6079 ctl.xtal_freq = TEA5767_HIGH_LO_13MHz;
6080 tea5767_cfg.tuner = TUNER_TEA5767;
6081 tea5767_cfg.priv = &ctl;
6082 saa7134_i2c_call_clients(dev, TUNER_SET_CONFIG, &tea5767_cfg);
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03006083 break;
Linus Torvalds1da177e2005-04-16 15:20:36 -07006084 }
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006085 } /* switch() */
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03006086
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006087 saa7134_tuner_setup(dev);
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03006088
Linus Torvalds1da177e2005-04-16 15:20:36 -07006089 return 0;
6090}