blob: 60e74ad59679df5f6f5d9a0679e081fe91d0c71b [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"
Michael Krufkyf9996c92009-02-28 17:45:17 -030034#include "tda18271.h"
Linus Torvalds1da177e2005-04-16 15:20:36 -070035
36/* commly used strings */
37static char name_mute[] = "mute";
38static char name_radio[] = "Radio";
39static char name_tv[] = "Television";
40static char name_tv_mono[] = "TV (mono only)";
Stas Sergeevf438d972007-09-17 15:34:09 -030041static char name_comp[] = "Composite";
Linus Torvalds1da177e2005-04-16 15:20:36 -070042static char name_comp1[] = "Composite1";
43static char name_comp2[] = "Composite2";
44static char name_comp3[] = "Composite3";
45static char name_comp4[] = "Composite4";
46static char name_svideo[] = "S-Video";
47
48/* ------------------------------------------------------------------ */
49/* board config info */
50
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -030051/* If radio_type !=UNSET, radio_addr should be specified
52 */
53
Linus Torvalds1da177e2005-04-16 15:20:36 -070054struct saa7134_board saa7134_boards[] = {
55 [SAA7134_BOARD_UNKNOWN] = {
56 .name = "UNKNOWN/GENERIC",
57 .audio_clock = 0x00187de7,
58 .tuner_type = TUNER_ABSENT,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -070059 .radio_type = UNSET,
60 .tuner_addr = ADDR_UNSET,
61 .radio_addr = ADDR_UNSET,
62
Linus Torvalds1da177e2005-04-16 15:20:36 -070063 .inputs = {{
64 .name = "default",
65 .vmux = 0,
66 .amux = LINE1,
67 }},
68 },
69 [SAA7134_BOARD_PROTEUS_PRO] = {
70 /* /me */
71 .name = "Proteus Pro [philips reference design]",
72 .audio_clock = 0x00187de7,
73 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -070074 .radio_type = UNSET,
75 .tuner_addr = ADDR_UNSET,
76 .radio_addr = ADDR_UNSET,
77
Linus Torvalds1da177e2005-04-16 15:20:36 -070078 .inputs = {{
79 .name = name_comp1,
80 .vmux = 0,
81 .amux = LINE1,
82 },{
83 .name = name_tv,
84 .vmux = 1,
85 .amux = TV,
86 .tv = 1,
87 },{
88 .name = name_tv_mono,
89 .vmux = 1,
90 .amux = LINE2,
91 .tv = 1,
92 }},
93 .radio = {
94 .name = name_radio,
95 .amux = LINE2,
96 },
97 },
98 [SAA7134_BOARD_FLYVIDEO3000] = {
99 /* "Marco d'Itri" <md@Linux.IT> */
100 .name = "LifeView FlyVIDEO3000",
101 .audio_clock = 0x00200000,
102 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700103 .radio_type = UNSET,
104 .tuner_addr = ADDR_UNSET,
105 .radio_addr = ADDR_UNSET,
106
Linus Torvalds1da177e2005-04-16 15:20:36 -0700107 .gpiomask = 0xe000,
108 .inputs = {{
109 .name = name_tv,
110 .vmux = 1,
111 .amux = TV,
112 .gpio = 0x8000,
113 .tv = 1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700114 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -0700115 .name = name_tv_mono,
116 .vmux = 1,
117 .amux = LINE2,
118 .gpio = 0x0000,
119 .tv = 1,
120 },{
121 .name = name_comp1,
122 .vmux = 0,
123 .amux = LINE2,
124 .gpio = 0x4000,
125 },{
126 .name = name_comp2,
127 .vmux = 3,
128 .amux = LINE2,
129 .gpio = 0x4000,
130 },{
131 .name = name_svideo,
132 .vmux = 8,
133 .amux = LINE2,
134 .gpio = 0x4000,
135 }},
136 .radio = {
137 .name = name_radio,
138 .amux = LINE2,
139 .gpio = 0x2000,
140 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700141 .mute = {
142 .name = name_mute,
143 .amux = TV,
144 .gpio = 0x8000,
145 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700146 },
147 [SAA7134_BOARD_FLYVIDEO2000] = {
148 /* "TC Wan" <tcwan@cs.usm.my> */
Peter Missel10b7a902006-01-23 17:11:06 -0200149 .name = "LifeView/Typhoon FlyVIDEO2000",
Linus Torvalds1da177e2005-04-16 15:20:36 -0700150 .audio_clock = 0x00200000,
151 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700152 .radio_type = UNSET,
153 .tuner_addr = ADDR_UNSET,
154 .radio_addr = ADDR_UNSET,
155
Linus Torvalds1da177e2005-04-16 15:20:36 -0700156 .gpiomask = 0xe000,
157 .inputs = {{
158 .name = name_tv,
159 .vmux = 1,
160 .amux = LINE2,
161 .gpio = 0x0000,
162 .tv = 1,
163 },{
164 .name = name_comp1,
165 .vmux = 0,
166 .amux = LINE2,
167 .gpio = 0x4000,
168 },{
169 .name = name_comp2,
170 .vmux = 3,
171 .amux = LINE2,
172 .gpio = 0x4000,
173 },{
174 .name = name_svideo,
175 .vmux = 8,
176 .amux = LINE2,
177 .gpio = 0x4000,
178 }},
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700179 .radio = {
180 .name = name_radio,
181 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700182 .gpio = 0x2000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700183 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700184 .mute = {
185 .name = name_mute,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700186 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700187 .gpio = 0x8000,
188 },
189 },
190 [SAA7134_BOARD_FLYTVPLATINUM_MINI] = {
191 /* "Arnaud Quette" <aquette@free.fr> */
192 .name = "LifeView FlyTV Platinum Mini",
193 .audio_clock = 0x00200000,
194 .tuner_type = TUNER_PHILIPS_TDA8290,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700195 .radio_type = UNSET,
196 .tuner_addr = ADDR_UNSET,
197 .radio_addr = ADDR_UNSET,
198
Linus Torvalds1da177e2005-04-16 15:20:36 -0700199 .inputs = {{
200 .name = name_tv,
201 .vmux = 1,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -0700202 .amux = TV,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700203 .tv = 1,
204 },{
Glen Gray2d14f782005-11-08 21:36:12 -0800205 .name = name_comp1, /* Composite signal on S-Video input */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700206 .vmux = 0,
207 .amux = LINE2,
208 },{
Glen Gray2d14f782005-11-08 21:36:12 -0800209 .name = name_comp2, /* Composite input */
210 .vmux = 3,
211 .amux = LINE2,
212 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -0700213 .name = name_svideo,
214 .vmux = 8,
215 .amux = LINE2,
216 }},
217 },
218 [SAA7134_BOARD_FLYTVPLATINUM_FM] = {
219 /* LifeView FlyTV Platinum FM (LR214WF) */
220 /* "Peter Missel <peter.missel@onlinehome.de> */
Hartmut Hackmann42e6b3b2006-03-27 19:04:48 -0300221 .name = "LifeView FlyTV Platinum FM / Gold",
Linus Torvalds1da177e2005-04-16 15:20:36 -0700222 .audio_clock = 0x00200000,
223 .tuner_type = TUNER_PHILIPS_TDA8290,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700224 .radio_type = UNSET,
225 .tuner_addr = ADDR_UNSET,
226 .radio_addr = ADDR_UNSET,
227
Peter Missel6c9e7372005-05-01 08:59:05 -0700228 .gpiomask = 0x1E000, /* Set GP16 and unused 15,14,13 to Output */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700229 .inputs = {{
230 .name = name_tv,
231 .vmux = 1,
232 .amux = TV,
Peter Missel6c9e7372005-05-01 08:59:05 -0700233 .gpio = 0x10000, /* GP16=1 selects TV input */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700234 .tv = 1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700235 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -0700236/* .name = name_tv_mono,
237 .vmux = 1,
238 .amux = LINE2,
239 .gpio = 0x0000,
240 .tv = 1,
241 },{
242*/ .name = name_comp1, /* Composite signal on S-Video input */
243 .vmux = 0,
244 .amux = LINE2,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700245/* .gpio = 0x4000, */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700246 },{
247 .name = name_comp2, /* Composite input */
248 .vmux = 3,
249 .amux = LINE2,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700250/* .gpio = 0x4000, */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700251 },{
252 .name = name_svideo, /* S-Video signal on S-Video input */
253 .vmux = 8,
254 .amux = LINE2,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700255/* .gpio = 0x4000, */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700256 }},
Peter Missel6c9e7372005-05-01 08:59:05 -0700257 .radio = {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700258 .name = name_radio,
Peter Missel6c9e7372005-05-01 08:59:05 -0700259 .amux = TV,
260 .gpio = 0x00000, /* GP16=0 selects FM radio antenna */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700261 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700262 .mute = {
263 .name = name_mute,
264 .amux = TV,
265 .gpio = 0x10000,
266 },
Peter Missel6c9e7372005-05-01 08:59:05 -0700267 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700268 [SAA7134_BOARD_EMPRESS] = {
269 /* "Gert Vervoort" <gert.vervoort@philips.com> */
270 .name = "EMPRESS",
271 .audio_clock = 0x00187de7,
272 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700273 .radio_type = UNSET,
274 .tuner_addr = ADDR_UNSET,
275 .radio_addr = ADDR_UNSET,
Hans Verkuil195784b2009-03-28 09:27:02 -0300276 .empress_addr = 0x20,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700277
Linus Torvalds1da177e2005-04-16 15:20:36 -0700278 .inputs = {{
279 .name = name_comp1,
280 .vmux = 0,
281 .amux = LINE1,
282 },{
283 .name = name_svideo,
284 .vmux = 8,
285 .amux = LINE1,
286 },{
287 .name = name_tv,
288 .vmux = 1,
289 .amux = LINE2,
290 .tv = 1,
291 }},
292 .radio = {
293 .name = name_radio,
294 .amux = LINE2,
295 },
296 .mpeg = SAA7134_MPEG_EMPRESS,
297 .video_out = CCIR656,
298 },
299 [SAA7134_BOARD_MONSTERTV] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700300 /* "K.Ohta" <alpha292@bremen.or.jp> */
301 .name = "SKNet Monster TV",
302 .audio_clock = 0x00187de7,
303 .tuner_type = TUNER_PHILIPS_NTSC_M,
304 .radio_type = UNSET,
305 .tuner_addr = ADDR_UNSET,
306 .radio_addr = ADDR_UNSET,
307
308 .inputs = {{
309 .name = name_tv,
310 .vmux = 1,
311 .amux = TV,
312 .tv = 1,
313 },{
314 .name = name_comp1,
315 .vmux = 0,
316 .amux = LINE1,
317 },{
318 .name = name_svideo,
319 .vmux = 8,
320 .amux = LINE1,
321 }},
322 .radio = {
323 .name = name_radio,
324 .amux = LINE2,
325 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700326 },
327 [SAA7134_BOARD_MD9717] = {
328 .name = "Tevion MD 9717",
329 .audio_clock = 0x00200000,
330 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700331 .radio_type = UNSET,
332 .tuner_addr = ADDR_UNSET,
333 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700334 .inputs = {{
335 .name = name_tv,
336 .vmux = 1,
337 .amux = TV,
338 .tv = 1,
339 },{
340 /* workaround for problems with normal TV sound */
341 .name = name_tv_mono,
342 .vmux = 1,
343 .amux = LINE2,
344 .tv = 1,
345 },{
346 .name = name_comp1,
Hermann Pitton4aa504a2007-11-28 21:50:26 -0300347 .vmux = 0,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700348 .amux = LINE1,
349 },{
350 .name = name_comp2,
351 .vmux = 3,
352 .amux = LINE1,
353 },{
354 .name = name_svideo,
355 .vmux = 8,
356 .amux = LINE1,
357 }},
358 .radio = {
359 .name = name_radio,
360 .amux = LINE2,
361 },
Hermann Pittoncc764662007-11-28 21:54:35 -0300362 .mute = {
363 .name = name_mute,
364 .amux = TV,
365 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700366 },
367 [SAA7134_BOARD_TVSTATION_RDS] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700368 /* Typhoon TV Tuner RDS: Art.Nr. 50694 */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700369 .name = "KNC One TV-Station RDS / Typhoon TV Tuner RDS",
370 .audio_clock = 0x00200000,
371 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700372 .radio_type = UNSET,
373 .tuner_addr = ADDR_UNSET,
374 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700375 .tda9887_conf = TDA9887_PRESENT,
376 .inputs = {{
377 .name = name_tv,
378 .vmux = 1,
379 .amux = TV,
380 .tv = 1,
381 },{
382 .name = name_tv_mono,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700383 .vmux = 1,
384 .amux = LINE2,
385 .tv = 1,
386 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -0700387
388 .name = name_svideo,
389 .vmux = 8,
390 .amux = LINE1,
391 },{
392 .name = name_comp1,
393 .vmux = 3,
394 .amux = LINE1,
395 },{
396
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700397 .name = "CVid over SVid",
398 .vmux = 0,
399 .amux = LINE1,
400 }},
Linus Torvalds1da177e2005-04-16 15:20:36 -0700401 .radio = {
402 .name = name_radio,
403 .amux = LINE2,
404 },
405 },
406 [SAA7134_BOARD_TVSTATION_DVR] = {
407 .name = "KNC One TV-Station DVR",
408 .audio_clock = 0x00200000,
409 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700410 .radio_type = UNSET,
411 .tuner_addr = ADDR_UNSET,
412 .radio_addr = ADDR_UNSET,
Hans Verkuil195784b2009-03-28 09:27:02 -0300413 .empress_addr = 0x20,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700414 .tda9887_conf = TDA9887_PRESENT,
415 .gpiomask = 0x820000,
416 .inputs = {{
417 .name = name_tv,
418 .vmux = 1,
Rafał Bilskiaac0ca62007-06-20 05:36:26 -0300419 .amux = TV,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700420 .tv = 1,
421 .gpio = 0x20000,
422 },{
423 .name = name_svideo,
424 .vmux = 8,
425 .amux = LINE1,
426 .gpio = 0x20000,
427 },{
428 .name = name_comp1,
429 .vmux = 3,
430 .amux = LINE1,
431 .gpio = 0x20000,
432 }},
433 .radio = {
434 .name = name_radio,
435 .amux = LINE2,
436 .gpio = 0x20000,
437 },
438 .mpeg = SAA7134_MPEG_EMPRESS,
439 .video_out = CCIR656,
440 },
441 [SAA7134_BOARD_CINERGY400] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700442 .name = "Terratec Cinergy 400 TV",
443 .audio_clock = 0x00200000,
444 .tuner_type = TUNER_PHILIPS_PAL,
445 .radio_type = UNSET,
446 .tuner_addr = ADDR_UNSET,
447 .radio_addr = ADDR_UNSET,
448 .inputs = {{
449 .name = name_tv,
450 .vmux = 1,
451 .amux = TV,
452 .tv = 1,
453 },{
454 .name = name_comp1,
455 .vmux = 4,
456 .amux = LINE1,
457 },{
458 .name = name_svideo,
459 .vmux = 8,
460 .amux = LINE1,
461 },{
462 .name = name_comp2, /* CVideo over SVideo Connector */
463 .vmux = 0,
464 .amux = LINE1,
465 }}
466 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700467 [SAA7134_BOARD_MD5044] = {
468 .name = "Medion 5044",
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700469 .audio_clock = 0x00187de7, /* was: 0x00200000, */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700470 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700471 .radio_type = UNSET,
472 .tuner_addr = ADDR_UNSET,
473 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700474 .tda9887_conf = TDA9887_PRESENT,
475 .inputs = {{
476 .name = name_tv,
477 .vmux = 1,
478 .amux = TV,
479 .tv = 1,
480 },{
481 /* workaround for problems with normal TV sound */
482 .name = name_tv_mono,
483 .vmux = 1,
484 .amux = LINE2,
485 .tv = 1,
486 },{
487 .name = name_comp1,
488 .vmux = 0,
489 .amux = LINE2,
490 },{
491 .name = name_comp2,
492 .vmux = 3,
493 .amux = LINE2,
494 },{
495 .name = name_svideo,
496 .vmux = 8,
497 .amux = LINE2,
498 }},
499 .radio = {
500 .name = name_radio,
501 .amux = LINE2,
502 },
503 },
504 [SAA7134_BOARD_KWORLD] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700505 .name = "Kworld/KuroutoShikou SAA7130-TVPCI",
Linus Torvalds1da177e2005-04-16 15:20:36 -0700506 .audio_clock = 0x00187de7,
507 .tuner_type = TUNER_PHILIPS_NTSC_M,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700508 .radio_type = UNSET,
509 .tuner_addr = ADDR_UNSET,
510 .radio_addr = ADDR_UNSET,
511 .inputs = {{
512 .name = name_svideo,
513 .vmux = 8,
514 .amux = LINE1,
515 },{
516 .name = name_comp1,
517 .vmux = 3,
518 .amux = LINE1,
519 },{
520 .name = name_tv,
521 .vmux = 1,
522 .amux = LINE2,
523 .tv = 1,
524 }},
525 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700526 [SAA7134_BOARD_CINERGY600] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700527 .name = "Terratec Cinergy 600 TV",
528 .audio_clock = 0x00200000,
529 .tuner_type = TUNER_PHILIPS_PAL,
530 .radio_type = UNSET,
531 .tuner_addr = ADDR_UNSET,
532 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700533 .tda9887_conf = TDA9887_PRESENT,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700534 .inputs = {{
535 .name = name_tv,
536 .vmux = 1,
537 .amux = TV,
538 .tv = 1,
539 },{
540 .name = name_comp1,
541 .vmux = 4,
542 .amux = LINE1,
543 },{
544 .name = name_svideo,
545 .vmux = 8,
546 .amux = LINE1,
547 },{
548 .name = name_comp2, /* CVideo over SVideo Connector */
549 .vmux = 0,
550 .amux = LINE1,
551 }},
Linus Torvalds1da177e2005-04-16 15:20:36 -0700552 .radio = {
553 .name = name_radio,
554 .amux = LINE2,
Michael Krufky67ac9a42006-03-14 16:18:49 -0300555 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700556 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700557 [SAA7134_BOARD_MD7134] = {
558 .name = "Medion 7134",
Linus Torvalds1da177e2005-04-16 15:20:36 -0700559 .audio_clock = 0x00187de7,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700560 .tuner_type = TUNER_PHILIPS_FMD1216ME_MK3,
561 .radio_type = UNSET,
562 .tuner_addr = ADDR_UNSET,
563 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700564 .tda9887_conf = TDA9887_PRESENT,
565 .mpeg = SAA7134_MPEG_DVB,
566 .inputs = {{
567 .name = name_tv,
568 .vmux = 1,
569 .amux = TV,
570 .tv = 1,
571 },{
572 .name = name_comp1,
573 .vmux = 0,
574 .amux = LINE1,
575 },{
576 .name = name_svideo,
577 .vmux = 8,
578 .amux = LINE1,
579 }},
580 .radio = {
581 .name = name_radio,
582 .amux = LINE2,
Hermann Pittoncc764662007-11-28 21:54:35 -0300583 },
584 .mute = {
585 .name = name_mute,
586 .amux = TV,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700587 },
588 },
589 [SAA7134_BOARD_TYPHOON_90031] = {
590 /* aka Typhoon "TV+Radio", Art.Nr 90031 */
591 /* Tom Zoerner <tomzo at users sourceforge net> */
592 .name = "Typhoon TV+Radio 90031",
593 .audio_clock = 0x00200000,
594 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700595 .radio_type = UNSET,
596 .tuner_addr = ADDR_UNSET,
597 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700598 .tda9887_conf = TDA9887_PRESENT,
599 .inputs = {{
600 .name = name_tv,
601 .vmux = 1,
602 .amux = TV,
603 .tv = 1,
604 },{
605 .name = name_comp1,
606 .vmux = 3,
607 .amux = LINE1,
608 },{
609 .name = name_svideo,
610 .vmux = 8,
611 .amux = LINE1,
612 }},
613 .radio = {
614 .name = name_radio,
615 .amux = LINE2,
616 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700617 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700618 [SAA7134_BOARD_ELSA] = {
619 .name = "ELSA EX-VISION 300TV",
620 .audio_clock = 0x00187de7,
621 .tuner_type = TUNER_HITACHI_NTSC,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700622 .radio_type = UNSET,
623 .tuner_addr = ADDR_UNSET,
624 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700625 .inputs = {{
626 .name = name_svideo,
627 .vmux = 8,
628 .amux = LINE1,
629 },{
630 .name = name_comp1,
631 .vmux = 0,
632 .amux = LINE1,
633 },{
634 .name = name_tv,
635 .vmux = 4,
636 .amux = LINE2,
637 .tv = 1,
638 }},
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700639 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700640 [SAA7134_BOARD_ELSA_500TV] = {
641 .name = "ELSA EX-VISION 500TV",
642 .audio_clock = 0x00187de7,
643 .tuner_type = TUNER_HITACHI_NTSC,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700644 .radio_type = UNSET,
645 .tuner_addr = ADDR_UNSET,
646 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700647 .inputs = {{
648 .name = name_svideo,
649 .vmux = 7,
650 .amux = LINE1,
651 },{
652 .name = name_tv,
653 .vmux = 8,
654 .amux = TV,
655 .tv = 1,
656 },{
657 .name = name_tv_mono,
658 .vmux = 8,
659 .amux = LINE2,
660 .tv = 1,
661 }},
Linus Torvalds1da177e2005-04-16 15:20:36 -0700662 },
Tamuki Shoichid0456d12006-02-27 00:08:04 -0300663 [SAA7134_BOARD_ELSA_700TV] = {
664 .name = "ELSA EX-VISION 700TV",
665 .audio_clock = 0x00187de7,
666 .tuner_type = TUNER_HITACHI_NTSC,
667 .radio_type = UNSET,
668 .tuner_addr = ADDR_UNSET,
669 .radio_addr = ADDR_UNSET,
670 .inputs = {{
671 .name = name_tv,
672 .vmux = 4,
673 .amux = LINE2,
674 .tv = 1,
675 },{
676 .name = name_comp1,
677 .vmux = 6,
678 .amux = LINE1,
679 },{
680 .name = name_svideo,
681 .vmux = 7,
682 .amux = LINE1,
683 }},
684 .mute = {
685 .name = name_mute,
686 .amux = TV,
687 },
688 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700689 [SAA7134_BOARD_ASUSTeK_TVFM7134] = {
690 .name = "ASUS TV-FM 7134",
691 .audio_clock = 0x00187de7,
692 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
693 .radio_type = UNSET,
694 .tuner_addr = ADDR_UNSET,
695 .radio_addr = ADDR_UNSET,
696 .tda9887_conf = TDA9887_PRESENT,
697 .inputs = {{
698 .name = name_tv,
699 .vmux = 1,
700 .amux = TV,
701 .tv = 1,
702 },{
703 .name = name_comp1,
704 .vmux = 4,
705 .amux = LINE2,
706 },{
707 .name = name_svideo,
708 .vmux = 6,
709 .amux = LINE2,
710 }},
711 .radio = {
712 .name = name_radio,
713 .amux = LINE1,
714 },
715 },
716 [SAA7134_BOARD_ASUSTeK_TVFM7135] = {
717 .name = "ASUS TV-FM 7135",
718 .audio_clock = 0x00187de7,
719 .tuner_type = TUNER_PHILIPS_TDA8290,
720 .radio_type = UNSET,
721 .tuner_addr = ADDR_UNSET,
722 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700723 .gpiomask = 0x200000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700724 .inputs = {{
725 .name = name_tv,
726 .vmux = 1,
727 .amux = TV,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700728 .gpio = 0x0000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700729 .tv = 1,
730 },{
731 .name = name_comp1,
732 .vmux = 4,
733 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700734 .gpio = 0x0000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700735 },{
736 .name = name_svideo,
737 .vmux = 6,
738 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700739 .gpio = 0x0000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700740 }},
741 .radio = {
742 .name = name_radio,
743 .amux = TV,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700744 .gpio = 0x200000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700745 },
746 .mute = {
747 .name = name_mute,
748 .gpio = 0x0000,
749 },
750
Linus Torvalds1da177e2005-04-16 15:20:36 -0700751 },
752 [SAA7134_BOARD_VA1000POWER] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700753 .name = "AOPEN VA1000 POWER",
Linus Torvalds1da177e2005-04-16 15:20:36 -0700754 .audio_clock = 0x00187de7,
755 .tuner_type = TUNER_PHILIPS_NTSC,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700756 .radio_type = UNSET,
757 .tuner_addr = ADDR_UNSET,
758 .radio_addr = ADDR_UNSET,
759 .inputs = {{
760 .name = name_svideo,
761 .vmux = 8,
762 .amux = LINE1,
763 },{
764 .name = name_comp1,
765 .vmux = 3,
766 .amux = LINE1,
767 },{
768 .name = name_tv,
769 .vmux = 1,
770 .amux = LINE2,
771 .tv = 1,
772 }},
Linus Torvalds1da177e2005-04-16 15:20:36 -0700773 },
774 [SAA7134_BOARD_10MOONSTVMASTER] = {
775 /* "lilicheng" <llc@linuxfans.org> */
776 .name = "10MOONS PCI TV CAPTURE CARD",
777 .audio_clock = 0x00200000,
778 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700779 .radio_type = UNSET,
780 .tuner_addr = ADDR_UNSET,
781 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700782 .gpiomask = 0xe000,
783 .inputs = {{
784 .name = name_tv,
785 .vmux = 1,
786 .amux = LINE2,
787 .gpio = 0x0000,
788 .tv = 1,
789 },{
790 .name = name_comp1,
791 .vmux = 0,
792 .amux = LINE2,
793 .gpio = 0x4000,
794 },{
795 .name = name_comp2,
796 .vmux = 3,
797 .amux = LINE2,
798 .gpio = 0x4000,
799 },{
800 .name = name_svideo,
801 .vmux = 8,
802 .amux = LINE2,
803 .gpio = 0x4000,
804 }},
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700805 .radio = {
806 .name = name_radio,
807 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700808 .gpio = 0x2000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700809 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700810 .mute = {
811 .name = name_mute,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700812 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700813 .gpio = 0x8000,
814 },
815 },
816 [SAA7134_BOARD_BMK_MPEX_NOTUNER] = {
817 /* "Andrew de Quincey" <adq@lidskialf.net> */
818 .name = "BMK MPEX No Tuner",
819 .audio_clock = 0x200000,
820 .tuner_type = TUNER_ABSENT,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700821 .radio_type = UNSET,
822 .tuner_addr = ADDR_UNSET,
823 .radio_addr = ADDR_UNSET,
Hans Verkuil195784b2009-03-28 09:27:02 -0300824 .empress_addr = 0x20,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700825 .inputs = {{
826 .name = name_comp1,
827 .vmux = 4,
828 .amux = LINE1,
829 },{
830 .name = name_comp2,
831 .vmux = 3,
832 .amux = LINE1,
833 },{
834 .name = name_comp3,
835 .vmux = 0,
836 .amux = LINE1,
837 },{
838 .name = name_comp4,
839 .vmux = 1,
840 .amux = LINE1,
841 },{
842 .name = name_svideo,
843 .vmux = 8,
844 .amux = LINE1,
845 }},
846 .mpeg = SAA7134_MPEG_EMPRESS,
847 .video_out = CCIR656,
848 },
849 [SAA7134_BOARD_VIDEOMATE_TV] = {
850 .name = "Compro VideoMate TV",
851 .audio_clock = 0x00187de7,
852 .tuner_type = TUNER_PHILIPS_NTSC_M,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700853 .radio_type = UNSET,
854 .tuner_addr = ADDR_UNSET,
855 .radio_addr = ADDR_UNSET,
856 .inputs = {{
857 .name = name_svideo,
858 .vmux = 8,
859 .amux = LINE1,
860 },{
861 .name = name_comp1,
862 .vmux = 3,
863 .amux = LINE1,
864 },{
865 .name = name_tv,
866 .vmux = 1,
867 .amux = LINE2,
868 .tv = 1,
869 }},
870 },
871 [SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS] = {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700872 .name = "Compro VideoMate TV Gold+",
873 .audio_clock = 0x00187de7,
874 .tuner_type = TUNER_PHILIPS_NTSC_M,
875 .gpiomask = 0x800c0000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700876 .radio_type = UNSET,
877 .tuner_addr = ADDR_UNSET,
878 .radio_addr = ADDR_UNSET,
879 .inputs = {{
880 .name = name_svideo,
881 .vmux = 8,
882 .amux = LINE1,
883 .gpio = 0x06c00012,
884 },{
885 .name = name_comp1,
886 .vmux = 3,
887 .amux = LINE1,
888 .gpio = 0x0ac20012,
889 },{
890 .name = name_tv,
891 .vmux = 1,
892 .amux = LINE2,
893 .gpio = 0x08c20012,
894 .tv = 1,
895 }}, /* radio and probably mute is missing */
896 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700897 [SAA7134_BOARD_CRONOS_PLUS] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700898 /*
899 gpio pins:
900 0 .. 3 BASE_ID
901 4 .. 7 PROTECT_ID
902 8 .. 11 USER_OUT
903 12 .. 13 USER_IN
904 14 .. 15 VIDIN_SEL
905 */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700906 .name = "Matrox CronosPlus",
907 .tuner_type = TUNER_ABSENT,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700908 .radio_type = UNSET,
909 .tuner_addr = ADDR_UNSET,
910 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700911 .gpiomask = 0xcf00,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700912 .inputs = {{
913 .name = name_comp1,
914 .vmux = 0,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700915 .gpio = 2 << 14,
916 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700917 .name = name_comp2,
918 .vmux = 0,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700919 .gpio = 1 << 14,
920 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700921 .name = name_comp3,
922 .vmux = 0,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700923 .gpio = 0 << 14,
924 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700925 .name = name_comp4,
926 .vmux = 0,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700927 .gpio = 3 << 14,
928 },{
929 .name = name_svideo,
930 .vmux = 8,
931 .gpio = 2 << 14,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700932 }},
933 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700934 [SAA7134_BOARD_MD2819] = {
935 .name = "AverMedia M156 / Medion 2819",
936 .audio_clock = 0x00187de7,
937 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700938 .radio_type = UNSET,
939 .tuner_addr = ADDR_UNSET,
940 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700941 .tda9887_conf = TDA9887_PRESENT,
Hermann Pittonad1ef132008-01-20 19:32:39 -0300942 .gpiomask = 0x03,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700943 .inputs = {{
944 .name = name_tv,
945 .vmux = 1,
946 .amux = TV,
947 .tv = 1,
Hermann Pittonad1ef132008-01-20 19:32:39 -0300948 .gpio = 0x00,
949 }, {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700950 .name = name_comp1,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700951 .vmux = 3,
Hermann Pittonad1ef132008-01-20 19:32:39 -0300952 .amux = LINE1,
953 .gpio = 0x02,
954 }, {
955 .name = name_comp2,
956 .vmux = 0,
957 .amux = LINE1,
958 .gpio = 0x02,
959 }, {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700960 .name = name_svideo,
961 .vmux = 8,
Hermann Pittonad1ef132008-01-20 19:32:39 -0300962 .amux = LINE1,
963 .gpio = 0x02,
964 } },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700965 .radio = {
966 .name = name_radio,
Hermann Pittonad1ef132008-01-20 19:32:39 -0300967 .amux = LINE1,
968 .gpio = 0x01,
969 },
970 .mute = {
971 .name = name_mute,
972 .amux = TV,
973 .gpio = 0x00,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700974 },
975 },
976 [SAA7134_BOARD_BMK_MPEX_TUNER] = {
977 /* "Greg Wickham <greg.wickham@grangenet.net> */
978 .name = "BMK MPEX Tuner",
979 .audio_clock = 0x200000,
980 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700981 .radio_type = UNSET,
982 .tuner_addr = ADDR_UNSET,
983 .radio_addr = ADDR_UNSET,
Hans Verkuil195784b2009-03-28 09:27:02 -0300984 .empress_addr = 0x20,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700985 .inputs = {{
986 .name = name_comp1,
987 .vmux = 1,
988 .amux = LINE1,
989 },{
990 .name = name_svideo,
991 .vmux = 8,
992 .amux = LINE1,
993 },{
994 .name = name_tv,
995 .vmux = 3,
996 .amux = TV,
997 .tv = 1,
998 }},
999 .mpeg = SAA7134_MPEG_EMPRESS,
1000 .video_out = CCIR656,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001001 },
1002 [SAA7134_BOARD_ASUSTEK_TVFM7133] = {
1003 .name = "ASUS TV-FM 7133",
1004 .audio_clock = 0x00187de7,
1005 /* probably wrong, the 7133 one is the NTSC version ...
1006 * .tuner_type = TUNER_PHILIPS_FM1236_MK3 */
1007 .tuner_type = TUNER_LG_NTSC_NEW_TAPC,
1008 .radio_type = UNSET,
1009 .tuner_addr = ADDR_UNSET,
1010 .radio_addr = ADDR_UNSET,
1011 .tda9887_conf = TDA9887_PRESENT,
1012 .inputs = {{
1013 .name = name_tv,
1014 .vmux = 1,
1015 .amux = TV,
1016 .tv = 1,
1017
Linus Torvalds1da177e2005-04-16 15:20:36 -07001018 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001019 .name = name_comp1,
1020 .vmux = 4,
1021 .amux = LINE2,
1022 },{
1023 .name = name_svideo,
1024 .vmux = 6,
1025 .amux = LINE2,
1026 }},
1027 .radio = {
1028 .name = name_radio,
1029 .amux = LINE1,
1030 },
1031 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001032 [SAA7134_BOARD_PINNACLE_PCTV_STEREO] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001033 .name = "Pinnacle PCTV Stereo (saa7134)",
1034 .audio_clock = 0x00187de7,
1035 .tuner_type = TUNER_MT2032,
1036 .radio_type = UNSET,
1037 .tuner_addr = ADDR_UNSET,
1038 .radio_addr = ADDR_UNSET,
Hartmut Hackmanndf8cf702006-03-03 12:09:26 -03001039 .tda9887_conf = TDA9887_PRESENT | TDA9887_INTERCARRIER | TDA9887_PORT2_INACTIVE,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001040 .inputs = {{
1041 .name = name_tv,
1042 .vmux = 3,
1043 .amux = TV,
1044 .tv = 1,
1045 },{
1046 .name = name_comp1,
1047 .vmux = 0,
1048 .amux = LINE2,
1049 },{
1050 .name = name_comp2,
1051 .vmux = 1,
1052 .amux = LINE2,
1053 },{
1054 .name = name_svideo,
1055 .vmux = 8,
1056 .amux = LINE2,
1057 }},
1058 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001059 [SAA7134_BOARD_MANLI_MTV002] = {
1060 /* Ognjen Nastic <ognjen@logosoft.ba> */
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03001061 .name = "Manli MuchTV M-TV002",
Linus Torvalds1da177e2005-04-16 15:20:36 -07001062 .audio_clock = 0x00200000,
1063 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001064 .radio_type = UNSET,
1065 .tuner_addr = ADDR_UNSET,
1066 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001067 .inputs = {{
1068 .name = name_svideo,
1069 .vmux = 8,
1070 .amux = LINE1,
1071 },{
1072 .name = name_comp1,
1073 .vmux = 1,
1074 .amux = LINE1,
1075 },{
1076 .name = name_tv,
1077 .vmux = 3,
1078 .amux = LINE2,
1079 .tv = 1,
1080 }},
1081 .radio = {
1082 .name = name_radio,
1083 .amux = LINE2,
1084 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001085 },
1086 [SAA7134_BOARD_MANLI_MTV001] = {
1087 /* Ognjen Nastic <ognjen@logosoft.ba> UNTESTED */
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03001088 .name = "Manli MuchTV M-TV001",
Linus Torvalds1da177e2005-04-16 15:20:36 -07001089 .audio_clock = 0x00200000,
1090 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001091 .radio_type = UNSET,
1092 .tuner_addr = ADDR_UNSET,
1093 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001094 .inputs = {{
1095 .name = name_svideo,
1096 .vmux = 8,
1097 .amux = LINE1,
1098 },{
1099 .name = name_comp1,
1100 .vmux = 1,
1101 .amux = LINE1,
1102 },{
1103 .name = name_tv,
1104 .vmux = 3,
1105 .amux = LINE2,
1106 .tv = 1,
1107 }},
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001108 .mute = {
1109 .name = name_mute,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001110 .amux = LINE1,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001111 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001112 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001113 [SAA7134_BOARD_TG3000TV] = {
1114 /* TransGear 3000TV */
1115 .name = "Nagase Sangyo TransGear 3000TV",
1116 .audio_clock = 0x00187de7,
1117 .tuner_type = TUNER_PHILIPS_NTSC_M,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001118 .radio_type = UNSET,
1119 .tuner_addr = ADDR_UNSET,
1120 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001121 .inputs = {{
1122 .name = name_tv,
1123 .vmux = 1,
1124 .amux = LINE2,
1125 .tv = 1,
1126 },{
1127 .name = name_comp1,
1128 .vmux = 3,
1129 .amux = LINE2,
1130 },{
1131 .name = name_svideo,
1132 .vmux = 8,
1133 .amux = LINE2,
1134 }},
1135 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001136 [SAA7134_BOARD_ECS_TVP3XP] = {
1137 .name = "Elitegroup ECS TVP3XP FM1216 Tuner Card(PAL-BG,FM) ",
1138 .audio_clock = 0x187de7, /* xtal 32.1 MHz */
1139 .tuner_type = TUNER_PHILIPS_PAL,
1140 .radio_type = UNSET,
1141 .tuner_addr = ADDR_UNSET,
1142 .radio_addr = ADDR_UNSET,
1143 .inputs = {{
1144 .name = name_tv,
1145 .vmux = 1,
1146 .amux = TV,
1147 .tv = 1,
1148 },{
1149 .name = name_tv_mono,
1150 .vmux = 1,
1151 .amux = LINE2,
1152 .tv = 1,
1153 },{
1154 .name = name_comp1,
1155 .vmux = 3,
1156 .amux = LINE1,
1157 },{
1158 .name = name_svideo,
1159 .vmux = 8,
1160 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001161 },{
1162 .name = "CVid over SVid",
1163 .vmux = 0,
1164 .amux = LINE1,
1165 }},
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001166 .radio = {
1167 .name = name_radio,
1168 .amux = LINE2,
1169 },
1170 },
1171 [SAA7134_BOARD_ECS_TVP3XP_4CB5] = {
1172 .name = "Elitegroup ECS TVP3XP FM1236 Tuner Card (NTSC,FM)",
1173 .audio_clock = 0x187de7,
1174 .tuner_type = TUNER_PHILIPS_NTSC,
1175 .radio_type = UNSET,
1176 .tuner_addr = ADDR_UNSET,
1177 .radio_addr = ADDR_UNSET,
1178 .inputs = {{
1179 .name = name_tv,
1180 .vmux = 1,
1181 .amux = TV,
1182 .tv = 1,
1183 },{
1184 .name = name_tv_mono,
1185 .vmux = 1,
1186 .amux = LINE2,
1187 .tv = 1,
1188 },{
1189 .name = name_comp1,
1190 .vmux = 3,
1191 .amux = LINE1,
1192 },{
1193 .name = name_svideo,
1194 .vmux = 8,
1195 .amux = LINE1,
1196 },{
1197 .name = "CVid over SVid",
1198 .vmux = 0,
1199 .amux = LINE1,
1200 }},
1201 .radio = {
1202 .name = name_radio,
1203 .amux = LINE2,
1204 },
1205 },
Simon Farnsworthb39423a2007-05-01 10:01:20 -03001206 [SAA7134_BOARD_ECS_TVP3XP_4CB6] = {
1207 /* Barry Scott <barry.scott@onelan.co.uk> */
1208 .name = "Elitegroup ECS TVP3XP FM1246 Tuner Card (PAL,FM)",
1209 .audio_clock = 0x187de7,
1210 .tuner_type = TUNER_PHILIPS_PAL_I,
1211 .radio_type = UNSET,
1212 .tuner_addr = ADDR_UNSET,
1213 .radio_addr = ADDR_UNSET,
1214 .inputs = {{
1215 .name = name_tv,
1216 .vmux = 1,
1217 .amux = TV,
1218 .tv = 1,
1219 },{
1220 .name = name_tv_mono,
1221 .vmux = 1,
1222 .amux = LINE2,
1223 .tv = 1,
1224 },{
1225 .name = name_comp1,
1226 .vmux = 3,
1227 .amux = LINE1,
1228 },{
1229 .name = name_svideo,
1230 .vmux = 8,
1231 .amux = LINE1,
1232 },{
1233 .name = "CVid over SVid",
1234 .vmux = 0,
1235 .amux = LINE1,
1236 }},
1237 .radio = {
1238 .name = name_radio,
1239 .amux = LINE2,
1240 },
1241 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001242 [SAA7134_BOARD_AVACSSMARTTV] = {
1243 /* Roman Pszonczenko <romka@kolos.math.uni.lodz.pl> */
1244 .name = "AVACS SmartTV",
1245 .audio_clock = 0x00187de7,
1246 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001247 .radio_type = UNSET,
1248 .tuner_addr = ADDR_UNSET,
1249 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001250 .inputs = {{
1251 .name = name_tv,
1252 .vmux = 1,
1253 .amux = TV,
1254 .tv = 1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001255 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07001256 .name = name_tv_mono,
1257 .vmux = 1,
1258 .amux = LINE2,
1259 .tv = 1,
1260 },{
1261 .name = name_comp1,
1262 .vmux = 0,
1263 .amux = LINE2,
1264 },{
1265 .name = name_comp2,
1266 .vmux = 3,
1267 .amux = LINE2,
1268 },{
1269 .name = name_svideo,
1270 .vmux = 8,
1271 .amux = LINE2,
1272 }},
1273 .radio = {
1274 .name = name_radio,
1275 .amux = LINE2,
1276 .gpio = 0x200000,
1277 },
1278 },
1279 [SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER] = {
1280 /* Michael Smith <msmith@cbnco.com> */
1281 .name = "AVerMedia DVD EZMaker",
1282 .audio_clock = 0x00187de7,
1283 .tuner_type = TUNER_ABSENT,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001284 .radio_type = UNSET,
1285 .tuner_addr = ADDR_UNSET,
1286 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001287 .inputs = {{
1288 .name = name_comp1,
1289 .vmux = 3,
1290 },{
1291 .name = name_svideo,
1292 .vmux = 8,
1293 }},
1294 },
Massimo Piccionie2fc00c2008-07-11 13:48:02 -03001295 [SAA7134_BOARD_AVERMEDIA_M103] = {
1296 /* Massimo Piccioni <dafastidio@libero.it> */
1297 .name = "AVerMedia MiniPCI DVB-T Hybrid M103",
1298 .audio_clock = 0x187de7,
1299 .tuner_type = TUNER_XC2028,
1300 .radio_type = UNSET,
1301 .tuner_addr = ADDR_UNSET,
1302 .radio_addr = ADDR_UNSET,
1303 .mpeg = SAA7134_MPEG_DVB,
1304 .inputs = {{
1305 .name = name_tv,
1306 .vmux = 1,
1307 .amux = TV,
1308 .tv = 1,
1309 } },
1310 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001311 [SAA7134_BOARD_NOVAC_PRIMETV7133] = {
1312 /* toshii@netbsd.org */
1313 .name = "Noval Prime TV 7133",
1314 .audio_clock = 0x00200000,
1315 .tuner_type = TUNER_ALPS_TSBH1_NTSC,
1316 .radio_type = UNSET,
1317 .tuner_addr = ADDR_UNSET,
1318 .radio_addr = ADDR_UNSET,
1319 .inputs = {{
1320 .name = name_comp1,
1321 .vmux = 3,
1322 },{
1323 .name = name_tv,
1324 .vmux = 1,
1325 .amux = TV,
1326 .tv = 1,
1327 },{
1328 .name = name_svideo,
1329 .vmux = 8,
1330 }},
1331 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001332 [SAA7134_BOARD_AVERMEDIA_STUDIO_305] = {
1333 .name = "AverMedia AverTV Studio 305",
1334 .audio_clock = 0x00187de7,
1335 .tuner_type = TUNER_PHILIPS_FM1256_IH3,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001336 .radio_type = UNSET,
1337 .tuner_addr = ADDR_UNSET,
1338 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001339 .tda9887_conf = TDA9887_PRESENT,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001340 .inputs = {{
1341 .name = name_tv,
1342 .vmux = 1,
1343 .amux = LINE2,
1344 .tv = 1,
1345 },{
1346 .name = name_comp1,
1347 .vmux = 0,
1348 .amux = LINE2,
1349 },{
1350 .name = name_comp2,
1351 .vmux = 3,
1352 .amux = LINE2,
1353 },{
1354 .name = name_svideo,
1355 .vmux = 8,
1356 .amux = LINE2,
1357 }},
1358 .radio = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001359 .name = name_radio,
1360 .amux = LINE2,
1361 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001362 .mute = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001363 .name = name_mute,
1364 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001365 },
1366 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001367 [SAA7134_BOARD_UPMOST_PURPLE_TV] = {
1368 .name = "UPMOST PURPLE TV",
1369 .audio_clock = 0x00187de7,
1370 .tuner_type = TUNER_PHILIPS_FM1236_MK3,
1371 .radio_type = UNSET,
1372 .tuner_addr = ADDR_UNSET,
1373 .radio_addr = ADDR_UNSET,
1374 .tda9887_conf = TDA9887_PRESENT,
1375 .inputs = {{
1376 .name = name_tv,
1377 .vmux = 7,
1378 .amux = TV,
1379 .tv = 1,
1380 },{
1381 .name = name_svideo,
1382 .vmux = 7,
1383 .amux = LINE1,
1384 }},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001385 },
1386 [SAA7134_BOARD_ITEMS_MTV005] = {
1387 /* Norman Jonas <normanjonas@arcor.de> */
1388 .name = "Items MuchTV Plus / IT-005",
1389 .audio_clock = 0x00187de7,
1390 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001391 .radio_type = UNSET,
1392 .tuner_addr = ADDR_UNSET,
1393 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001394 .inputs = {{
1395 .name = name_tv,
1396 .vmux = 3,
1397 .amux = TV,
1398 .tv = 1,
1399 },{
1400 .name = name_comp1,
1401 .vmux = 1,
1402 .amux = LINE1,
1403 },{
1404 .name = name_svideo,
1405 .vmux = 8,
1406 .amux = LINE1,
1407 }},
1408 .radio = {
1409 .name = name_radio,
1410 .amux = LINE2,
1411 },
1412 },
1413 [SAA7134_BOARD_CINERGY200] = {
1414 .name = "Terratec Cinergy 200 TV",
1415 .audio_clock = 0x00200000,
1416 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001417 .radio_type = UNSET,
1418 .tuner_addr = ADDR_UNSET,
1419 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001420 .inputs = {{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001421 .name = name_tv,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001422 .vmux = 1,
1423 .amux = LINE2,
1424 .tv = 1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001425 },{
1426 .name = name_comp1,
1427 .vmux = 4,
1428 .amux = LINE1,
1429 },{
1430 .name = name_svideo,
1431 .vmux = 8,
1432 .amux = LINE1,
1433 },{
1434 .name = name_comp2, /* CVideo over SVideo Connector */
1435 .vmux = 0,
1436 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001437 }},
1438 .mute = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001439 .name = name_mute,
1440 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001441 },
1442 },
1443 [SAA7134_BOARD_VIDEOMATE_TV_PVR] = {
1444 /* Alain St-Denis <alain@topaze.homeip.net> */
1445 .name = "Compro VideoMate TV PVR/FM",
1446 .audio_clock = 0x00187de7,
1447 .tuner_type = TUNER_PHILIPS_NTSC_M,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001448 .radio_type = UNSET,
1449 .tuner_addr = ADDR_UNSET,
1450 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001451 .gpiomask = 0x808c0080,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001452 .inputs = {{
1453 .name = name_svideo,
1454 .vmux = 8,
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_comp1,
1459 .vmux = 3,
1460 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001461 .gpio = 0x00080,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001462 },{
1463 .name = name_tv,
1464 .vmux = 1,
1465 .amux = LINE2_LEFT,
1466 .tv = 1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001467 .gpio = 0x00080,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001468 }},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001469 .radio = {
1470 .name = name_radio,
1471 .amux = LINE2,
1472 .gpio = 0x80000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001473 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001474 .mute = {
1475 .name = name_mute,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001476 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001477 .gpio = 0x40000,
1478 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001479 },
1480 [SAA7134_BOARD_SABRENT_SBTTVFM] = {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001481 /* Michael Rodriguez-Torrent <mrtorrent@asu.edu> */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001482 .name = "Sabrent SBT-TVFM (saa7130)",
1483 .audio_clock = 0x00187de7,
1484 .tuner_type = TUNER_PHILIPS_NTSC_M,
1485 .radio_type = UNSET,
1486 .tuner_addr = ADDR_UNSET,
1487 .radio_addr = ADDR_UNSET,
1488 .inputs = {{
Linus Torvalds1da177e2005-04-16 15:20:36 -07001489 .name = name_comp1,
1490 .vmux = 1,
Mauro Carvalho Chehab6a989d72005-09-09 13:03:57 -07001491 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001492 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001493 .name = name_tv,
1494 .vmux = 3,
1495 .amux = LINE2,
1496 .tv = 1,
1497 },{
1498 .name = name_svideo,
1499 .vmux = 8,
Mauro Carvalho Chehab6a989d72005-09-09 13:03:57 -07001500 .amux = LINE1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001501 }},
1502 .radio = {
1503 .name = name_radio,
1504 .amux = LINE2,
1505 },
1506 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001507 [SAA7134_BOARD_ZOLID_XPERT_TV7134] = {
1508 /* Helge Jensen <helge.jensen@slog.dk> */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001509 .name = ":Zolid Xpert TV7134",
Linus Torvalds1da177e2005-04-16 15:20:36 -07001510 .audio_clock = 0x00187de7,
1511 .tuner_type = TUNER_PHILIPS_NTSC,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001512 .radio_type = UNSET,
1513 .tuner_addr = ADDR_UNSET,
1514 .radio_addr = ADDR_UNSET,
1515 .inputs = {{
Linus Torvalds1da177e2005-04-16 15:20:36 -07001516 .name = name_svideo,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001517 .vmux = 8,
1518 .amux = LINE1,
1519 },{
1520 .name = name_comp1,
1521 .vmux = 3,
1522 .amux = LINE1,
1523 },{
1524 .name = name_tv,
1525 .vmux = 1,
1526 .amux = LINE2,
1527 .tv = 1,
1528 }},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001529 },
1530 [SAA7134_BOARD_EMPIRE_PCI_TV_RADIO_LE] = {
1531 /* "Matteo Az" <matte.az@nospam.libero.it> ;-) */
1532 .name = "Empire PCI TV-Radio LE",
1533 .audio_clock = 0x00187de7,
1534 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001535 .radio_type = UNSET,
1536 .tuner_addr = ADDR_UNSET,
1537 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001538 .gpiomask = 0x4000,
1539 .inputs = {{
1540 .name = name_tv_mono,
1541 .vmux = 1,
1542 .amux = LINE2,
1543 .gpio = 0x8000,
1544 .tv = 1,
1545 },{
1546 .name = name_comp1,
1547 .vmux = 3,
1548 .amux = LINE1,
1549 .gpio = 0x8000,
1550 },{
1551 .name = name_svideo,
1552 .vmux = 6,
1553 .amux = LINE1,
1554 .gpio = 0x8000,
1555 }},
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001556 .radio = {
1557 .name = name_radio,
1558 .amux = LINE1,
1559 .gpio = 0x8000,
1560 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001561 .mute = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001562 .name = name_mute,
1563 .amux = TV,
1564 .gpio =0x8000,
1565 }
Linus Torvalds1da177e2005-04-16 15:20:36 -07001566 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001567 [SAA7134_BOARD_AVERMEDIA_STUDIO_307] = {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001568 /*
1569 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1570 Lots of thanks to Andrey Zolotarev <zolotarev_andrey@mail.ru>
1571 */
1572 .name = "Avermedia AVerTV Studio 307",
1573 .audio_clock = 0x00187de7,
1574 .tuner_type = TUNER_PHILIPS_FM1256_IH3,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001575 .radio_type = UNSET,
1576 .tuner_addr = ADDR_UNSET,
1577 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001578 .tda9887_conf = TDA9887_PRESENT,
1579 .gpiomask = 0x03,
1580 .inputs = {{
1581 .name = name_tv,
1582 .vmux = 1,
1583 .amux = TV,
1584 .tv = 1,
1585 .gpio = 0x00,
1586 },{
Stas Sergeevf438d972007-09-17 15:34:09 -03001587 .name = name_comp,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001588 .vmux = 3,
Stas Sergeevf5e4fee2007-09-02 03:56:18 -03001589 .amux = LINE1,
1590 .gpio = 0x02,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001591 },{
1592 .name = name_svideo,
1593 .vmux = 8,
Stas Sergeevf5e4fee2007-09-02 03:56:18 -03001594 .amux = LINE1,
1595 .gpio = 0x02,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001596 }},
1597 .radio = {
1598 .name = name_radio,
1599 .amux = LINE1,
1600 .gpio = 0x01,
1601 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001602 .mute = {
1603 .name = name_mute,
1604 .amux = LINE1,
1605 .gpio = 0x00,
1606 },
1607 },
1608 [SAA7134_BOARD_AVERMEDIA_GO_007_FM] = {
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001609 .name = "Avermedia AVerTV GO 007 FM",
1610 .audio_clock = 0x00187de7,
1611 .tuner_type = TUNER_PHILIPS_TDA8290,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001612 .radio_type = UNSET,
1613 .tuner_addr = ADDR_UNSET,
1614 .radio_addr = ADDR_UNSET,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001615 .gpiomask = 0x00300003,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001616 /* .gpiomask = 0x8c240003, */
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001617 .inputs = {{
1618 .name = name_tv,
1619 .vmux = 1,
1620 .amux = TV,
1621 .tv = 1,
1622 .gpio = 0x01,
1623 },{
1624 .name = name_comp1,
1625 .vmux = 0,
Damian Minkovfbc84082007-03-29 08:47:39 -03001626 .amux = LINE1,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001627 .gpio = 0x02,
1628 },{
1629 .name = name_svideo,
1630 .vmux = 6,
Damian Minkovfbc84082007-03-29 08:47:39 -03001631 .amux = LINE1,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001632 .gpio = 0x02,
1633 }},
1634 .radio = {
1635 .name = name_radio,
1636 .amux = LINE1,
1637 .gpio = 0x00300001,
1638 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001639 .mute = {
1640 .name = name_mute,
1641 .amux = TV,
1642 .gpio = 0x01,
1643 },
1644 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001645 [SAA7134_BOARD_AVERMEDIA_CARDBUS] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001646 /* Kees.Blom@cwi.nl */
1647 .name = "AVerMedia Cardbus TV/Radio (E500)",
1648 .audio_clock = 0x187de7,
1649 .tuner_type = TUNER_PHILIPS_TDA8290,
1650 .radio_type = UNSET,
1651 .tuner_addr = ADDR_UNSET,
1652 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001653 .inputs = {{
1654 .name = name_tv,
1655 .vmux = 1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001656 .amux = TV,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001657 .tv = 1,
1658 },{
1659 .name = name_comp1,
1660 .vmux = 3,
1661 .amux = LINE2,
1662 },{
1663 .name = name_svideo,
1664 .vmux = 8,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001665 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001666 }},
1667 .radio = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001668 .name = name_radio,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001669 .amux = LINE1,
1670 },
1671 },
Oldřich Jedličkad46de9d2009-04-14 15:47:17 -03001672 [SAA7134_BOARD_AVERMEDIA_CARDBUS_501] = {
1673 /* Oldrich Jedlicka <oldium.pro@seznam.cz> */
1674 .name = "AVerMedia Cardbus TV/Radio (E501R)",
1675 .audio_clock = 0x187de7,
1676 .tuner_type = TUNER_ALPS_TSBE5_PAL,
1677 .radio_type = TUNER_TEA5767,
1678 .tuner_addr = 0x61,
1679 .radio_addr = 0x60,
1680 .tda9887_conf = TDA9887_PRESENT,
1681 .gpiomask = 0x08000000,
1682 .inputs = { {
1683 .name = name_tv,
1684 .vmux = 1,
1685 .amux = TV,
1686 .tv = 1,
1687 .gpio = 0x08000000,
1688 }, {
1689 .name = name_comp1,
1690 .vmux = 3,
1691 .amux = LINE1,
1692 .gpio = 0x08000000,
1693 }, {
1694 .name = name_svideo,
1695 .vmux = 8,
1696 .amux = LINE1,
1697 .gpio = 0x08000000,
1698 } },
1699 .radio = {
1700 .name = name_radio,
1701 .amux = LINE2,
1702 .gpio = 0x00000000,
1703 },
1704 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001705 [SAA7134_BOARD_CINERGY400_CARDBUS] = {
1706 .name = "Terratec Cinergy 400 mobile",
1707 .audio_clock = 0x187de7,
1708 .tuner_type = TUNER_ALPS_TSBE5_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001709 .radio_type = UNSET,
1710 .tuner_addr = ADDR_UNSET,
1711 .radio_addr = ADDR_UNSET,
1712 .tda9887_conf = TDA9887_PRESENT,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001713 .inputs = {{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001714 .name = name_tv,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001715 .vmux = 1,
1716 .amux = TV,
1717 .tv = 1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001718 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07001719 .name = name_tv_mono,
1720 .vmux = 1,
1721 .amux = LINE2,
1722 .tv = 1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001723 },{
1724 .name = name_comp1,
1725 .vmux = 3,
1726 .amux = LINE1,
1727 },{
1728 .name = name_svideo,
1729 .vmux = 8,
1730 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001731 }},
1732 },
1733 [SAA7134_BOARD_CINERGY600_MK3] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001734 .name = "Terratec Cinergy 600 TV MK3",
1735 .audio_clock = 0x00200000,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001736 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001737 .radio_type = UNSET,
1738 .tuner_addr = ADDR_UNSET,
1739 .radio_addr = ADDR_UNSET,
Hans Verkuil2983baf2009-03-29 06:26:27 -03001740 .rds_addr = 0x10,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001741 .tda9887_conf = TDA9887_PRESENT,
1742 .inputs = {{
1743 .name = name_tv,
1744 .vmux = 1,
1745 .amux = TV,
1746 .tv = 1,
1747 },{
1748 .name = name_comp1,
1749 .vmux = 4,
1750 .amux = LINE1,
1751 },{
1752 .name = name_svideo,
1753 .vmux = 8,
1754 .amux = LINE1,
1755 },{
1756 .name = name_comp2, /* CVideo over SVideo Connector */
1757 .vmux = 0,
1758 .amux = LINE1,
1759 }},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001760 .radio = {
1761 .name = name_radio,
1762 .amux = LINE2,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001763 },
1764 },
1765 [SAA7134_BOARD_VIDEOMATE_GOLD_PLUS] = {
1766 /* Dylan Walkden <dylan_walkden@hotmail.com> */
1767 .name = "Compro VideoMate Gold+ Pal",
1768 .audio_clock = 0x00187de7,
1769 .tuner_type = TUNER_PHILIPS_PAL,
1770 .radio_type = UNSET,
1771 .tuner_addr = ADDR_UNSET,
1772 .radio_addr = ADDR_UNSET,
1773 .gpiomask = 0x1ce780,
1774 .inputs = {{
1775 .name = name_svideo,
1776 .vmux = 0, /* CVideo over SVideo Connector - ok? */
1777 .amux = LINE1,
1778 .gpio = 0x008080,
1779 },{
1780 .name = name_comp1,
1781 .vmux = 3,
1782 .amux = LINE1,
1783 .gpio = 0x008080,
1784 },{
1785 .name = name_tv,
1786 .vmux = 1,
1787 .amux = TV,
1788 .tv = 1,
1789 .gpio = 0x008080,
1790 }},
1791 .radio = {
1792 .name = name_radio,
1793 .amux = LINE2,
1794 .gpio = 0x80000,
1795 },
1796 .mute = {
1797 .name = name_mute,
1798 .amux = LINE2,
1799 .gpio = 0x0c8000,
1800 },
1801 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001802 [SAA7134_BOARD_PINNACLE_300I_DVBT_PAL] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001803 .name = "Pinnacle PCTV 300i DVB-T + PAL",
1804 .audio_clock = 0x00187de7,
1805 .tuner_type = TUNER_MT2032,
1806 .radio_type = UNSET,
1807 .tuner_addr = ADDR_UNSET,
1808 .radio_addr = ADDR_UNSET,
Hartmut Hackmanndf8cf702006-03-03 12:09:26 -03001809 .tda9887_conf = TDA9887_PRESENT | TDA9887_INTERCARRIER | TDA9887_PORT2_INACTIVE,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001810 .mpeg = SAA7134_MPEG_DVB,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001811 .inputs = {{
1812 .name = name_tv,
1813 .vmux = 3,
1814 .amux = TV,
1815 .tv = 1,
1816 },{
1817 .name = name_comp1,
1818 .vmux = 0,
1819 .amux = LINE2,
1820 },{
1821 .name = name_comp2,
1822 .vmux = 1,
1823 .amux = LINE2,
1824 },{
1825 .name = name_svideo,
1826 .vmux = 8,
1827 .amux = LINE2,
1828 }},
1829 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001830 [SAA7134_BOARD_PROVIDEO_PV952] = {
1831 /* andreas.kretschmer@web.de */
1832 .name = "ProVideo PV952",
1833 .audio_clock = 0x00187de7,
1834 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001835 .radio_type = UNSET,
1836 .tuner_addr = ADDR_UNSET,
1837 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001838 .tda9887_conf = TDA9887_PRESENT,
1839 .inputs = {{
1840 .name = name_comp1,
1841 .vmux = 0,
1842 .amux = LINE1,
1843 },{
1844 .name = name_tv,
1845 .vmux = 1,
1846 .amux = TV,
1847 .tv = 1,
1848 },{
1849 .name = name_tv_mono,
1850 .vmux = 1,
1851 .amux = LINE2,
1852 .tv = 1,
1853 }},
1854 .radio = {
1855 .name = name_radio,
1856 .amux = LINE2,
1857 },
1858 },
1859 [SAA7134_BOARD_AVERMEDIA_305] = {
1860 /* much like the "studio" version but without radio
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001861 * and another tuner (sirspiritus@yandex.ru) */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001862 .name = "AverMedia AverTV/305",
1863 .audio_clock = 0x00187de7,
1864 .tuner_type = TUNER_PHILIPS_FQ1216ME,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001865 .radio_type = UNSET,
1866 .tuner_addr = ADDR_UNSET,
1867 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001868 .tda9887_conf = TDA9887_PRESENT,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001869 .inputs = {{
1870 .name = name_tv,
1871 .vmux = 1,
1872 .amux = LINE2,
1873 .tv = 1,
1874 },{
1875 .name = name_comp1,
1876 .vmux = 0,
1877 .amux = LINE2,
1878 },{
1879 .name = name_comp2,
1880 .vmux = 3,
1881 .amux = LINE2,
1882 },{
1883 .name = name_svideo,
1884 .vmux = 8,
1885 .amux = LINE2,
1886 }},
1887 .mute = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001888 .name = name_mute,
1889 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001890 },
1891 },
1892 [SAA7134_BOARD_FLYDVBTDUO] = {
1893 /* LifeView FlyDVB-T DUO */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001894 /* "Nico Sabbi <nsabbi@tiscali.it> Hartmut Hackmann hartmut.hackmann@t-online.de*/
Peter Misseldb483672007-04-27 12:31:20 -03001895 .name = "LifeView FlyDVB-T DUO / MSI TV@nywhere Duo",
Linus Torvalds1da177e2005-04-16 15:20:36 -07001896 .audio_clock = 0x00200000,
1897 .tuner_type = TUNER_PHILIPS_TDA8290,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001898 .radio_type = UNSET,
1899 .tuner_addr = ADDR_UNSET,
1900 .radio_addr = ADDR_UNSET,
Peter Missel7c7fea62007-04-27 12:31:14 -03001901 .gpiomask = 0x00200000,
Michael Krufky8ce47da2007-04-27 12:31:14 -03001902 .mpeg = SAA7134_MPEG_DVB,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001903 .inputs = {{
1904 .name = name_tv,
1905 .vmux = 1,
1906 .amux = TV,
Peter Missel7c7fea62007-04-27 12:31:14 -03001907 .gpio = 0x200000, /* GPIO21=High for TV input */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001908 .tv = 1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001909 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07001910 .name = name_comp1, /* Composite signal on S-Video input */
1911 .vmux = 0,
1912 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001913 },{
1914 .name = name_comp2, /* Composite input */
1915 .vmux = 3,
1916 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001917 },{
1918 .name = name_svideo, /* S-Video signal on S-Video input */
1919 .vmux = 8,
1920 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001921 }},
Peter Missel7c7fea62007-04-27 12:31:14 -03001922 .radio = {
1923 .name = name_radio,
1924 .amux = TV,
1925 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
1926 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001927 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001928 [SAA7134_BOARD_PHILIPS_TOUGH] = {
1929 .name = "Philips TOUGH DVB-T reference design",
1930 .tuner_type = TUNER_ABSENT,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001931 .audio_clock = 0x00187de7,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001932 .radio_type = UNSET,
1933 .tuner_addr = ADDR_UNSET,
1934 .radio_addr = ADDR_UNSET,
1935 .mpeg = SAA7134_MPEG_DVB,
1936 .inputs = {{
1937 .name = name_comp1,
1938 .vmux = 0,
1939 .amux = LINE1,
1940 },{
1941 .name = name_svideo,
1942 .vmux = 8,
1943 .amux = LINE1,
1944 }},
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001945 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001946 [SAA7134_BOARD_AVERMEDIA_307] = {
1947 /*
1948 Davydov Vladimir <vladimir@iqmedia.com>
1949 */
1950 .name = "Avermedia AVerTV 307",
1951 .audio_clock = 0x00187de7,
1952 .tuner_type = TUNER_PHILIPS_FQ1216ME,
1953 .radio_type = UNSET,
1954 .tuner_addr = ADDR_UNSET,
1955 .radio_addr = ADDR_UNSET,
1956 .tda9887_conf = TDA9887_PRESENT,
1957 .inputs = {{
1958 .name = name_tv,
1959 .vmux = 1,
1960 .amux = TV,
1961 .tv = 1,
1962 },{
1963 .name = name_comp1,
1964 .vmux = 0,
1965 .amux = LINE1,
1966 },{
1967 .name = name_comp2,
1968 .vmux = 3,
1969 .amux = LINE1,
1970 },{
1971 .name = name_svideo,
1972 .vmux = 8,
1973 .amux = LINE1,
1974 }},
1975 },
1976 [SAA7134_BOARD_ADS_INSTANT_TV] = {
1977 .name = "ADS Tech Instant TV (saa7135)",
1978 .audio_clock = 0x00187de7,
1979 .tuner_type = TUNER_PHILIPS_TDA8290,
1980 .radio_type = UNSET,
1981 .tuner_addr = ADDR_UNSET,
1982 .radio_addr = ADDR_UNSET,
1983 .inputs = {{
1984 .name = name_tv,
1985 .vmux = 1,
1986 .amux = TV,
1987 .tv = 1,
1988 },{
1989 .name = name_comp1,
1990 .vmux = 3,
1991 .amux = LINE2,
1992 },{
1993 .name = name_svideo,
1994 .vmux = 8,
1995 .amux = LINE2,
1996 }},
1997 },
1998 [SAA7134_BOARD_KWORLD_VSTREAM_XPERT] = {
1999 .name = "Kworld/Tevion V-Stream Xpert TV PVR7134",
2000 .audio_clock = 0x00187de7,
2001 .tuner_type = TUNER_PHILIPS_PAL_I,
2002 .radio_type = UNSET,
2003 .tuner_addr = ADDR_UNSET,
2004 .radio_addr = ADDR_UNSET,
2005 .gpiomask = 0x0700,
2006 .inputs = {{
2007 .name = name_tv,
2008 .vmux = 1,
2009 .amux = TV,
2010 .tv = 1,
2011 .gpio = 0x000,
2012 },{
2013 .name = name_comp1,
2014 .vmux = 3,
2015 .amux = LINE1,
2016 .gpio = 0x200, /* gpio by DScaler */
2017 },{
2018 .name = name_svideo,
2019 .vmux = 0,
2020 .amux = LINE1,
2021 .gpio = 0x200,
2022 }},
2023 .radio = {
2024 .name = name_radio,
2025 .amux = LINE1,
2026 .gpio = 0x100,
2027 },
2028 .mute = {
2029 .name = name_mute,
2030 .amux = TV,
2031 .gpio = 0x000,
2032 },
2033 },
Peter Missel10b7a902006-01-23 17:11:06 -02002034 [SAA7134_BOARD_FLYDVBT_DUO_CARDBUS] = {
Hartmut Hackmann2c591942006-08-07 14:03:32 -03002035 .name = "LifeView/Typhoon/Genius FlyDVB-T Duo Cardbus",
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07002036 .audio_clock = 0x00200000,
2037 .tuner_type = TUNER_PHILIPS_TDA8290,
2038 .radio_type = UNSET,
2039 .tuner_addr = ADDR_UNSET,
2040 .radio_addr = ADDR_UNSET,
2041 .mpeg = SAA7134_MPEG_DVB,
Peter Missel10b7a902006-01-23 17:11:06 -02002042 .gpiomask = 0x00200000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07002043 .inputs = {{
2044 .name = name_tv,
2045 .vmux = 1,
2046 .amux = TV,
Peter Missel10b7a902006-01-23 17:11:06 -02002047 .gpio = 0x200000, /* GPIO21=High for TV input */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07002048 .tv = 1,
2049 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07002050 .name = name_svideo, /* S-Video signal on S-Video input */
2051 .vmux = 8,
2052 .amux = LINE2,
Peter Missel10b7a902006-01-23 17:11:06 -02002053 },{
2054 .name = name_comp1, /* Composite signal on S-Video input */
2055 .vmux = 0,
2056 .amux = LINE2,
2057 },{
2058 .name = name_comp2, /* Composite input */
2059 .vmux = 3,
2060 .amux = LINE2,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07002061 }},
2062 .radio = {
2063 .name = name_radio,
Peter Missel10b7a902006-01-23 17:11:06 -02002064 .amux = TV,
2065 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07002066 },
2067 },
2068 [SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII] = {
2069 .name = "Compro VideoMate TV Gold+II",
2070 .audio_clock = 0x002187de7,
2071 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
2072 .radio_type = TUNER_TEA5767,
2073 .tuner_addr = 0x63,
2074 .radio_addr = 0x60,
2075 .gpiomask = 0x8c1880,
2076 .inputs = {{
2077 .name = name_svideo,
2078 .vmux = 0,
2079 .amux = LINE1,
2080 .gpio = 0x800800,
2081 },{
2082 .name = name_comp1,
2083 .vmux = 3,
2084 .amux = LINE1,
2085 .gpio = 0x801000,
2086 },{
2087 .name = name_tv,
2088 .vmux = 1,
2089 .amux = TV,
2090 .tv = 1,
2091 .gpio = 0x800000,
2092 }},
2093 .radio = {
2094 .name = name_radio,
2095 .amux = TV,
2096 .gpio = 0x880000,
2097 },
2098 .mute = {
2099 .name = name_mute,
2100 .amux = LINE2,
2101 .gpio = 0x840000,
2102 },
2103 },
2104 [SAA7134_BOARD_KWORLD_XPERT] = {
2105 /*
2106 FIXME:
2107 - Remote control doesn't initialize properly.
2108 - Audio volume starts muted,
2109 then gradually increases after channel change.
2110 - Overlay scaling problems (application error?)
2111 - Composite S-Video untested.
2112 From: Konrad Rzepecki <hannibal@megapolis.pl>
2113 */
2114 .name = "Kworld Xpert TV PVR7134",
2115 .audio_clock = 0x00187de7,
2116 .tuner_type = TUNER_TENA_9533_DI,
2117 .radio_type = TUNER_TEA5767,
2118 .tuner_addr = 0x61,
2119 .radio_addr = 0x60,
2120 .gpiomask = 0x0700,
2121 .inputs = {{
2122 .name = name_tv,
2123 .vmux = 1,
2124 .amux = TV,
2125 .tv = 1,
2126 .gpio = 0x000,
2127 },{
2128 .name = name_comp1,
2129 .vmux = 3,
2130 .amux = LINE1,
2131 .gpio = 0x200, /* gpio by DScaler */
2132 },{
2133 .name = name_svideo,
2134 .vmux = 0,
2135 .amux = LINE1,
2136 .gpio = 0x200,
2137 }},
2138 .radio = {
2139 .name = name_radio,
2140 .amux = LINE1,
2141 .gpio = 0x100,
2142 },
2143 .mute = {
2144 .name = name_mute,
2145 .amux = TV,
2146 .gpio = 0x000,
2147 },
2148 },
Mauro Carvalho Chehab2f180712005-09-09 13:03:46 -07002149 [SAA7134_BOARD_FLYTV_DIGIMATRIX] = {
2150 .name = "FlyTV mini Asus Digimatrix",
2151 .audio_clock = 0x00200000,
Michael Krufkyf3629be2006-03-11 17:02:01 -03002152 .tuner_type = TUNER_LG_TALN,
Mauro Carvalho Chehab2f180712005-09-09 13:03:46 -07002153 .radio_type = UNSET,
2154 .tuner_addr = ADDR_UNSET,
2155 .radio_addr = ADDR_UNSET,
2156 .inputs = {{
2157 .name = name_tv,
2158 .vmux = 1,
2159 .amux = TV,
2160 .tv = 1,
2161 },{
2162 .name = name_tv_mono,
2163 .vmux = 1,
2164 .amux = LINE2,
2165 .tv = 1,
2166 },{
2167 .name = name_comp1,
2168 .vmux = 0,
2169 .amux = LINE2,
2170 },{
2171 .name = name_comp2,
2172 .vmux = 3,
2173 .amux = LINE2,
2174 },{
2175 .name = name_svideo,
2176 .vmux = 8,
2177 .amux = LINE2,
2178 }},
2179 .radio = {
2180 .name = name_radio, /* radio unconfirmed */
2181 .amux = LINE2,
2182 },
2183 },
Mauro Carvalho Chehab260784d2005-09-09 13:03:49 -07002184 [SAA7134_BOARD_KWORLD_TERMINATOR] = {
2185 /* Kworld V-Stream Studio TV Terminator */
2186 /* "James Webb <jrwebb@qwest.net> */
2187 .name = "V-Stream Studio TV Terminator",
2188 .audio_clock = 0x00187de7,
2189 .tuner_type = TUNER_PHILIPS_TDA8290,
2190 .radio_type = UNSET,
2191 .tuner_addr = ADDR_UNSET,
2192 .radio_addr = ADDR_UNSET,
2193 .gpiomask = 1 << 21,
2194 .inputs = {{
2195 .name = name_tv,
2196 .vmux = 1,
2197 .amux = TV,
2198 .gpio = 0x0000000,
2199 .tv = 1,
2200 },{
2201 .name = name_comp1, /* Composite input */
2202 .vmux = 3,
2203 .amux = LINE2,
2204 .gpio = 0x0000000,
2205 },{
2206 .name = name_svideo, /* S-Video input */
2207 .vmux = 8,
2208 .amux = LINE2,
2209 .gpio = 0x0000000,
2210 }},
2211 .radio = {
2212 .name = name_radio,
2213 .amux = TV,
2214 .gpio = 0x0200000,
2215 },
2216 },
Mauro Carvalho Chehab4279f022005-09-09 13:03:51 -07002217 [SAA7134_BOARD_YUAN_TUN900] = {
2218 /* FIXME:
2219 * S-Video and composite sources untested.
2220 * Radio not working.
2221 * Remote control not yet implemented.
2222 * From : codemaster@webgeeks.be */
2223 .name = "Yuan TUN-900 (saa7135)",
2224 .audio_clock = 0x00187de7,
2225 .tuner_type = TUNER_PHILIPS_TDA8290,
2226 .radio_type = UNSET,
2227 .tuner_addr= ADDR_UNSET,
2228 .radio_addr= ADDR_UNSET,
2229 .gpiomask = 0x00010003,
2230 .inputs = {{
2231 .name = name_tv,
2232 .vmux = 1,
2233 .amux = TV,
2234 .tv = 1,
2235 .gpio = 0x01,
2236 },{
2237 .name = name_comp1,
2238 .vmux = 0,
2239 .amux = LINE2,
2240 .gpio = 0x02,
2241 },{
2242 .name = name_svideo,
2243 .vmux = 6,
2244 .amux = LINE2,
2245 .gpio = 0x02,
2246 }},
2247 .radio = {
2248 .name = name_radio,
2249 .amux = LINE1,
2250 .gpio = 0x00010003,
2251 },
2252 .mute = {
2253 .name = name_mute,
2254 .amux = TV,
2255 .gpio = 0x01,
2256 },
2257 },
Nickolay V. Shmyreva8ff4172005-11-08 21:36:16 -08002258 [SAA7134_BOARD_BEHOLD_409FM] = {
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002259 /* <http://tuner.beholder.ru>, Sergey <skiv@orel.ru> */
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03002260 /* Beholder Intl. Ltd. 2008 */
2261 /*Dmitry Belimov <d.belimov@gmail.com> */
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002262 .name = "Beholder BeholdTV 409 FM",
2263 .audio_clock = 0x00187de7,
2264 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
2265 .radio_type = UNSET,
2266 .tuner_addr = ADDR_UNSET,
2267 .radio_addr = ADDR_UNSET,
2268 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03002269 .gpiomask = 0x00008000,
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002270 .inputs = {{
2271 .name = name_tv,
Nickolay V. Shmyreva8ff4172005-11-08 21:36:16 -08002272 .vmux = 3,
2273 .amux = TV,
2274 .tv = 1,
2275 },{
2276 .name = name_comp1,
2277 .vmux = 1,
2278 .amux = LINE1,
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002279 },{
2280 .name = name_svideo,
Nickolay V. Shmyreva8ff4172005-11-08 21:36:16 -08002281 .vmux = 8,
2282 .amux = LINE1,
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002283 }},
2284 .radio = {
2285 .name = name_radio,
Nickolay V. Shmyreva8ff4172005-11-08 21:36:16 -08002286 .amux = LINE2,
Trent Piepho657de3c2006-06-20 00:30:57 -03002287 },
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002288 },
2289 [SAA7134_BOARD_GOTVIEW_7135] = {
Nickolay V. Shmyrevdcd555e2005-11-08 21:36:23 -08002290 /* Mike Baikov <mike@baikov.com> */
Nickolay V. Shmyrev6b961442005-11-08 21:36:22 -08002291 /* Andrey Cvetcov <ays14@yandex.ru> */
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002292 .name = "GoTView 7135 PCI",
2293 .audio_clock = 0x00187de7,
2294 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
2295 .radio_type = UNSET,
2296 .tuner_addr = ADDR_UNSET,
2297 .radio_addr = ADDR_UNSET,
2298 .tda9887_conf = TDA9887_PRESENT,
2299 .gpiomask = 0x00200003,
2300 .inputs = {{
2301 .name = name_tv,
2302 .vmux = 1,
2303 .amux = TV,
2304 .tv = 1,
2305 .gpio = 0x00200003,
2306 },{
2307 .name = name_tv_mono,
2308 .vmux = 1,
2309 .amux = LINE2,
2310 .gpio = 0x00200003,
2311 },{
2312 .name = name_comp1,
2313 .vmux = 3,
2314 .amux = LINE1,
2315 .gpio = 0x00200003,
2316 },{
2317 .name = name_svideo,
2318 .vmux = 8,
2319 .amux = LINE1,
2320 .gpio = 0x00200003,
2321 }},
2322 .radio = {
2323 .name = name_radio,
2324 .amux = LINE2,
2325 .gpio = 0x00200003,
2326 },
2327 .mute = {
2328 .name = name_mute,
2329 .amux = TV,
2330 .gpio = 0x00200003,
2331 },
2332 },
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08002333 [SAA7134_BOARD_PHILIPS_EUROPA] = {
2334 .name = "Philips EUROPA V3 reference design",
2335 .audio_clock = 0x00187de7,
2336 .tuner_type = TUNER_PHILIPS_TD1316,
2337 .radio_type = UNSET,
2338 .tuner_addr = 0x61,
2339 .radio_addr = ADDR_UNSET,
Hartmut Hackmann44fd06f2006-02-27 00:09:11 -03002340 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08002341 .mpeg = SAA7134_MPEG_DVB,
2342 .inputs = {{
2343 .name = name_tv,
2344 .vmux = 3,
2345 .amux = TV,
2346 .tv = 1,
2347 },{
2348 .name = name_comp1,
2349 .vmux = 0,
2350 .amux = LINE2,
2351 },{
2352 .name = name_svideo,
2353 .vmux = 8,
2354 .amux = LINE2,
2355 }},
2356 },
2357 [SAA7134_BOARD_VIDEOMATE_DVBT_300] = {
2358 .name = "Compro Videomate DVB-T300",
2359 .audio_clock = 0x00187de7,
2360 .tuner_type = TUNER_PHILIPS_TD1316,
2361 .radio_type = UNSET,
2362 .tuner_addr = 0x61,
2363 .radio_addr = ADDR_UNSET,
Hartmut Hackmann44fd06f2006-02-27 00:09:11 -03002364 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08002365 .mpeg = SAA7134_MPEG_DVB,
2366 .inputs = {{
2367 .name = name_tv,
2368 .vmux = 3,
2369 .amux = TV,
2370 .tv = 1,
2371 },{
2372 .name = name_comp1,
2373 .vmux = 1,
2374 .amux = LINE2,
2375 },{
2376 .name = name_svideo,
2377 .vmux = 8,
2378 .amux = LINE2,
2379 }},
2380 },
2381 [SAA7134_BOARD_VIDEOMATE_DVBT_200] = {
2382 .name = "Compro Videomate DVB-T200",
2383 .tuner_type = TUNER_ABSENT,
2384 .audio_clock = 0x00187de7,
2385 .radio_type = UNSET,
2386 .tuner_addr = ADDR_UNSET,
2387 .radio_addr = ADDR_UNSET,
2388 .mpeg = SAA7134_MPEG_DVB,
2389 .inputs = {{
2390 .name = name_comp1,
2391 .vmux = 0,
2392 .amux = LINE1,
2393 },{
2394 .name = name_svideo,
2395 .vmux = 8,
2396 .amux = LINE1,
2397 }},
2398 },
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002399 [SAA7134_BOARD_RTD_VFG7350] = {
2400 .name = "RTD Embedded Technologies VFG7350",
2401 .audio_clock = 0x00200000,
2402 .tuner_type = TUNER_ABSENT,
2403 .radio_type = UNSET,
2404 .tuner_addr = ADDR_UNSET,
2405 .radio_addr = ADDR_UNSET,
Hans Verkuil195784b2009-03-28 09:27:02 -03002406 .empress_addr = 0x21,
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002407 .inputs = {{
2408 .name = "Composite 0",
2409 .vmux = 0,
2410 .amux = LINE1,
2411 },{
2412 .name = "Composite 1",
2413 .vmux = 1,
2414 .amux = LINE2,
2415 },{
2416 .name = "Composite 2",
2417 .vmux = 2,
2418 .amux = LINE1,
2419 },{
2420 .name = "Composite 3",
2421 .vmux = 3,
2422 .amux = LINE2,
2423 },{
2424 .name = "S-Video 0",
2425 .vmux = 8,
2426 .amux = LINE1,
2427 },{
2428 .name = "S-Video 1",
2429 .vmux = 9,
2430 .amux = LINE2,
2431 }},
2432 .mpeg = SAA7134_MPEG_EMPRESS,
2433 .video_out = CCIR656,
Robert W. Boone2f8d4f52005-11-08 21:37:10 -08002434 .vid_port_opts = ( SET_T_CODE_POLARITY_NON_INVERTED |
2435 SET_CLOCK_NOT_DELAYED |
2436 SET_CLOCK_INVERTED |
2437 SET_VSYNC_OFF ),
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002438 },
2439 [SAA7134_BOARD_RTD_VFG7330] = {
2440 .name = "RTD Embedded Technologies VFG7330",
2441 .audio_clock = 0x00200000,
2442 .tuner_type = TUNER_ABSENT,
2443 .radio_type = UNSET,
2444 .tuner_addr = ADDR_UNSET,
2445 .radio_addr = ADDR_UNSET,
2446 .inputs = {{
2447 .name = "Composite 0",
2448 .vmux = 0,
2449 .amux = LINE1,
2450 },{
2451 .name = "Composite 1",
2452 .vmux = 1,
2453 .amux = LINE2,
2454 },{
2455 .name = "Composite 2",
2456 .vmux = 2,
2457 .amux = LINE1,
2458 },{
2459 .name = "Composite 3",
2460 .vmux = 3,
2461 .amux = LINE2,
2462 },{
2463 .name = "S-Video 0",
2464 .vmux = 8,
2465 .amux = LINE1,
2466 },{
2467 .name = "S-Video 1",
2468 .vmux = 9,
2469 .amux = LINE2,
2470 }},
2471 },
Mauro Carvalho Chehab058afaf2005-11-08 21:36:49 -08002472 [SAA7134_BOARD_FLYTVPLATINUM_MINI2] = {
2473 .name = "LifeView FlyTV Platinum Mini2",
2474 .audio_clock = 0x00200000,
2475 .tuner_type = TUNER_PHILIPS_TDA8290,
2476 .radio_type = UNSET,
2477 .tuner_addr = ADDR_UNSET,
2478 .radio_addr = ADDR_UNSET,
2479
2480 .inputs = {{
2481 .name = name_tv,
2482 .vmux = 1,
2483 .amux = TV,
2484 .tv = 1,
2485 },{
2486 .name = name_comp1, /* Composite signal on S-Video input */
2487 .vmux = 0,
2488 .amux = LINE2,
2489 },{
2490 .name = name_comp2, /* Composite input */
2491 .vmux = 3,
2492 .amux = LINE2,
2493 },{
2494 .name = name_svideo,
2495 .vmux = 8,
2496 .amux = LINE2,
2497 }},
2498 },
Michael Krufky76bc3a32005-11-08 21:37:27 -08002499 [SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180] = {
Michael Krufkyac113d12005-11-08 21:38:21 -08002500 /* Michael Krufky <mkrufky@m1k.net>
2501 * Uses Alps Electric TDHU2, containing NXT2004 ATSC Decoder
2502 * AFAIK, there is no analog demod, thus,
2503 * no support for analog television.
2504 */
Michael Krufky76bc3a32005-11-08 21:37:27 -08002505 .name = "AVerMedia AVerTVHD MCE A180",
2506 .audio_clock = 0x00187de7,
2507 .tuner_type = TUNER_ABSENT,
2508 .radio_type = UNSET,
2509 .tuner_addr = ADDR_UNSET,
2510 .radio_addr = ADDR_UNSET,
Michael Krufky3b64e8e2005-11-08 21:38:20 -08002511 .mpeg = SAA7134_MPEG_DVB,
Michael Krufky76bc3a32005-11-08 21:37:27 -08002512 .inputs = {{
2513 .name = name_comp1,
2514 .vmux = 3,
2515 .amux = LINE2,
2516 },{
2517 .name = name_svideo,
2518 .vmux = 8,
2519 .amux = LINE2,
2520 }},
2521 },
Pieter Palmerscf1c5d12005-11-08 21:37:40 -08002522 [SAA7134_BOARD_MONSTERTV_MOBILE] = {
2523 .name = "SKNet MonsterTV Mobile",
2524 .audio_clock = 0x00187de7,
2525 .tuner_type = TUNER_PHILIPS_TDA8290,
2526 .radio_type = UNSET,
2527 .tuner_addr = ADDR_UNSET,
2528 .radio_addr = ADDR_UNSET,
2529
2530 .inputs = {{
2531 .name = name_tv,
2532 .vmux = 1,
2533 .amux = TV,
2534 .tv = 1,
2535 },{
2536 .name = name_comp1,
2537 .vmux = 3,
2538 .amux = LINE1,
2539 },{
2540 .name = name_svideo,
2541 .vmux = 6,
2542 .amux = LINE1,
2543 }},
2544 },
Ricardo Cerqueirac2f6f9d2005-11-08 21:37:51 -08002545 [SAA7134_BOARD_PINNACLE_PCTV_110i] = {
Karsten Suehringcb46e3c2006-02-27 00:08:08 -03002546 .name = "Pinnacle PCTV 40i/50i/110i (saa7133)",
Ricardo Cerqueirac2f6f9d2005-11-08 21:37:51 -08002547 .audio_clock = 0x00187de7,
2548 .tuner_type = TUNER_PHILIPS_TDA8290,
2549 .radio_type = UNSET,
2550 .tuner_addr = ADDR_UNSET,
2551 .radio_addr = ADDR_UNSET,
2552 .gpiomask = 0x080200000,
Yuri Funduryaneec25fa2008-02-17 01:22:37 -03002553 .inputs = { {
2554 .name = name_tv,
2555 .vmux = 4,
2556 .amux = TV,
2557 .tv = 1,
2558 }, {
2559 .name = name_comp1,
2560 .vmux = 1,
2561 .amux = LINE2,
2562 }, {
2563 .name = name_comp2,
2564 .vmux = 0,
2565 .amux = LINE2,
2566 }, {
2567 .name = name_svideo,
2568 .vmux = 8,
2569 .amux = LINE2,
2570 } },
Ricardo Cerqueirac2f6f9d2005-11-08 21:37:51 -08002571 .radio = {
Yuri Funduryaneec25fa2008-02-17 01:22:37 -03002572 .name = name_radio,
2573 .amux = TV,
2574 .gpio = 0x0200000,
Ricardo Cerqueirac2f6f9d2005-11-08 21:37:51 -08002575 },
2576 },
Hermann Pitton28f02242005-11-08 21:38:03 -08002577 [SAA7134_BOARD_ASUSTeK_P7131_DUAL] = {
2578 .name = "ASUSTeK P7131 Dual",
2579 .audio_clock = 0x00187de7,
2580 .tuner_type = TUNER_PHILIPS_TDA8290,
2581 .radio_type = UNSET,
2582 .tuner_addr = ADDR_UNSET,
2583 .radio_addr = ADDR_UNSET,
2584 .gpiomask = 1 << 21,
Hartmut Hackmannd4b0aba2005-11-08 21:38:44 -08002585 .mpeg = SAA7134_MPEG_DVB,
Hermann Pitton28f02242005-11-08 21:38:03 -08002586 .inputs = {{
2587 .name = name_tv,
2588 .vmux = 1,
2589 .amux = TV,
2590 .tv = 1,
Hartmut Hackmann83646812006-10-12 20:38:51 -03002591 .gpio = 0x0000000,
Hermann Pitton28f02242005-11-08 21:38:03 -08002592 },{
2593 .name = name_comp1,
2594 .vmux = 3,
2595 .amux = LINE2,
Hartmut Hackmann83646812006-10-12 20:38:51 -03002596 .gpio = 0x0200000,
Hermann Pitton28f02242005-11-08 21:38:03 -08002597 },{
Hermann Pitton8387c662006-12-10 21:08:03 -03002598 .name = name_comp2,
2599 .vmux = 0,
2600 .amux = LINE2,
2601 .gpio = 0x0200000,
2602 },{
Hermann Pitton28f02242005-11-08 21:38:03 -08002603 .name = name_svideo,
2604 .vmux = 8,
2605 .amux = LINE2,
Hartmut Hackmann83646812006-10-12 20:38:51 -03002606 .gpio = 0x0200000,
Hermann Pitton28f02242005-11-08 21:38:03 -08002607 }},
2608 .radio = {
2609 .name = name_radio,
2610 .amux = TV,
2611 .gpio = 0x0200000,
2612 },
2613 },
Ricardo Cerqueira17ce1ff2005-11-08 21:38:47 -08002614 [SAA7134_BOARD_SEDNA_PC_TV_CARDBUS] = {
Paul T Zalacfe2e36c2005-11-08 21:38:04 -08002615 /* Paul Tom Zalac <pzalac@gmail.com> */
Pavel Mihaylovc3d93192005-11-08 21:38:43 -08002616 /* Pavel Mihaylov <bin@bash.info> */
Ricardo Cerqueira17ce1ff2005-11-08 21:38:47 -08002617 .name = "Sedna/MuchTV PC TV Cardbus TV/Radio (ITO25 Rev:2B)",
2618 /* Sedna/MuchTV (OEM) Cardbus TV Tuner */
Paul T Zalacfe2e36c2005-11-08 21:38:04 -08002619 .audio_clock = 0x00187de7,
Pavel Mihaylovc3d93192005-11-08 21:38:43 -08002620 .tuner_type = TUNER_PHILIPS_TDA8290,
Paul T Zalacfe2e36c2005-11-08 21:38:04 -08002621 .radio_type = UNSET,
2622 .tuner_addr = ADDR_UNSET,
2623 .radio_addr = ADDR_UNSET,
Pavel Mihaylovc3d93192005-11-08 21:38:43 -08002624 .gpiomask = 0xe880c0,
Paul T Zalacfe2e36c2005-11-08 21:38:04 -08002625 .inputs = {{
Pavel Mihaylovc3d93192005-11-08 21:38:43 -08002626 .name = name_tv,
2627 .vmux = 3,
2628 .amux = TV,
2629 .tv = 1,
2630 },{
Paul T Zalacfe2e36c2005-11-08 21:38:04 -08002631 .name = name_comp1,
2632 .vmux = 1,
Pavel Mihaylovc3d93192005-11-08 21:38:43 -08002633 .amux = LINE1,
2634 },{
2635 .name = name_svideo,
2636 .vmux = 6,
2637 .amux = LINE1,
Paul T Zalacfe2e36c2005-11-08 21:38:04 -08002638 }},
Pavel Mihaylovc3d93192005-11-08 21:38:43 -08002639 .radio = {
2640 .name = name_radio,
2641 .amux = LINE2,
2642 },
Paul T Zalacfe2e36c2005-11-08 21:38:04 -08002643 },
Michael Krufky5d5c9902005-11-08 21:38:08 -08002644 [SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV] = {
2645 /* "Cyril Lacoux (Yack)" <clacoux@ifeelgood.org> */
2646 .name = "ASUS Digimatrix TV",
2647 .audio_clock = 0x00200000,
2648 .tuner_type = TUNER_PHILIPS_FQ1216ME,
2649 .tda9887_conf = TDA9887_PRESENT,
2650 .radio_type = UNSET,
2651 .tuner_addr = ADDR_UNSET,
2652 .radio_addr = ADDR_UNSET,
2653 .inputs = {{
2654 .name = name_tv,
2655 .vmux = 1,
2656 .amux = TV,
2657 .tv = 1,
2658 },{
2659 .name = name_comp1,
2660 .vmux = 3,
2661 .amux = LINE1,
2662 },{
2663 .name = name_svideo,
2664 .vmux = 8,
2665 .amux = LINE1,
2666 }},
2667 },
Hartmut Hackmann90e9df72005-11-08 21:38:42 -08002668 [SAA7134_BOARD_PHILIPS_TIGER] = {
2669 .name = "Philips Tiger reference design",
2670 .audio_clock = 0x00187de7,
2671 .tuner_type = TUNER_PHILIPS_TDA8290,
2672 .radio_type = UNSET,
2673 .tuner_addr = ADDR_UNSET,
2674 .radio_addr = ADDR_UNSET,
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03002675 .tuner_config = 0,
Hartmut Hackmann90e9df72005-11-08 21:38:42 -08002676 .mpeg = SAA7134_MPEG_DVB,
Hartmut Hackmannde956c12007-04-27 12:31:12 -03002677 .gpiomask = 0x0200000,
Hartmut Hackmann90e9df72005-11-08 21:38:42 -08002678 .inputs = {{
2679 .name = name_tv,
2680 .vmux = 1,
2681 .amux = TV,
2682 .tv = 1,
2683 },{
2684 .name = name_comp1,
2685 .vmux = 3,
2686 .amux = LINE1,
2687 },{
2688 .name = name_svideo,
2689 .vmux = 8,
2690 .amux = LINE1,
2691 }},
Hartmut Hackmann0f79c362006-01-14 21:26:44 -02002692 .radio = {
2693 .name = name_radio,
2694 .amux = TV,
2695 .gpio = 0x0200000,
2696 },
Hartmut Hackmann90e9df72005-11-08 21:38:42 -08002697 },
Ricardo Cerqueira80d2ad92005-11-13 16:08:01 -08002698 [SAA7134_BOARD_MSI_TVATANYWHERE_PLUS] = {
2699 .name = "MSI TV@Anywhere plus",
2700 .audio_clock = 0x00187de7,
2701 .tuner_type = TUNER_PHILIPS_TDA8290,
2702 .radio_type = UNSET,
2703 .tuner_addr = ADDR_UNSET,
2704 .radio_addr = ADDR_UNSET,
hermann pittone382f622007-01-07 21:19:48 -03002705 .gpiomask = 1 << 21,
Ricardo Cerqueira80d2ad92005-11-13 16:08:01 -08002706 .inputs = {{
2707 .name = name_tv,
2708 .vmux = 1,
2709 .amux = TV,
2710 .tv = 1,
2711 },{
2712 .name = name_comp1,
2713 .vmux = 3,
hermann pittone382f622007-01-07 21:19:48 -03002714 .amux = LINE2, /* unconfirmed, taken from Philips driver */
2715 },{
2716 .name = name_comp2,
2717 .vmux = 0, /* untested, Composite over S-Video */
2718 .amux = LINE2,
Ricardo Cerqueira80d2ad92005-11-13 16:08:01 -08002719 },{
2720 .name = name_svideo,
hermann pittone382f622007-01-07 21:19:48 -03002721 .vmux = 8,
2722 .amux = LINE2,
Ricardo Cerqueira80d2ad92005-11-13 16:08:01 -08002723 }},
2724 .radio = {
2725 .name = name_radio,
hermann pittone382f622007-01-07 21:19:48 -03002726 .amux = TV,
2727 .gpio = 0x0200000,
Ricardo Cerqueira80d2ad92005-11-13 16:08:01 -08002728 },
2729 },
Jörg Schummerf639c9b2006-01-09 15:25:01 -02002730 [SAA7134_BOARD_CINERGY250PCI] = {
2731 /* remote-control does not work. The signal about a
2732 key press comes in via gpio, but the key code
2733 doesn't. Neither does it have an i2c remote control
2734 interface. */
2735 .name = "Terratec Cinergy 250 PCI TV",
2736 .audio_clock = 0x00187de7,
2737 .tuner_type = TUNER_PHILIPS_TDA8290,
2738 .radio_type = UNSET,
2739 .tuner_addr = ADDR_UNSET,
2740 .radio_addr = ADDR_UNSET,
2741 .gpiomask = 0x80200000,
2742 .inputs = {{
2743 .name = name_tv,
2744 .vmux = 1,
2745 .amux = TV,
2746 .tv = 1,
2747 },{
2748 .name = name_svideo, /* NOT tested */
2749 .vmux = 8,
2750 .amux = LINE1,
2751 }},
2752 .radio = {
2753 .name = name_radio,
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03002754 .amux = TV,
Jörg Schummerf639c9b2006-01-09 15:25:01 -02002755 .gpio = 0x0200000,
2756 },
2757 },
Peter Missel4aa6ba52006-01-09 15:32:45 -02002758 [SAA7134_BOARD_FLYDVB_TRIO] = {
2759 /* LifeView LR319 FlyDVB Trio */
2760 /* Peter Missel <peter.missel@onlinehome.de> */
2761 .name = "LifeView FlyDVB Trio",
2762 .audio_clock = 0x00200000,
2763 .tuner_type = TUNER_PHILIPS_TDA8290,
2764 .radio_type = UNSET,
2765 .tuner_addr = ADDR_UNSET,
2766 .radio_addr = ADDR_UNSET,
2767 .gpiomask = 0x00200000,
Hartmut Hackmann293cdab2006-02-27 21:08:07 -03002768 .mpeg = SAA7134_MPEG_DVB,
Peter Missel4aa6ba52006-01-09 15:32:45 -02002769 .inputs = {{
2770 .name = name_tv, /* Analog broadcast/cable TV */
2771 .vmux = 1,
2772 .amux = TV,
2773 .gpio = 0x200000, /* GPIO21=High for TV input */
2774 .tv = 1,
2775 },{
2776 .name = name_svideo, /* S-Video signal on S-Video input */
2777 .vmux = 8,
2778 .amux = LINE2,
2779 },{
2780 .name = name_comp1, /* Composite signal on S-Video input */
2781 .vmux = 0,
2782 .amux = LINE2,
2783 },{
2784 .name = name_comp2, /* Composite input */
2785 .vmux = 3,
2786 .amux = LINE2,
2787 }},
2788 .radio = {
2789 .name = name_radio,
2790 .amux = TV,
2791 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
2792 },
2793 },
Jose Alberto Regueroa78d0bf2006-02-07 06:25:14 -02002794 [SAA7134_BOARD_AVERMEDIA_777] = {
2795 .name = "AverTV DVB-T 777",
2796 .audio_clock = 0x00187de7,
2797 .tuner_type = TUNER_ABSENT,
2798 .radio_type = UNSET,
2799 .tuner_addr = ADDR_UNSET,
2800 .radio_addr = ADDR_UNSET,
2801 .mpeg = SAA7134_MPEG_DVB,
2802 .inputs = {{
2803 .name = name_comp1,
Hartmut Hackmann2174eb92006-03-27 19:15:47 -03002804 .vmux = 1,
Jose Alberto Regueroa78d0bf2006-02-07 06:25:14 -02002805 .amux = LINE1,
2806 },{
2807 .name = name_svideo,
2808 .vmux = 8,
2809 .amux = LINE1,
2810 }},
2811 },
Giampiero Giancipoli3d8466e2006-02-07 06:49:09 -02002812 [SAA7134_BOARD_FLYDVBT_LR301] = {
2813 /* LifeView FlyDVB-T */
2814 /* Giampiero Giancipoli <gianci@libero.it> */
Hartmut Hackmann42e6b3b2006-03-27 19:04:48 -03002815 .name = "LifeView FlyDVB-T / Genius VideoWonder DVB-T",
Giampiero Giancipoli3d8466e2006-02-07 06:49:09 -02002816 .audio_clock = 0x00200000,
2817 .tuner_type = TUNER_ABSENT,
2818 .radio_type = UNSET,
2819 .tuner_addr = ADDR_UNSET,
2820 .radio_addr = ADDR_UNSET,
2821 .mpeg = SAA7134_MPEG_DVB,
2822 .inputs = {{
2823 .name = name_comp1, /* Composite input */
2824 .vmux = 3,
2825 .amux = LINE2,
2826 },{
2827 .name = name_svideo, /* S-Video signal on S-Video input */
2828 .vmux = 8,
2829 .amux = LINE2,
2830 }},
2831 },
Hartmut Hackmanndf42eaf2006-02-07 06:49:10 -02002832 [SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331] = {
2833 .name = "ADS Instant TV Duo Cardbus PTV331",
2834 .audio_clock = 0x00200000,
2835 .tuner_type = TUNER_PHILIPS_TDA8290,
2836 .radio_type = UNSET,
2837 .tuner_addr = ADDR_UNSET,
2838 .radio_addr = ADDR_UNSET,
2839 .mpeg = SAA7134_MPEG_DVB,
2840 .gpiomask = 0x00600000, /* Bit 21 0=Radio, Bit 22 0=TV */
2841 .inputs = {{
2842 .name = name_tv,
2843 .vmux = 1,
2844 .amux = TV,
2845 .tv = 1,
2846 .gpio = 0x00200000,
2847 }},
2848 },
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02002849 [SAA7134_BOARD_TEVION_DVBT_220RF] = {
Adrian Bunk793f2252006-03-08 10:50:06 -03002850 .name = "Tevion/KWorld DVB-T 220RF",
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02002851 .audio_clock = 0x00187de7,
2852 .tuner_type = TUNER_PHILIPS_TDA8290,
2853 .radio_type = UNSET,
2854 .tuner_addr = ADDR_UNSET,
2855 .radio_addr = ADDR_UNSET,
2856 .mpeg = SAA7134_MPEG_DVB,
Simon Farnsworth289ea1f2007-09-10 13:37:26 -03002857 .gpiomask = 1 << 21,
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02002858 .inputs = {{
2859 .name = name_tv,
2860 .vmux = 1,
2861 .amux = TV,
2862 .tv = 1,
2863 },{
2864 .name = name_comp1,
2865 .vmux = 3,
2866 .amux = LINE1,
2867 },{
Simon Farnsworth289ea1f2007-09-10 13:37:26 -03002868 .name = name_comp2,
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02002869 .vmux = 0,
2870 .amux = LINE1,
Simon Farnsworth289ea1f2007-09-10 13:37:26 -03002871 },{
2872 .name = name_svideo,
2873 .vmux = 8,
2874 .amux = LINE1,
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02002875 }},
2876 .radio = {
2877 .name = name_radio,
Simon Farnsworth289ea1f2007-09-10 13:37:26 -03002878 .amux = TV,
2879 .gpio = 0x0200000,
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02002880 },
2881 },
Simon Farnsworthb39423a2007-05-01 10:01:20 -03002882 [SAA7134_BOARD_KWORLD_DVBT_210] = {
2883 .name = "KWorld DVB-T 210",
2884 .audio_clock = 0x00187de7,
2885 .tuner_type = TUNER_PHILIPS_TDA8290,
2886 .radio_type = UNSET,
2887 .tuner_addr = ADDR_UNSET,
2888 .radio_addr = ADDR_UNSET,
2889 .mpeg = SAA7134_MPEG_DVB,
2890 .gpiomask = 1 << 21,
2891 .inputs = {{
2892 .name = name_tv,
2893 .vmux = 1,
2894 .amux = TV,
2895 .tv = 1,
2896 },{
2897 .name = name_comp1,
2898 .vmux = 3,
2899 .amux = LINE1,
2900 },{
2901 .name = name_svideo,
2902 .vmux = 8,
2903 .amux = LINE1,
2904 }},
2905 .radio = {
2906 .name = name_radio,
2907 .amux = TV,
2908 .gpio = 0x0200000,
2909 },
2910 },
Andrew Burri3e1410a2006-02-27 00:08:23 -03002911 [SAA7134_BOARD_KWORLD_ATSC110] = {
Eric Sandeen0ac3a5b2007-10-08 16:13:02 -03002912 .name = "Kworld ATSC110/115",
Andrew Burri3e1410a2006-02-27 00:08:23 -03002913 .audio_clock = 0x00187de7,
2914 .tuner_type = TUNER_PHILIPS_TUV1236D,
2915 .radio_type = UNSET,
2916 .tuner_addr = ADDR_UNSET,
2917 .radio_addr = ADDR_UNSET,
2918 .tda9887_conf = TDA9887_PRESENT,
2919 .mpeg = SAA7134_MPEG_DVB,
2920 .inputs = {{
2921 .name = name_tv,
2922 .vmux = 1,
2923 .amux = TV,
2924 .tv = 1,
Curt Meyers6ba509d2006-02-27 00:08:32 -03002925 },{
2926 .name = name_comp1,
2927 .vmux = 3,
2928 .amux = LINE2,
2929 },{
2930 .name = name_svideo,
2931 .vmux = 8,
2932 .amux = LINE2,
Andrew Burri3e1410a2006-02-27 00:08:23 -03002933 }},
2934 },
Rickard Osser68593af2006-03-11 17:14:12 -03002935 [SAA7134_BOARD_AVERMEDIA_A169_B] = {
2936 /* AVerMedia A169 */
2937 /* Rickard Osser <ricky@osser.se> */
2938 /* This card has two saa7134 chips on it,
2939 but only one of them is currently working. */
2940 .name = "AVerMedia A169 B",
2941 .audio_clock = 0x02187de7,
2942 .tuner_type = TUNER_LG_TALN,
2943 .radio_type = UNSET,
2944 .tuner_addr = ADDR_UNSET,
2945 .radio_addr = ADDR_UNSET,
2946 .tda9887_conf = TDA9887_PRESENT,
2947 .gpiomask = 0x0a60000,
2948 },
2949 [SAA7134_BOARD_AVERMEDIA_A169_B1] = {
2950 /* AVerMedia A169 */
2951 /* Rickard Osser <ricky@osser.se> */
2952 .name = "AVerMedia A169 B1",
2953 .audio_clock = 0x02187de7,
2954 .tuner_type = TUNER_LG_TALN,
2955 .radio_type = UNSET,
2956 .tuner_addr = ADDR_UNSET,
2957 .radio_addr = ADDR_UNSET,
2958 .tda9887_conf = TDA9887_PRESENT,
2959 .gpiomask = 0xca60000,
2960 .inputs = {{
2961 .name = name_tv,
2962 .vmux = 4,
2963 .amux = TV,
2964 .tv = 1,
2965 .gpio = 0x04a61000,
2966 },{
2967 .name = name_comp2, /* Composite SVIDEO (B/W if signal is carried with SVIDEO) */
2968 .vmux = 1,
2969 .amux = LINE2,
2970 },{
2971 .name = name_svideo,
2972 .vmux = 9, /* 9 is correct as S-VIDEO1 according to a169.inf! */
2973 .amux = LINE1,
2974 }},
2975 },
Michael Krufkyba3a5a82006-03-14 19:02:12 -03002976 [SAA7134_BOARD_MD7134_BRIDGE_2] = {
Hartmut Hackmann637afdb2008-04-22 14:46:08 -03002977 /* The second saa7134 on this card only serves as DVB-S host bridge */
Michael Krufkyba3a5a82006-03-14 19:02:12 -03002978 .name = "Medion 7134 Bridge #2",
2979 .audio_clock = 0x00187de7,
2980 .radio_type = UNSET,
2981 .tuner_addr = ADDR_UNSET,
2982 .radio_addr = ADDR_UNSET,
Hartmut Hackmann637afdb2008-04-22 14:46:08 -03002983 .mpeg = SAA7134_MPEG_DVB,
Michael Krufkyba3a5a82006-03-14 19:02:12 -03002984 },
Hartmut Hackmannd95b8942006-03-27 19:39:30 -03002985 [SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS] = {
Mauro Carvalho Chehab593f18c2007-10-07 02:17:09 -03002986 .name = "LifeView FlyDVB-T Hybrid Cardbus/MSI TV @nywhere A/D NB",
Hartmut Hackmannd95b8942006-03-27 19:39:30 -03002987 .audio_clock = 0x00200000,
2988 .tuner_type = TUNER_PHILIPS_TDA8290,
2989 .radio_type = UNSET,
2990 .tuner_addr = ADDR_UNSET,
2991 .radio_addr = ADDR_UNSET,
2992 .mpeg = SAA7134_MPEG_DVB,
2993 .gpiomask = 0x00600000, /* Bit 21 0=Radio, Bit 22 0=TV */
2994 .inputs = {{
2995 .name = name_tv,
2996 .vmux = 1,
2997 .amux = TV,
2998 .gpio = 0x200000, /* GPIO21=High for TV input */
2999 .tv = 1,
3000 },{
3001 .name = name_svideo, /* S-Video signal on S-Video input */
3002 .vmux = 8,
3003 .amux = LINE2,
3004 },{
3005 .name = name_comp1, /* Composite signal on S-Video input */
3006 .vmux = 0,
3007 .amux = LINE2,
3008 },{
3009 .name = name_comp2, /* Composite input */
3010 .vmux = 3,
3011 .amux = LINE2,
3012 }},
3013 .radio = {
3014 .name = name_radio,
3015 .amux = TV,
3016 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
3017 },
3018 },
Zac Bowlingf49ba8d2006-06-19 19:49:20 -03003019 [SAA7134_BOARD_FLYVIDEO3000_NTSC] = {
3020 /* "Zac Bowling" <zac@zacbowling.com> */
3021 .name = "LifeView FlyVIDEO3000 (NTSC)",
3022 .audio_clock = 0x00200000,
3023 .tuner_type = TUNER_PHILIPS_NTSC,
3024 .radio_type = UNSET,
3025 .tuner_addr = ADDR_UNSET,
3026 .radio_addr = ADDR_UNSET,
3027
3028 .gpiomask = 0xe000,
3029 .inputs = {{
3030 .name = name_tv,
3031 .vmux = 1,
3032 .amux = TV,
3033 .gpio = 0x8000,
3034 .tv = 1,
3035 },{
3036 .name = name_tv_mono,
3037 .vmux = 1,
3038 .amux = LINE2,
3039 .gpio = 0x0000,
3040 .tv = 1,
3041 },{
3042 .name = name_comp1,
3043 .vmux = 0,
3044 .amux = LINE2,
3045 .gpio = 0x4000,
3046 },{
3047 .name = name_comp2,
3048 .vmux = 3,
3049 .amux = LINE2,
3050 .gpio = 0x4000,
3051 },{
3052 .name = name_svideo,
3053 .vmux = 8,
3054 .amux = LINE2,
3055 .gpio = 0x4000,
3056 }},
3057 .radio = {
3058 .name = name_radio,
3059 .amux = LINE2,
3060 .gpio = 0x2000,
3061 },
3062 .mute = {
3063 .name = name_mute,
3064 .amux = TV,
3065 .gpio = 0x8000,
3066 },
3067 },
Hartmut Hackmann5eda2272006-08-07 14:03:32 -03003068 [SAA7134_BOARD_MEDION_MD8800_QUADRO] = {
3069 .name = "Medion Md8800 Quadro",
3070 .audio_clock = 0x00187de7,
3071 .tuner_type = TUNER_PHILIPS_TDA8290,
3072 .radio_type = UNSET,
3073 .tuner_addr = ADDR_UNSET,
3074 .radio_addr = ADDR_UNSET,
3075 .mpeg = SAA7134_MPEG_DVB,
3076 .inputs = {{
3077 .name = name_tv,
3078 .vmux = 1,
3079 .amux = TV,
3080 .tv = 1,
3081 },{
3082 .name = name_comp1,
3083 .vmux = 0,
hermann pitton387a2992007-10-25 21:26:53 -03003084 .amux = LINE1,
Hartmut Hackmann5eda2272006-08-07 14:03:32 -03003085 },{
3086 .name = name_svideo,
3087 .vmux = 8,
hermann pitton387a2992007-10-25 21:26:53 -03003088 .amux = LINE1,
Hartmut Hackmann5eda2272006-08-07 14:03:32 -03003089 }},
3090 },
Igor M. Liplianine2ac28f2006-08-08 09:10:10 -03003091 [SAA7134_BOARD_FLYDVBS_LR300] = {
3092 /* LifeView FlyDVB-s */
3093 /* Igor M. Liplianin <liplianin@tut.by> */
3094 .name = "LifeView FlyDVB-S /Acorp TV134DS",
3095 .audio_clock = 0x00200000,
3096 .tuner_type = TUNER_ABSENT,
3097 .radio_type = UNSET,
3098 .tuner_addr = ADDR_UNSET,
3099 .radio_addr = ADDR_UNSET,
3100 .mpeg = SAA7134_MPEG_DVB,
3101 .inputs = {{
3102 .name = name_comp1, /* Composite input */
3103 .vmux = 3,
3104 .amux = LINE1,
3105 },{
3106 .name = name_svideo, /* S-Video signal on S-Video input */
3107 .vmux = 8,
3108 .amux = LINE1,
3109 }},
3110 },
Michal Majchrowiczb04c1ba2006-09-13 16:42:42 -03003111 [SAA7134_BOARD_PROTEUS_2309] = {
3112 .name = "Proteus Pro 2309",
3113 .audio_clock = 0x00187de7,
3114 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3115 .radio_type = UNSET,
3116 .tuner_addr = ADDR_UNSET,
3117 .radio_addr = ADDR_UNSET,
3118 .tda9887_conf = TDA9887_PRESENT,
3119 .inputs = {{
3120 .name = name_tv,
3121 .vmux = 1,
3122 .amux = LINE2,
3123 .tv = 1,
3124 },{
3125 .name = name_comp1,
3126 .vmux = 0,
3127 .amux = LINE2,
3128 },{
3129 .name = name_comp2,
3130 .vmux = 3,
3131 .amux = LINE2,
3132 },{
3133 .name = name_svideo,
3134 .vmux = 8,
3135 .amux = LINE2,
3136 }},
3137 .mute = {
3138 .name = name_mute,
3139 .amux = LINE1,
3140 },
3141 },
Petr Baudis515c2082006-09-26 16:53:53 -03003142 [SAA7134_BOARD_AVERMEDIA_A16AR] = {
3143 /* Petr Baudis <pasky@ucw.cz> */
3144 .name = "AVerMedia TV Hybrid A16AR",
3145 .audio_clock = 0x187de7,
pasky@ucw.cz0871a882006-11-12 14:24:57 -03003146 .tuner_type = TUNER_PHILIPS_TD1316, /* untested */
Petr Baudis515c2082006-09-26 16:53:53 -03003147 .radio_type = TUNER_TEA5767, /* untested */
3148 .tuner_addr = ADDR_UNSET,
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03003149 .radio_addr = 0x60,
Petr Baudis515c2082006-09-26 16:53:53 -03003150 .tda9887_conf = TDA9887_PRESENT,
3151 .mpeg = SAA7134_MPEG_DVB,
3152 .inputs = {{
3153 .name = name_tv,
3154 .vmux = 1,
3155 .amux = TV,
3156 .tv = 1,
3157 },{
3158 .name = name_comp1,
3159 .vmux = 3,
3160 .amux = LINE2,
3161 },{
3162 .name = name_svideo,
3163 .vmux = 8,
3164 .amux = LINE1,
3165 }},
3166 .radio = {
3167 .name = name_radio,
3168 .amux = LINE1,
3169 },
3170 },
Hartmut Hackmanncf146ca2006-10-02 20:49:24 -03003171 [SAA7134_BOARD_ASUS_EUROPA2_HYBRID] = {
3172 .name = "Asus Europa2 OEM",
3173 .audio_clock = 0x00187de7,
3174 .tuner_type = TUNER_PHILIPS_FMD1216ME_MK3,
3175 .radio_type = UNSET,
3176 .tuner_addr = ADDR_UNSET,
3177 .radio_addr = ADDR_UNSET,
3178 .tda9887_conf = TDA9887_PRESENT| TDA9887_PORT1_ACTIVE | TDA9887_PORT2_ACTIVE,
3179 .mpeg = SAA7134_MPEG_DVB,
3180 .inputs = {{
3181 .name = name_tv,
3182 .vmux = 3,
3183 .amux = TV,
3184 .tv = 1,
3185 },{
3186 .name = name_comp1,
3187 .vmux = 4,
3188 .amux = LINE2,
3189 },{
3190 .name = name_svideo,
3191 .vmux = 8,
3192 .amux = LINE2,
3193 }},
3194 .radio = {
3195 .name = name_radio,
3196 .amux = LINE1,
3197 },
3198 },
Hartmut Hackmann587d2fd2006-10-06 19:13:50 -03003199 [SAA7134_BOARD_PINNACLE_PCTV_310i] = {
3200 .name = "Pinnacle PCTV 310i",
3201 .audio_clock = 0x00187de7,
3202 .tuner_type = TUNER_PHILIPS_TDA8290,
3203 .radio_type = UNSET,
3204 .tuner_addr = ADDR_UNSET,
3205 .radio_addr = ADDR_UNSET,
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03003206 .tuner_config = 1,
Hartmut Hackmann587d2fd2006-10-06 19:13:50 -03003207 .mpeg = SAA7134_MPEG_DVB,
3208 .gpiomask = 0x000200000,
3209 .inputs = {{
3210 .name = name_tv,
3211 .vmux = 4,
3212 .amux = TV,
3213 .tv = 1,
3214 },{
3215 .name = name_comp1,
3216 .vmux = 1,
3217 .amux = LINE2,
3218 },{
3219 .name = name_comp2,
3220 .vmux = 0,
3221 .amux = LINE2,
3222 },{
3223 .name = name_svideo,
3224 .vmux = 8,
3225 .amux = LINE2,
3226 }},
3227 .radio = {
3228 .name = name_radio,
3229 .amux = TV,
3230 .gpio = 0x0200000,
3231 },
3232 },
Mikhail Fedotov3ac706d2006-10-06 20:23:47 -03003233 [SAA7134_BOARD_AVERMEDIA_STUDIO_507] = {
3234 /* Mikhail Fedotov <mo_fedotov@mail.ru> */
3235 .name = "Avermedia AVerTV Studio 507",
3236 .audio_clock = 0x00187de7,
3237 .tuner_type = TUNER_PHILIPS_FM1256_IH3,
3238 .radio_type = UNSET,
3239 .tuner_addr = ADDR_UNSET,
3240 .radio_addr = ADDR_UNSET,
3241 .tda9887_conf = TDA9887_PRESENT,
3242 .gpiomask = 0x03,
3243 .inputs = {{
3244 .name = name_tv,
3245 .vmux = 1,
3246 .amux = TV,
3247 .tv = 1,
3248 .gpio = 0x00,
3249 },{
3250 .name = name_comp1,
3251 .vmux = 0,
3252 .amux = LINE2,
3253 .gpio = 0x00,
3254 },{
3255 .name = name_comp2,
3256 .vmux = 3,
3257 .amux = LINE2,
3258 .gpio = 0x00,
3259 },{
3260 .name = name_svideo,
3261 .vmux = 8,
3262 .amux = LINE2,
3263 .gpio = 0x00,
3264 }},
3265 .radio = {
3266 .name = name_radio,
3267 .amux = LINE2,
3268 .gpio = 0x01,
3269 },
3270 .mute = {
3271 .name = name_mute,
3272 .amux = LINE1,
3273 .gpio = 0x00,
3274 },
3275 },
Hartmut Hackmanncbb94522006-10-30 20:00:16 -03003276 [SAA7134_BOARD_VIDEOMATE_DVBT_200A] = {
3277 /* Francis Barber <fedora@barber-family.id.au> */
3278 .name = "Compro Videomate DVB-T200A",
3279 .audio_clock = 0x00187de7,
3280 .tuner_type = TUNER_ABSENT,
3281 .radio_type = UNSET,
3282 .tuner_addr = ADDR_UNSET,
3283 .radio_addr = ADDR_UNSET,
3284 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
3285 .mpeg = SAA7134_MPEG_DVB,
3286 .inputs = {{
3287 .name = name_tv,
3288 .vmux = 3,
3289 .amux = TV,
3290 .tv = 1,
3291 },{
3292 .name = name_comp1,
3293 .vmux = 1,
3294 .amux = LINE2,
3295 },{
3296 .name = name_svideo,
3297 .vmux = 8,
3298 .amux = LINE2,
3299 }},
3300 },
Thomas Gentyc6e53da2006-11-05 14:17:30 -03003301 [SAA7134_BOARD_HAUPPAUGE_HVR1110] = {
3302 /* Thomas Genty <tomlohave@gmail.com> */
David Bentham8acdbcf2008-09-28 16:29:51 -03003303 /* David Bentham <db260179@hotmail.com> */
Thomas Gentyc6e53da2006-11-05 14:17:30 -03003304 .name = "Hauppauge WinTV-HVR1110 DVB-T/Hybrid",
3305 .audio_clock = 0x00187de7,
3306 .tuner_type = TUNER_PHILIPS_TDA8290,
3307 .radio_type = UNSET,
3308 .tuner_addr = ADDR_UNSET,
3309 .radio_addr = ADDR_UNSET,
Michael Krufkyb3aa2262007-12-09 21:13:38 -03003310 .tuner_config = 1,
Thomas Gentyc6e53da2006-11-05 14:17:30 -03003311 .mpeg = SAA7134_MPEG_DVB,
David Bentham8acdbcf2008-09-28 16:29:51 -03003312 .gpiomask = 0x0200100,
Thomas Gentyc6e53da2006-11-05 14:17:30 -03003313 .inputs = {{
3314 .name = name_tv,
3315 .vmux = 1,
3316 .amux = TV,
3317 .tv = 1,
David Bentham8acdbcf2008-09-28 16:29:51 -03003318 .gpio = 0x0000100,
3319 }, {
3320 .name = name_comp1,
3321 .vmux = 3,
3322 .amux = LINE1,
3323 }, {
3324 .name = name_svideo,
3325 .vmux = 8,
3326 .amux = LINE1,
3327 } },
Thomas Gentyc6e53da2006-11-05 14:17:30 -03003328 .radio = {
3329 .name = name_radio,
David Bentham8acdbcf2008-09-28 16:29:51 -03003330 .amux = TV,
3331 .gpio = 0x0200100,
Thomas Gentyc6e53da2006-11-05 14:17:30 -03003332 },
3333 },
Michael Krufkyb5f05062009-08-03 16:51:33 -03003334 [SAA7134_BOARD_HAUPPAUGE_HVR1150] = {
3335 .name = "Hauppauge WinTV-HVR1150 ATSC/QAM-Hybrid",
Michael Krufkyf9996c92009-02-28 17:45:17 -03003336 .audio_clock = 0x00187de7,
3337 .tuner_type = TUNER_PHILIPS_TDA8290,
3338 .radio_type = UNSET,
3339 .tuner_addr = ADDR_UNSET,
3340 .radio_addr = ADDR_UNSET,
3341 .tuner_config = 3,
Michael Krufky3abdedd2009-01-19 01:10:49 -03003342 .mpeg = SAA7134_MPEG_DVB,
3343 .ts_type = SAA7134_MPEG_TS_SERIAL,
Michael Krufkyf9996c92009-02-28 17:45:17 -03003344 .gpiomask = 0x0800100, /* GPIO 21 is an INPUT */
3345 .inputs = {{
3346 .name = name_tv,
3347 .vmux = 1,
3348 .amux = TV,
3349 .tv = 1,
3350 .gpio = 0x0000100,
3351 }, {
3352 .name = name_comp1,
3353 .vmux = 3,
3354 .amux = LINE1,
3355 }, {
3356 .name = name_svideo,
3357 .vmux = 8,
3358 .amux = LINE1,
3359 } },
3360 .radio = {
3361 .name = name_radio,
3362 .amux = TV,
3363 .gpio = 0x0800100, /* GPIO 23 HI for FM */
3364 },
3365 },
3366 [SAA7134_BOARD_HAUPPAUGE_HVR1110R3] = {
Michael Krufky1bc7f512009-01-19 01:10:49 -03003367 .name = "Hauppauge WinTV-HVR1110r3 DVB-T/Hybrid",
Michael Krufkyf9996c92009-02-28 17:45:17 -03003368 .audio_clock = 0x00187de7,
3369 .tuner_type = TUNER_PHILIPS_TDA8290,
3370 .radio_type = UNSET,
3371 .tuner_addr = ADDR_UNSET,
3372 .radio_addr = ADDR_UNSET,
3373 .tuner_config = 3,
Michael Krufky1bc7f512009-01-19 01:10:49 -03003374 .mpeg = SAA7134_MPEG_DVB,
3375 .ts_type = SAA7134_MPEG_TS_SERIAL,
Michael Krufkyf9996c92009-02-28 17:45:17 -03003376 .gpiomask = 0x0800100, /* GPIO 21 is an INPUT */
3377 .inputs = {{
3378 .name = name_tv,
3379 .vmux = 1,
3380 .amux = TV,
3381 .tv = 1,
3382 .gpio = 0x0000100,
3383 }, {
3384 .name = name_comp1,
3385 .vmux = 3,
3386 .amux = LINE1,
3387 }, {
3388 .name = name_svideo,
3389 .vmux = 8,
3390 .amux = LINE1,
3391 } },
3392 .radio = {
3393 .name = name_radio,
3394 .amux = TV,
3395 .gpio = 0x0800100, /* GPIO 23 HI for FM */
3396 },
3397 },
Hartmut Hackmann550a9a52006-11-15 21:31:54 -03003398 [SAA7134_BOARD_CINERGY_HT_PCMCIA] = {
3399 .name = "Terratec Cinergy HT PCMCIA",
3400 .audio_clock = 0x00187de7,
3401 .tuner_type = TUNER_PHILIPS_TDA8290,
3402 .radio_type = UNSET,
3403 .tuner_addr = ADDR_UNSET,
3404 .radio_addr = ADDR_UNSET,
3405 .mpeg = SAA7134_MPEG_DVB,
3406 .inputs = {{
3407 .name = name_tv,
3408 .vmux = 1,
3409 .amux = TV,
3410 .tv = 1,
3411 },{
3412 .name = name_comp1,
3413 .vmux = 0,
3414 .amux = LINE1,
3415 },{
3416 .name = name_svideo,
3417 .vmux = 6,
3418 .amux = LINE1,
3419 }},
3420 },
Steven Walterd1158f42006-12-20 09:29:09 -03003421 [SAA7134_BOARD_ENCORE_ENLTV] = {
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03003422 /* Steven Walter <stevenrwalter@gmail.com>
3423 Juan Pablo Sormani <sorman@gmail.com> */
Steven Walterd1158f42006-12-20 09:29:09 -03003424 .name = "Encore ENLTV",
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03003425 .audio_clock = 0x00200000,
Steven Walterd1158f42006-12-20 09:29:09 -03003426 .tuner_type = TUNER_TNF_5335MF,
3427 .radio_type = UNSET,
3428 .tuner_addr = ADDR_UNSET,
3429 .radio_addr = ADDR_UNSET,
3430 .inputs = {{
3431 .name = name_tv,
3432 .vmux = 1,
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03003433 .amux = 3,
Steven Walterd1158f42006-12-20 09:29:09 -03003434 .tv = 1,
3435 },{
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03003436 .name = name_tv_mono,
3437 .vmux = 7,
3438 .amux = 4,
3439 .tv = 1,
3440 },{
3441 .name = name_comp1,
3442 .vmux = 3,
3443 .amux = 2,
3444 },{
Steven Walterd1158f42006-12-20 09:29:09 -03003445 .name = name_svideo,
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03003446 .vmux = 0,
3447 .amux = 2,
Steven Walterd1158f42006-12-20 09:29:09 -03003448 }},
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03003449 .radio = {
3450 .name = name_radio,
3451 .amux = LINE2,
3452/* .gpio = 0x00300001,*/
3453 .gpio = 0x20000,
3454
3455 },
3456 .mute = {
3457 .name = name_mute,
3458 .amux = 0,
3459 },
3460 },
3461 [SAA7134_BOARD_ENCORE_ENLTV_FM] = {
3462 /* Juan Pablo Sormani <sorman@gmail.com> */
3463 .name = "Encore ENLTV-FM",
3464 .audio_clock = 0x00200000,
Michael Krufkyab8b8702008-04-22 14:46:05 -03003465 .tuner_type = TUNER_PHILIPS_FCV1236D,
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03003466 .radio_type = UNSET,
3467 .tuner_addr = ADDR_UNSET,
3468 .radio_addr = ADDR_UNSET,
3469 .inputs = {{
3470 .name = name_tv,
3471 .vmux = 1,
3472 .amux = 3,
3473 .tv = 1,
3474 },{
3475 .name = name_tv_mono,
3476 .vmux = 7,
3477 .amux = 4,
3478 .tv = 1,
3479 },{
3480 .name = name_comp1,
3481 .vmux = 3,
3482 .amux = 2,
3483 },{
3484 .name = name_svideo,
3485 .vmux = 0,
3486 .amux = 2,
3487 }},
3488 .radio = {
3489 .name = name_radio,
3490 .amux = LINE2,
3491 .gpio = 0x20000,
3492
3493 },
3494 .mute = {
3495 .name = name_mute,
3496 .amux = 0,
3497 },
Steven Walterd1158f42006-12-20 09:29:09 -03003498 },
Mauro Carvalho Chehabbf1ece62008-06-26 17:03:00 -03003499 [SAA7134_BOARD_ENCORE_ENLTV_FM53] = {
3500 .name = "Encore ENLTV-FM v5.3",
3501 .audio_clock = 0x00200000,
3502 .tuner_type = TUNER_TNF_5335MF,
3503 .radio_type = UNSET,
3504 .tuner_addr = ADDR_UNSET,
3505 .radio_addr = ADDR_UNSET,
3506 .gpiomask = 0x7000,
3507 .inputs = { {
3508 .name = name_tv,
3509 .vmux = 1,
3510 .amux = 1,
3511 .tv = 1,
3512 .gpio = 0x50000,
3513 }, {
3514 .name = name_comp1,
3515 .vmux = 3,
3516 .amux = 2,
3517 .gpio = 0x2000,
3518 }, {
3519 .name = name_svideo,
3520 .vmux = 8,
3521 .amux = 2,
3522 .gpio = 0x2000,
3523 } },
3524 .radio = {
3525 .name = name_radio,
3526 .vmux = 1,
3527 .amux = 1,
3528 },
3529 .mute = {
3530 .name = name_mute,
3531 .gpio = 0xf000,
3532 .amux = 0,
3533 },
3534 },
Michael Krufky9de271e2007-01-16 18:36:40 -03003535 [SAA7134_BOARD_CINERGY_HT_PCI] = {
3536 .name = "Terratec Cinergy HT PCI",
3537 .audio_clock = 0x00187de7,
3538 .tuner_type = TUNER_PHILIPS_TDA8290,
3539 .radio_type = UNSET,
3540 .tuner_addr = ADDR_UNSET,
3541 .radio_addr = ADDR_UNSET,
3542 .mpeg = SAA7134_MPEG_DVB,
3543 .inputs = {{
3544 .name = name_tv,
3545 .vmux = 1,
3546 .amux = TV,
3547 .tv = 1,
3548 },{
3549 .name = name_comp1,
3550 .vmux = 0,
3551 .amux = LINE1,
3552 },{
3553 .name = name_svideo,
3554 .vmux = 6,
3555 .amux = LINE1,
3556 }},
3557 },
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03003558 [SAA7134_BOARD_PHILIPS_TIGER_S] = {
3559 .name = "Philips Tiger - S Reference design",
3560 .audio_clock = 0x00187de7,
3561 .tuner_type = TUNER_PHILIPS_TDA8290,
3562 .radio_type = UNSET,
3563 .tuner_addr = ADDR_UNSET,
3564 .radio_addr = ADDR_UNSET,
3565 .tuner_config = 2,
3566 .mpeg = SAA7134_MPEG_DVB,
3567 .gpiomask = 0x0200000,
3568 .inputs = {{
3569 .name = name_tv,
3570 .vmux = 1,
3571 .amux = TV,
3572 .tv = 1,
3573 },{
3574 .name = name_comp1,
3575 .vmux = 3,
3576 .amux = LINE1,
3577 },{
3578 .name = name_svideo,
3579 .vmux = 8,
3580 .amux = LINE1,
3581 }},
3582 .radio = {
3583 .name = name_radio,
3584 .amux = TV,
3585 .gpio = 0x0200000,
3586 },
3587 },
Markus Rechbergere95d3172007-04-27 12:31:19 -03003588 [SAA7134_BOARD_AVERMEDIA_M102] = {
3589 .name = "Avermedia M102",
3590 .audio_clock = 0x00187de7,
3591 .tuner_type = TUNER_PHILIPS_TDA8290,
3592 .radio_type = UNSET,
3593 .tuner_addr = ADDR_UNSET,
3594 .radio_addr = ADDR_UNSET,
3595 .gpiomask = 1<<21,
3596 .inputs = {{
3597 .name = name_tv,
3598 .vmux = 1,
3599 .amux = TV,
3600 .tv = 1,
3601 },{
3602 .name = name_comp1,
3603 .vmux = 0,
3604 .amux = LINE2,
3605 },{
3606 .name = name_svideo,
3607 .vmux = 6,
3608 .amux = LINE2,
3609 }},
3610 },
Hartmut Hackmanne06cea42007-03-13 20:58:29 -03003611 [SAA7134_BOARD_ASUS_P7131_4871] = {
3612 .name = "ASUS P7131 4871",
3613 .audio_clock = 0x00187de7,
3614 .tuner_type = TUNER_PHILIPS_TDA8290,
3615 .radio_type = UNSET,
3616 .tuner_addr = ADDR_UNSET,
3617 .radio_addr = ADDR_UNSET,
3618 .tuner_config = 2,
3619 .mpeg = SAA7134_MPEG_DVB,
3620 .gpiomask = 0x0200000,
3621 .inputs = {{
3622 .name = name_tv,
3623 .vmux = 1,
3624 .amux = TV,
3625 .tv = 1,
3626 .gpio = 0x0200000,
3627 }},
3628 },
Hartmut Hackmannf3eec0c02007-03-14 20:33:55 -03003629 [SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA] = {
3630 .name = "ASUSTeK P7131 Hybrid",
Hartmut Hackmanne06cea42007-03-13 20:58:29 -03003631 .audio_clock = 0x00187de7,
3632 .tuner_type = TUNER_PHILIPS_TDA8290,
3633 .radio_type = UNSET,
3634 .tuner_addr = ADDR_UNSET,
3635 .radio_addr = ADDR_UNSET,
3636 .tuner_config = 2,
3637 .gpiomask = 1 << 21,
3638 .mpeg = SAA7134_MPEG_DVB,
3639 .inputs = {{
3640 .name = name_tv,
3641 .vmux = 1,
3642 .amux = TV,
3643 .tv = 1,
3644 .gpio = 0x0000000,
3645 },{
3646 .name = name_comp1,
3647 .vmux = 3,
3648 .amux = LINE2,
3649 .gpio = 0x0200000,
3650 },{
3651 .name = name_comp2,
3652 .vmux = 0,
3653 .amux = LINE2,
3654 .gpio = 0x0200000,
3655 },{
3656 .name = name_svideo,
3657 .vmux = 8,
3658 .amux = LINE2,
3659 .gpio = 0x0200000,
3660 }},
3661 .radio = {
3662 .name = name_radio,
3663 .amux = TV,
3664 .gpio = 0x0200000,
3665 },
Hermann Pitton0b17d0e2008-07-12 12:27:59 -03003666 },
3667 [SAA7134_BOARD_ASUSTeK_P7131_ANALOG] = {
3668 .name = "ASUSTeK P7131 Analog",
3669 .audio_clock = 0x00187de7,
3670 .tuner_type = TUNER_PHILIPS_TDA8290,
3671 .radio_type = UNSET,
3672 .tuner_addr = ADDR_UNSET,
3673 .radio_addr = ADDR_UNSET,
3674 .gpiomask = 1 << 21,
3675 .inputs = {{
3676 .name = name_tv,
3677 .vmux = 1,
3678 .amux = TV,
3679 .tv = 1,
3680 .gpio = 0x0000000,
3681 }, {
3682 .name = name_comp1,
3683 .vmux = 3,
3684 .amux = LINE2,
3685 }, {
3686 .name = name_comp2,
3687 .vmux = 0,
3688 .amux = LINE2,
3689 }, {
3690 .name = name_svideo,
3691 .vmux = 8,
3692 .amux = LINE2,
3693 } },
3694 .radio = {
3695 .name = name_radio,
3696 .amux = TV,
3697 .gpio = 0x0200000,
3698 },
Hartmut Hackmanne06cea42007-03-13 20:58:29 -03003699 },
James T Klaas53958b32007-05-01 10:48:09 -03003700 [SAA7134_BOARD_SABRENT_TV_PCB05] = {
3701 .name = "Sabrent PCMCIA TV-PCB05",
3702 .audio_clock = 0x00187de7,
3703 .tuner_type = TUNER_PHILIPS_TDA8290,
3704 .radio_type = UNSET,
3705 .tuner_addr = ADDR_UNSET,
3706 .radio_addr = ADDR_UNSET,
3707 .inputs = {{
3708 .name = name_tv,
3709 .vmux = 1,
3710 .amux = TV,
3711 .tv = 1,
3712 },{
3713 .name = name_comp1,
3714 .vmux = 3,
3715 .amux = LINE1,
3716 },{
3717 .name = name_comp2,
3718 .vmux = 0,
3719 .amux = LINE1,
3720 },{
3721 .name = name_svideo,
3722 .vmux = 8,
3723 .amux = LINE1,
3724 }},
3725 .mute = {
3726 .name = name_mute,
3727 .amux = TV,
3728 },
3729 },
Tony Wanaaccb822007-05-10 12:16:47 -03003730 [SAA7134_BOARD_10MOONSTVMASTER3] = {
3731 /* Tony Wan <aloha_cn@hotmail.com> */
3732 .name = "10MOONS TM300 TV Card",
3733 .audio_clock = 0x00200000,
3734 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
3735 .radio_type = UNSET,
3736 .tuner_addr = ADDR_UNSET,
3737 .radio_addr = ADDR_UNSET,
3738 .gpiomask = 0x7000,
3739 .inputs = {{
3740 .name = name_tv,
3741 .vmux = 1,
3742 .amux = LINE2,
3743 .gpio = 0x0000,
3744 .tv = 1,
3745 },{
3746 .name = name_comp1,
3747 .vmux = 3,
3748 .amux = LINE1,
3749 .gpio = 0x2000,
3750 },{
3751 .name = name_svideo,
3752 .vmux = 8,
3753 .amux = LINE1,
3754 .gpio = 0x2000,
3755 }},
3756 .mute = {
3757 .name = name_mute,
3758 .amux = LINE2,
3759 .gpio = 0x3000,
3760 },
3761 },
Edgar Simod90d9f52007-08-20 14:14:50 -03003762 [SAA7134_BOARD_AVERMEDIA_SUPER_007] = {
3763 .name = "Avermedia Super 007",
3764 .audio_clock = 0x00187de7,
3765 .tuner_type = TUNER_PHILIPS_TDA8290,
3766 .radio_type = UNSET,
3767 .tuner_addr = ADDR_UNSET,
3768 .radio_addr = ADDR_UNSET,
3769 .tuner_config = 0,
3770 .mpeg = SAA7134_MPEG_DVB,
3771 .inputs = {{
3772 .name = name_tv, /* FIXME: analog tv untested */
3773 .vmux = 1,
3774 .amux = TV,
3775 .tv = 1,
3776 }},
3777 },
Mauro Carvalho Chehab36f6bb92008-06-26 17:03:00 -03003778 [SAA7134_BOARD_AVERMEDIA_M135A] = {
3779 .name = "Avermedia PCI pure analog (M135A)",
3780 .audio_clock = 0x00187de7,
3781 .tuner_type = TUNER_PHILIPS_TDA8290,
3782 .radio_type = UNSET,
3783 .tuner_addr = ADDR_UNSET,
3784 .radio_addr = ADDR_UNSET,
3785 .tuner_config = 2,
3786 .gpiomask = 0x020200000,
3787 .inputs = {{
3788 .name = name_tv,
3789 .vmux = 1,
3790 .amux = TV,
3791 .tv = 1,
3792 }, {
3793 .name = name_comp1,
3794 .vmux = 3,
3795 .amux = LINE1,
3796 }, {
3797 .name = name_svideo,
3798 .vmux = 8,
3799 .amux = LINE1,
3800 } },
3801 .radio = {
3802 .name = name_radio,
3803 .amux = TV,
3804 .gpio = 0x00200000,
3805 },
3806 .mute = {
3807 .name = name_mute,
3808 .amux = TV,
3809 .gpio = 0x01,
3810 },
3811 },
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003812 [SAA7134_BOARD_BEHOLD_401] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003813 /* Beholder Intl. Ltd. 2008 */
3814 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003815 .name = "Beholder BeholdTV 401",
3816 .audio_clock = 0x00187de7,
3817 .tuner_type = TUNER_PHILIPS_FQ1216ME,
3818 .radio_type = UNSET,
3819 .tuner_addr = ADDR_UNSET,
3820 .radio_addr = ADDR_UNSET,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003821 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003822 .inputs = {{
3823 .name = name_svideo,
3824 .vmux = 8,
3825 .amux = LINE1,
3826 },{
3827 .name = name_comp1,
3828 .vmux = 1,
3829 .amux = LINE1,
3830 },{
3831 .name = name_tv,
3832 .vmux = 3,
3833 .amux = LINE2,
3834 .tv = 1,
3835 }},
3836 .mute = {
3837 .name = name_mute,
3838 .amux = LINE1,
3839 },
3840 },
3841 [SAA7134_BOARD_BEHOLD_403] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003842 /* Beholder Intl. Ltd. 2008 */
3843 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003844 .name = "Beholder BeholdTV 403",
3845 .audio_clock = 0x00187de7,
3846 .tuner_type = TUNER_PHILIPS_FQ1216ME,
3847 .radio_type = UNSET,
3848 .tuner_addr = ADDR_UNSET,
3849 .radio_addr = ADDR_UNSET,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003850 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003851 .inputs = {{
3852 .name = name_svideo,
3853 .vmux = 8,
3854 .amux = LINE1,
3855 },{
3856 .name = name_comp1,
3857 .vmux = 1,
3858 .amux = LINE1,
3859 },{
3860 .name = name_tv,
3861 .vmux = 3,
3862 .amux = LINE2,
3863 .tv = 1,
3864 }},
3865 },
3866 [SAA7134_BOARD_BEHOLD_403FM] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003867 /* Beholder Intl. Ltd. 2008 */
3868 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003869 .name = "Beholder BeholdTV 403 FM",
3870 .audio_clock = 0x00187de7,
3871 .tuner_type = TUNER_PHILIPS_FQ1216ME,
3872 .radio_type = UNSET,
3873 .tuner_addr = ADDR_UNSET,
3874 .radio_addr = ADDR_UNSET,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003875 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003876 .inputs = {{
3877 .name = name_svideo,
3878 .vmux = 8,
3879 .amux = LINE1,
3880 },{
3881 .name = name_comp1,
3882 .vmux = 1,
3883 .amux = LINE1,
3884 },{
3885 .name = name_tv,
3886 .vmux = 3,
3887 .amux = LINE2,
3888 .tv = 1,
3889 }},
3890 .radio = {
3891 .name = name_radio,
3892 .amux = LINE2,
3893 },
3894 },
3895 [SAA7134_BOARD_BEHOLD_405] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003896 /* Beholder Intl. Ltd. 2008 */
3897 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003898 .name = "Beholder BeholdTV 405",
3899 .audio_clock = 0x00187de7,
3900 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3901 .radio_type = UNSET,
3902 .tuner_addr = ADDR_UNSET,
3903 .radio_addr = ADDR_UNSET,
3904 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003905 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003906 .inputs = {{
3907 .name = name_svideo,
3908 .vmux = 8,
3909 .amux = LINE1,
3910 },{
3911 .name = name_comp1,
3912 .vmux = 3,
3913 .amux = LINE1,
3914 },{
3915 .name = name_tv,
3916 .vmux = 3,
3917 .amux = LINE2,
3918 .tv = 1,
3919 }},
3920 },
3921 [SAA7134_BOARD_BEHOLD_405FM] = {
3922 /* Sergey <skiv@orel.ru> */
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003923 /* Beholder Intl. Ltd. 2008 */
3924 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003925 .name = "Beholder BeholdTV 405 FM",
3926 .audio_clock = 0x00187de7,
3927 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3928 .radio_type = UNSET,
3929 .tuner_addr = ADDR_UNSET,
3930 .radio_addr = ADDR_UNSET,
3931 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003932 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003933 .inputs = {{
3934 .name = name_svideo,
3935 .vmux = 8,
3936 .amux = LINE1,
3937 },{
3938 .name = name_comp1,
3939 .vmux = 3,
3940 .amux = LINE1,
3941 },{
3942 .name = name_tv,
3943 .vmux = 3,
3944 .amux = LINE2,
3945 .tv = 1,
3946 }},
3947 .radio = {
3948 .name = name_radio,
3949 .amux = LINE2,
3950 },
3951 },
Mauro Carvalho Chehab1434bc02008-01-07 05:20:04 -03003952 [SAA7134_BOARD_BEHOLD_407] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003953 /* Beholder Intl. Ltd. 2008 */
3954 /*Dmitry Belimov <d.belimov@gmail.com> */
Mauro Carvalho Chehab1434bc02008-01-07 05:20:04 -03003955 .name = "Beholder BeholdTV 407",
3956 .audio_clock = 0x00187de7,
3957 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3958 .radio_type = UNSET,
3959 .tuner_addr = ADDR_UNSET,
3960 .radio_addr = ADDR_UNSET,
3961 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003962 .gpiomask = 0x00008000,
Mauro Carvalho Chehab1434bc02008-01-07 05:20:04 -03003963 .inputs = {{
3964 .name = name_svideo,
3965 .vmux = 8,
3966 .amux = LINE1,
3967 .gpio = 0xc0c000,
3968 },{
3969 .name = name_comp1,
3970 .vmux = 1,
3971 .amux = LINE1,
3972 .gpio = 0xc0c000,
3973 },{
3974 .name = name_tv,
3975 .vmux = 3,
3976 .amux = TV,
3977 .tv = 1,
3978 .gpio = 0xc0c000,
3979 }},
3980 },
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003981 [SAA7134_BOARD_BEHOLD_407FM] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003982 /* Beholder Intl. Ltd. 2008 */
3983 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003984 .name = "Beholder BeholdTV 407 FM",
3985 .audio_clock = 0x00187de7,
3986 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3987 .radio_type = UNSET,
3988 .tuner_addr = ADDR_UNSET,
3989 .radio_addr = ADDR_UNSET,
3990 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003991 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003992 .inputs = {{
3993 .name = name_svideo,
3994 .vmux = 8,
3995 .amux = LINE1,
3996 .gpio = 0xc0c000,
3997 },{
3998 .name = name_comp1,
3999 .vmux = 1,
4000 .amux = LINE1,
4001 .gpio = 0xc0c000,
4002 },{
4003 .name = name_tv,
4004 .vmux = 3,
4005 .amux = TV,
4006 .tv = 1,
4007 .gpio = 0xc0c000,
4008 }},
4009 .radio = {
4010 .name = name_radio,
4011 .amux = LINE2,
4012 .gpio = 0xc0c000,
4013 },
4014 },
4015 [SAA7134_BOARD_BEHOLD_409] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03004016 /* Beholder Intl. Ltd. 2008 */
4017 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004018 .name = "Beholder BeholdTV 409",
4019 .audio_clock = 0x00187de7,
4020 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4021 .radio_type = UNSET,
4022 .tuner_addr = ADDR_UNSET,
4023 .radio_addr = ADDR_UNSET,
4024 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03004025 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004026 .inputs = {{
4027 .name = name_tv,
4028 .vmux = 3,
4029 .amux = TV,
4030 .tv = 1,
4031 },{
4032 .name = name_comp1,
4033 .vmux = 1,
4034 .amux = LINE1,
4035 },{
4036 .name = name_svideo,
4037 .vmux = 8,
4038 .amux = LINE1,
4039 }},
4040 },
4041 [SAA7134_BOARD_BEHOLD_505FM] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03004042 /* Beholder Intl. Ltd. 2008 */
4043 /*Dmitry Belimov <d.belimov@gmail.com> */
Dmitri Belimov84d728c2009-04-23 02:32:49 -03004044 .name = "Beholder BeholdTV 505 FM",
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004045 .audio_clock = 0x00200000,
4046 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4047 .radio_type = UNSET,
4048 .tuner_addr = ADDR_UNSET,
4049 .radio_addr = ADDR_UNSET,
4050 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03004051 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004052 .inputs = {{
4053 .name = name_tv,
4054 .vmux = 3,
4055 .amux = LINE2,
4056 .tv = 1,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03004057 }, {
4058 .name = name_comp1,
4059 .vmux = 1,
4060 .amux = LINE1,
4061 }, {
4062 .name = name_svideo,
4063 .vmux = 8,
4064 .amux = LINE1,
4065 } },
4066 .mute = {
4067 .name = name_mute,
4068 .amux = LINE1,
4069 },
4070 .radio = {
4071 .name = name_radio,
4072 .amux = LINE2,
4073 },
4074 },
4075 [SAA7134_BOARD_BEHOLD_505RDS] = {
4076 /* Beholder Intl. Ltd. 2008 */
4077 /*Dmitry Belimov <d.belimov@gmail.com> */
4078 .name = "Beholder BeholdTV 505 RDS",
4079 .audio_clock = 0x00200000,
4080 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, /* FIXME to MK5 */
4081 .radio_type = UNSET,
4082 .tuner_addr = ADDR_UNSET,
4083 .radio_addr = ADDR_UNSET,
4084 .tda9887_conf = TDA9887_PRESENT,
4085 .gpiomask = 0x00008000,
4086 .inputs = {{
4087 .name = name_tv,
4088 .vmux = 3,
4089 .amux = LINE2,
4090 .tv = 1,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004091 },{
4092 .name = name_comp1,
4093 .vmux = 1,
4094 .amux = LINE1,
4095 },{
4096 .name = name_svideo,
4097 .vmux = 8,
4098 .amux = LINE1,
4099 }},
4100 .mute = {
4101 .name = name_mute,
4102 .amux = LINE1,
4103 },
4104 .radio = {
4105 .name = name_radio,
4106 .amux = LINE2,
4107 },
4108 },
4109 [SAA7134_BOARD_BEHOLD_507_9FM] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03004110 /* Beholder Intl. Ltd. 2008 */
4111 /*Dmitry Belimov <d.belimov@gmail.com> */
Dmitri Belimov84d728c2009-04-23 02:32:49 -03004112 .name = "Beholder BeholdTV 507 FM / BeholdTV 509 FM",
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004113 .audio_clock = 0x00187de7,
4114 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4115 .radio_type = UNSET,
4116 .tuner_addr = ADDR_UNSET,
4117 .radio_addr = ADDR_UNSET,
4118 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03004119 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004120 .inputs = {{
4121 .name = name_tv,
4122 .vmux = 3,
4123 .amux = TV,
4124 .tv = 1,
4125 },{
4126 .name = name_comp1,
4127 .vmux = 1,
4128 .amux = LINE1,
4129 },{
4130 .name = name_svideo,
4131 .vmux = 8,
4132 .amux = LINE1,
4133 }},
4134 .radio = {
4135 .name = name_radio,
4136 .amux = LINE2,
4137 },
4138 },
Dmitri Belimov84d728c2009-04-23 02:32:49 -03004139 [SAA7134_BOARD_BEHOLD_507RDS_MK5] = {
4140 /* Beholder Intl. Ltd. 2008 */
4141 /*Dmitry Belimov <d.belimov@gmail.com> */
4142 .name = "Beholder BeholdTV 507 RDS",
4143 .audio_clock = 0x00187de7,
4144 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, /* FIXME to MK5 */
4145 .radio_type = UNSET,
4146 .tuner_addr = ADDR_UNSET,
4147 .radio_addr = ADDR_UNSET,
4148 .tda9887_conf = TDA9887_PRESENT,
4149 .gpiomask = 0x00008000,
4150 .inputs = {{
4151 .name = name_tv,
4152 .vmux = 3,
4153 .amux = TV,
4154 .tv = 1,
4155 }, {
4156 .name = name_comp1,
4157 .vmux = 1,
4158 .amux = LINE1,
4159 }, {
4160 .name = name_svideo,
4161 .vmux = 8,
4162 .amux = LINE1,
4163 } },
4164 .radio = {
4165 .name = name_radio,
4166 .amux = LINE2,
4167 },
4168 },
4169 [SAA7134_BOARD_BEHOLD_507RDS_MK3] = {
4170 /* Beholder Intl. Ltd. 2008 */
4171 /*Dmitry Belimov <d.belimov@gmail.com> */
4172 .name = "Beholder BeholdTV 507 RDS",
4173 .audio_clock = 0x00187de7,
4174 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4175 .radio_type = UNSET,
4176 .tuner_addr = ADDR_UNSET,
4177 .radio_addr = ADDR_UNSET,
4178 .tda9887_conf = TDA9887_PRESENT,
4179 .gpiomask = 0x00008000,
4180 .inputs = {{
4181 .name = name_tv,
4182 .vmux = 3,
4183 .amux = TV,
4184 .tv = 1,
4185 }, {
4186 .name = name_comp1,
4187 .vmux = 1,
4188 .amux = LINE1,
4189 }, {
4190 .name = name_svideo,
4191 .vmux = 8,
4192 .amux = LINE1,
4193 } },
4194 .radio = {
4195 .name = name_radio,
4196 .amux = LINE2,
4197 },
4198 },
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004199 [SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03004200 /* Beholder Intl. Ltd. 2008 */
4201 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004202 .name = "Beholder BeholdTV Columbus TVFM",
4203 .audio_clock = 0x00187de7,
4204 .tuner_type = TUNER_ALPS_TSBE5_PAL,
4205 .radio_type = UNSET,
4206 .tuner_addr = ADDR_UNSET,
4207 .radio_addr = ADDR_UNSET,
4208 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03004209 .gpiomask = 0x000A8004,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004210 .inputs = {{
4211 .name = name_tv,
4212 .vmux = 3,
4213 .amux = TV,
4214 .tv = 1,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03004215 .gpio = 0x000A8004,
4216 }, {
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004217 .name = name_comp1,
4218 .vmux = 1,
4219 .amux = LINE1,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03004220 .gpio = 0x000A8000,
4221 }, {
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004222 .name = name_svideo,
4223 .vmux = 8,
4224 .amux = LINE1,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03004225 .gpio = 0x000A8000,
4226 } },
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004227 .radio = {
4228 .name = name_radio,
4229 .amux = LINE2,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03004230 .gpio = 0x000A8000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004231 },
4232 },
Dmitri Belimov84d728c2009-04-23 02:32:49 -03004233 [SAA7134_BOARD_BEHOLD_607FM_MK3] = {
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004234 /* Andrey Melnikoff <temnota@kmv.ru> */
Dmitri Belimov84d728c2009-04-23 02:32:49 -03004235 .name = "Beholder BeholdTV 607 FM",
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004236 .audio_clock = 0x00187de7,
4237 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4238 .radio_type = UNSET,
4239 .tuner_addr = ADDR_UNSET,
4240 .radio_addr = ADDR_UNSET,
4241 .tda9887_conf = TDA9887_PRESENT,
4242 .inputs = {{
4243 .name = name_tv,
4244 .vmux = 3,
4245 .amux = TV,
4246 .tv = 1,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03004247 }, {
4248 .name = name_comp1,
4249 .vmux = 1,
4250 .amux = LINE1,
4251 }, {
4252 .name = name_svideo,
4253 .vmux = 8,
4254 .amux = LINE1,
4255 } },
4256 .radio = {
4257 .name = name_radio,
4258 .amux = LINE2,
4259 },
4260 },
4261 [SAA7134_BOARD_BEHOLD_609FM_MK3] = {
4262 /* Andrey Melnikoff <temnota@kmv.ru> */
4263 .name = "Beholder BeholdTV 609 FM",
4264 .audio_clock = 0x00187de7,
4265 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4266 .radio_type = UNSET,
4267 .tuner_addr = ADDR_UNSET,
4268 .radio_addr = ADDR_UNSET,
4269 .tda9887_conf = TDA9887_PRESENT,
4270 .inputs = {{
4271 .name = name_tv,
4272 .vmux = 3,
4273 .amux = TV,
4274 .tv = 1,
4275 }, {
4276 .name = name_comp1,
4277 .vmux = 1,
4278 .amux = LINE1,
4279 }, {
4280 .name = name_svideo,
4281 .vmux = 8,
4282 .amux = LINE1,
4283 } },
4284 .radio = {
4285 .name = name_radio,
4286 .amux = LINE2,
4287 },
4288 },
4289 [SAA7134_BOARD_BEHOLD_607FM_MK5] = {
4290 /* Andrey Melnikoff <temnota@kmv.ru> */
4291 .name = "Beholder BeholdTV 607 FM",
4292 .audio_clock = 0x00187de7,
4293 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, /* FIXME to MK5 */
4294 .radio_type = UNSET,
4295 .tuner_addr = ADDR_UNSET,
4296 .radio_addr = ADDR_UNSET,
4297 .tda9887_conf = TDA9887_PRESENT,
4298 .inputs = {{
4299 .name = name_tv,
4300 .vmux = 3,
4301 .amux = TV,
4302 .tv = 1,
4303 }, {
4304 .name = name_comp1,
4305 .vmux = 1,
4306 .amux = LINE1,
4307 }, {
4308 .name = name_svideo,
4309 .vmux = 8,
4310 .amux = LINE1,
4311 } },
4312 .radio = {
4313 .name = name_radio,
4314 .amux = LINE2,
4315 },
4316 },
4317 [SAA7134_BOARD_BEHOLD_609FM_MK5] = {
4318 /* Andrey Melnikoff <temnota@kmv.ru> */
4319 .name = "Beholder BeholdTV 609 FM",
4320 .audio_clock = 0x00187de7,
4321 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, /* FIXME to MK5 */
4322 .radio_type = UNSET,
4323 .tuner_addr = ADDR_UNSET,
4324 .radio_addr = ADDR_UNSET,
4325 .tda9887_conf = TDA9887_PRESENT,
4326 .inputs = {{
4327 .name = name_tv,
4328 .vmux = 3,
4329 .amux = TV,
4330 .tv = 1,
4331 }, {
4332 .name = name_comp1,
4333 .vmux = 1,
4334 .amux = LINE1,
4335 }, {
4336 .name = name_svideo,
4337 .vmux = 8,
4338 .amux = LINE1,
4339 } },
4340 .radio = {
4341 .name = name_radio,
4342 .amux = LINE2,
4343 },
4344 },
4345 [SAA7134_BOARD_BEHOLD_607RDS_MK3] = {
4346 /* Andrey Melnikoff <temnota@kmv.ru> */
4347 .name = "Beholder BeholdTV 607 RDS",
4348 .audio_clock = 0x00187de7,
4349 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4350 .radio_type = UNSET,
4351 .tuner_addr = ADDR_UNSET,
4352 .radio_addr = ADDR_UNSET,
4353 .tda9887_conf = TDA9887_PRESENT,
4354 .inputs = {{
4355 .name = name_tv,
4356 .vmux = 3,
4357 .amux = TV,
4358 .tv = 1,
4359 }, {
4360 .name = name_comp1,
4361 .vmux = 1,
4362 .amux = LINE1,
4363 }, {
4364 .name = name_svideo,
4365 .vmux = 8,
4366 .amux = LINE1,
4367 } },
4368 .radio = {
4369 .name = name_radio,
4370 .amux = LINE2,
4371 },
4372 },
4373 [SAA7134_BOARD_BEHOLD_609RDS_MK3] = {
4374 /* Andrey Melnikoff <temnota@kmv.ru> */
4375 .name = "Beholder BeholdTV 609 RDS",
4376 .audio_clock = 0x00187de7,
4377 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4378 .radio_type = UNSET,
4379 .tuner_addr = ADDR_UNSET,
4380 .radio_addr = ADDR_UNSET,
4381 .tda9887_conf = TDA9887_PRESENT,
4382 .inputs = {{
4383 .name = name_tv,
4384 .vmux = 3,
4385 .amux = TV,
4386 .tv = 1,
4387 }, {
4388 .name = name_comp1,
4389 .vmux = 1,
4390 .amux = LINE1,
4391 }, {
4392 .name = name_svideo,
4393 .vmux = 8,
4394 .amux = LINE1,
4395 } },
4396 .radio = {
4397 .name = name_radio,
4398 .amux = LINE2,
4399 },
4400 },
4401 [SAA7134_BOARD_BEHOLD_607RDS_MK5] = {
4402 /* Andrey Melnikoff <temnota@kmv.ru> */
4403 .name = "Beholder BeholdTV 607 RDS",
4404 .audio_clock = 0x00187de7,
4405 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, /* FIXME to MK5 */
4406 .radio_type = UNSET,
4407 .tuner_addr = ADDR_UNSET,
4408 .radio_addr = ADDR_UNSET,
4409 .tda9887_conf = TDA9887_PRESENT,
4410 .inputs = {{
4411 .name = name_tv,
4412 .vmux = 3,
4413 .amux = TV,
4414 .tv = 1,
4415 }, {
4416 .name = name_comp1,
4417 .vmux = 1,
4418 .amux = LINE1,
4419 }, {
4420 .name = name_svideo,
4421 .vmux = 8,
4422 .amux = LINE1,
4423 } },
4424 .radio = {
4425 .name = name_radio,
4426 .amux = LINE2,
4427 },
4428 },
4429 [SAA7134_BOARD_BEHOLD_609RDS_MK5] = {
4430 /* Andrey Melnikoff <temnota@kmv.ru> */
4431 .name = "Beholder BeholdTV 609 RDS",
4432 .audio_clock = 0x00187de7,
4433 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, /* FIXME to MK5 */
4434 .radio_type = UNSET,
4435 .tuner_addr = ADDR_UNSET,
4436 .radio_addr = ADDR_UNSET,
4437 .tda9887_conf = TDA9887_PRESENT,
4438 .inputs = {{
4439 .name = name_tv,
4440 .vmux = 3,
4441 .amux = TV,
4442 .tv = 1,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004443 },{
4444 .name = name_comp1,
4445 .vmux = 1,
4446 .amux = LINE1,
4447 },{
4448 .name = name_svideo,
4449 .vmux = 8,
4450 .amux = LINE1,
4451 }},
4452 .radio = {
4453 .name = name_radio,
4454 .amux = LINE2,
4455 },
4456 },
4457 [SAA7134_BOARD_BEHOLD_M6] = {
4458 /* Igor Kuznetsov <igk@igk.ru> */
4459 /* Andrey Melnikoff <temnota@kmv.ru> */
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03004460 /* Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> */
Dmitri Belimov6b6b7542009-05-28 01:58:57 -03004461 /* Alexey Osipov <lion-simba@pridelands.ru> */
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03004462 .name = "Beholder BeholdTV M6",
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004463 .audio_clock = 0x00187de7,
4464 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4465 .radio_type = UNSET,
4466 .tuner_addr = ADDR_UNSET,
4467 .radio_addr = ADDR_UNSET,
Hans Verkuil195784b2009-03-28 09:27:02 -03004468 .empress_addr = 0x20,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004469 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03004470 .inputs = { {
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004471 .name = name_tv,
4472 .vmux = 3,
4473 .amux = TV,
4474 .tv = 1,
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03004475 }, {
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004476 .name = name_comp1,
4477 .vmux = 1,
4478 .amux = LINE1,
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03004479 }, {
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004480 .name = name_svideo,
4481 .vmux = 8,
4482 .amux = LINE1,
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03004483 } },
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004484 .radio = {
4485 .name = name_radio,
4486 .amux = LINE2,
4487 },
4488 .mpeg = SAA7134_MPEG_EMPRESS,
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03004489 .video_out = CCIR656,
4490 .vid_port_opts = (SET_T_CODE_POLARITY_NON_INVERTED |
4491 SET_CLOCK_NOT_DELAYED |
4492 SET_CLOCK_INVERTED |
4493 SET_VSYNC_OFF),
4494 },
4495 [SAA7134_BOARD_BEHOLD_M63] = {
4496 /* Igor Kuznetsov <igk@igk.ru> */
4497 /* Andrey Melnikoff <temnota@kmv.ru> */
4498 /* Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> */
4499 .name = "Beholder BeholdTV M63",
4500 .audio_clock = 0x00187de7,
4501 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4502 .radio_type = UNSET,
4503 .tuner_addr = ADDR_UNSET,
4504 .radio_addr = ADDR_UNSET,
Hans Verkuil195784b2009-03-28 09:27:02 -03004505 .empress_addr = 0x20,
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03004506 .tda9887_conf = TDA9887_PRESENT,
4507 .inputs = { {
4508 .name = name_tv,
4509 .vmux = 3,
4510 .amux = TV,
4511 .tv = 1,
4512 }, {
4513 .name = name_comp1,
4514 .vmux = 1,
4515 .amux = LINE1,
4516 }, {
4517 .name = name_svideo,
4518 .vmux = 8,
4519 .amux = LINE1,
4520 } },
4521 .radio = {
4522 .name = name_radio,
4523 .amux = LINE2,
4524 },
4525 .mpeg = SAA7134_MPEG_EMPRESS,
4526 .video_out = CCIR656,
4527 .vid_port_opts = (SET_T_CODE_POLARITY_NON_INVERTED |
4528 SET_CLOCK_NOT_DELAYED |
4529 SET_CLOCK_INVERTED |
4530 SET_VSYNC_OFF),
4531 },
4532 [SAA7134_BOARD_BEHOLD_M6_EXTRA] = {
4533 /* Igor Kuznetsov <igk@igk.ru> */
4534 /* Andrey Melnikoff <temnota@kmv.ru> */
4535 /* Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> */
Dmitri Belimov6b6b7542009-05-28 01:58:57 -03004536 /* Alexey Osipov <lion-simba@pridelands.ru> */
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03004537 .name = "Beholder BeholdTV M6 Extra",
4538 .audio_clock = 0x00187de7,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03004539 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, /* FIXME to MK5 */
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03004540 .radio_type = UNSET,
4541 .tuner_addr = ADDR_UNSET,
4542 .radio_addr = ADDR_UNSET,
Hans Verkuil195784b2009-03-28 09:27:02 -03004543 .empress_addr = 0x20,
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03004544 .tda9887_conf = TDA9887_PRESENT,
4545 .inputs = { {
4546 .name = name_tv,
4547 .vmux = 3,
4548 .amux = TV,
4549 .tv = 1,
4550 }, {
4551 .name = name_comp1,
4552 .vmux = 1,
4553 .amux = LINE1,
4554 }, {
4555 .name = name_svideo,
4556 .vmux = 8,
4557 .amux = LINE1,
4558 } },
4559 .radio = {
4560 .name = name_radio,
4561 .amux = LINE2,
4562 },
4563 .mpeg = SAA7134_MPEG_EMPRESS,
4564 .video_out = CCIR656,
4565 .vid_port_opts = (SET_T_CODE_POLARITY_NON_INVERTED |
4566 SET_CLOCK_NOT_DELAYED |
4567 SET_CLOCK_INVERTED |
4568 SET_VSYNC_OFF),
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004569 },
Hermann Pitton4ba24372008-01-20 19:27:51 -03004570 [SAA7134_BOARD_TWINHAN_DTV_DVB_3056] = {
4571 .name = "Twinhan Hybrid DTV-DVB 3056 PCI",
4572 .audio_clock = 0x00187de7,
4573 .tuner_type = TUNER_PHILIPS_TDA8290,
4574 .radio_type = UNSET,
4575 .tuner_addr = ADDR_UNSET,
4576 .radio_addr = ADDR_UNSET,
4577 .tuner_config = 2,
4578 .mpeg = SAA7134_MPEG_DVB,
4579 .gpiomask = 0x0200000,
4580 .inputs = {{
4581 .name = name_tv,
4582 .vmux = 1,
4583 .amux = TV,
4584 .tv = 1,
4585 }, {
4586 .name = name_comp1,
4587 .vmux = 3,
4588 .amux = LINE1,
4589 }, {
4590 .name = name_svideo,
4591 .vmux = 8, /* untested */
4592 .amux = LINE1,
4593 } },
4594 .radio = {
4595 .name = name_radio,
4596 .amux = TV,
4597 .gpio = 0x0200000,
4598 },
4599 },
Adrian Pardinif0ba3562008-02-11 12:40:53 -03004600 [SAA7134_BOARD_GENIUS_TVGO_A11MCE] = {
4601 /* Adrian Pardini <pardo.bsso@gmail.com> */
4602 .name = "Genius TVGO AM11MCE",
4603 .audio_clock = 0x00200000,
4604 .tuner_type = TUNER_TNF_5335MF,
4605 .radio_type = UNSET,
4606 .tuner_addr = ADDR_UNSET,
4607 .radio_addr = ADDR_UNSET,
4608 .gpiomask = 0xf000,
4609 .inputs = {{
4610 .name = name_tv_mono,
4611 .vmux = 1,
4612 .amux = LINE2,
4613 .gpio = 0x0000,
4614 .tv = 1,
4615 }, {
4616 .name = name_comp1,
4617 .vmux = 3,
4618 .amux = LINE1,
4619 .gpio = 0x2000,
4620 .tv = 1
4621 }, {
4622 .name = name_svideo,
4623 .vmux = 8,
4624 .amux = LINE1,
4625 .gpio = 0x2000,
4626 } },
4627 .radio = {
4628 .name = name_radio,
4629 .amux = LINE2,
4630 .gpio = 0x1000,
4631 },
4632 .mute = {
4633 .name = name_mute,
4634 .amux = LINE2,
4635 .gpio = 0x6000,
4636 },
4637 },
Hartmut Hackmann6ab465a2008-04-22 14:42:11 -03004638 [SAA7134_BOARD_PHILIPS_SNAKE] = {
4639 .name = "NXP Snake DVB-S reference design",
4640 .audio_clock = 0x00200000,
4641 .tuner_type = TUNER_ABSENT,
4642 .radio_type = UNSET,
4643 .tuner_addr = ADDR_UNSET,
4644 .radio_addr = ADDR_UNSET,
4645 .mpeg = SAA7134_MPEG_DVB,
4646 .inputs = {{
4647 .name = name_comp1,
4648 .vmux = 3,
4649 .amux = LINE1,
4650 }, {
4651 .name = name_svideo,
4652 .vmux = 8,
4653 .amux = LINE1,
4654 } },
4655 },
Hermann Pitton7b5b3f12008-04-22 14:42:12 -03004656 [SAA7134_BOARD_CREATIX_CTX953] = {
4657 .name = "Medion/Creatix CTX953 Hybrid",
4658 .audio_clock = 0x00187de7,
4659 .tuner_type = TUNER_PHILIPS_TDA8290,
4660 .radio_type = UNSET,
4661 .tuner_addr = ADDR_UNSET,
4662 .radio_addr = ADDR_UNSET,
4663 .tuner_config = 0,
4664 .mpeg = SAA7134_MPEG_DVB,
4665 .inputs = {{
4666 .name = name_tv,
4667 .vmux = 1,
4668 .amux = TV,
4669 .tv = 1,
4670 }, {
4671 .name = name_comp1,
4672 .vmux = 0,
4673 .amux = LINE1,
4674 }, {
4675 .name = name_svideo,
4676 .vmux = 8,
4677 .amux = LINE1,
4678 } },
4679 },
Russell Kliese6a6179b62008-04-22 14:42:12 -03004680 [SAA7134_BOARD_MSI_TVANYWHERE_AD11] = {
4681 .name = "MSI TV@nywhere A/D v1.1",
4682 .audio_clock = 0x00187de7,
4683 .tuner_type = TUNER_PHILIPS_TDA8290,
4684 .radio_type = UNSET,
4685 .tuner_addr = ADDR_UNSET,
4686 .radio_addr = ADDR_UNSET,
4687 .tuner_config = 2,
4688 .mpeg = SAA7134_MPEG_DVB,
4689 .gpiomask = 0x0200000,
4690 .inputs = { {
4691 .name = name_tv,
4692 .vmux = 1,
4693 .amux = TV,
4694 .tv = 1,
4695 }, {
4696 .name = name_comp1,
4697 .vmux = 3,
4698 .amux = LINE1,
4699 }, {
4700 .name = name_svideo,
4701 .vmux = 8,
4702 .amux = LINE1,
4703 } },
4704 .radio = {
4705 .name = name_radio,
4706 .amux = TV,
4707 .gpio = 0x0200000,
4708 },
4709 },
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03004710 [SAA7134_BOARD_AVERMEDIA_CARDBUS_506] = {
Mauro Carvalho Chehabd9ae6dd2008-04-22 14:46:06 -03004711 .name = "AVerMedia Cardbus TV/Radio (E506R)",
4712 .audio_clock = 0x187de7,
4713 .tuner_type = TUNER_XC2028,
Mauro Carvalho Chehab6e741712008-04-22 14:46:07 -03004714 .radio_type = UNSET,
Mauro Carvalho Chehabd9ae6dd2008-04-22 14:46:06 -03004715 .tuner_addr = ADDR_UNSET,
4716 .radio_addr = ADDR_UNSET,
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03004717 .mpeg = SAA7134_MPEG_DVB,
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03004718 .inputs = {{
4719 .name = name_tv,
4720 .vmux = 1,
4721 .amux = TV,
4722 .tv = 1,
4723 }, {
Tim Farrington31489362009-01-15 09:58:55 -03004724 .name = name_comp1,
4725 .vmux = 3,
Tim Farringtone5e4cd82008-06-29 11:54:08 -03004726 .amux = LINE1,
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03004727 }, {
4728 .name = name_svideo,
4729 .vmux = 8,
Tim Farrington31489362009-01-15 09:58:55 -03004730 .amux = LINE2,
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03004731 } },
4732 .radio = {
4733 .name = name_radio,
4734 .amux = TV,
4735 },
4736 },
4737 [SAA7134_BOARD_AVERMEDIA_A16D] = {
4738 .name = "AVerMedia Hybrid TV/Radio (A16D)",
4739 .audio_clock = 0x187de7,
4740 .tuner_type = TUNER_XC2028,
Mauro Carvalho Chehab6e741712008-04-22 14:46:07 -03004741 .radio_type = UNSET,
Mauro Carvalho Chehabd9ae6dd2008-04-22 14:46:06 -03004742 .tuner_addr = ADDR_UNSET,
4743 .radio_addr = ADDR_UNSET,
Hans Verkuilf87086e2008-07-18 00:50:58 -03004744 .mpeg = SAA7134_MPEG_DVB,
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03004745 .inputs = {{
4746 .name = name_tv,
4747 .vmux = 1,
4748 .amux = TV,
4749 .tv = 1,
4750 }, {
4751 .name = name_svideo,
4752 .vmux = 8,
4753 .amux = LINE1,
Dan Taylor9c7ecaf2008-06-27 13:29:41 -03004754 }, {
4755 .name = name_comp,
4756 .vmux = 0,
4757 .amux = LINE1,
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03004758 } },
4759 .radio = {
4760 .name = name_radio,
Tim Farrington6e501a32008-06-15 13:33:42 -03004761 .amux = TV,
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03004762 },
4763 },
4764 [SAA7134_BOARD_AVERMEDIA_M115] = {
4765 .name = "Avermedia M115",
4766 .audio_clock = 0x187de7,
4767 .tuner_type = TUNER_XC2028,
Mauro Carvalho Chehab6e741712008-04-22 14:46:07 -03004768 .radio_type = UNSET,
Mauro Carvalho Chehabd9ae6dd2008-04-22 14:46:06 -03004769 .tuner_addr = ADDR_UNSET,
4770 .radio_addr = ADDR_UNSET,
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03004771 .inputs = {{
4772 .name = name_tv,
4773 .vmux = 1,
4774 .amux = TV,
4775 .tv = 1,
4776 }, {
4777 .name = name_comp1,
4778 .vmux = 3,
4779 .amux = LINE1,
4780 }, {
4781 .name = name_svideo,
4782 .vmux = 8,
4783 .amux = LINE2,
4784 } },
4785 },
4786 [SAA7134_BOARD_VIDEOMATE_T750] = {
4787 /* John Newbigin <jn@it.swin.edu.au> */
4788 .name = "Compro VideoMate T750",
4789 .audio_clock = 0x00187de7,
4790 .tuner_type = TUNER_XC2028,
Mauro Carvalho Chehab6e741712008-04-22 14:46:07 -03004791 .radio_type = UNSET,
Mauro Carvalho Chehabd9ae6dd2008-04-22 14:46:06 -03004792 .tuner_addr = ADDR_UNSET,
4793 .radio_addr = ADDR_UNSET,
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03004794 .inputs = {{
4795 .name = name_tv,
4796 .vmux = 3,
4797 .amux = TV,
4798 .tv = 1,
4799 }, {
4800 .name = name_comp1,
4801 .vmux = 1,
4802 .amux = LINE2,
4803 }, {
4804 .name = name_svideo,
4805 .vmux = 8,
4806 .amux = LINE2,
4807 } },
4808 .radio = {
4809 .name = name_radio,
4810 .amux = TV,
4811 }
Matthias Schwarzottfc9d8ed2008-04-08 21:45:08 -03004812 },
4813 [SAA7134_BOARD_AVERMEDIA_A700_PRO] = {
4814 /* Matthias Schwarzott <zzam@gentoo.org> */
4815 .name = "Avermedia DVB-S Pro A700",
4816 .audio_clock = 0x00187de7,
4817 .tuner_type = TUNER_ABSENT,
4818 .radio_type = UNSET,
4819 .tuner_addr = ADDR_UNSET,
4820 .radio_addr = ADDR_UNSET,
Matthias Schwarzott04574182009-02-24 12:35:16 -03004821 .mpeg = SAA7134_MPEG_DVB,
Matthias Schwarzottfc9d8ed2008-04-08 21:45:08 -03004822 .inputs = { {
4823 .name = name_comp,
4824 .vmux = 1,
4825 .amux = LINE1,
4826 }, {
4827 .name = name_svideo,
4828 .vmux = 6,
4829 .amux = LINE1,
4830 } },
4831 },
4832 [SAA7134_BOARD_AVERMEDIA_A700_HYBRID] = {
4833 /* Matthias Schwarzott <zzam@gentoo.org> */
4834 .name = "Avermedia DVB-S Hybrid+FM A700",
4835 .audio_clock = 0x00187de7,
Matthias Schwarzott2659e462009-03-29 16:36:02 -03004836 .tuner_type = TUNER_XC2028,
Matthias Schwarzottfc9d8ed2008-04-08 21:45:08 -03004837 .radio_type = UNSET,
4838 .tuner_addr = ADDR_UNSET,
4839 .radio_addr = ADDR_UNSET,
Matthias Schwarzott04574182009-02-24 12:35:16 -03004840 .mpeg = SAA7134_MPEG_DVB,
Matthias Schwarzottfc9d8ed2008-04-08 21:45:08 -03004841 .inputs = { {
Matthias Schwarzott2659e462009-03-29 16:36:02 -03004842 .name = name_tv,
4843 .vmux = 4,
4844 .amux = TV,
4845 .tv = 1,
4846 }, {
Matthias Schwarzottfc9d8ed2008-04-08 21:45:08 -03004847 .name = name_comp,
4848 .vmux = 1,
4849 .amux = LINE1,
4850 }, {
4851 .name = name_svideo,
4852 .vmux = 6,
4853 .amux = LINE1,
4854 } },
Matthias Schwarzott2659e462009-03-29 16:36:02 -03004855 .radio = {
4856 .name = name_radio,
4857 .amux = TV,
4858 },
Matthias Schwarzottfc9d8ed2008-04-08 21:45:08 -03004859 },
Igor Kuznetsov02505272008-04-26 14:53:48 -03004860 [SAA7134_BOARD_BEHOLD_H6] = {
4861 /* Igor Kuznetsov <igk@igk.ru> */
4862 .name = "Beholder BeholdTV H6",
4863 .audio_clock = 0x00187de7,
4864 .tuner_type = TUNER_PHILIPS_FMD1216ME_MK3,
4865 .radio_type = UNSET,
4866 .tuner_addr = ADDR_UNSET,
4867 .radio_addr = ADDR_UNSET,
4868 .tda9887_conf = TDA9887_PRESENT,
Dmitri Belimovf204ae42008-12-23 03:51:38 -03004869 .mpeg = SAA7134_MPEG_DVB,
Igor Kuznetsov02505272008-04-26 14:53:48 -03004870 .inputs = {{
4871 .name = name_tv,
4872 .vmux = 3,
4873 .amux = TV,
4874 .tv = 1,
4875 }, {
4876 .name = name_comp1,
4877 .vmux = 1,
4878 .amux = LINE1,
4879 }, {
4880 .name = name_svideo,
4881 .vmux = 8,
4882 .amux = LINE1,
4883 } },
4884 .radio = {
4885 .name = name_radio,
4886 .amux = LINE2,
4887 },
Igor Kuznetsov02505272008-04-26 14:53:48 -03004888 },
hermann pitton301e9d62008-09-14 17:49:14 -03004889 [SAA7134_BOARD_ASUSTeK_TIGER_3IN1] = {
4890 .name = "Asus Tiger 3in1",
4891 .audio_clock = 0x00187de7,
4892 .tuner_type = TUNER_PHILIPS_TDA8290,
4893 .radio_type = UNSET,
4894 .tuner_addr = ADDR_UNSET,
4895 .radio_addr = ADDR_UNSET,
4896 .tuner_config = 2,
4897 .gpiomask = 1 << 21,
4898 .mpeg = SAA7134_MPEG_DVB,
4899 .inputs = {{
4900 .name = name_tv,
4901 .vmux = 1,
4902 .amux = TV,
4903 .tv = 1,
4904 }, {
4905 .name = name_comp,
4906 .vmux = 0,
4907 .amux = LINE2,
4908 }, {
4909 .name = name_svideo,
4910 .vmux = 8,
4911 .amux = LINE2,
4912 } },
4913 .radio = {
4914 .name = name_radio,
4915 .amux = TV,
4916 .gpio = 0x0200000,
4917 },
4918 },
Mauro Carvalho Chehab9b000192008-06-26 17:03:00 -03004919 [SAA7134_BOARD_REAL_ANGEL_220] = {
4920 .name = "Zogis Real Angel 220",
4921 .audio_clock = 0x00187de7,
4922 .tuner_type = TUNER_TNF_5335MF,
4923 .radio_type = UNSET,
4924 .tuner_addr = ADDR_UNSET,
4925 .radio_addr = ADDR_UNSET,
4926 .gpiomask = 0x801a8087,
4927 .inputs = { {
4928 .name = name_tv,
4929 .vmux = 3,
4930 .amux = LINE2,
4931 .tv = 1,
4932 .gpio = 0x624000,
Hermann Pitton028165a2008-10-04 21:37:36 -03004933 }, {
Mauro Carvalho Chehab9b000192008-06-26 17:03:00 -03004934 .name = name_comp1,
4935 .vmux = 1,
4936 .amux = LINE1,
4937 .gpio = 0x624000,
4938 }, {
4939 .name = name_svideo,
4940 .vmux = 1,
4941 .amux = LINE1,
4942 .gpio = 0x624000,
4943 } },
4944 .radio = {
4945 .name = name_radio,
4946 .amux = LINE2,
4947 .gpio = 0x624001,
4948 },
4949 .mute = {
4950 .name = name_mute,
4951 .amux = TV,
4952 },
4953 },
Adam Gloverf689d902008-05-06 03:20:27 -03004954 [SAA7134_BOARD_ADS_INSTANT_HDTV_PCI] = {
4955 .name = "ADS Tech Instant HDTV",
4956 .audio_clock = 0x00187de7,
4957 .tuner_type = TUNER_PHILIPS_TUV1236D,
4958 .radio_type = UNSET,
4959 .tuner_addr = ADDR_UNSET,
4960 .radio_addr = ADDR_UNSET,
4961 .tda9887_conf = TDA9887_PRESENT,
4962 .mpeg = SAA7134_MPEG_DVB,
4963 .inputs = { {
4964 .name = name_tv,
4965 .vmux = 1,
4966 .amux = TV,
4967 .tv = 1,
4968 }, {
4969 .name = name_comp,
Hermann Pitton028165a2008-10-04 21:37:36 -03004970 .vmux = 4,
4971 .amux = LINE1,
Adam Gloverf689d902008-05-06 03:20:27 -03004972 }, {
4973 .name = name_svideo,
4974 .vmux = 8,
4975 .amux = LINE1,
4976 } },
4977 },
Hermann Pitton028165a2008-10-04 21:37:36 -03004978 [SAA7134_BOARD_ASUSTeK_TIGER] = {
4979 .name = "Asus Tiger Rev:1.00",
4980 .audio_clock = 0x00187de7,
4981 .tuner_type = TUNER_PHILIPS_TDA8290,
4982 .radio_type = UNSET,
4983 .tuner_addr = ADDR_UNSET,
4984 .radio_addr = ADDR_UNSET,
4985 .tuner_config = 0,
4986 .mpeg = SAA7134_MPEG_DVB,
4987 .gpiomask = 0x0200000,
4988 .inputs = { {
4989 .name = name_tv,
4990 .vmux = 1,
4991 .amux = TV,
4992 .tv = 1,
4993 }, {
4994 .name = name_comp1,
4995 .vmux = 3,
4996 .amux = LINE2,
4997 }, {
4998 .name = name_comp2,
4999 .vmux = 0,
5000 .amux = LINE2,
5001 }, {
5002 .name = name_svideo,
5003 .vmux = 8,
5004 .amux = LINE2,
5005 } },
5006 .radio = {
5007 .name = name_radio,
5008 .amux = TV,
5009 .gpio = 0x0200000,
5010 },
5011 },
Mauro Carvalho Chehab26d5f3a2008-12-07 13:19:29 -03005012 [SAA7134_BOARD_KWORLD_PLUS_TV_ANALOG] = {
5013 .name = "Kworld Plus TV Analog Lite PCI",
5014 .audio_clock = 0x00187de7,
5015 .tuner_type = TUNER_YMEC_TVF_5533MF,
5016 .radio_type = TUNER_TEA5767,
5017 .tuner_addr = ADDR_UNSET,
Hans Verkuilfac69862009-01-17 12:17:14 -03005018 .radio_addr = 0x60,
Mauro Carvalho Chehab26d5f3a2008-12-07 13:19:29 -03005019 .gpiomask = 0x80000700,
5020 .inputs = { {
5021 .name = name_tv,
5022 .vmux = 1,
5023 .amux = LINE2,
5024 .tv = 1,
5025 .gpio = 0x100,
5026 }, {
5027 .name = name_comp1,
5028 .vmux = 3,
5029 .amux = LINE1,
5030 .gpio = 0x200,
5031 }, {
5032 .name = name_svideo,
5033 .vmux = 8,
5034 .amux = LINE1,
5035 .gpio = 0x200,
5036 } },
5037 .radio = {
5038 .name = name_radio,
5039 .vmux = 1,
5040 .amux = LINE1,
5041 .gpio = 0x100,
5042 },
5043 .mute = {
5044 .name = name_mute,
5045 .vmux = 8,
5046 .amux = 2,
5047 },
5048 },
Pham Thanh Nam6a2d8022008-12-30 23:26:09 -03005049 [SAA7134_BOARD_AVERMEDIA_GO_007_FM_PLUS] = {
5050 .name = "Avermedia AVerTV GO 007 FM Plus",
5051 .audio_clock = 0x00187de7,
5052 .tuner_type = TUNER_PHILIPS_TDA8290,
5053 .radio_type = UNSET,
5054 .tuner_addr = ADDR_UNSET,
5055 .radio_addr = ADDR_UNSET,
5056 .gpiomask = 0x00300003,
5057 /* .gpiomask = 0x8c240003, */
5058 .inputs = { {
5059 .name = name_tv,
5060 .vmux = 1,
5061 .amux = TV,
5062 .tv = 1,
5063 .gpio = 0x01,
5064 }, {
5065 .name = name_svideo,
5066 .vmux = 6,
5067 .amux = LINE1,
5068 .gpio = 0x02,
5069 } },
5070 .radio = {
5071 .name = name_radio,
5072 .amux = TV,
5073 .gpio = 0x00300001,
5074 },
5075 .mute = {
5076 .name = name_mute,
5077 .amux = TV,
5078 .gpio = 0x01,
5079 },
5080 },
Andy Shevchenkodf0dbbe2009-04-08 14:01:19 -03005081 [SAA7134_BOARD_AVERMEDIA_STUDIO_507UA] = {
5082 /* Andy Shevchenko <andy@smile.org.ua> */
5083 .name = "Avermedia AVerTV Studio 507UA",
5084 .audio_clock = 0x00187de7,
5085 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, /* Should be MK5 */
5086 .radio_type = UNSET,
5087 .tuner_addr = ADDR_UNSET,
5088 .radio_addr = ADDR_UNSET,
5089 .tda9887_conf = TDA9887_PRESENT,
5090 .gpiomask = 0x03,
5091 .inputs = { {
5092 .name = name_tv,
5093 .vmux = 1,
5094 .amux = TV,
5095 .tv = 1,
5096 .gpio = 0x00,
5097 }, {
5098 .name = name_comp1,
5099 .vmux = 3,
5100 .amux = LINE1,
5101 .gpio = 0x00,
5102 }, {
5103 .name = name_svideo,
5104 .vmux = 8,
5105 .amux = LINE1,
5106 .gpio = 0x00,
5107 } },
5108 .radio = {
5109 .name = name_radio,
5110 .amux = LINE2,
5111 .gpio = 0x01,
5112 },
5113 .mute = {
5114 .name = name_mute,
5115 .amux = LINE1,
5116 .gpio = 0x00,
5117 },
5118 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005119};
5120
Linus Torvalds1da177e2005-04-16 15:20:36 -07005121const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards);
5122
5123/* ------------------------------------------------------------------ */
5124/* PCI ids + subsystem IDs */
5125
5126struct pci_device_id saa7134_pci_tbl[] = {
5127 {
5128 .vendor = PCI_VENDOR_ID_PHILIPS,
5129 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5130 .subvendor = PCI_VENDOR_ID_PHILIPS,
5131 .subdevice = 0x2001,
5132 .driver_data = SAA7134_BOARD_PROTEUS_PRO,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005133 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005134 .vendor = PCI_VENDOR_ID_PHILIPS,
5135 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5136 .subvendor = PCI_VENDOR_ID_PHILIPS,
5137 .subdevice = 0x2001,
5138 .driver_data = SAA7134_BOARD_PROTEUS_PRO,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005139 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005140 .vendor = PCI_VENDOR_ID_PHILIPS,
5141 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5142 .subvendor = PCI_VENDOR_ID_PHILIPS,
5143 .subdevice = 0x6752,
5144 .driver_data = SAA7134_BOARD_EMPRESS,
5145 },{
5146 .vendor = PCI_VENDOR_ID_PHILIPS,
5147 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005148 .subvendor = 0x1131,
5149 .subdevice = 0x4e85,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005150 .driver_data = SAA7134_BOARD_MONSTERTV,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005151 },{
5152 .vendor = PCI_VENDOR_ID_PHILIPS,
5153 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Michael Krufky7df64e82005-11-08 21:36:16 -08005154 .subvendor = 0x153b,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005155 .subdevice = 0x1142,
5156 .driver_data = SAA7134_BOARD_CINERGY400,
5157 },{
5158 .vendor = PCI_VENDOR_ID_PHILIPS,
5159 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Michael Krufky7df64e82005-11-08 21:36:16 -08005160 .subvendor = 0x153b,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005161 .subdevice = 0x1143,
5162 .driver_data = SAA7134_BOARD_CINERGY600,
5163 },{
5164 .vendor = PCI_VENDOR_ID_PHILIPS,
5165 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Michael Krufky7df64e82005-11-08 21:36:16 -08005166 .subvendor = 0x153b,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005167 .subdevice = 0x1158,
5168 .driver_data = SAA7134_BOARD_CINERGY600_MK3,
5169 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005170 .vendor = PCI_VENDOR_ID_PHILIPS,
5171 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5172 .subvendor = 0x153b,
5173 .subdevice = 0x1162,
5174 .driver_data = SAA7134_BOARD_CINERGY400_CARDBUS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005175 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005176 .vendor = PCI_VENDOR_ID_PHILIPS,
5177 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Zac Bowlingf49ba8d2006-06-19 19:49:20 -03005178 .subvendor = 0x5169,
5179 .subdevice = 0x0138,
5180 .driver_data = SAA7134_BOARD_FLYVIDEO3000_NTSC,
5181 },{
5182 .vendor = PCI_VENDOR_ID_PHILIPS,
5183 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005184 .subvendor = 0x5168,
5185 .subdevice = 0x0138,
5186 .driver_data = SAA7134_BOARD_FLYVIDEO3000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005187 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005188 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005189 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5190 .subvendor = 0x4e42, /* "Typhoon PCI Capture TV Card" Art.No. 50673 */
5191 .subdevice = 0x0138,
5192 .driver_data = SAA7134_BOARD_FLYVIDEO3000,
5193 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005194 .vendor = PCI_VENDOR_ID_PHILIPS,
5195 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5196 .subvendor = 0x5168,
5197 .subdevice = 0x0138,
5198 .driver_data = SAA7134_BOARD_FLYVIDEO2000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005199 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005200 .vendor = PCI_VENDOR_ID_PHILIPS,
Peter Missel10b7a902006-01-23 17:11:06 -02005201 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5202 .subvendor = 0x4e42, /* Typhoon */
5203 .subdevice = 0x0138, /* LifeView FlyTV Prime30 OEM */
5204 .driver_data = SAA7134_BOARD_FLYVIDEO2000,
5205 },{
5206 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005207 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005208 .subvendor = 0x5168,
5209 .subdevice = 0x0212, /* minipci, LR212 */
5210 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005211 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005212 .vendor = PCI_VENDOR_ID_PHILIPS,
5213 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Mauro Carvalho Chehab058afaf2005-11-08 21:36:49 -08005214 .subvendor = 0x14c0,
5215 .subdevice = 0x1212, /* minipci, LR1212 */
5216 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI2,
5217 },{
5218 .vendor = PCI_VENDOR_ID_PHILIPS,
5219 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Glen Gray2d14f782005-11-08 21:36:12 -08005220 .subvendor = 0x4e42,
5221 .subdevice = 0x0212, /* OEM minipci, LR212 */
5222 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
5223 },{
5224 .vendor = PCI_VENDOR_ID_PHILIPS,
5225 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Peter Missel10e92062005-05-01 08:59:21 -07005226 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
Simon Farnsworthb39423a2007-05-01 10:01:20 -03005227 .subdevice = 0x0214, /* Standard PCI, LR214 Rev E and earlier (SAA7135) */
5228 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
5229 },{
5230 .vendor = PCI_VENDOR_ID_PHILIPS,
5231 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5232 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
5233 .subdevice = 0x5214, /* Standard PCI, LR214 Rev F onwards (SAA7131) */
Linus Torvalds1da177e2005-04-16 15:20:36 -07005234 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005235 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005236 .vendor = PCI_VENDOR_ID_PHILIPS,
Peter Missel10e92062005-05-01 08:59:21 -07005237 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5238 .subvendor = 0x1489, /* KYE */
5239 .subdevice = 0x0214, /* Genius VideoWonder ProTV */
5240 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM, /* is an LR214WF actually */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005241 },{
Peter Missel10e92062005-05-01 08:59:21 -07005242 .vendor = PCI_VENDOR_ID_PHILIPS,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005243 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5244 .subvendor = 0x16be,
5245 .subdevice = 0x0003,
5246 .driver_data = SAA7134_BOARD_MD7134,
5247 },{
5248 .vendor = PCI_VENDOR_ID_PHILIPS,
Hermann Pittona5525682008-12-05 19:49:34 -03005249 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5250 .subvendor = 0x16be, /* CTX946 analog TV, HW mpeg, DVB-T */
5251 .subdevice = 0x5000, /* only analog TV and DVB-T for now */
5252 .driver_data = SAA7134_BOARD_MD7134,
5253 }, {
5254 .vendor = PCI_VENDOR_ID_PHILIPS,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005255 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5256 .subvendor = 0x1048,
5257 .subdevice = 0x226b,
5258 .driver_data = SAA7134_BOARD_ELSA,
5259 },{
5260 .vendor = PCI_VENDOR_ID_PHILIPS,
5261 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5262 .subvendor = 0x1048,
Michael Krufky9a7871b2006-02-27 15:22:49 -03005263 .subdevice = 0x226a,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005264 .driver_data = SAA7134_BOARD_ELSA_500TV,
5265 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005266 .vendor = PCI_VENDOR_ID_PHILIPS,
Tamuki Shoichid0456d12006-02-27 00:08:04 -03005267 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Michael Krufkyba524292006-02-27 14:38:17 -03005268 .subvendor = 0x1048,
5269 .subdevice = 0x226c,
Tamuki Shoichid0456d12006-02-27 00:08:04 -03005270 .driver_data = SAA7134_BOARD_ELSA_700TV,
5271 },{
5272 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005273 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5274 .subvendor = PCI_VENDOR_ID_ASUSTEK,
5275 .subdevice = 0x4842,
5276 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005277 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005278 .vendor = PCI_VENDOR_ID_PHILIPS,
5279 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5280 .subvendor = PCI_VENDOR_ID_ASUSTEK,
5281 .subdevice = 0x4845,
5282 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7135,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005283 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005284 .vendor = PCI_VENDOR_ID_PHILIPS,
5285 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5286 .subvendor = PCI_VENDOR_ID_ASUSTEK,
5287 .subdevice = 0x4830,
5288 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005289 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005290 .vendor = PCI_VENDOR_ID_PHILIPS,
5291 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5292 .subvendor = PCI_VENDOR_ID_ASUSTEK,
5293 .subdevice = 0x4843,
5294 .driver_data = SAA7134_BOARD_ASUSTEK_TVFM7133,
5295 },{
5296 .vendor = PCI_VENDOR_ID_PHILIPS,
5297 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5298 .subvendor = PCI_VENDOR_ID_ASUSTEK,
5299 .subdevice = 0x4840,
5300 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
5301 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005302 .vendor = PCI_VENDOR_ID_PHILIPS,
5303 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5304 .subvendor = PCI_VENDOR_ID_PHILIPS,
5305 .subdevice = 0xfe01,
5306 .driver_data = SAA7134_BOARD_TVSTATION_RDS,
5307 },{
5308 .vendor = PCI_VENDOR_ID_PHILIPS,
5309 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5310 .subvendor = 0x1894,
5311 .subdevice = 0xfe01,
5312 .driver_data = SAA7134_BOARD_TVSTATION_RDS,
5313 },{
5314 .vendor = PCI_VENDOR_ID_PHILIPS,
5315 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5316 .subvendor = 0x1894,
5317 .subdevice = 0xa006,
5318 .driver_data = SAA7134_BOARD_TVSTATION_DVR,
5319 },{
5320 .vendor = PCI_VENDOR_ID_PHILIPS,
5321 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005322 .subvendor = 0x1131,
5323 .subdevice = 0x7133,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005324 .driver_data = SAA7134_BOARD_VA1000POWER,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005325 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005326 .vendor = PCI_VENDOR_ID_PHILIPS,
5327 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005328 .subvendor = PCI_VENDOR_ID_PHILIPS,
5329 .subdevice = 0x2001,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005330 .driver_data = SAA7134_BOARD_10MOONSTVMASTER,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005331 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005332 .vendor = PCI_VENDOR_ID_PHILIPS,
5333 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005334 .subvendor = 0x185b,
5335 .subdevice = 0xc100,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005336 .driver_data = SAA7134_BOARD_VIDEOMATE_TV,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005337 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005338 .vendor = PCI_VENDOR_ID_PHILIPS,
5339 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005340 .subvendor = 0x185b,
5341 .subdevice = 0xc100,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005342 .driver_data = SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005343 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005344 .vendor = PCI_VENDOR_ID_PHILIPS,
5345 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005346 .subvendor = PCI_VENDOR_ID_MATROX,
5347 .subdevice = 0x48d0,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005348 .driver_data = SAA7134_BOARD_CRONOS_PLUS,
5349 },{
5350 .vendor = PCI_VENDOR_ID_PHILIPS,
5351 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005352 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5353 .subdevice = 0xa70b,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005354 .driver_data = SAA7134_BOARD_MD2819,
5355 },{
5356 .vendor = PCI_VENDOR_ID_PHILIPS,
Matthias Schwarzottfc9d8ed2008-04-08 21:45:08 -03005357 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5358 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5359 .subdevice = 0xa7a1,
5360 .driver_data = SAA7134_BOARD_AVERMEDIA_A700_PRO,
5361 }, {
5362 .vendor = PCI_VENDOR_ID_PHILIPS,
5363 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5364 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5365 .subdevice = 0xa7a2,
5366 .driver_data = SAA7134_BOARD_AVERMEDIA_A700_HYBRID,
5367 }, {
5368 .vendor = PCI_VENDOR_ID_PHILIPS,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005369 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005370 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5371 .subdevice = 0x2115,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005372 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_305,
5373 },{
5374 .vendor = PCI_VENDOR_ID_PHILIPS,
5375 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005376 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5377 .subdevice = 0x2108,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005378 .driver_data = SAA7134_BOARD_AVERMEDIA_305,
5379 },{
5380 .vendor = PCI_VENDOR_ID_PHILIPS,
5381 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005382 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5383 .subdevice = 0x10ff,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005384 .driver_data = SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005385 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005386 /* AVerMedia CardBus */
5387 .vendor = PCI_VENDOR_ID_PHILIPS,
5388 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005389 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5390 .subdevice = 0xd6ee,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005391 .driver_data = SAA7134_BOARD_AVERMEDIA_CARDBUS,
5392 },{
Oldřich Jedličkad46de9d2009-04-14 15:47:17 -03005393 /* AVerMedia CardBus */
5394 .vendor = PCI_VENDOR_ID_PHILIPS,
5395 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5396 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5397 .subdevice = 0xb7e9,
5398 .driver_data = SAA7134_BOARD_AVERMEDIA_CARDBUS_501,
5399 }, {
Linus Torvalds1da177e2005-04-16 15:20:36 -07005400 /* TransGear 3000TV */
5401 .vendor = PCI_VENDOR_ID_PHILIPS,
5402 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005403 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5404 .subdevice = 0x050c,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005405 .driver_data = SAA7134_BOARD_TG3000TV,
5406 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005407 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005408 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5409 .subvendor = 0x11bd,
5410 .subdevice = 0x002b,
5411 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_STEREO,
5412 },{
5413 .vendor = PCI_VENDOR_ID_PHILIPS,
5414 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5415 .subvendor = 0x11bd,
5416 .subdevice = 0x002d,
5417 .driver_data = SAA7134_BOARD_PINNACLE_300I_DVBT_PAL,
5418 },{
5419 .vendor = PCI_VENDOR_ID_PHILIPS,
5420 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5421 .subvendor = 0x1019,
5422 .subdevice = 0x4cb4,
5423 .driver_data = SAA7134_BOARD_ECS_TVP3XP,
5424 },{
5425 .vendor = PCI_VENDOR_ID_PHILIPS,
5426 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5427 .subvendor = 0x1019,
5428 .subdevice = 0x4cb5,
5429 .driver_data = SAA7134_BOARD_ECS_TVP3XP_4CB5,
5430 },{
5431 .vendor = PCI_VENDOR_ID_PHILIPS,
Simon Farnsworthb39423a2007-05-01 10:01:20 -03005432 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5433 .subvendor = 0x1019,
5434 .subdevice = 0x4cb6,
5435 .driver_data = SAA7134_BOARD_ECS_TVP3XP_4CB6,
5436 },{
5437 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005438 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5439 .subvendor = 0x12ab,
5440 .subdevice = 0x0800,
5441 .driver_data = SAA7134_BOARD_UPMOST_PURPLE_TV,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005442 },{
5443 .vendor = PCI_VENDOR_ID_PHILIPS,
5444 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Michael Krufky7df64e82005-11-08 21:36:16 -08005445 .subvendor = 0x153b,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005446 .subdevice = 0x1152,
5447 .driver_data = SAA7134_BOARD_CINERGY200,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005448 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005449 .vendor = PCI_VENDOR_ID_PHILIPS,
5450 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005451 .subvendor = 0x185b,
5452 .subdevice = 0xc100,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005453 .driver_data = SAA7134_BOARD_VIDEOMATE_TV_PVR,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005454 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005455 .vendor = PCI_VENDOR_ID_PHILIPS,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005456 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5457 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5458 .subdevice = 0x9715,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07005459 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_307,
5460 },{
5461 .vendor = PCI_VENDOR_ID_PHILIPS,
5462 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5463 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5464 .subdevice = 0xa70a,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005465 .driver_data = SAA7134_BOARD_AVERMEDIA_307,
5466 },{
5467 .vendor = PCI_VENDOR_ID_PHILIPS,
5468 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5469 .subvendor = 0x185b,
5470 .subdevice = 0xc200,
5471 .driver_data = SAA7134_BOARD_VIDEOMATE_GOLD_PLUS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005472 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005473 .vendor = PCI_VENDOR_ID_PHILIPS,
5474 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5475 .subvendor = 0x1540,
5476 .subdevice = 0x9524,
5477 .driver_data = SAA7134_BOARD_PROVIDEO_PV952,
5478
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005479 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005480 .vendor = PCI_VENDOR_ID_PHILIPS,
5481 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5482 .subvendor = 0x5168,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005483 .subdevice = 0x0502, /* Cardbus version */
Peter Missel10b7a902006-01-23 17:11:06 -02005484 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005485 },{
5486 .vendor = PCI_VENDOR_ID_PHILIPS,
5487 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5488 .subvendor = 0x5168,
5489 .subdevice = 0x0306, /* PCI version */
Linus Torvalds1da177e2005-04-16 15:20:36 -07005490 .driver_data = SAA7134_BOARD_FLYDVBTDUO,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07005491 },{
5492 .vendor = PCI_VENDOR_ID_PHILIPS,
5493 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5494 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5495 .subdevice = 0xf31f,
5496 .driver_data = SAA7134_BOARD_AVERMEDIA_GO_007_FM,
5497
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005498 },{
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07005499 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehab36f6bb92008-06-26 17:03:00 -03005500 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5501 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5502 .subdevice = 0xf11d,
5503 .driver_data = SAA7134_BOARD_AVERMEDIA_M135A,
5504 }, {
5505 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005506 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5507 .subvendor = PCI_VENDOR_ID_PHILIPS,
5508 .subdevice = 0x2004,
5509 .driver_data = SAA7134_BOARD_PHILIPS_TOUGH,
5510 },{
5511 .vendor = PCI_VENDOR_ID_PHILIPS,
5512 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07005513 .subvendor = 0x1421,
5514 .subdevice = 0x0350, /* PCI version */
5515 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005516 },{
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07005517 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005518 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07005519 .subvendor = 0x1421,
Ricardo Cerqueira41d70c22006-01-09 15:25:34 -02005520 .subdevice = 0x0351, /* PCI version, new revision */
5521 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
5522 },{
5523 .vendor = PCI_VENDOR_ID_PHILIPS,
5524 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5525 .subvendor = 0x1421,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07005526 .subdevice = 0x0370, /* cardbus version */
5527 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
Hartmut Hackmannd4b0aba2005-11-08 21:38:44 -08005528 },{
5529 .vendor = PCI_VENDOR_ID_PHILIPS,
5530 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5531 .subvendor = 0x1421,
5532 .subdevice = 0x1370, /* cardbus version */
5533 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005534
Peter Missel10b7a902006-01-23 17:11:06 -02005535 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005536 .vendor = PCI_VENDOR_ID_PHILIPS,
5537 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Peter Missel10b7a902006-01-23 17:11:06 -02005538 .subvendor = 0x4e42, /* Typhoon */
5539 .subdevice = 0x0502, /* LifeView LR502 OEM */
5540 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
Mauro Carvalho Chehab2f180712005-09-09 13:03:46 -07005541 },{
5542 .vendor = PCI_VENDOR_ID_PHILIPS,
5543 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5544 .subvendor = 0x1043,
5545 .subdevice = 0x0210, /* mini pci NTSC version */
5546 .driver_data = SAA7134_BOARD_FLYTV_DIGIMATRIX,
5547 },{
5548 .vendor = PCI_VENDOR_ID_PHILIPS,
5549 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5550 .subvendor = 0x1043,
5551 .subdevice = 0x0210, /* mini pci PAL/SECAM version */
Michael Krufky5d5c9902005-11-08 21:38:08 -08005552 .driver_data = SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005553
5554 },{
Nickolay V. Shmyreva8ff4172005-11-08 21:36:16 -08005555 .vendor = PCI_VENDOR_ID_PHILIPS,
5556 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5557 .subvendor = 0x0000, /* It shouldn't break anything, since subdevice id seems unique */
5558 .subdevice = 0x4091,
5559 .driver_data = SAA7134_BOARD_BEHOLD_409FM,
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08005560 },{
5561 .vendor = PCI_VENDOR_ID_PHILIPS,
5562 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5563 .subvendor = 0x5456, /* GoTView */
5564 .subdevice = 0x7135,
5565 .driver_data = SAA7134_BOARD_GOTVIEW_7135,
5566 },{
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08005567 .vendor = PCI_VENDOR_ID_PHILIPS,
5568 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5569 .subvendor = PCI_VENDOR_ID_PHILIPS,
5570 .subdevice = 0x2004,
5571 .driver_data = SAA7134_BOARD_PHILIPS_EUROPA,
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08005572 },{
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08005573 .vendor = PCI_VENDOR_ID_PHILIPS,
5574 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5575 .subvendor = 0x185b,
5576 .subdevice = 0xc900,
5577 .driver_data = SAA7134_BOARD_VIDEOMATE_DVBT_300,
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08005578 },{
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08005579 .vendor = PCI_VENDOR_ID_PHILIPS,
5580 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5581 .subvendor = 0x185b,
5582 .subdevice = 0xc901,
5583 .driver_data = SAA7134_BOARD_VIDEOMATE_DVBT_200,
5584 },{
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08005585 .vendor = PCI_VENDOR_ID_PHILIPS,
5586 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5587 .subvendor = 0x1435,
5588 .subdevice = 0x7350,
5589 .driver_data = SAA7134_BOARD_RTD_VFG7350,
Nickolay V. Shmyrevbb881f12005-11-08 21:36:35 -08005590 },{
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08005591 .vendor = PCI_VENDOR_ID_PHILIPS,
5592 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5593 .subvendor = 0x1435,
5594 .subdevice = 0x7330,
5595 .driver_data = SAA7134_BOARD_RTD_VFG7330,
Pieter Palmerscf1c5d12005-11-08 21:37:40 -08005596 },{
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08005597 .vendor = PCI_VENDOR_ID_PHILIPS,
5598 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5599 .subvendor = 0x1461,
5600 .subdevice = 0x1044,
5601 .driver_data = SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180,
5602 },{
Pieter Palmerscf1c5d12005-11-08 21:37:40 -08005603 .vendor = PCI_VENDOR_ID_PHILIPS,
5604 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5605 .subvendor = 0x1131,
5606 .subdevice = 0x4ee9,
5607 .driver_data = SAA7134_BOARD_MONSTERTV_MOBILE,
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08005608 },{
Ricardo Cerqueirac2f6f9d2005-11-08 21:37:51 -08005609 .vendor = PCI_VENDOR_ID_PHILIPS,
5610 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5611 .subvendor = 0x11bd,
5612 .subdevice = 0x002e,
5613 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_110i,
5614 },{
Hermann Pitton28f02242005-11-08 21:38:03 -08005615 .vendor = PCI_VENDOR_ID_PHILIPS,
5616 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5617 .subvendor = 0x1043,
5618 .subdevice = 0x4862,
5619 .driver_data = SAA7134_BOARD_ASUSTeK_P7131_DUAL,
Pavel Mihaylovc3d93192005-11-08 21:38:43 -08005620 },{
Hartmut Hackmann90e9df72005-11-08 21:38:42 -08005621 .vendor = PCI_VENDOR_ID_PHILIPS,
5622 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5623 .subvendor = PCI_VENDOR_ID_PHILIPS,
5624 .subdevice = 0x2018,
5625 .driver_data = SAA7134_BOARD_PHILIPS_TIGER,
Hermann Pitton28f02242005-11-08 21:38:03 -08005626 },{
Ricardo Cerqueira80d2ad92005-11-13 16:08:01 -08005627 .vendor = PCI_VENDOR_ID_PHILIPS,
5628 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5629 .subvendor = 0x1462,
Hermann Pittonb6667e52008-01-12 14:43:48 -03005630 .subdevice = 0x6231, /* tda8275a, ks003 IR */
5631 .driver_data = SAA7134_BOARD_MSI_TVATANYWHERE_PLUS,
5632 },{
5633 .vendor = PCI_VENDOR_ID_PHILIPS,
5634 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5635 .subvendor = 0x1462,
5636 .subdevice = 0x8624, /* tda8275, ks003 IR */
Ricardo Cerqueira80d2ad92005-11-13 16:08:01 -08005637 .driver_data = SAA7134_BOARD_MSI_TVATANYWHERE_PLUS,
5638 },{
Jörg Schummerf639c9b2006-01-09 15:25:01 -02005639 .vendor = PCI_VENDOR_ID_PHILIPS,
5640 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5641 .subvendor = 0x153b,
5642 .subdevice = 0x1160,
5643 .driver_data = SAA7134_BOARD_CINERGY250PCI,
5644 },{
Peter Missel4aa6ba52006-01-09 15:32:45 -02005645 .vendor = PCI_VENDOR_ID_PHILIPS,
5646 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA 7131E */
5647 .subvendor = 0x5168,
5648 .subdevice = 0x0319,
5649 .driver_data = SAA7134_BOARD_FLYDVB_TRIO,
5650 },{
Jose Alberto Regueroa78d0bf2006-02-07 06:25:14 -02005651 .vendor = PCI_VENDOR_ID_PHILIPS,
Hartmut Hackmann1e9bfb92006-08-07 14:03:32 -03005652 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Jose Alberto Regueroa78d0bf2006-02-07 06:25:14 -02005653 .subvendor = 0x1461,
5654 .subdevice = 0x2c05,
5655 .driver_data = SAA7134_BOARD_AVERMEDIA_777,
5656 },{
Giampiero Giancipoli3d8466e2006-02-07 06:49:09 -02005657 .vendor = PCI_VENDOR_ID_PHILIPS,
5658 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5659 .subvendor = 0x5168,
5660 .subdevice = 0x0301,
5661 .driver_data = SAA7134_BOARD_FLYDVBT_LR301,
5662 },{
Hartmut Hackmanndf42eaf2006-02-07 06:49:10 -02005663 .vendor = PCI_VENDOR_ID_PHILIPS,
5664 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5665 .subvendor = 0x0331,
5666 .subdevice = 0x1421,
5667 .driver_data = SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331,
5668 },{
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02005669 .vendor = PCI_VENDOR_ID_PHILIPS,
5670 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5671 .subvendor = 0x17de,
5672 .subdevice = 0x7201,
5673 .driver_data = SAA7134_BOARD_TEVION_DVBT_220RF,
5674 },{
Andrew Burri3e1410a2006-02-27 00:08:23 -03005675 .vendor = PCI_VENDOR_ID_PHILIPS,
Simon Farnsworthb39423a2007-05-01 10:01:20 -03005676 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5677 .subvendor = 0x17de,
5678 .subdevice = 0x7250,
5679 .driver_data = SAA7134_BOARD_KWORLD_DVBT_210,
5680 },{
5681 .vendor = PCI_VENDOR_ID_PHILIPS,
Andrew Burri3e1410a2006-02-27 00:08:23 -03005682 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA7135HL */
5683 .subvendor = 0x17de,
5684 .subdevice = 0x7350,
5685 .driver_data = SAA7134_BOARD_KWORLD_ATSC110,
5686 },{
Rickard Osser68593af2006-03-11 17:14:12 -03005687 .vendor = PCI_VENDOR_ID_PHILIPS,
Eric Sandeen0ac3a5b2007-10-08 16:13:02 -03005688 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA7135HL */
5689 .subvendor = 0x17de,
5690 .subdevice = 0x7352,
5691 .driver_data = SAA7134_BOARD_KWORLD_ATSC110, /* ATSC 115 */
5692 },{
5693 .vendor = PCI_VENDOR_ID_PHILIPS,
Rickard Osser68593af2006-03-11 17:14:12 -03005694 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5695 .subvendor = 0x1461,
5696 .subdevice = 0x7360,
5697 .driver_data = SAA7134_BOARD_AVERMEDIA_A169_B,
5698 },{
5699 .vendor = PCI_VENDOR_ID_PHILIPS,
5700 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5701 .subvendor = 0x1461,
5702 .subdevice = 0x6360,
5703 .driver_data = SAA7134_BOARD_AVERMEDIA_A169_B1,
5704 },{
Michael Krufkyba3a5a82006-03-14 19:02:12 -03005705 .vendor = PCI_VENDOR_ID_PHILIPS,
5706 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5707 .subvendor = 0x16be,
5708 .subdevice = 0x0005,
5709 .driver_data = SAA7134_BOARD_MD7134_BRIDGE_2,
5710 },{
Igor M. Liplianine2ac28f2006-08-08 09:10:10 -03005711 .vendor = PCI_VENDOR_ID_PHILIPS,
5712 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5713 .subvendor = 0x5168,
5714 .subdevice = 0x0300,
5715 .driver_data = SAA7134_BOARD_FLYDVBS_LR300,
5716 },{
5717 .vendor = PCI_VENDOR_ID_PHILIPS,
5718 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5719 .subvendor = 0x4e42,
5720 .subdevice = 0x0300,/* LR300 */
5721 .driver_data = SAA7134_BOARD_FLYDVBS_LR300,
5722 },{
Hartmut Hackmann42e6b3b2006-03-27 19:04:48 -03005723 .vendor = PCI_VENDOR_ID_PHILIPS,
5724 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5725 .subvendor = 0x1489,
5726 .subdevice = 0x0301,
5727 .driver_data = SAA7134_BOARD_FLYDVBT_LR301,
5728 },{
5729 .vendor = PCI_VENDOR_ID_PHILIPS,
5730 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5731 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
5732 .subdevice = 0x0304,
5733 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
5734 },{
Hartmut Hackmannd95b8942006-03-27 19:39:30 -03005735 .vendor = PCI_VENDOR_ID_PHILIPS,
5736 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5737 .subvendor = 0x5168,
5738 .subdevice = 0x3306,
5739 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
5740 },{
5741 .vendor = PCI_VENDOR_ID_PHILIPS,
5742 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5743 .subvendor = 0x5168,
5744 .subdevice = 0x3502, /* whats the difference to 0x3306 ?*/
5745 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
5746 },{
Hartmut Hackmann5eda2272006-08-07 14:03:32 -03005747 .vendor = PCI_VENDOR_ID_PHILIPS,
5748 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Hermann Pitton29e4e052008-01-20 19:49:51 -03005749 .subvendor = 0x5168,
5750 .subdevice = 0x3307, /* FlyDVB-T Hybrid Mini PCI */
5751 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
5752 }, {
5753 .vendor = PCI_VENDOR_ID_PHILIPS,
5754 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Hartmut Hackmann5eda2272006-08-07 14:03:32 -03005755 .subvendor = 0x16be,
5756 .subdevice = 0x0007,
5757 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
5758 },{
5759 .vendor = PCI_VENDOR_ID_PHILIPS,
5760 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5761 .subvendor = 0x16be,
5762 .subdevice = 0x0008,
5763 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
5764 },{
Hartmut Hackmann1e9bfb92006-08-07 14:03:32 -03005765 .vendor = PCI_VENDOR_ID_PHILIPS,
5766 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Hermann Pitton728b92a2008-01-20 19:42:01 -03005767 .subvendor = 0x16be,
5768 .subdevice = 0x000d, /* triple CTX948_V1.1.1 */
5769 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
5770 }, {
5771 .vendor = PCI_VENDOR_ID_PHILIPS,
5772 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Hartmut Hackmann1e9bfb92006-08-07 14:03:32 -03005773 .subvendor = 0x1461,
5774 .subdevice = 0x2c05,
5775 .driver_data = SAA7134_BOARD_AVERMEDIA_777,
5776 },{
Hartmut Hackmann2c591942006-08-07 14:03:32 -03005777 .vendor = PCI_VENDOR_ID_PHILIPS,
5778 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5779 .subvendor = 0x1489,
5780 .subdevice = 0x0502, /* Cardbus version */
5781 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
5782 },{
Michal Majchrowiczb04c1ba2006-09-13 16:42:42 -03005783 .vendor = PCI_VENDOR_ID_PHILIPS,
5784 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5785 .subvendor = 0x0919, /* Philips Proteus PRO 2309 */
5786 .subdevice = 0x2003,
5787 .driver_data = SAA7134_BOARD_PROTEUS_2309,
5788 },{
Petr Baudis515c2082006-09-26 16:53:53 -03005789 .vendor = PCI_VENDOR_ID_PHILIPS,
5790 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5791 .subvendor = 0x1461,
5792 .subdevice = 0x2c00,
5793 .driver_data = SAA7134_BOARD_AVERMEDIA_A16AR,
5794 },{
Hartmut Hackmanncf146ca2006-10-02 20:49:24 -03005795 .vendor = PCI_VENDOR_ID_PHILIPS,
5796 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5797 .subvendor = 0x1043,
5798 .subdevice = 0x4860,
5799 .driver_data = SAA7134_BOARD_ASUS_EUROPA2_HYBRID,
5800 },{
Hartmut Hackmann587d2fd2006-10-06 19:13:50 -03005801 .vendor = PCI_VENDOR_ID_PHILIPS,
5802 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5803 .subvendor = 0x11bd,
5804 .subdevice = 0x002f,
5805 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_310i,
5806 },{
Mikhail Fedotov3ac706d2006-10-06 20:23:47 -03005807 .vendor = PCI_VENDOR_ID_PHILIPS,
5808 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5809 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5810 .subdevice = 0x9715,
5811 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_507,
5812 },{
Hartmut Hackmann83646812006-10-12 20:38:51 -03005813 .vendor = PCI_VENDOR_ID_PHILIPS,
Andy Shevchenkodf0dbbe2009-04-08 14:01:19 -03005814 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5815 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5816 .subdevice = 0xa11b,
5817 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_507UA,
5818 }, {
5819 .vendor = PCI_VENDOR_ID_PHILIPS,
Hartmut Hackmann83646812006-10-12 20:38:51 -03005820 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5821 .subvendor = 0x1043,
5822 .subdevice = 0x4876,
Hartmut Hackmannf3eec0c02007-03-14 20:33:55 -03005823 .driver_data = SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA,
Hartmut Hackmann83646812006-10-12 20:38:51 -03005824 },{
Thomas Gentyc6e53da2006-11-05 14:17:30 -03005825 .vendor = PCI_VENDOR_ID_PHILIPS,
5826 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5827 .subvendor = 0x0070,
Michael Krufkyddf12222007-11-15 10:01:11 -03005828 .subdevice = 0x6700,
5829 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
5830 },{
5831 .vendor = PCI_VENDOR_ID_PHILIPS,
5832 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5833 .subvendor = 0x0070,
Thomas Gentyc6e53da2006-11-05 14:17:30 -03005834 .subdevice = 0x6701,
5835 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
5836 },{
Hartmut Hackmann550a9a52006-11-15 21:31:54 -03005837 .vendor = PCI_VENDOR_ID_PHILIPS,
5838 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Michael Krufkyddf12222007-11-15 10:01:11 -03005839 .subvendor = 0x0070,
5840 .subdevice = 0x6702,
5841 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
5842 },{
5843 .vendor = PCI_VENDOR_ID_PHILIPS,
5844 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5845 .subvendor = 0x0070,
5846 .subdevice = 0x6703,
5847 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
5848 },{
5849 .vendor = PCI_VENDOR_ID_PHILIPS,
5850 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5851 .subvendor = 0x0070,
5852 .subdevice = 0x6704,
5853 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
5854 },{
5855 .vendor = PCI_VENDOR_ID_PHILIPS,
5856 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5857 .subvendor = 0x0070,
5858 .subdevice = 0x6705,
5859 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
5860 },{
5861 .vendor = PCI_VENDOR_ID_PHILIPS,
5862 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Michael Krufkyf9996c92009-02-28 17:45:17 -03005863 .subvendor = 0x0070,
5864 .subdevice = 0x6706,
Michael Krufkyb5f05062009-08-03 16:51:33 -03005865 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1150,
Michael Krufkyf9996c92009-02-28 17:45:17 -03005866 },{
5867 .vendor = PCI_VENDOR_ID_PHILIPS,
5868 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5869 .subvendor = 0x0070,
5870 .subdevice = 0x6707,
5871 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110R3,
5872 },{
5873 .vendor = PCI_VENDOR_ID_PHILIPS,
5874 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5875 .subvendor = 0x0070,
5876 .subdevice = 0x6708,
Michael Krufkyb5f05062009-08-03 16:51:33 -03005877 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1150,
Michael Krufkyf9996c92009-02-28 17:45:17 -03005878 },{
5879 .vendor = PCI_VENDOR_ID_PHILIPS,
5880 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5881 .subvendor = 0x0070,
5882 .subdevice = 0x6709,
5883 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110R3,
5884 },{
5885 .vendor = PCI_VENDOR_ID_PHILIPS,
5886 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5887 .subvendor = 0x0070,
5888 .subdevice = 0x670a,
5889 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110R3,
5890 },{
5891 .vendor = PCI_VENDOR_ID_PHILIPS,
5892 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Hartmut Hackmann550a9a52006-11-15 21:31:54 -03005893 .subvendor = 0x153b,
5894 .subdevice = 0x1172,
5895 .driver_data = SAA7134_BOARD_CINERGY_HT_PCMCIA,
5896 },{
Steven Walterd1158f42006-12-20 09:29:09 -03005897 .vendor = PCI_VENDOR_ID_PHILIPS,
5898 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5899 .subvendor = PCI_VENDOR_ID_PHILIPS,
5900 .subdevice = 0x2342,
5901 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
5902 },{
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03005903 .vendor = PCI_VENDOR_ID_PHILIPS,
5904 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5905 .subvendor = 0x1131,
5906 .subdevice = 0x2341,
5907 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
5908 },{
5909 .vendor = PCI_VENDOR_ID_PHILIPS,
5910 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5911 .subvendor = 0x3016,
5912 .subdevice = 0x2344,
5913 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
5914 },{
5915 .vendor = PCI_VENDOR_ID_PHILIPS,
5916 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5917 .subvendor = 0x1131,
5918 .subdevice = 0x230f,
5919 .driver_data = SAA7134_BOARD_ENCORE_ENLTV_FM,
5920 },{
Michael Krufky9de271e2007-01-16 18:36:40 -03005921 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehabbf1ece62008-06-26 17:03:00 -03005922 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5923 .subvendor = 0x1a7f,
5924 .subdevice = 0x2008,
5925 .driver_data = SAA7134_BOARD_ENCORE_ENLTV_FM53,
5926 }, {
5927 .vendor = PCI_VENDOR_ID_PHILIPS,
Michael Krufky9de271e2007-01-16 18:36:40 -03005928 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5929 .subvendor = 0x153b,
5930 .subdevice = 0x1175,
5931 .driver_data = SAA7134_BOARD_CINERGY_HT_PCI,
5932 },{
Markus Rechbergere95d3172007-04-27 12:31:19 -03005933 .vendor = PCI_VENDOR_ID_PHILIPS,
5934 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5935 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5936 .subdevice = 0xf31e,
5937 .driver_data = SAA7134_BOARD_AVERMEDIA_M102,
5938 },{
Peter Misseldb483672007-04-27 12:31:20 -03005939 .vendor = PCI_VENDOR_ID_PHILIPS,
5940 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5941 .subvendor = 0x4E42, /* MSI */
5942 .subdevice = 0x0306, /* TV@nywhere DUO */
5943 .driver_data = SAA7134_BOARD_FLYDVBTDUO,
5944 },{
Hartmut Hackmanne06cea42007-03-13 20:58:29 -03005945 .vendor = PCI_VENDOR_ID_PHILIPS,
5946 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5947 .subvendor = 0x1043,
5948 .subdevice = 0x4871,
5949 .driver_data = SAA7134_BOARD_ASUS_P7131_4871,
5950 },{
5951 .vendor = PCI_VENDOR_ID_PHILIPS,
5952 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5953 .subvendor = 0x1043,
Hermann Pitton028165a2008-10-04 21:37:36 -03005954 .subdevice = 0x4857, /* REV:1.00 */
5955 .driver_data = SAA7134_BOARD_ASUSTeK_TIGER,
Hartmut Hackmanne06cea42007-03-13 20:58:29 -03005956 },{
James T Klaas53958b32007-05-01 10:48:09 -03005957 .vendor = PCI_VENDOR_ID_PHILIPS,
5958 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5959 .subvendor = 0x0919, /* SinoVideo PCI 2309 Proteus (7134) */
5960 .subdevice = 0x2003, /* OEM cardbus */
5961 .driver_data = SAA7134_BOARD_SABRENT_TV_PCB05,
5962 },{
Tony Wanaaccb822007-05-10 12:16:47 -03005963 .vendor = PCI_VENDOR_ID_PHILIPS,
5964 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5965 .subvendor = PCI_VENDOR_ID_PHILIPS,
5966 .subdevice = 0x2304,
5967 .driver_data = SAA7134_BOARD_10MOONSTVMASTER3,
5968 },{
Edgar Simod90d9f52007-08-20 14:14:50 -03005969 .vendor = PCI_VENDOR_ID_PHILIPS,
5970 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5971 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5972 .subdevice = 0xf01d, /* AVerTV DVB-T Super 007 */
5973 .driver_data = SAA7134_BOARD_AVERMEDIA_SUPER_007,
5974 },{
Mauro Carvalho Chehab593f18c2007-10-07 02:17:09 -03005975 .vendor = PCI_VENDOR_ID_PHILIPS,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03005976 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03005977 .subvendor = 0x0000,
5978 .subdevice = 0x4016,
5979 .driver_data = SAA7134_BOARD_BEHOLD_401,
5980 },{
5981 .vendor = PCI_VENDOR_ID_PHILIPS,
5982 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03005983 .subvendor = 0x0000,
5984 .subdevice = 0x4036,
5985 .driver_data = SAA7134_BOARD_BEHOLD_403,
5986 },{
5987 .vendor = PCI_VENDOR_ID_PHILIPS,
5988 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5989 .subvendor = 0x0000,
5990 .subdevice = 0x4037,
5991 .driver_data = SAA7134_BOARD_BEHOLD_403FM,
5992 },{
5993 .vendor = PCI_VENDOR_ID_PHILIPS,
5994 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5995 .subvendor = 0x0000,
5996 .subdevice = 0x4050,
5997 .driver_data = SAA7134_BOARD_BEHOLD_405,
5998 },{
5999 .vendor = PCI_VENDOR_ID_PHILIPS,
6000 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6001 .subvendor = 0x0000,
6002 .subdevice = 0x4051,
6003 .driver_data = SAA7134_BOARD_BEHOLD_405FM,
6004 },{
6005 .vendor = PCI_VENDOR_ID_PHILIPS,
6006 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6007 .subvendor = 0x0000,
6008 .subdevice = 0x4070,
6009 .driver_data = SAA7134_BOARD_BEHOLD_407,
6010 },{
6011 .vendor = PCI_VENDOR_ID_PHILIPS,
6012 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6013 .subvendor = 0x0000,
6014 .subdevice = 0x4071,
6015 .driver_data = SAA7134_BOARD_BEHOLD_407FM,
6016 },{
6017 .vendor = PCI_VENDOR_ID_PHILIPS,
6018 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6019 .subvendor = 0x0000,
6020 .subdevice = 0x4090,
6021 .driver_data = SAA7134_BOARD_BEHOLD_409,
6022 },{
6023 .vendor = PCI_VENDOR_ID_PHILIPS,
6024 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6025 .subvendor = 0x0000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006026 .subdevice = 0x505B,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03006027 .driver_data = SAA7134_BOARD_BEHOLD_505RDS,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006028 },{
6029 .vendor = PCI_VENDOR_ID_PHILIPS,
6030 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6031 .subvendor = 0x5ace,
6032 .subdevice = 0x5050,
6033 .driver_data = SAA7134_BOARD_BEHOLD_505FM,
6034 },{
6035 .vendor = PCI_VENDOR_ID_PHILIPS,
6036 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6037 .subvendor = 0x0000,
6038 .subdevice = 0x5071,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03006039 .driver_data = SAA7134_BOARD_BEHOLD_507RDS_MK3,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006040 },{
6041 .vendor = PCI_VENDOR_ID_PHILIPS,
6042 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6043 .subvendor = 0x0000,
6044 .subdevice = 0x507B,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03006045 .driver_data = SAA7134_BOARD_BEHOLD_507RDS_MK5,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006046 },{
6047 .vendor = PCI_VENDOR_ID_PHILIPS,
6048 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6049 .subvendor = 0x5ace,
6050 .subdevice = 0x5070,
6051 .driver_data = SAA7134_BOARD_BEHOLD_507_9FM,
6052 },{
6053 .vendor = PCI_VENDOR_ID_PHILIPS,
6054 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6055 .subvendor = 0x5ace,
6056 .subdevice = 0x5090,
6057 .driver_data = SAA7134_BOARD_BEHOLD_507_9FM,
6058 },{
6059 .vendor = PCI_VENDOR_ID_PHILIPS,
6060 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6061 .subvendor = 0x0000,
6062 .subdevice = 0x5201,
6063 .driver_data = SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM,
6064 },{
6065 .vendor = PCI_VENDOR_ID_PHILIPS,
6066 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6067 .subvendor = 0x5ace,
6068 .subdevice = 0x6070,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03006069 .driver_data = SAA7134_BOARD_BEHOLD_607FM_MK3,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006070 },{
6071 .vendor = PCI_VENDOR_ID_PHILIPS,
6072 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6073 .subvendor = 0x5ace,
6074 .subdevice = 0x6071,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03006075 .driver_data = SAA7134_BOARD_BEHOLD_607FM_MK5,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006076 },{
6077 .vendor = PCI_VENDOR_ID_PHILIPS,
6078 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6079 .subvendor = 0x5ace,
6080 .subdevice = 0x6072,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03006081 .driver_data = SAA7134_BOARD_BEHOLD_607RDS_MK3,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006082 },{
6083 .vendor = PCI_VENDOR_ID_PHILIPS,
6084 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6085 .subvendor = 0x5ace,
6086 .subdevice = 0x6073,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03006087 .driver_data = SAA7134_BOARD_BEHOLD_607RDS_MK5,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006088 },{
6089 .vendor = PCI_VENDOR_ID_PHILIPS,
6090 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6091 .subvendor = 0x5ace,
6092 .subdevice = 0x6090,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03006093 .driver_data = SAA7134_BOARD_BEHOLD_609FM_MK3,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006094 },{
6095 .vendor = PCI_VENDOR_ID_PHILIPS,
6096 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6097 .subvendor = 0x5ace,
6098 .subdevice = 0x6091,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03006099 .driver_data = SAA7134_BOARD_BEHOLD_609FM_MK5,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006100 },{
6101 .vendor = PCI_VENDOR_ID_PHILIPS,
6102 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6103 .subvendor = 0x5ace,
6104 .subdevice = 0x6092,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03006105 .driver_data = SAA7134_BOARD_BEHOLD_609RDS_MK3,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006106 },{
6107 .vendor = PCI_VENDOR_ID_PHILIPS,
6108 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6109 .subvendor = 0x5ace,
6110 .subdevice = 0x6093,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03006111 .driver_data = SAA7134_BOARD_BEHOLD_609RDS_MK5,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006112 },{
6113 .vendor = PCI_VENDOR_ID_PHILIPS,
6114 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6115 .subvendor = 0x5ace,
6116 .subdevice = 0x6190,
6117 .driver_data = SAA7134_BOARD_BEHOLD_M6,
6118 },{
6119 .vendor = PCI_VENDOR_ID_PHILIPS,
6120 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6121 .subvendor = 0x5ace,
6122 .subdevice = 0x6193,
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03006123 .driver_data = SAA7134_BOARD_BEHOLD_M6_EXTRA,
Igor Kuznetsov5fe95e02008-04-26 14:59:08 -03006124 }, {
6125 .vendor = PCI_VENDOR_ID_PHILIPS,
6126 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6127 .subvendor = 0x5ace,
6128 .subdevice = 0x6191,
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03006129 .driver_data = SAA7134_BOARD_BEHOLD_M63,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006130 },{
6131 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehab593f18c2007-10-07 02:17:09 -03006132 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6133 .subvendor = 0x4e42,
6134 .subdevice = 0x3502,
Hermann Pitton4ba24372008-01-20 19:27:51 -03006135 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
6136 }, {
6137 .vendor = PCI_VENDOR_ID_PHILIPS,
6138 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6139 .subvendor = 0x1822, /*Twinhan Technology Co. Ltd*/
6140 .subdevice = 0x0022,
6141 .driver_data = SAA7134_BOARD_TWINHAN_DTV_DVB_3056,
Hermann Pitton7b5b3f12008-04-22 14:42:12 -03006142 }, {
6143 .vendor = PCI_VENDOR_ID_PHILIPS,
6144 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6145 .subvendor = 0x16be,
6146 .subdevice = 0x0010, /* Medion version CTX953_V.1.4.3 */
6147 .driver_data = SAA7134_BOARD_CREATIX_CTX953,
Russell Kliese6a6179b62008-04-22 14:42:12 -03006148 }, {
6149 .vendor = PCI_VENDOR_ID_PHILIPS,
6150 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6151 .subvendor = 0x1462, /* MSI */
6152 .subdevice = 0x8625, /* TV@nywhere A/D v1.1 */
6153 .driver_data = SAA7134_BOARD_MSI_TVANYWHERE_AD11,
Mauro Carvalho Chehab593f18c2007-10-07 02:17:09 -03006154 },{
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03006155 .vendor = PCI_VENDOR_ID_PHILIPS,
6156 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6157 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6158 .subdevice = 0xf436,
6159 .driver_data = SAA7134_BOARD_AVERMEDIA_CARDBUS_506,
6160 }, {
6161 .vendor = PCI_VENDOR_ID_PHILIPS,
6162 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6163 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6164 .subdevice = 0xf936,
6165 .driver_data = SAA7134_BOARD_AVERMEDIA_A16D,
6166 }, {
6167 .vendor = PCI_VENDOR_ID_PHILIPS,
6168 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6169 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6170 .subdevice = 0xa836,
6171 .driver_data = SAA7134_BOARD_AVERMEDIA_M115,
6172 }, {
6173 .vendor = PCI_VENDOR_ID_PHILIPS,
6174 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6175 .subvendor = 0x185b,
6176 .subdevice = 0xc900,
6177 .driver_data = SAA7134_BOARD_VIDEOMATE_T750,
6178 }, {
Igor Kuznetsov02505272008-04-26 14:53:48 -03006179 .vendor = PCI_VENDOR_ID_PHILIPS,
Adam Gloverf689d902008-05-06 03:20:27 -03006180 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA7135HL */
6181 .subvendor = 0x1421,
6182 .subdevice = 0x0380,
6183 .driver_data = SAA7134_BOARD_ADS_INSTANT_HDTV_PCI,
6184 }, {
6185 .vendor = PCI_VENDOR_ID_PHILIPS,
Igor Kuznetsov02505272008-04-26 14:53:48 -03006186 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Daniel Gimpelevichbfda3a02008-06-28 01:45:26 -03006187 .subvendor = 0x5169,
6188 .subdevice = 0x1502,
6189 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
6190 }, {
6191 .vendor = PCI_VENDOR_ID_PHILIPS,
6192 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Igor Kuznetsov02505272008-04-26 14:53:48 -03006193 .subvendor = 0x5ace,
6194 .subdevice = 0x6290,
6195 .driver_data = SAA7134_BOARD_BEHOLD_H6,
6196 }, {
Massimo Piccionie2fc00c2008-07-11 13:48:02 -03006197 .vendor = PCI_VENDOR_ID_PHILIPS,
6198 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6199 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6200 .subdevice = 0xf636,
6201 .driver_data = SAA7134_BOARD_AVERMEDIA_M103,
6202 }, {
hermann pitton301e9d62008-09-14 17:49:14 -03006203 .vendor = PCI_VENDOR_ID_PHILIPS,
6204 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Barry Kitson27049dc2009-06-07 10:41:03 -03006205 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6206 .subdevice = 0xf736,
6207 .driver_data = SAA7134_BOARD_AVERMEDIA_M103,
6208 }, {
6209 .vendor = PCI_VENDOR_ID_PHILIPS,
6210 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
hermann pitton301e9d62008-09-14 17:49:14 -03006211 .subvendor = 0x1043,
6212 .subdevice = 0x4878, /* REV:1.02G */
6213 .driver_data = SAA7134_BOARD_ASUSTeK_TIGER_3IN1,
6214 }, {
Mauro Carvalho Chehab26d5f3a2008-12-07 13:19:29 -03006215 .vendor = PCI_VENDOR_ID_PHILIPS,
6216 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6217 .subvendor = 0x17de,
6218 .subdevice = 0x7128,
6219 .driver_data = SAA7134_BOARD_KWORLD_PLUS_TV_ANALOG,
6220 }, {
Pham Thanh Nam4a87d7c2008-12-31 06:57:19 -03006221 .vendor = PCI_VENDOR_ID_PHILIPS,
6222 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6223 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6224 .subdevice = 0xf31d,
6225 .driver_data = SAA7134_BOARD_AVERMEDIA_GO_007_FM_PLUS,
6226
6227 }, {
Linus Torvalds1da177e2005-04-16 15:20:36 -07006228 /* --- boards without eeprom + subsystem ID --- */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006229 .vendor = PCI_VENDOR_ID_PHILIPS,
6230 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6231 .subvendor = PCI_VENDOR_ID_PHILIPS,
Linus Torvalds1da177e2005-04-16 15:20:36 -07006232 .subdevice = 0,
6233 .driver_data = SAA7134_BOARD_NOAUTO,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006234 },{
6235 .vendor = PCI_VENDOR_ID_PHILIPS,
6236 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6237 .subvendor = PCI_VENDOR_ID_PHILIPS,
Linus Torvalds1da177e2005-04-16 15:20:36 -07006238 .subdevice = 0,
6239 .driver_data = SAA7134_BOARD_NOAUTO,
6240 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07006241 /* --- default catch --- */
6242 .vendor = PCI_VENDOR_ID_PHILIPS,
6243 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006244 .subvendor = PCI_ANY_ID,
6245 .subdevice = PCI_ANY_ID,
Linus Torvalds1da177e2005-04-16 15:20:36 -07006246 .driver_data = SAA7134_BOARD_UNKNOWN,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006247 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07006248 .vendor = PCI_VENDOR_ID_PHILIPS,
6249 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006250 .subvendor = PCI_ANY_ID,
6251 .subdevice = PCI_ANY_ID,
Linus Torvalds1da177e2005-04-16 15:20:36 -07006252 .driver_data = SAA7134_BOARD_UNKNOWN,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006253 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07006254 .vendor = PCI_VENDOR_ID_PHILIPS,
6255 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006256 .subvendor = PCI_ANY_ID,
6257 .subdevice = PCI_ANY_ID,
Linus Torvalds1da177e2005-04-16 15:20:36 -07006258 .driver_data = SAA7134_BOARD_UNKNOWN,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006259 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07006260 .vendor = PCI_VENDOR_ID_PHILIPS,
6261 .device = PCI_DEVICE_ID_PHILIPS_SAA7135,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006262 .subvendor = PCI_ANY_ID,
6263 .subdevice = PCI_ANY_ID,
Linus Torvalds1da177e2005-04-16 15:20:36 -07006264 .driver_data = SAA7134_BOARD_UNKNOWN,
6265 },{
6266 /* --- end of list --- */
6267 }
6268};
6269MODULE_DEVICE_TABLE(pci, saa7134_pci_tbl);
6270
6271/* ----------------------------------------------------------- */
6272/* flyvideo tweaks */
6273
Linus Torvalds1da177e2005-04-16 15:20:36 -07006274
6275static void board_flyvideo(struct saa7134_dev *dev)
6276{
Linus Torvalds1da177e2005-04-16 15:20:36 -07006277 printk("%s: there are different flyvideo cards with different tuners\n"
6278 "%s: out there, you might have to use the tuner=<nr> insmod\n"
6279 "%s: option to override the default value.\n",
6280 dev->name, dev->name, dev->name);
6281}
6282
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03006283static int saa7134_xc2028_callback(struct saa7134_dev *dev,
6284 int command, int arg)
6285{
6286 switch (command) {
6287 case XC2028_TUNER_RESET:
Tim Farrington6e501a32008-06-15 13:33:42 -03006288 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00008000, 0x00000000);
6289 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00008000, 0x00008000);
6290 switch (dev->board) {
6291 case SAA7134_BOARD_AVERMEDIA_CARDBUS_506:
Massimo Piccionie2fc00c2008-07-11 13:48:02 -03006292 case SAA7134_BOARD_AVERMEDIA_M103:
Tim Farrington6e501a32008-06-15 13:33:42 -03006293 saa7134_set_gpio(dev, 23, 0);
6294 msleep(10);
6295 saa7134_set_gpio(dev, 23, 1);
6296 break;
6297 case SAA7134_BOARD_AVERMEDIA_A16D:
6298 saa7134_set_gpio(dev, 21, 0);
6299 msleep(10);
6300 saa7134_set_gpio(dev, 21, 1);
6301 break;
Matthias Schwarzott2659e462009-03-29 16:36:02 -03006302 case SAA7134_BOARD_AVERMEDIA_A700_HYBRID:
6303 saa7134_set_gpio(dev, 18, 0);
6304 msleep(10);
6305 saa7134_set_gpio(dev, 18, 1);
6306 break;
Tim Farrington6e501a32008-06-15 13:33:42 -03006307 }
6308 return 0;
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03006309 }
6310 return -EINVAL;
6311}
6312
6313
Michael Krufkyf9996c92009-02-28 17:45:17 -03006314static int saa7134_tda8290_827x_callback(struct saa7134_dev *dev,
6315 int command, int arg)
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03006316{
6317 u8 sync_control;
6318
6319 switch (command) {
6320 case 0: /* switch LNA gain through GPIO 22*/
6321 saa7134_set_gpio(dev, 22, arg) ;
6322 break;
6323 case 1: /* vsync output at GPIO22. 50 / 60Hz */
6324 saa_andorb(SAA7134_VIDEO_PORT_CTRL3, 0x80, 0x80);
6325 saa_andorb(SAA7134_VIDEO_PORT_CTRL6, 0x0f, 0x03);
6326 if (arg == 1)
6327 sync_control = 11;
6328 else
6329 sync_control = 17;
6330 saa_writeb(SAA7134_VGATE_START, sync_control);
6331 saa_writeb(SAA7134_VGATE_STOP, sync_control + 1);
6332 saa_andorb(SAA7134_MISC_VGATE_MSB, 0x03, 0x00);
6333 break;
6334 default:
6335 return -EINVAL;
6336 }
6337
6338 return 0;
6339}
6340
Michael Krufkyf9996c92009-02-28 17:45:17 -03006341static inline int saa7134_tda18271_hvr11x0_toggle_agc(struct saa7134_dev *dev,
6342 enum tda18271_mode mode)
6343{
6344 /* toggle AGC switch through GPIO 26 */
6345 switch (mode) {
6346 case TDA18271_ANALOG:
6347 saa7134_set_gpio(dev, 26, 0);
6348 break;
6349 case TDA18271_DIGITAL:
6350 saa7134_set_gpio(dev, 26, 1);
6351 break;
6352 default:
6353 return -EINVAL;
6354 }
6355 return 0;
6356}
6357
6358static int saa7134_tda8290_18271_callback(struct saa7134_dev *dev,
6359 int command, int arg)
6360{
6361 int ret = 0;
6362
6363 switch (command) {
6364 case TDA18271_CALLBACK_CMD_AGC_ENABLE: /* 0 */
6365 switch (dev->board) {
Michael Krufkyb5f05062009-08-03 16:51:33 -03006366 case SAA7134_BOARD_HAUPPAUGE_HVR1150:
Michael Krufkyf9996c92009-02-28 17:45:17 -03006367 case SAA7134_BOARD_HAUPPAUGE_HVR1110R3:
6368 ret = saa7134_tda18271_hvr11x0_toggle_agc(dev, arg);
6369 break;
6370 default:
6371 break;
6372 }
6373 break;
6374 default:
6375 ret = -EINVAL;
6376 break;
6377 }
6378 return ret;
6379}
6380
6381static int saa7134_tda8290_callback(struct saa7134_dev *dev,
6382 int command, int arg)
6383{
6384 int ret;
6385
6386 switch (dev->board) {
Michael Krufkyb5f05062009-08-03 16:51:33 -03006387 case SAA7134_BOARD_HAUPPAUGE_HVR1150:
Michael Krufkyf9996c92009-02-28 17:45:17 -03006388 case SAA7134_BOARD_HAUPPAUGE_HVR1110R3:
6389 /* tda8290 + tda18271 */
6390 ret = saa7134_tda8290_18271_callback(dev, command, arg);
6391 break;
6392 default:
6393 /* tda8290 + tda827x */
6394 ret = saa7134_tda8290_827x_callback(dev, command, arg);
6395 break;
6396 }
6397 return ret;
6398}
6399
Michael Krufkyd7cba042008-09-12 13:31:45 -03006400int saa7134_tuner_callback(void *priv, int component, int command, int arg)
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03006401{
Hartmut Hackmann0fea03f2008-04-22 14:46:10 -03006402 struct saa7134_dev *dev = priv;
Hartmut Hackmann7bff4b42008-04-22 14:46:08 -03006403 if (dev != NULL) {
6404 switch (dev->tuner_type) {
6405 case TUNER_PHILIPS_TDA8290:
6406 return saa7134_tda8290_callback(dev, command, arg);
6407 case TUNER_XC2028:
6408 return saa7134_xc2028_callback(dev, command, arg);
6409 }
Mauro Carvalho Chehab0be51b42008-04-22 14:46:10 -03006410 } else {
6411 printk(KERN_ERR "saa7134: Error - device struct undefined.\n");
6412 return -EINVAL;
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03006413 }
6414 return -EINVAL;
6415}
6416EXPORT_SYMBOL(saa7134_tuner_callback);
6417
Linus Torvalds1da177e2005-04-16 15:20:36 -07006418/* ----------------------------------------------------------- */
6419
Michael Krufky993efa72007-11-15 10:34:33 -03006420static void hauppauge_eeprom(struct saa7134_dev *dev, u8 *eeprom_data)
6421{
6422 struct tveeprom tv;
6423
6424 tveeprom_hauppauge_analog(&dev->i2c_client, &tv, eeprom_data);
6425
6426 /* Make sure we support the board model */
6427 switch (tv.model) {
6428 case 67019: /* WinTV-HVR1110 (Retail, IR Blaster, hybrid, FM, SVid/Comp, 3.5mm audio in) */
6429 case 67109: /* WinTV-HVR1000 (Retail, IR Receive, analog, no FM, SVid/Comp, 3.5mm audio in) */
Michael Krufkyb5f05062009-08-03 16:51:33 -03006430 case 67201: /* WinTV-HVR1150 (Retail, IR Receive, hybrid, FM, SVid/Comp, 3.5mm audio in) */
Michael Krufkyf9996c92009-02-28 17:45:17 -03006431 case 67301: /* WinTV-HVR1000 (Retail, IR Receive, analog, no FM, SVid/Comp, 3.5mm audio in) */
6432 case 67209: /* WinTV-HVR1110 (Retail, IR Receive, hybrid, FM, SVid/Comp, 3.5mm audio in) */
Michael Krufky993efa72007-11-15 10:34:33 -03006433 case 67559: /* WinTV-HVR1110 (OEM, no IR, hybrid, FM, SVid/Comp, RCA aud) */
6434 case 67569: /* WinTV-HVR1110 (OEM, no IR, hybrid, FM) */
6435 case 67579: /* WinTV-HVR1110 (OEM, no IR, hybrid, no FM) */
6436 case 67589: /* WinTV-HVR1110 (OEM, no IR, hybrid, no FM, SVid/Comp, RCA aud) */
6437 case 67599: /* WinTV-HVR1110 (OEM, no IR, hybrid, no FM, SVid/Comp, RCA aud) */
Michael Krufkyb5f05062009-08-03 16:51:33 -03006438 case 67651: /* WinTV-HVR1150 (OEM, no IR, hybrid, FM, SVid/Comp, RCA aud) */
Michael Krufkyf9996c92009-02-28 17:45:17 -03006439 case 67659: /* WinTV-HVR1110 (OEM, no IR, hybrid, FM, SVid/Comp, RCA aud) */
Michael Krufky993efa72007-11-15 10:34:33 -03006440 break;
6441 default:
6442 printk(KERN_WARNING "%s: warning: "
6443 "unknown hauppauge model #%d\n", dev->name, tv.model);
6444 break;
6445 }
6446
6447 printk(KERN_INFO "%s: hauppauge eeprom: model=%d\n",
6448 dev->name, tv.model);
6449}
6450
6451/* ----------------------------------------------------------- */
6452
Linus Torvalds1da177e2005-04-16 15:20:36 -07006453int saa7134_board_init1(struct saa7134_dev *dev)
6454{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006455 /* Always print gpio, often manufacturers encode tuner type and other info. */
Linus Torvalds1da177e2005-04-16 15:20:36 -07006456 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0);
6457 dev->gpio_value = saa_readl(SAA7134_GPIO_GPSTATUS0 >> 2);
6458 printk(KERN_INFO "%s: board init: gpio is %x\n", dev->name, dev->gpio_value);
6459
6460 switch (dev->board) {
6461 case SAA7134_BOARD_FLYVIDEO2000:
6462 case SAA7134_BOARD_FLYVIDEO3000:
Zac Bowlingf49ba8d2006-06-19 19:49:20 -03006463 case SAA7134_BOARD_FLYVIDEO3000_NTSC:
Ricardo Cerqueiracb2444d2005-11-08 21:38:47 -08006464 dev->has_remote = SAA7134_REMOTE_GPIO;
Linus Torvalds1da177e2005-04-16 15:20:36 -07006465 board_flyvideo(dev);
6466 break;
Arnaud Patard6af90ab2005-11-08 21:36:55 -08006467 case SAA7134_BOARD_FLYTVPLATINUM_MINI2:
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006468 case SAA7134_BOARD_FLYTVPLATINUM_FM:
Linus Torvalds1da177e2005-04-16 15:20:36 -07006469 case SAA7134_BOARD_CINERGY400:
6470 case SAA7134_BOARD_CINERGY600:
6471 case SAA7134_BOARD_CINERGY600_MK3:
6472 case SAA7134_BOARD_ECS_TVP3XP:
6473 case SAA7134_BOARD_ECS_TVP3XP_4CB5:
Simon Farnsworthb39423a2007-05-01 10:01:20 -03006474 case SAA7134_BOARD_ECS_TVP3XP_4CB6:
Linus Torvalds1da177e2005-04-16 15:20:36 -07006475 case SAA7134_BOARD_MD2819:
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07006476 case SAA7134_BOARD_KWORLD_VSTREAM_XPERT:
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006477 case SAA7134_BOARD_KWORLD_XPERT:
Linus Torvalds1da177e2005-04-16 15:20:36 -07006478 case SAA7134_BOARD_AVERMEDIA_STUDIO_305:
6479 case SAA7134_BOARD_AVERMEDIA_305:
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07006480 case SAA7134_BOARD_AVERMEDIA_STUDIO_307:
Linus Torvalds1da177e2005-04-16 15:20:36 -07006481 case SAA7134_BOARD_AVERMEDIA_307:
Mikhail Fedotov3ac706d2006-10-06 20:23:47 -03006482 case SAA7134_BOARD_AVERMEDIA_STUDIO_507:
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07006483 case SAA7134_BOARD_AVERMEDIA_GO_007_FM:
pasky@ucw.cz450efcf2006-11-12 14:22:32 -03006484 case SAA7134_BOARD_AVERMEDIA_777:
Mauro Carvalho Chehab36f6bb92008-06-26 17:03:00 -03006485 case SAA7134_BOARD_AVERMEDIA_M135A:
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006486/* case SAA7134_BOARD_SABRENT_SBTTVFM: */ /* not finished yet */
Linus Torvalds1da177e2005-04-16 15:20:36 -07006487 case SAA7134_BOARD_VIDEOMATE_TV_PVR:
Nickolay V. Shmyrev2a9a9a82006-01-09 15:25:33 -02006488 case SAA7134_BOARD_VIDEOMATE_GOLD_PLUS:
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006489 case SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII:
Nickolay V. Shmyrevfea095f2005-11-08 21:36:47 -08006490 case SAA7134_BOARD_VIDEOMATE_DVBT_300:
Michael Krufkyafce8922005-11-08 21:36:57 -08006491 case SAA7134_BOARD_VIDEOMATE_DVBT_200:
Hartmut Hackmanncbb94522006-10-30 20:00:16 -03006492 case SAA7134_BOARD_VIDEOMATE_DVBT_200A:
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006493 case SAA7134_BOARD_MANLI_MTV001:
6494 case SAA7134_BOARD_MANLI_MTV002:
Nickolay V. Shmyreva8ff4172005-11-08 21:36:16 -08006495 case SAA7134_BOARD_BEHOLD_409FM:
Linus Torvalds1da177e2005-04-16 15:20:36 -07006496 case SAA7134_BOARD_AVACSSMARTTV:
Nickolay V. Shmyrev6b961442005-11-08 21:36:22 -08006497 case SAA7134_BOARD_GOTVIEW_7135:
James R. Webbdc2286c2005-11-08 21:37:00 -08006498 case SAA7134_BOARD_KWORLD_TERMINATOR:
Ricardo Cerqueira17ce1ff2005-11-08 21:38:47 -08006499 case SAA7134_BOARD_SEDNA_PC_TV_CARDBUS:
Giampiero Giancipoli3d8466e2006-02-07 06:49:09 -02006500 case SAA7134_BOARD_FLYDVBT_LR301:
Hermann Pitton91607232006-12-07 21:45:28 -03006501 case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
Hartmut Hackmannf3eec0c02007-03-14 20:33:55 -03006502 case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA:
Hermann Pitton0b17d0e2008-07-12 12:27:59 -03006503 case SAA7134_BOARD_ASUSTeK_P7131_ANALOG:
Rudo Thomasa8029172006-02-27 00:08:46 -03006504 case SAA7134_BOARD_FLYDVBTDUO:
Michal Majchrowiczb04c1ba2006-09-13 16:42:42 -03006505 case SAA7134_BOARD_PROTEUS_2309:
pasky@ucw.cz29e0f1a2006-11-12 14:23:32 -03006506 case SAA7134_BOARD_AVERMEDIA_A16AR:
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03006507 case SAA7134_BOARD_ENCORE_ENLTV:
6508 case SAA7134_BOARD_ENCORE_ENLTV_FM:
Mauro Carvalho Chehabbf1ece62008-06-26 17:03:00 -03006509 case SAA7134_BOARD_ENCORE_ENLTV_FM53:
Tony Wan480f75a2007-05-11 11:33:50 -03006510 case SAA7134_BOARD_10MOONSTVMASTER3:
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006511 case SAA7134_BOARD_BEHOLD_401:
6512 case SAA7134_BOARD_BEHOLD_403:
6513 case SAA7134_BOARD_BEHOLD_403FM:
6514 case SAA7134_BOARD_BEHOLD_405:
6515 case SAA7134_BOARD_BEHOLD_405FM:
6516 case SAA7134_BOARD_BEHOLD_407:
6517 case SAA7134_BOARD_BEHOLD_407FM:
6518 case SAA7134_BOARD_BEHOLD_409:
6519 case SAA7134_BOARD_BEHOLD_505FM:
Dmitri Belimov84d728c2009-04-23 02:32:49 -03006520 case SAA7134_BOARD_BEHOLD_505RDS:
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006521 case SAA7134_BOARD_BEHOLD_507_9FM:
Dmitri Belimov84d728c2009-04-23 02:32:49 -03006522 case SAA7134_BOARD_BEHOLD_507RDS_MK3:
6523 case SAA7134_BOARD_BEHOLD_507RDS_MK5:
Adrian Pardinif0ba3562008-02-11 12:40:53 -03006524 case SAA7134_BOARD_GENIUS_TVGO_A11MCE:
Mauro Carvalho Chehab9b000192008-06-26 17:03:00 -03006525 case SAA7134_BOARD_REAL_ANGEL_220:
Mauro Carvalho Chehab26d5f3a2008-12-07 13:19:29 -03006526 case SAA7134_BOARD_KWORLD_PLUS_TV_ANALOG:
Pham Thanh Nam6a2d8022008-12-30 23:26:09 -03006527 case SAA7134_BOARD_AVERMEDIA_GO_007_FM_PLUS:
Ricardo Cerqueiracb2444d2005-11-08 21:38:47 -08006528 dev->has_remote = SAA7134_REMOTE_GPIO;
Linus Torvalds1da177e2005-04-16 15:20:36 -07006529 break;
Igor M. Liplianine2ac28f2006-08-08 09:10:10 -03006530 case SAA7134_BOARD_FLYDVBS_LR300:
6531 saa_writeb(SAA7134_GPIO_GPMODE3, 0x80);
6532 saa_writeb(SAA7134_GPIO_GPSTATUS2, 0x40);
6533 dev->has_remote = SAA7134_REMOTE_GPIO;
6534 break;
Linus Torvalds1da177e2005-04-16 15:20:36 -07006535 case SAA7134_BOARD_MD5044:
6536 printk("%s: seems there are two different versions of the MD5044\n"
Michael Krufkyfd2f2672006-03-11 16:21:36 -03006537 "%s: (with the same ID) out there. If sound doesn't work for\n"
6538 "%s: you try the audio_clock_override=0x200000 insmod option.\n",
6539 dev->name,dev->name,dev->name);
Linus Torvalds1da177e2005-04-16 15:20:36 -07006540 break;
6541 case SAA7134_BOARD_CINERGY400_CARDBUS:
6542 /* power-up tuner chip */
6543 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000);
6544 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000000);
Mikhail Gusarov7bbbc0a2006-04-20 13:18:50 -03006545 break;
Hartmut Hackmanndf8cf702006-03-03 12:09:26 -03006546 case SAA7134_BOARD_PINNACLE_300I_DVBT_PAL:
6547 /* this turns the remote control chip off to work around a bug in it */
6548 saa_writeb(SAA7134_GPIO_GPMODE1, 0x80);
6549 saa_writeb(SAA7134_GPIO_GPSTATUS1, 0x80);
6550 break;
Pieter Palmerscf1c5d12005-11-08 21:37:40 -08006551 case SAA7134_BOARD_MONSTERTV_MOBILE:
6552 /* power-up tuner chip */
6553 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000);
6554 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000004);
Linus Torvalds1da177e2005-04-16 15:20:36 -07006555 break;
Peter Missel10b7a902006-01-23 17:11:06 -02006556 case SAA7134_BOARD_FLYDVBT_DUO_CARDBUS:
Nickolay V. Shmyrev6b961442005-11-08 21:36:22 -08006557 /* turn the fan on */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006558 saa_writeb(SAA7134_GPIO_GPMODE3, 0x08);
6559 saa_writeb(SAA7134_GPIO_GPSTATUS3, 0x06);
6560 break;
Hartmut Hackmanndf42eaf2006-02-07 06:49:10 -02006561 case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331:
Hartmut Hackmannd95b8942006-03-27 19:39:30 -03006562 case SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS:
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03006563 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x08000000, 0x08000000);
6564 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x08000000, 0x00000000);
Hartmut Hackmanndf42eaf2006-02-07 06:49:10 -02006565 break;
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006566 case SAA7134_BOARD_AVERMEDIA_CARDBUS:
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03006567 case SAA7134_BOARD_AVERMEDIA_M115:
Mauro Carvalho Chehab95a2fdb2008-03-28 17:52:44 -03006568 /* power-down tuner chip */
6569 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0xffffffff, 0);
6570 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0);
6571 msleep(10);
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006572 /* power-up tuner chip */
6573 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0xffffffff, 0xffffffff);
6574 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0xffffffff);
Mauro Carvalho Chehab95a2fdb2008-03-28 17:52:44 -03006575 msleep(10);
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006576 break;
Oldřich Jedličkad46de9d2009-04-14 15:47:17 -03006577 case SAA7134_BOARD_AVERMEDIA_CARDBUS_501:
6578 /* power-down tuner chip */
6579 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x08400000, 0x08400000);
6580 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x08400000, 0);
6581 msleep(10);
6582 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x08400000, 0x08400000);
6583 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x08400000, 0x08400000);
6584 msleep(10);
6585 dev->has_remote = SAA7134_REMOTE_I2C;
6586 break;
Tim Farrington6e501a32008-06-15 13:33:42 -03006587 case SAA7134_BOARD_AVERMEDIA_CARDBUS_506:
Oldřich Jedličkacb3bf502009-02-12 03:43:11 -03006588 saa7134_set_gpio(dev, 23, 0);
6589 msleep(10);
6590 saa7134_set_gpio(dev, 23, 1);
6591 dev->has_remote = SAA7134_REMOTE_I2C;
6592 break;
Massimo Piccionie2fc00c2008-07-11 13:48:02 -03006593 case SAA7134_BOARD_AVERMEDIA_M103:
Tim Farrington6e501a32008-06-15 13:33:42 -03006594 saa7134_set_gpio(dev, 23, 0);
6595 msleep(10);
6596 saa7134_set_gpio(dev, 23, 1);
6597 break;
6598 case SAA7134_BOARD_AVERMEDIA_A16D:
6599 saa7134_set_gpio(dev, 21, 0);
6600 msleep(10);
6601 saa7134_set_gpio(dev, 21, 1);
6602 msleep(1);
6603 dev->has_remote = SAA7134_REMOTE_GPIO;
6604 break;
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03006605 case SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM:
6606 /* power-down tuner chip */
6607 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x000A8004, 0x000A8004);
6608 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x000A8004, 0);
6609 msleep(10);
6610 /* power-up tuner chip */
6611 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x000A8004, 0x000A8004);
6612 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x000A8004, 0x000A8004);
6613 msleep(10);
6614 /* remote via GPIO */
6615 dev->has_remote = SAA7134_REMOTE_GPIO;
6616 break;
Nickolay V. Shmyrevbb881f12005-11-08 21:36:35 -08006617 case SAA7134_BOARD_RTD_VFG7350:
6618
6619 /*
6620 * Make sure Production Test Register at offset 0x1D1 is cleared
6621 * to take chip out of test mode. Clearing bit 4 (TST_EN_AOUT)
6622 * prevents pin 105 from remaining low; keeping pin 105 low
6623 * continually resets the SAA6752 chip.
6624 */
6625
6626 saa_writeb (SAA7134_PRODUCTION_TEST_MODE, 0x00);
6627 break;
Michael Krufkyb5f05062009-08-03 16:51:33 -03006628 case SAA7134_BOARD_HAUPPAUGE_HVR1150:
Michael Krufkyf9996c92009-02-28 17:45:17 -03006629 case SAA7134_BOARD_HAUPPAUGE_HVR1110R3:
6630 /* GPIO 26 high for digital, low for analog */
6631 saa7134_set_gpio(dev, 26, 0);
6632 msleep(1);
6633
6634 saa7134_set_gpio(dev, 22, 0);
6635 msleep(10);
6636 saa7134_set_gpio(dev, 22, 1);
6637 break;
Ricardo Cerqueiracb2444d2005-11-08 21:38:47 -08006638 /* i2c remotes */
6639 case SAA7134_BOARD_PINNACLE_PCTV_110i:
Hartmut Hackmann587d2fd2006-10-06 19:13:50 -03006640 case SAA7134_BOARD_PINNACLE_PCTV_310i:
Ricardo Cerqueiracb2444d2005-11-08 21:38:47 -08006641 case SAA7134_BOARD_UPMOST_PURPLE_TV:
Brian Rogersba340b42008-10-13 08:37:06 -03006642 case SAA7134_BOARD_MSI_TVATANYWHERE_PLUS:
Thomas Genty177aaaf2006-11-29 21:57:24 -03006643 case SAA7134_BOARD_HAUPPAUGE_HVR1110:
Dmitri Belimov84d728c2009-04-23 02:32:49 -03006644 case SAA7134_BOARD_BEHOLD_607FM_MK3:
6645 case SAA7134_BOARD_BEHOLD_607FM_MK5:
6646 case SAA7134_BOARD_BEHOLD_609FM_MK3:
6647 case SAA7134_BOARD_BEHOLD_609FM_MK5:
6648 case SAA7134_BOARD_BEHOLD_607RDS_MK3:
6649 case SAA7134_BOARD_BEHOLD_607RDS_MK5:
6650 case SAA7134_BOARD_BEHOLD_609RDS_MK3:
6651 case SAA7134_BOARD_BEHOLD_609RDS_MK5:
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006652 case SAA7134_BOARD_BEHOLD_M6:
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03006653 case SAA7134_BOARD_BEHOLD_M63:
6654 case SAA7134_BOARD_BEHOLD_M6_EXTRA:
Dmitri Belimovf204ae42008-12-23 03:51:38 -03006655 case SAA7134_BOARD_BEHOLD_H6:
Ricardo Cerqueiracb2444d2005-11-08 21:38:47 -08006656 dev->has_remote = SAA7134_REMOTE_I2C;
6657 break;
Rickard Osser68593af2006-03-11 17:14:12 -03006658 case SAA7134_BOARD_AVERMEDIA_A169_B:
Michael Krufky12a219d2006-03-14 16:07:42 -03006659 printk("%s: %s: dual saa713x broadcast decoders\n"
Rickard Osser68593af2006-03-11 17:14:12 -03006660 "%s: Sorry, none of the inputs to this chip are supported yet.\n"
6661 "%s: Dual decoder functionality is disabled for now, use the other chip.\n",
Michael Krufky12a219d2006-03-14 16:07:42 -03006662 dev->name,card(dev).name,dev->name,dev->name);
Rickard Osser68593af2006-03-11 17:14:12 -03006663 break;
Markus Rechbergere95d3172007-04-27 12:31:19 -03006664 case SAA7134_BOARD_AVERMEDIA_M102:
6665 /* enable tuner */
Albert Grahamd2761f22007-12-09 09:44:38 -03006666 dev->has_remote = SAA7134_REMOTE_GPIO;
Markus Rechbergere95d3172007-04-27 12:31:19 -03006667 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x8c040007, 0x8c040007);
6668 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x0c0007cd, 0x0c0007cd);
6669 break;
Matthias Schwarzottfc9d8ed2008-04-08 21:45:08 -03006670 case SAA7134_BOARD_AVERMEDIA_A700_HYBRID:
Matthias Schwarzott04574182009-02-24 12:35:16 -03006671 case SAA7134_BOARD_AVERMEDIA_A700_PRO:
Matthias Schwarzottfc9d8ed2008-04-08 21:45:08 -03006672 /* write windows gpio values */
6673 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x80040100, 0x80040100);
6674 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x80040100, 0x00040100);
Matthias Schwarzottfc9d8ed2008-04-08 21:45:08 -03006675 break;
Linus Torvalds1da177e2005-04-16 15:20:36 -07006676 }
Linus Torvalds1da177e2005-04-16 15:20:36 -07006677 return 0;
6678}
6679
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006680static void saa7134_tuner_setup(struct saa7134_dev *dev)
6681{
6682 struct tuner_setup tun_setup;
6683 unsigned int mode_mask = T_RADIO |
6684 T_ANALOG_TV |
6685 T_DIGITAL_TV;
6686
6687 memset(&tun_setup, 0, sizeof(tun_setup));
6688 tun_setup.tuner_callback = saa7134_tuner_callback;
6689
6690 if (saa7134_boards[dev->board].radio_type != UNSET) {
6691 tun_setup.type = saa7134_boards[dev->board].radio_type;
6692 tun_setup.addr = saa7134_boards[dev->board].radio_addr;
6693
6694 tun_setup.mode_mask = T_RADIO;
6695
Hans Verkuilfac69862009-01-17 12:17:14 -03006696 saa_call_all(dev, tuner, s_type_addr, &tun_setup);
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006697 mode_mask &= ~T_RADIO;
6698 }
6699
6700 if ((dev->tuner_type != TUNER_ABSENT) && (dev->tuner_type != UNSET)) {
6701 tun_setup.type = dev->tuner_type;
6702 tun_setup.addr = dev->tuner_addr;
6703 tun_setup.config = saa7134_boards[dev->board].tuner_config;
6704 tun_setup.tuner_callback = saa7134_tuner_callback;
6705
6706 tun_setup.mode_mask = mode_mask;
6707
Hans Verkuilfac69862009-01-17 12:17:14 -03006708 saa_call_all(dev, tuner, s_type_addr, &tun_setup);
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006709 }
6710
6711 if (dev->tda9887_conf) {
6712 struct v4l2_priv_tun_config tda9887_cfg;
6713
6714 tda9887_cfg.tuner = TUNER_TDA9887;
6715 tda9887_cfg.priv = &dev->tda9887_conf;
6716
Hans Verkuilfac69862009-01-17 12:17:14 -03006717 saa_call_all(dev, tuner, s_config, &tda9887_cfg);
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006718 }
6719
6720 if (dev->tuner_type == TUNER_XC2028) {
6721 struct v4l2_priv_tun_config xc2028_cfg;
6722 struct xc2028_ctrl ctl;
6723
Oldrich Jedlickabdf398e2008-11-13 22:03:00 -03006724 memset(&xc2028_cfg, 0, sizeof(xc2028_cfg));
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006725 memset(&ctl, 0, sizeof(ctl));
6726
6727 ctl.fname = XC2028_DEFAULT_FIRMWARE;
6728 ctl.max_len = 64;
6729
6730 switch (dev->board) {
6731 case SAA7134_BOARD_AVERMEDIA_A16D:
Tim Farrington6e501a32008-06-15 13:33:42 -03006732 case SAA7134_BOARD_AVERMEDIA_CARDBUS_506:
Massimo Piccionie2fc00c2008-07-11 13:48:02 -03006733 case SAA7134_BOARD_AVERMEDIA_M103:
Matthias Schwarzott2659e462009-03-29 16:36:02 -03006734 case SAA7134_BOARD_AVERMEDIA_A700_HYBRID:
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006735 ctl.demod = XC3028_FE_ZARLINK456;
6736 break;
6737 default:
6738 ctl.demod = XC3028_FE_OREN538;
6739 ctl.mts = 1;
6740 }
6741
6742 xc2028_cfg.tuner = TUNER_XC2028;
6743 xc2028_cfg.priv = &ctl;
6744
Hans Verkuilfac69862009-01-17 12:17:14 -03006745 saa_call_all(dev, tuner, s_config, &xc2028_cfg);
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006746 }
6747}
6748
Linus Torvalds1da177e2005-04-16 15:20:36 -07006749/* stuff which needs working i2c */
6750int saa7134_board_init2(struct saa7134_dev *dev)
6751{
6752 unsigned char buf;
6753 int board;
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006754
Mauro Carvalho Chehabb9348352009-02-08 09:33:15 -03006755 /* Put here the code that enables the chips that are needed
6756 for analog mode and doesn't depend on the tuner attachment.
6757 It is also a good idea to get tuner type from eeprom, etc before
6758 initializing tuner, since we can avoid loading tuner driver
6759 on devices that has TUNER_ABSENT
6760 */
Linus Torvalds1da177e2005-04-16 15:20:36 -07006761 switch (dev->board) {
6762 case SAA7134_BOARD_BMK_MPEX_NOTUNER:
6763 case SAA7134_BOARD_BMK_MPEX_TUNER:
Mauro Carvalho Chehabb9348352009-02-08 09:33:15 -03006764 /* Checks if the device has a tuner at 0x60 addr
6765 If the device doesn't have a tuner, TUNER_ABSENT
6766 will be used at tuner_type, avoiding loading tuner
6767 without needing it
6768 */
Linus Torvalds1da177e2005-04-16 15:20:36 -07006769 dev->i2c_client.addr = 0x60;
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006770 board = (i2c_master_recv(&dev->i2c_client, &buf, 0) < 0)
Linus Torvalds1da177e2005-04-16 15:20:36 -07006771 ? SAA7134_BOARD_BMK_MPEX_NOTUNER
6772 : SAA7134_BOARD_BMK_MPEX_TUNER;
6773 if (board == dev->board)
6774 break;
6775 dev->board = board;
6776 printk("%s: board type fixup: %s\n", dev->name,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006777 saa7134_boards[dev->board].name);
Linus Torvalds1da177e2005-04-16 15:20:36 -07006778 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006779
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006780 break;
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08006781 case SAA7134_BOARD_MD7134:
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006782 {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006783 u8 subaddr;
6784 u8 data[3];
6785 int ret, tuner_t;
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006786 struct i2c_msg msg[] = {{.addr=0x50, .flags=0, .buf=&subaddr, .len = 1},
6787 {.addr=0x50, .flags=I2C_M_RD, .buf=data, .len = 3}};
Mauro Carvalho Chehabb9348352009-02-08 09:33:15 -03006788
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006789 subaddr= 0x14;
6790 tuner_t = 0;
Mauro Carvalho Chehabb9348352009-02-08 09:33:15 -03006791
6792 /* Retrieve device data from eeprom, checking for the
6793 proper tuner_type.
6794 */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006795 ret = i2c_transfer(&dev->i2c_adap, msg, 2);
6796 if (ret != 2) {
6797 printk(KERN_ERR "EEPROM read failure\n");
6798 } else if ((data[0] != 0) && (data[0] != 0xff)) {
6799 /* old config structure */
6800 subaddr = data[0] + 2;
6801 msg[1].len = 2;
6802 i2c_transfer(&dev->i2c_adap, msg, 2);
6803 tuner_t = (data[0] << 8) + data[1];
6804 switch (tuner_t){
6805 case 0x0103:
6806 dev->tuner_type = TUNER_PHILIPS_PAL;
6807 break;
6808 case 0x010C:
6809 dev->tuner_type = TUNER_PHILIPS_FM1216ME_MK3;
6810 break;
6811 default:
6812 printk(KERN_ERR "%s Cant determine tuner type %x from EEPROM\n", dev->name, tuner_t);
6813 }
6814 } else if ((data[1] != 0) && (data[1] != 0xff)) {
6815 /* new config structure */
6816 subaddr = data[1] + 1;
6817 msg[1].len = 1;
6818 i2c_transfer(&dev->i2c_adap, msg, 2);
6819 subaddr = data[0] + 1;
6820 msg[1].len = 2;
6821 i2c_transfer(&dev->i2c_adap, msg, 2);
6822 tuner_t = (data[1] << 8) + data[0];
6823 switch (tuner_t) {
6824 case 0x0005:
6825 dev->tuner_type = TUNER_PHILIPS_FM1216ME_MK3;
6826 break;
6827 case 0x001d:
6828 dev->tuner_type = TUNER_PHILIPS_FMD1216ME_MK3;
6829 printk(KERN_INFO "%s Board has DVB-T\n", dev->name);
6830 break;
6831 default:
6832 printk(KERN_ERR "%s Cant determine tuner type %x from EEPROM\n", dev->name, tuner_t);
6833 }
6834 } else {
6835 printk(KERN_ERR "%s unexpected config structure\n", dev->name);
6836 }
6837
6838 printk(KERN_INFO "%s Tuner type is %d\n", dev->name, dev->tuner_type);
Linus Torvalds1da177e2005-04-16 15:20:36 -07006839 break;
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006840 }
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08006841 case SAA7134_BOARD_PHILIPS_EUROPA:
Hartmut Hackmann6ab465a2008-04-22 14:42:11 -03006842 if (dev->autodetected && (dev->eedata[0x41] == 0x1c)) {
6843 /* Reconfigure board as Snake reference design */
6844 dev->board = SAA7134_BOARD_PHILIPS_SNAKE;
6845 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
6846 printk(KERN_INFO "%s: Reconfigured board as %s\n",
6847 dev->name, saa7134_boards[dev->board].name);
6848 break;
6849 }
Mauro Carvalho Chehabb9348352009-02-08 09:33:15 -03006850 /* break intentionally omitted */
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08006851 case SAA7134_BOARD_VIDEOMATE_DVBT_300:
Hartmut Hackmanncf146ca2006-10-02 20:49:24 -03006852 case SAA7134_BOARD_ASUS_EUROPA2_HYBRID:
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006853 {
6854
Mauro Carvalho Chehabb9348352009-02-08 09:33:15 -03006855 /* The Philips EUROPA based hybrid boards have the tuner
6856 connected through the channel decoder. We have to make it
6857 transparent to find it
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08006858 */
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08006859 u8 data[] = { 0x07, 0x02};
6860 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
6861 i2c_transfer(&dev->i2c_adap, &msg, 1);
6862
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08006863 break;
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006864 }
Hartmut Hackmann90e9df72005-11-08 21:38:42 -08006865 case SAA7134_BOARD_PHILIPS_TIGER:
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03006866 case SAA7134_BOARD_PHILIPS_TIGER_S:
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006867 {
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03006868 u8 data[] = { 0x3c, 0x33, 0x60};
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03006869 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006870 if (dev->autodetected && (dev->eedata[0x49] == 0x50)) {
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03006871 dev->board = SAA7134_BOARD_PHILIPS_TIGER_S;
6872 printk(KERN_INFO "%s: Reconfigured board as %s\n",
6873 dev->name, saa7134_boards[dev->board].name);
6874 }
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006875 if (dev->board == SAA7134_BOARD_PHILIPS_TIGER_S) {
6876 dev->tuner_type = TUNER_PHILIPS_TDA8290;
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03006877
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03006878 data[2] = 0x68;
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006879 i2c_transfer(&dev->i2c_adap, &msg, 1);
Mauro Carvalho Chehabb9348352009-02-08 09:33:15 -03006880 break;
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03006881 }
6882 i2c_transfer(&dev->i2c_adap, &msg, 1);
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03006883 break;
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006884 }
Mauro Carvalho Chehabb9348352009-02-08 09:33:15 -03006885 case SAA7134_BOARD_ASUSTeK_TVFM7135:
6886 /* The card below is detected as card=53, but is different */
Hermann Pitton0b17d0e2008-07-12 12:27:59 -03006887 if (dev->autodetected && (dev->eedata[0x27] == 0x03)) {
6888 dev->board = SAA7134_BOARD_ASUSTeK_P7131_ANALOG;
6889 printk(KERN_INFO "%s: P7131 analog only, using "
6890 "entry of %s\n",
6891 dev->name, saa7134_boards[dev->board].name);
6892 }
6893 break;
Michael Krufkyb5f05062009-08-03 16:51:33 -03006894 case SAA7134_BOARD_HAUPPAUGE_HVR1150:
Michael Krufkyf9996c92009-02-28 17:45:17 -03006895 case SAA7134_BOARD_HAUPPAUGE_HVR1110R3:
6896 hauppauge_eeprom(dev, dev->eedata+0x80);
6897 break;
Michael Krufky993efa72007-11-15 10:34:33 -03006898 case SAA7134_BOARD_HAUPPAUGE_HVR1110:
6899 hauppauge_eeprom(dev, dev->eedata+0x80);
6900 /* break intentionally omitted */
Hartmut Hackmann587d2fd2006-10-06 19:13:50 -03006901 case SAA7134_BOARD_PINNACLE_PCTV_310i:
Simon Farnsworthb39423a2007-05-01 10:01:20 -03006902 case SAA7134_BOARD_KWORLD_DVBT_210:
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02006903 case SAA7134_BOARD_TEVION_DVBT_220RF:
Hermann Pitton028165a2008-10-04 21:37:36 -03006904 case SAA7134_BOARD_ASUSTeK_TIGER:
Hartmut Hackmannd4b0aba2005-11-08 21:38:44 -08006905 case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
Hartmut Hackmannf3eec0c02007-03-14 20:33:55 -03006906 case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA:
Hartmut Hackmann5eda2272006-08-07 14:03:32 -03006907 case SAA7134_BOARD_MEDION_MD8800_QUADRO:
Hermann Pitton4ba24372008-01-20 19:27:51 -03006908 case SAA7134_BOARD_AVERMEDIA_SUPER_007:
6909 case SAA7134_BOARD_TWINHAN_DTV_DVB_3056:
Hermann Pitton7b5b3f12008-04-22 14:42:12 -03006910 case SAA7134_BOARD_CREATIX_CTX953:
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006911 {
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02006912 /* this is a hybrid board, initialize to analog mode
6913 * and configure firmware eeprom address
6914 */
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03006915 u8 data[] = { 0x3c, 0x33, 0x60};
Hartmut Hackmann90e9df72005-11-08 21:38:42 -08006916 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
6917 i2c_transfer(&dev->i2c_adap, &msg, 1);
Hartmut Hackmann90e9df72005-11-08 21:38:42 -08006918 break;
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006919 }
hermann pitton301e9d62008-09-14 17:49:14 -03006920 case SAA7134_BOARD_ASUSTeK_TIGER_3IN1:
6921 {
6922 u8 data[] = { 0x3c, 0x33, 0x60};
6923 struct i2c_msg msg = {.addr = 0x0b, .flags = 0, .buf = data,
6924 .len = sizeof(data)};
6925 i2c_transfer(&dev->i2c_adap, &msg, 1);
6926 break;
6927 }
Nico Sabbi420f32f2006-03-03 12:11:28 -03006928 case SAA7134_BOARD_FLYDVB_TRIO:
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006929 {
Hartmut Hackmann293cdab2006-02-27 21:08:07 -03006930 u8 data[] = { 0x3c, 0x33, 0x62};
6931 struct i2c_msg msg = {.addr=0x09, .flags=0, .buf=data, .len = sizeof(data)};
6932 i2c_transfer(&dev->i2c_adap, &msg, 1);
Hartmut Hackmann293cdab2006-02-27 21:08:07 -03006933 break;
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006934 }
Hartmut Hackmanndf42eaf2006-02-07 06:49:10 -02006935 case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331:
Hartmut Hackmannd95b8942006-03-27 19:39:30 -03006936 case SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS:
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006937 {
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03006938 /* initialize analog mode */
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03006939 u8 data[] = { 0x3c, 0x33, 0x6a};
Hartmut Hackmanndf42eaf2006-02-07 06:49:10 -02006940 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
6941 i2c_transfer(&dev->i2c_adap, &msg, 1);
Hartmut Hackmanndf42eaf2006-02-07 06:49:10 -02006942 break;
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006943 }
Hartmut Hackmann550a9a52006-11-15 21:31:54 -03006944 case SAA7134_BOARD_CINERGY_HT_PCMCIA:
Michael Krufky9de271e2007-01-16 18:36:40 -03006945 case SAA7134_BOARD_CINERGY_HT_PCI:
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006946 {
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03006947 /* initialize analog mode */
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03006948 u8 data[] = { 0x3c, 0x33, 0x68};
Hartmut Hackmann550a9a52006-11-15 21:31:54 -03006949 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
6950 i2c_transfer(&dev->i2c_adap, &msg, 1);
Hartmut Hackmann550a9a52006-11-15 21:31:54 -03006951 break;
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006952 }
Hartmut Hackmanncbb94522006-10-30 20:00:16 -03006953 case SAA7134_BOARD_VIDEOMATE_DVBT_200:
6954 case SAA7134_BOARD_VIDEOMATE_DVBT_200A:
6955 /* The T200 and the T200A share the same pci id. Consequently,
6956 * we are going to query eeprom to try to find out which one we
6957 * are actually looking at. */
6958
6959 /* Don't do this if the board was specifically selected with an
6960 * insmod option or if we have the default configuration T200*/
Mauro Carvalho Chehabb9348352009-02-08 09:33:15 -03006961 if (!dev->autodetected || (dev->eedata[0x41] == 0xd0))
Hartmut Hackmanncbb94522006-10-30 20:00:16 -03006962 break;
Mauro Carvalho Chehabb9348352009-02-08 09:33:15 -03006963 if (dev->eedata[0x41] == 0x02) {
Hartmut Hackmanncbb94522006-10-30 20:00:16 -03006964 /* Reconfigure board as T200A */
6965 dev->board = SAA7134_BOARD_VIDEOMATE_DVBT_200A;
6966 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
6967 dev->tda9887_conf = saa7134_boards[dev->board].tda9887_conf;
6968 printk(KERN_INFO "%s: Reconfigured board as %s\n",
6969 dev->name, saa7134_boards[dev->board].name);
6970 } else {
6971 printk(KERN_WARNING "%s: Unexpected tuner type info: %x in eeprom\n",
6972 dev->name, dev->eedata[0x41]);
6973 break;
6974 }
6975 break;
Mauro Carvalho Chehabb9348352009-02-08 09:33:15 -03006976 case SAA7134_BOARD_ADS_INSTANT_HDTV_PCI:
6977 case SAA7134_BOARD_KWORLD_ATSC110:
6978 {
6979 struct i2c_msg msg = { .addr = 0x0a, .flags = 0 };
6980 int i;
6981 static u8 buffer[][2] = {
6982 { 0x10, 0x12 },
6983 { 0x13, 0x04 },
6984 { 0x16, 0x00 },
6985 { 0x14, 0x04 },
6986 { 0x17, 0x00 },
6987 };
6988
6989 for (i = 0; i < ARRAY_SIZE(buffer); i++) {
6990 msg.buf = &buffer[i][0];
6991 msg.len = ARRAY_SIZE(buffer[0]);
6992 if (i2c_transfer(&dev->i2c_adap, &msg, 1) != 1)
6993 printk(KERN_WARNING
6994 "%s: Unable to enable tuner(%i).\n",
6995 dev->name, i);
6996 }
6997 break;
6998 }
6999 } /* switch() */
7000
7001 /* initialize tuner */
7002 if (TUNER_ABSENT != dev->tuner_type) {
7003 int has_demod = (dev->tda9887_conf & TDA9887_PRESENT);
7004
7005 /* Note: radio tuner address is always filled in,
7006 so we do not need to probe for a radio tuner device. */
7007 if (dev->radio_type != UNSET)
Hans Verkuile6574f22009-04-01 03:57:53 -03007008 v4l2_i2c_new_subdev(&dev->v4l2_dev,
7009 &dev->i2c_adap, "tuner", "tuner",
7010 dev->radio_addr);
Mauro Carvalho Chehabb9348352009-02-08 09:33:15 -03007011 if (has_demod)
Hans Verkuile6574f22009-04-01 03:57:53 -03007012 v4l2_i2c_new_probed_subdev(&dev->v4l2_dev,
7013 &dev->i2c_adap, "tuner", "tuner",
7014 v4l2_i2c_tuner_addrs(ADDRS_DEMOD));
Mauro Carvalho Chehabb9348352009-02-08 09:33:15 -03007015 if (dev->tuner_addr == ADDR_UNSET) {
7016 enum v4l2_i2c_tuner_type type =
7017 has_demod ? ADDRS_TV_WITH_DEMOD : ADDRS_TV;
7018
Hans Verkuile6574f22009-04-01 03:57:53 -03007019 v4l2_i2c_new_probed_subdev(&dev->v4l2_dev,
7020 &dev->i2c_adap, "tuner", "tuner",
7021 v4l2_i2c_tuner_addrs(type));
Mauro Carvalho Chehabb9348352009-02-08 09:33:15 -03007022 } else {
Hans Verkuile6574f22009-04-01 03:57:53 -03007023 v4l2_i2c_new_subdev(&dev->v4l2_dev,
7024 &dev->i2c_adap, "tuner", "tuner",
7025 dev->tuner_addr);
Mauro Carvalho Chehabb9348352009-02-08 09:33:15 -03007026 }
7027 }
7028
7029 saa7134_tuner_setup(dev);
7030
7031 switch (dev->board) {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03007032 case SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM:
Oldřich Jedličkad46de9d2009-04-14 15:47:17 -03007033 case SAA7134_BOARD_AVERMEDIA_CARDBUS_501:
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03007034 {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03007035 struct v4l2_priv_tun_config tea5767_cfg;
7036 struct tea5767_ctrl ctl;
7037
7038 dev->i2c_client.addr = 0xC0;
7039 /* set TEA5767(analog FM) defines */
7040 memset(&ctl, 0, sizeof(ctl));
7041 ctl.xtal_freq = TEA5767_HIGH_LO_13MHz;
7042 tea5767_cfg.tuner = TUNER_TEA5767;
7043 tea5767_cfg.priv = &ctl;
Hans Verkuilfac69862009-01-17 12:17:14 -03007044 saa_call_all(dev, tuner, s_config, &tea5767_cfg);
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03007045 break;
Linus Torvalds1da177e2005-04-16 15:20:36 -07007046 }
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03007047 } /* switch() */
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03007048
Linus Torvalds1da177e2005-04-16 15:20:36 -07007049 return 0;
7050}