blob: 9210d3ea6942b9395afc7fedef753911126e69d1 [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"
Dmitri Belimov2012c872009-08-26 01:01:12 -030035#include "xc5000.h"
Linus Torvalds1da177e2005-04-16 15:20:36 -070036
37/* commly used strings */
38static char name_mute[] = "mute";
39static char name_radio[] = "Radio";
40static char name_tv[] = "Television";
41static char name_tv_mono[] = "TV (mono only)";
Stas Sergeevf438d972007-09-17 15:34:09 -030042static char name_comp[] = "Composite";
Linus Torvalds1da177e2005-04-16 15:20:36 -070043static char name_comp1[] = "Composite1";
44static char name_comp2[] = "Composite2";
45static char name_comp3[] = "Composite3";
46static char name_comp4[] = "Composite4";
47static char name_svideo[] = "S-Video";
48
49/* ------------------------------------------------------------------ */
50/* board config info */
51
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -030052/* If radio_type !=UNSET, radio_addr should be specified
53 */
54
Linus Torvalds1da177e2005-04-16 15:20:36 -070055struct saa7134_board saa7134_boards[] = {
56 [SAA7134_BOARD_UNKNOWN] = {
57 .name = "UNKNOWN/GENERIC",
58 .audio_clock = 0x00187de7,
59 .tuner_type = TUNER_ABSENT,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -070060 .radio_type = UNSET,
61 .tuner_addr = ADDR_UNSET,
62 .radio_addr = ADDR_UNSET,
63
Linus Torvalds1da177e2005-04-16 15:20:36 -070064 .inputs = {{
65 .name = "default",
66 .vmux = 0,
67 .amux = LINE1,
68 }},
69 },
70 [SAA7134_BOARD_PROTEUS_PRO] = {
71 /* /me */
72 .name = "Proteus Pro [philips reference design]",
73 .audio_clock = 0x00187de7,
74 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -070075 .radio_type = UNSET,
76 .tuner_addr = ADDR_UNSET,
77 .radio_addr = ADDR_UNSET,
78
Linus Torvalds1da177e2005-04-16 15:20:36 -070079 .inputs = {{
80 .name = name_comp1,
81 .vmux = 0,
82 .amux = LINE1,
83 },{
84 .name = name_tv,
85 .vmux = 1,
86 .amux = TV,
87 .tv = 1,
88 },{
89 .name = name_tv_mono,
90 .vmux = 1,
91 .amux = LINE2,
92 .tv = 1,
93 }},
94 .radio = {
95 .name = name_radio,
96 .amux = LINE2,
97 },
98 },
99 [SAA7134_BOARD_FLYVIDEO3000] = {
100 /* "Marco d'Itri" <md@Linux.IT> */
101 .name = "LifeView FlyVIDEO3000",
102 .audio_clock = 0x00200000,
103 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700104 .radio_type = UNSET,
105 .tuner_addr = ADDR_UNSET,
106 .radio_addr = ADDR_UNSET,
107
Linus Torvalds1da177e2005-04-16 15:20:36 -0700108 .gpiomask = 0xe000,
109 .inputs = {{
110 .name = name_tv,
111 .vmux = 1,
112 .amux = TV,
113 .gpio = 0x8000,
114 .tv = 1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700115 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -0700116 .name = name_tv_mono,
117 .vmux = 1,
118 .amux = LINE2,
119 .gpio = 0x0000,
120 .tv = 1,
121 },{
122 .name = name_comp1,
123 .vmux = 0,
124 .amux = LINE2,
125 .gpio = 0x4000,
126 },{
127 .name = name_comp2,
128 .vmux = 3,
129 .amux = LINE2,
130 .gpio = 0x4000,
131 },{
132 .name = name_svideo,
133 .vmux = 8,
134 .amux = LINE2,
135 .gpio = 0x4000,
136 }},
137 .radio = {
138 .name = name_radio,
139 .amux = LINE2,
140 .gpio = 0x2000,
141 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700142 .mute = {
143 .name = name_mute,
144 .amux = TV,
145 .gpio = 0x8000,
146 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700147 },
148 [SAA7134_BOARD_FLYVIDEO2000] = {
149 /* "TC Wan" <tcwan@cs.usm.my> */
Peter Missel10b7a902006-01-23 17:11:06 -0200150 .name = "LifeView/Typhoon FlyVIDEO2000",
Linus Torvalds1da177e2005-04-16 15:20:36 -0700151 .audio_clock = 0x00200000,
152 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700153 .radio_type = UNSET,
154 .tuner_addr = ADDR_UNSET,
155 .radio_addr = ADDR_UNSET,
156
Linus Torvalds1da177e2005-04-16 15:20:36 -0700157 .gpiomask = 0xe000,
158 .inputs = {{
159 .name = name_tv,
160 .vmux = 1,
161 .amux = LINE2,
162 .gpio = 0x0000,
163 .tv = 1,
164 },{
165 .name = name_comp1,
166 .vmux = 0,
167 .amux = LINE2,
168 .gpio = 0x4000,
169 },{
170 .name = name_comp2,
171 .vmux = 3,
172 .amux = LINE2,
173 .gpio = 0x4000,
174 },{
175 .name = name_svideo,
176 .vmux = 8,
177 .amux = LINE2,
178 .gpio = 0x4000,
179 }},
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700180 .radio = {
181 .name = name_radio,
182 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700183 .gpio = 0x2000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700184 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700185 .mute = {
186 .name = name_mute,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700187 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700188 .gpio = 0x8000,
189 },
190 },
191 [SAA7134_BOARD_FLYTVPLATINUM_MINI] = {
192 /* "Arnaud Quette" <aquette@free.fr> */
193 .name = "LifeView FlyTV Platinum Mini",
194 .audio_clock = 0x00200000,
195 .tuner_type = TUNER_PHILIPS_TDA8290,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700196 .radio_type = UNSET,
197 .tuner_addr = ADDR_UNSET,
198 .radio_addr = ADDR_UNSET,
199
Linus Torvalds1da177e2005-04-16 15:20:36 -0700200 .inputs = {{
201 .name = name_tv,
202 .vmux = 1,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -0700203 .amux = TV,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700204 .tv = 1,
205 },{
Glen Gray2d14f782005-11-08 21:36:12 -0800206 .name = name_comp1, /* Composite signal on S-Video input */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700207 .vmux = 0,
208 .amux = LINE2,
209 },{
Glen Gray2d14f782005-11-08 21:36:12 -0800210 .name = name_comp2, /* Composite input */
211 .vmux = 3,
212 .amux = LINE2,
213 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -0700214 .name = name_svideo,
215 .vmux = 8,
216 .amux = LINE2,
217 }},
218 },
219 [SAA7134_BOARD_FLYTVPLATINUM_FM] = {
220 /* LifeView FlyTV Platinum FM (LR214WF) */
221 /* "Peter Missel <peter.missel@onlinehome.de> */
Hartmut Hackmann42e6b3b2006-03-27 19:04:48 -0300222 .name = "LifeView FlyTV Platinum FM / Gold",
Linus Torvalds1da177e2005-04-16 15:20:36 -0700223 .audio_clock = 0x00200000,
224 .tuner_type = TUNER_PHILIPS_TDA8290,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700225 .radio_type = UNSET,
226 .tuner_addr = ADDR_UNSET,
227 .radio_addr = ADDR_UNSET,
228
Peter Missel6c9e7372005-05-01 08:59:05 -0700229 .gpiomask = 0x1E000, /* Set GP16 and unused 15,14,13 to Output */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700230 .inputs = {{
231 .name = name_tv,
232 .vmux = 1,
233 .amux = TV,
Peter Missel6c9e7372005-05-01 08:59:05 -0700234 .gpio = 0x10000, /* GP16=1 selects TV input */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700235 .tv = 1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700236 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -0700237/* .name = name_tv_mono,
238 .vmux = 1,
239 .amux = LINE2,
240 .gpio = 0x0000,
241 .tv = 1,
242 },{
243*/ .name = name_comp1, /* Composite signal on S-Video input */
244 .vmux = 0,
245 .amux = LINE2,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700246/* .gpio = 0x4000, */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700247 },{
248 .name = name_comp2, /* Composite input */
249 .vmux = 3,
250 .amux = LINE2,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700251/* .gpio = 0x4000, */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700252 },{
253 .name = name_svideo, /* S-Video signal on S-Video input */
254 .vmux = 8,
255 .amux = LINE2,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700256/* .gpio = 0x4000, */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700257 }},
Peter Missel6c9e7372005-05-01 08:59:05 -0700258 .radio = {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700259 .name = name_radio,
Peter Missel6c9e7372005-05-01 08:59:05 -0700260 .amux = TV,
261 .gpio = 0x00000, /* GP16=0 selects FM radio antenna */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700262 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700263 .mute = {
264 .name = name_mute,
265 .amux = TV,
266 .gpio = 0x10000,
267 },
Peter Missel6c9e7372005-05-01 08:59:05 -0700268 },
Eugene Yudin23389b82009-08-29 09:32:11 -0300269 [SAA7134_BOARD_ROVERMEDIA_LINK_PRO_FM] = {
270 /* RoverMedia TV Link Pro FM (LR138 REV:I) */
271 /* Eugene Yudin <Eugene.Yudin@gmail.com> */
272 .name = "RoverMedia TV Link Pro FM",
273 .audio_clock = 0x00200000,
274 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, /* TCL MFPE05 2 */
275 .radio_type = UNSET,
276 .tuner_addr = ADDR_UNSET,
277 .radio_addr = ADDR_UNSET,
278 .tda9887_conf = TDA9887_PRESENT,
279 .gpiomask = 0xe000,
280 .inputs = { {
281 .name = name_tv,
282 .vmux = 1,
283 .amux = TV,
284 .gpio = 0x8000,
285 .tv = 1,
286 }, {
287 .name = name_tv_mono,
288 .vmux = 1,
289 .amux = LINE2,
290 .gpio = 0x0000,
291 .tv = 1,
292 }, {
293 .name = name_comp1,
294 .vmux = 0,
295 .amux = LINE2,
296 .gpio = 0x4000,
297 }, {
298 .name = name_comp2,
299 .vmux = 3,
300 .amux = LINE2,
301 .gpio = 0x4000,
302 }, {
303 .name = name_svideo,
304 .vmux = 8,
305 .amux = LINE2,
306 .gpio = 0x4000,
307 } },
308 .radio = {
309 .name = name_radio,
310 .amux = LINE2,
311 .gpio = 0x2000,
312 },
313 .mute = {
314 .name = name_mute,
315 .amux = TV,
316 .gpio = 0x8000,
317 },
318 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700319 [SAA7134_BOARD_EMPRESS] = {
320 /* "Gert Vervoort" <gert.vervoort@philips.com> */
321 .name = "EMPRESS",
322 .audio_clock = 0x00187de7,
323 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700324 .radio_type = UNSET,
325 .tuner_addr = ADDR_UNSET,
326 .radio_addr = ADDR_UNSET,
Hans Verkuil195784b2009-03-28 09:27:02 -0300327 .empress_addr = 0x20,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700328
Linus Torvalds1da177e2005-04-16 15:20:36 -0700329 .inputs = {{
330 .name = name_comp1,
331 .vmux = 0,
332 .amux = LINE1,
333 },{
334 .name = name_svideo,
335 .vmux = 8,
336 .amux = LINE1,
337 },{
338 .name = name_tv,
339 .vmux = 1,
340 .amux = LINE2,
341 .tv = 1,
342 }},
343 .radio = {
344 .name = name_radio,
345 .amux = LINE2,
346 },
347 .mpeg = SAA7134_MPEG_EMPRESS,
348 .video_out = CCIR656,
349 },
350 [SAA7134_BOARD_MONSTERTV] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700351 /* "K.Ohta" <alpha292@bremen.or.jp> */
352 .name = "SKNet Monster TV",
353 .audio_clock = 0x00187de7,
354 .tuner_type = TUNER_PHILIPS_NTSC_M,
355 .radio_type = UNSET,
356 .tuner_addr = ADDR_UNSET,
357 .radio_addr = ADDR_UNSET,
358
359 .inputs = {{
360 .name = name_tv,
361 .vmux = 1,
362 .amux = TV,
363 .tv = 1,
364 },{
365 .name = name_comp1,
366 .vmux = 0,
367 .amux = LINE1,
368 },{
369 .name = name_svideo,
370 .vmux = 8,
371 .amux = LINE1,
372 }},
373 .radio = {
374 .name = name_radio,
375 .amux = LINE2,
376 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700377 },
378 [SAA7134_BOARD_MD9717] = {
379 .name = "Tevion MD 9717",
380 .audio_clock = 0x00200000,
381 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700382 .radio_type = UNSET,
383 .tuner_addr = ADDR_UNSET,
384 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700385 .inputs = {{
386 .name = name_tv,
387 .vmux = 1,
388 .amux = TV,
389 .tv = 1,
390 },{
391 /* workaround for problems with normal TV sound */
392 .name = name_tv_mono,
393 .vmux = 1,
394 .amux = LINE2,
395 .tv = 1,
396 },{
397 .name = name_comp1,
Hermann Pitton4aa504a2007-11-28 21:50:26 -0300398 .vmux = 0,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700399 .amux = LINE1,
400 },{
401 .name = name_comp2,
402 .vmux = 3,
403 .amux = LINE1,
404 },{
405 .name = name_svideo,
406 .vmux = 8,
407 .amux = LINE1,
408 }},
409 .radio = {
410 .name = name_radio,
411 .amux = LINE2,
412 },
Hermann Pittoncc764662007-11-28 21:54:35 -0300413 .mute = {
414 .name = name_mute,
415 .amux = TV,
416 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700417 },
418 [SAA7134_BOARD_TVSTATION_RDS] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700419 /* Typhoon TV Tuner RDS: Art.Nr. 50694 */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700420 .name = "KNC One TV-Station RDS / Typhoon TV Tuner RDS",
421 .audio_clock = 0x00200000,
422 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700423 .radio_type = UNSET,
424 .tuner_addr = ADDR_UNSET,
425 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700426 .tda9887_conf = TDA9887_PRESENT,
427 .inputs = {{
428 .name = name_tv,
429 .vmux = 1,
430 .amux = TV,
431 .tv = 1,
432 },{
433 .name = name_tv_mono,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700434 .vmux = 1,
435 .amux = LINE2,
436 .tv = 1,
437 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -0700438
439 .name = name_svideo,
440 .vmux = 8,
441 .amux = LINE1,
442 },{
443 .name = name_comp1,
444 .vmux = 3,
445 .amux = LINE1,
446 },{
447
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700448 .name = "CVid over SVid",
449 .vmux = 0,
450 .amux = LINE1,
451 }},
Linus Torvalds1da177e2005-04-16 15:20:36 -0700452 .radio = {
453 .name = name_radio,
454 .amux = LINE2,
455 },
456 },
457 [SAA7134_BOARD_TVSTATION_DVR] = {
458 .name = "KNC One TV-Station DVR",
459 .audio_clock = 0x00200000,
460 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700461 .radio_type = UNSET,
462 .tuner_addr = ADDR_UNSET,
463 .radio_addr = ADDR_UNSET,
Hans Verkuil195784b2009-03-28 09:27:02 -0300464 .empress_addr = 0x20,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700465 .tda9887_conf = TDA9887_PRESENT,
466 .gpiomask = 0x820000,
467 .inputs = {{
468 .name = name_tv,
469 .vmux = 1,
Rafał Bilskiaac0ca62007-06-20 05:36:26 -0300470 .amux = TV,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700471 .tv = 1,
472 .gpio = 0x20000,
473 },{
474 .name = name_svideo,
475 .vmux = 8,
476 .amux = LINE1,
477 .gpio = 0x20000,
478 },{
479 .name = name_comp1,
480 .vmux = 3,
481 .amux = LINE1,
482 .gpio = 0x20000,
483 }},
484 .radio = {
485 .name = name_radio,
486 .amux = LINE2,
487 .gpio = 0x20000,
488 },
489 .mpeg = SAA7134_MPEG_EMPRESS,
490 .video_out = CCIR656,
491 },
492 [SAA7134_BOARD_CINERGY400] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700493 .name = "Terratec Cinergy 400 TV",
494 .audio_clock = 0x00200000,
495 .tuner_type = TUNER_PHILIPS_PAL,
496 .radio_type = UNSET,
497 .tuner_addr = ADDR_UNSET,
498 .radio_addr = ADDR_UNSET,
499 .inputs = {{
500 .name = name_tv,
501 .vmux = 1,
502 .amux = TV,
503 .tv = 1,
504 },{
505 .name = name_comp1,
506 .vmux = 4,
507 .amux = LINE1,
508 },{
509 .name = name_svideo,
510 .vmux = 8,
511 .amux = LINE1,
512 },{
513 .name = name_comp2, /* CVideo over SVideo Connector */
514 .vmux = 0,
515 .amux = LINE1,
516 }}
517 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700518 [SAA7134_BOARD_MD5044] = {
519 .name = "Medion 5044",
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700520 .audio_clock = 0x00187de7, /* was: 0x00200000, */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700521 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700522 .radio_type = UNSET,
523 .tuner_addr = ADDR_UNSET,
524 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700525 .tda9887_conf = TDA9887_PRESENT,
526 .inputs = {{
527 .name = name_tv,
528 .vmux = 1,
529 .amux = TV,
530 .tv = 1,
531 },{
532 /* workaround for problems with normal TV sound */
533 .name = name_tv_mono,
534 .vmux = 1,
535 .amux = LINE2,
536 .tv = 1,
537 },{
538 .name = name_comp1,
539 .vmux = 0,
540 .amux = LINE2,
541 },{
542 .name = name_comp2,
543 .vmux = 3,
544 .amux = LINE2,
545 },{
546 .name = name_svideo,
547 .vmux = 8,
548 .amux = LINE2,
549 }},
550 .radio = {
551 .name = name_radio,
552 .amux = LINE2,
553 },
554 },
555 [SAA7134_BOARD_KWORLD] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700556 .name = "Kworld/KuroutoShikou SAA7130-TVPCI",
Linus Torvalds1da177e2005-04-16 15:20:36 -0700557 .audio_clock = 0x00187de7,
558 .tuner_type = TUNER_PHILIPS_NTSC_M,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700559 .radio_type = UNSET,
560 .tuner_addr = ADDR_UNSET,
561 .radio_addr = ADDR_UNSET,
562 .inputs = {{
563 .name = name_svideo,
564 .vmux = 8,
565 .amux = LINE1,
566 },{
567 .name = name_comp1,
568 .vmux = 3,
569 .amux = LINE1,
570 },{
571 .name = name_tv,
572 .vmux = 1,
573 .amux = LINE2,
574 .tv = 1,
575 }},
576 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700577 [SAA7134_BOARD_CINERGY600] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700578 .name = "Terratec Cinergy 600 TV",
579 .audio_clock = 0x00200000,
580 .tuner_type = TUNER_PHILIPS_PAL,
581 .radio_type = UNSET,
582 .tuner_addr = ADDR_UNSET,
583 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700584 .tda9887_conf = TDA9887_PRESENT,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700585 .inputs = {{
586 .name = name_tv,
587 .vmux = 1,
588 .amux = TV,
589 .tv = 1,
590 },{
591 .name = name_comp1,
592 .vmux = 4,
593 .amux = LINE1,
594 },{
595 .name = name_svideo,
596 .vmux = 8,
597 .amux = LINE1,
598 },{
599 .name = name_comp2, /* CVideo over SVideo Connector */
600 .vmux = 0,
601 .amux = LINE1,
602 }},
Linus Torvalds1da177e2005-04-16 15:20:36 -0700603 .radio = {
604 .name = name_radio,
605 .amux = LINE2,
Michael Krufky67ac9a42006-03-14 16:18:49 -0300606 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700607 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700608 [SAA7134_BOARD_MD7134] = {
609 .name = "Medion 7134",
Linus Torvalds1da177e2005-04-16 15:20:36 -0700610 .audio_clock = 0x00187de7,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700611 .tuner_type = TUNER_PHILIPS_FMD1216ME_MK3,
612 .radio_type = UNSET,
613 .tuner_addr = ADDR_UNSET,
614 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700615 .tda9887_conf = TDA9887_PRESENT,
616 .mpeg = SAA7134_MPEG_DVB,
617 .inputs = {{
618 .name = name_tv,
619 .vmux = 1,
620 .amux = TV,
621 .tv = 1,
622 },{
623 .name = name_comp1,
624 .vmux = 0,
625 .amux = LINE1,
626 },{
627 .name = name_svideo,
628 .vmux = 8,
629 .amux = LINE1,
630 }},
631 .radio = {
632 .name = name_radio,
633 .amux = LINE2,
Hermann Pittoncc764662007-11-28 21:54:35 -0300634 },
635 .mute = {
636 .name = name_mute,
637 .amux = TV,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700638 },
639 },
640 [SAA7134_BOARD_TYPHOON_90031] = {
641 /* aka Typhoon "TV+Radio", Art.Nr 90031 */
642 /* Tom Zoerner <tomzo at users sourceforge net> */
643 .name = "Typhoon TV+Radio 90031",
644 .audio_clock = 0x00200000,
645 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700646 .radio_type = UNSET,
647 .tuner_addr = ADDR_UNSET,
648 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700649 .tda9887_conf = TDA9887_PRESENT,
650 .inputs = {{
651 .name = name_tv,
652 .vmux = 1,
653 .amux = TV,
654 .tv = 1,
655 },{
656 .name = name_comp1,
657 .vmux = 3,
658 .amux = LINE1,
659 },{
660 .name = name_svideo,
661 .vmux = 8,
662 .amux = LINE1,
663 }},
664 .radio = {
665 .name = name_radio,
666 .amux = LINE2,
667 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700668 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700669 [SAA7134_BOARD_ELSA] = {
670 .name = "ELSA EX-VISION 300TV",
671 .audio_clock = 0x00187de7,
672 .tuner_type = TUNER_HITACHI_NTSC,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700673 .radio_type = UNSET,
674 .tuner_addr = ADDR_UNSET,
675 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700676 .inputs = {{
677 .name = name_svideo,
678 .vmux = 8,
679 .amux = LINE1,
680 },{
681 .name = name_comp1,
682 .vmux = 0,
683 .amux = LINE1,
684 },{
685 .name = name_tv,
686 .vmux = 4,
687 .amux = LINE2,
688 .tv = 1,
689 }},
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700690 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700691 [SAA7134_BOARD_ELSA_500TV] = {
692 .name = "ELSA EX-VISION 500TV",
693 .audio_clock = 0x00187de7,
694 .tuner_type = TUNER_HITACHI_NTSC,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700695 .radio_type = UNSET,
696 .tuner_addr = ADDR_UNSET,
697 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700698 .inputs = {{
699 .name = name_svideo,
700 .vmux = 7,
701 .amux = LINE1,
702 },{
703 .name = name_tv,
704 .vmux = 8,
705 .amux = TV,
706 .tv = 1,
707 },{
708 .name = name_tv_mono,
709 .vmux = 8,
710 .amux = LINE2,
711 .tv = 1,
712 }},
Linus Torvalds1da177e2005-04-16 15:20:36 -0700713 },
Tamuki Shoichid0456d12006-02-27 00:08:04 -0300714 [SAA7134_BOARD_ELSA_700TV] = {
715 .name = "ELSA EX-VISION 700TV",
716 .audio_clock = 0x00187de7,
717 .tuner_type = TUNER_HITACHI_NTSC,
718 .radio_type = UNSET,
719 .tuner_addr = ADDR_UNSET,
720 .radio_addr = ADDR_UNSET,
721 .inputs = {{
722 .name = name_tv,
723 .vmux = 4,
724 .amux = LINE2,
725 .tv = 1,
726 },{
727 .name = name_comp1,
728 .vmux = 6,
729 .amux = LINE1,
730 },{
731 .name = name_svideo,
732 .vmux = 7,
733 .amux = LINE1,
734 }},
735 .mute = {
736 .name = name_mute,
737 .amux = TV,
738 },
739 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700740 [SAA7134_BOARD_ASUSTeK_TVFM7134] = {
741 .name = "ASUS TV-FM 7134",
742 .audio_clock = 0x00187de7,
743 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
744 .radio_type = UNSET,
745 .tuner_addr = ADDR_UNSET,
746 .radio_addr = ADDR_UNSET,
747 .tda9887_conf = TDA9887_PRESENT,
748 .inputs = {{
749 .name = name_tv,
750 .vmux = 1,
751 .amux = TV,
752 .tv = 1,
753 },{
754 .name = name_comp1,
755 .vmux = 4,
756 .amux = LINE2,
757 },{
758 .name = name_svideo,
759 .vmux = 6,
760 .amux = LINE2,
761 }},
762 .radio = {
763 .name = name_radio,
764 .amux = LINE1,
765 },
766 },
767 [SAA7134_BOARD_ASUSTeK_TVFM7135] = {
768 .name = "ASUS TV-FM 7135",
769 .audio_clock = 0x00187de7,
770 .tuner_type = TUNER_PHILIPS_TDA8290,
771 .radio_type = UNSET,
772 .tuner_addr = ADDR_UNSET,
773 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700774 .gpiomask = 0x200000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700775 .inputs = {{
776 .name = name_tv,
777 .vmux = 1,
778 .amux = TV,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700779 .gpio = 0x0000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700780 .tv = 1,
781 },{
782 .name = name_comp1,
783 .vmux = 4,
784 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700785 .gpio = 0x0000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700786 },{
787 .name = name_svideo,
788 .vmux = 6,
789 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700790 .gpio = 0x0000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700791 }},
792 .radio = {
793 .name = name_radio,
794 .amux = TV,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700795 .gpio = 0x200000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700796 },
797 .mute = {
798 .name = name_mute,
799 .gpio = 0x0000,
800 },
801
Linus Torvalds1da177e2005-04-16 15:20:36 -0700802 },
803 [SAA7134_BOARD_VA1000POWER] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700804 .name = "AOPEN VA1000 POWER",
Linus Torvalds1da177e2005-04-16 15:20:36 -0700805 .audio_clock = 0x00187de7,
806 .tuner_type = TUNER_PHILIPS_NTSC,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700807 .radio_type = UNSET,
808 .tuner_addr = ADDR_UNSET,
809 .radio_addr = ADDR_UNSET,
810 .inputs = {{
811 .name = name_svideo,
812 .vmux = 8,
813 .amux = LINE1,
814 },{
815 .name = name_comp1,
816 .vmux = 3,
817 .amux = LINE1,
818 },{
819 .name = name_tv,
820 .vmux = 1,
821 .amux = LINE2,
822 .tv = 1,
823 }},
Linus Torvalds1da177e2005-04-16 15:20:36 -0700824 },
825 [SAA7134_BOARD_10MOONSTVMASTER] = {
826 /* "lilicheng" <llc@linuxfans.org> */
827 .name = "10MOONS PCI TV CAPTURE CARD",
828 .audio_clock = 0x00200000,
829 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700830 .radio_type = UNSET,
831 .tuner_addr = ADDR_UNSET,
832 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700833 .gpiomask = 0xe000,
834 .inputs = {{
835 .name = name_tv,
836 .vmux = 1,
837 .amux = LINE2,
838 .gpio = 0x0000,
839 .tv = 1,
840 },{
841 .name = name_comp1,
842 .vmux = 0,
843 .amux = LINE2,
844 .gpio = 0x4000,
845 },{
846 .name = name_comp2,
847 .vmux = 3,
848 .amux = LINE2,
849 .gpio = 0x4000,
850 },{
851 .name = name_svideo,
852 .vmux = 8,
853 .amux = LINE2,
854 .gpio = 0x4000,
855 }},
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700856 .radio = {
857 .name = name_radio,
858 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700859 .gpio = 0x2000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700860 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700861 .mute = {
862 .name = name_mute,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700863 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700864 .gpio = 0x8000,
865 },
866 },
867 [SAA7134_BOARD_BMK_MPEX_NOTUNER] = {
868 /* "Andrew de Quincey" <adq@lidskialf.net> */
869 .name = "BMK MPEX No Tuner",
870 .audio_clock = 0x200000,
871 .tuner_type = TUNER_ABSENT,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700872 .radio_type = UNSET,
873 .tuner_addr = ADDR_UNSET,
874 .radio_addr = ADDR_UNSET,
Hans Verkuil195784b2009-03-28 09:27:02 -0300875 .empress_addr = 0x20,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700876 .inputs = {{
877 .name = name_comp1,
878 .vmux = 4,
879 .amux = LINE1,
880 },{
881 .name = name_comp2,
882 .vmux = 3,
883 .amux = LINE1,
884 },{
885 .name = name_comp3,
886 .vmux = 0,
887 .amux = LINE1,
888 },{
889 .name = name_comp4,
890 .vmux = 1,
891 .amux = LINE1,
892 },{
893 .name = name_svideo,
894 .vmux = 8,
895 .amux = LINE1,
896 }},
897 .mpeg = SAA7134_MPEG_EMPRESS,
898 .video_out = CCIR656,
899 },
900 [SAA7134_BOARD_VIDEOMATE_TV] = {
901 .name = "Compro VideoMate TV",
902 .audio_clock = 0x00187de7,
903 .tuner_type = TUNER_PHILIPS_NTSC_M,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700904 .radio_type = UNSET,
905 .tuner_addr = ADDR_UNSET,
906 .radio_addr = ADDR_UNSET,
907 .inputs = {{
908 .name = name_svideo,
909 .vmux = 8,
910 .amux = LINE1,
911 },{
912 .name = name_comp1,
913 .vmux = 3,
914 .amux = LINE1,
915 },{
916 .name = name_tv,
917 .vmux = 1,
918 .amux = LINE2,
919 .tv = 1,
920 }},
921 },
922 [SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS] = {
Linus Torvalds1da177e2005-04-16 15:20:36 -0700923 .name = "Compro VideoMate TV Gold+",
924 .audio_clock = 0x00187de7,
925 .tuner_type = TUNER_PHILIPS_NTSC_M,
926 .gpiomask = 0x800c0000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700927 .radio_type = UNSET,
928 .tuner_addr = ADDR_UNSET,
929 .radio_addr = ADDR_UNSET,
930 .inputs = {{
931 .name = name_svideo,
932 .vmux = 8,
933 .amux = LINE1,
934 .gpio = 0x06c00012,
935 },{
936 .name = name_comp1,
937 .vmux = 3,
938 .amux = LINE1,
939 .gpio = 0x0ac20012,
940 },{
941 .name = name_tv,
942 .vmux = 1,
943 .amux = LINE2,
944 .gpio = 0x08c20012,
945 .tv = 1,
946 }}, /* radio and probably mute is missing */
947 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700948 [SAA7134_BOARD_CRONOS_PLUS] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700949 /*
950 gpio pins:
951 0 .. 3 BASE_ID
952 4 .. 7 PROTECT_ID
953 8 .. 11 USER_OUT
954 12 .. 13 USER_IN
955 14 .. 15 VIDIN_SEL
956 */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700957 .name = "Matrox CronosPlus",
958 .tuner_type = TUNER_ABSENT,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700959 .radio_type = UNSET,
960 .tuner_addr = ADDR_UNSET,
961 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700962 .gpiomask = 0xcf00,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700963 .inputs = {{
964 .name = name_comp1,
965 .vmux = 0,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700966 .gpio = 2 << 14,
967 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700968 .name = name_comp2,
969 .vmux = 0,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700970 .gpio = 1 << 14,
971 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700972 .name = name_comp3,
973 .vmux = 0,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700974 .gpio = 0 << 14,
975 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700976 .name = name_comp4,
977 .vmux = 0,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700978 .gpio = 3 << 14,
979 },{
980 .name = name_svideo,
981 .vmux = 8,
982 .gpio = 2 << 14,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700983 }},
984 },
Linus Torvalds1da177e2005-04-16 15:20:36 -0700985 [SAA7134_BOARD_MD2819] = {
986 .name = "AverMedia M156 / Medion 2819",
987 .audio_clock = 0x00187de7,
988 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -0700989 .radio_type = UNSET,
990 .tuner_addr = ADDR_UNSET,
991 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700992 .tda9887_conf = TDA9887_PRESENT,
Hermann Pittonad1ef132008-01-20 19:32:39 -0300993 .gpiomask = 0x03,
Linus Torvalds1da177e2005-04-16 15:20:36 -0700994 .inputs = {{
995 .name = name_tv,
996 .vmux = 1,
997 .amux = TV,
998 .tv = 1,
Hermann Pittonad1ef132008-01-20 19:32:39 -0300999 .gpio = 0x00,
1000 }, {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001001 .name = name_comp1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001002 .vmux = 3,
Hermann Pittonad1ef132008-01-20 19:32:39 -03001003 .amux = LINE1,
1004 .gpio = 0x02,
1005 }, {
1006 .name = name_comp2,
1007 .vmux = 0,
1008 .amux = LINE1,
1009 .gpio = 0x02,
1010 }, {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001011 .name = name_svideo,
1012 .vmux = 8,
Hermann Pittonad1ef132008-01-20 19:32:39 -03001013 .amux = LINE1,
1014 .gpio = 0x02,
1015 } },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001016 .radio = {
1017 .name = name_radio,
Hermann Pittonad1ef132008-01-20 19:32:39 -03001018 .amux = LINE1,
1019 .gpio = 0x01,
1020 },
1021 .mute = {
1022 .name = name_mute,
1023 .amux = TV,
1024 .gpio = 0x00,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001025 },
1026 },
1027 [SAA7134_BOARD_BMK_MPEX_TUNER] = {
1028 /* "Greg Wickham <greg.wickham@grangenet.net> */
1029 .name = "BMK MPEX Tuner",
1030 .audio_clock = 0x200000,
1031 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001032 .radio_type = UNSET,
1033 .tuner_addr = ADDR_UNSET,
1034 .radio_addr = ADDR_UNSET,
Hans Verkuil195784b2009-03-28 09:27:02 -03001035 .empress_addr = 0x20,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001036 .inputs = {{
1037 .name = name_comp1,
1038 .vmux = 1,
1039 .amux = LINE1,
1040 },{
1041 .name = name_svideo,
1042 .vmux = 8,
1043 .amux = LINE1,
1044 },{
1045 .name = name_tv,
1046 .vmux = 3,
1047 .amux = TV,
1048 .tv = 1,
1049 }},
1050 .mpeg = SAA7134_MPEG_EMPRESS,
1051 .video_out = CCIR656,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001052 },
1053 [SAA7134_BOARD_ASUSTEK_TVFM7133] = {
1054 .name = "ASUS TV-FM 7133",
1055 .audio_clock = 0x00187de7,
1056 /* probably wrong, the 7133 one is the NTSC version ...
1057 * .tuner_type = TUNER_PHILIPS_FM1236_MK3 */
1058 .tuner_type = TUNER_LG_NTSC_NEW_TAPC,
1059 .radio_type = UNSET,
1060 .tuner_addr = ADDR_UNSET,
1061 .radio_addr = ADDR_UNSET,
1062 .tda9887_conf = TDA9887_PRESENT,
1063 .inputs = {{
1064 .name = name_tv,
1065 .vmux = 1,
1066 .amux = TV,
1067 .tv = 1,
1068
Linus Torvalds1da177e2005-04-16 15:20:36 -07001069 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001070 .name = name_comp1,
1071 .vmux = 4,
1072 .amux = LINE2,
1073 },{
1074 .name = name_svideo,
1075 .vmux = 6,
1076 .amux = LINE2,
1077 }},
1078 .radio = {
1079 .name = name_radio,
1080 .amux = LINE1,
1081 },
1082 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001083 [SAA7134_BOARD_PINNACLE_PCTV_STEREO] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001084 .name = "Pinnacle PCTV Stereo (saa7134)",
1085 .audio_clock = 0x00187de7,
1086 .tuner_type = TUNER_MT2032,
1087 .radio_type = UNSET,
1088 .tuner_addr = ADDR_UNSET,
1089 .radio_addr = ADDR_UNSET,
Hartmut Hackmanndf8cf702006-03-03 12:09:26 -03001090 .tda9887_conf = TDA9887_PRESENT | TDA9887_INTERCARRIER | TDA9887_PORT2_INACTIVE,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001091 .inputs = {{
1092 .name = name_tv,
1093 .vmux = 3,
1094 .amux = TV,
1095 .tv = 1,
1096 },{
1097 .name = name_comp1,
1098 .vmux = 0,
1099 .amux = LINE2,
1100 },{
1101 .name = name_comp2,
1102 .vmux = 1,
1103 .amux = LINE2,
1104 },{
1105 .name = name_svideo,
1106 .vmux = 8,
1107 .amux = LINE2,
1108 }},
1109 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001110 [SAA7134_BOARD_MANLI_MTV002] = {
1111 /* Ognjen Nastic <ognjen@logosoft.ba> */
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03001112 .name = "Manli MuchTV M-TV002",
Linus Torvalds1da177e2005-04-16 15:20:36 -07001113 .audio_clock = 0x00200000,
1114 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001115 .radio_type = UNSET,
1116 .tuner_addr = ADDR_UNSET,
1117 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001118 .inputs = {{
1119 .name = name_svideo,
1120 .vmux = 8,
1121 .amux = LINE1,
1122 },{
1123 .name = name_comp1,
1124 .vmux = 1,
1125 .amux = LINE1,
1126 },{
1127 .name = name_tv,
1128 .vmux = 3,
1129 .amux = LINE2,
1130 .tv = 1,
1131 }},
1132 .radio = {
1133 .name = name_radio,
1134 .amux = LINE2,
1135 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001136 },
1137 [SAA7134_BOARD_MANLI_MTV001] = {
1138 /* Ognjen Nastic <ognjen@logosoft.ba> UNTESTED */
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03001139 .name = "Manli MuchTV M-TV001",
Linus Torvalds1da177e2005-04-16 15:20:36 -07001140 .audio_clock = 0x00200000,
1141 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001142 .radio_type = UNSET,
1143 .tuner_addr = ADDR_UNSET,
1144 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001145 .inputs = {{
1146 .name = name_svideo,
1147 .vmux = 8,
1148 .amux = LINE1,
1149 },{
1150 .name = name_comp1,
1151 .vmux = 1,
1152 .amux = LINE1,
1153 },{
1154 .name = name_tv,
1155 .vmux = 3,
1156 .amux = LINE2,
1157 .tv = 1,
1158 }},
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001159 .mute = {
1160 .name = name_mute,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001161 .amux = LINE1,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001162 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001163 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001164 [SAA7134_BOARD_TG3000TV] = {
1165 /* TransGear 3000TV */
1166 .name = "Nagase Sangyo TransGear 3000TV",
1167 .audio_clock = 0x00187de7,
1168 .tuner_type = TUNER_PHILIPS_NTSC_M,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001169 .radio_type = UNSET,
1170 .tuner_addr = ADDR_UNSET,
1171 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001172 .inputs = {{
1173 .name = name_tv,
1174 .vmux = 1,
1175 .amux = LINE2,
1176 .tv = 1,
1177 },{
1178 .name = name_comp1,
1179 .vmux = 3,
1180 .amux = LINE2,
1181 },{
1182 .name = name_svideo,
1183 .vmux = 8,
1184 .amux = LINE2,
1185 }},
1186 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001187 [SAA7134_BOARD_ECS_TVP3XP] = {
1188 .name = "Elitegroup ECS TVP3XP FM1216 Tuner Card(PAL-BG,FM) ",
1189 .audio_clock = 0x187de7, /* xtal 32.1 MHz */
1190 .tuner_type = TUNER_PHILIPS_PAL,
1191 .radio_type = UNSET,
1192 .tuner_addr = ADDR_UNSET,
1193 .radio_addr = ADDR_UNSET,
1194 .inputs = {{
1195 .name = name_tv,
1196 .vmux = 1,
1197 .amux = TV,
1198 .tv = 1,
1199 },{
1200 .name = name_tv_mono,
1201 .vmux = 1,
1202 .amux = LINE2,
1203 .tv = 1,
1204 },{
1205 .name = name_comp1,
1206 .vmux = 3,
1207 .amux = LINE1,
1208 },{
1209 .name = name_svideo,
1210 .vmux = 8,
1211 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001212 },{
1213 .name = "CVid over SVid",
1214 .vmux = 0,
1215 .amux = LINE1,
1216 }},
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001217 .radio = {
1218 .name = name_radio,
1219 .amux = LINE2,
1220 },
1221 },
1222 [SAA7134_BOARD_ECS_TVP3XP_4CB5] = {
1223 .name = "Elitegroup ECS TVP3XP FM1236 Tuner Card (NTSC,FM)",
1224 .audio_clock = 0x187de7,
1225 .tuner_type = TUNER_PHILIPS_NTSC,
1226 .radio_type = UNSET,
1227 .tuner_addr = ADDR_UNSET,
1228 .radio_addr = ADDR_UNSET,
1229 .inputs = {{
1230 .name = name_tv,
1231 .vmux = 1,
1232 .amux = TV,
1233 .tv = 1,
1234 },{
1235 .name = name_tv_mono,
1236 .vmux = 1,
1237 .amux = LINE2,
1238 .tv = 1,
1239 },{
1240 .name = name_comp1,
1241 .vmux = 3,
1242 .amux = LINE1,
1243 },{
1244 .name = name_svideo,
1245 .vmux = 8,
1246 .amux = LINE1,
1247 },{
1248 .name = "CVid over SVid",
1249 .vmux = 0,
1250 .amux = LINE1,
1251 }},
1252 .radio = {
1253 .name = name_radio,
1254 .amux = LINE2,
1255 },
1256 },
Simon Farnsworthb39423a2007-05-01 10:01:20 -03001257 [SAA7134_BOARD_ECS_TVP3XP_4CB6] = {
1258 /* Barry Scott <barry.scott@onelan.co.uk> */
1259 .name = "Elitegroup ECS TVP3XP FM1246 Tuner Card (PAL,FM)",
1260 .audio_clock = 0x187de7,
1261 .tuner_type = TUNER_PHILIPS_PAL_I,
1262 .radio_type = UNSET,
1263 .tuner_addr = ADDR_UNSET,
1264 .radio_addr = ADDR_UNSET,
1265 .inputs = {{
1266 .name = name_tv,
1267 .vmux = 1,
1268 .amux = TV,
1269 .tv = 1,
1270 },{
1271 .name = name_tv_mono,
1272 .vmux = 1,
1273 .amux = LINE2,
1274 .tv = 1,
1275 },{
1276 .name = name_comp1,
1277 .vmux = 3,
1278 .amux = LINE1,
1279 },{
1280 .name = name_svideo,
1281 .vmux = 8,
1282 .amux = LINE1,
1283 },{
1284 .name = "CVid over SVid",
1285 .vmux = 0,
1286 .amux = LINE1,
1287 }},
1288 .radio = {
1289 .name = name_radio,
1290 .amux = LINE2,
1291 },
1292 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001293 [SAA7134_BOARD_AVACSSMARTTV] = {
1294 /* Roman Pszonczenko <romka@kolos.math.uni.lodz.pl> */
1295 .name = "AVACS SmartTV",
1296 .audio_clock = 0x00187de7,
1297 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001298 .radio_type = UNSET,
1299 .tuner_addr = ADDR_UNSET,
1300 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001301 .inputs = {{
1302 .name = name_tv,
1303 .vmux = 1,
1304 .amux = TV,
1305 .tv = 1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001306 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07001307 .name = name_tv_mono,
1308 .vmux = 1,
1309 .amux = LINE2,
1310 .tv = 1,
1311 },{
1312 .name = name_comp1,
1313 .vmux = 0,
1314 .amux = LINE2,
1315 },{
1316 .name = name_comp2,
1317 .vmux = 3,
1318 .amux = LINE2,
1319 },{
1320 .name = name_svideo,
1321 .vmux = 8,
1322 .amux = LINE2,
1323 }},
1324 .radio = {
1325 .name = name_radio,
1326 .amux = LINE2,
1327 .gpio = 0x200000,
1328 },
1329 },
1330 [SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER] = {
1331 /* Michael Smith <msmith@cbnco.com> */
1332 .name = "AVerMedia DVD EZMaker",
1333 .audio_clock = 0x00187de7,
1334 .tuner_type = TUNER_ABSENT,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001335 .radio_type = UNSET,
1336 .tuner_addr = ADDR_UNSET,
1337 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001338 .inputs = {{
1339 .name = name_comp1,
1340 .vmux = 3,
1341 },{
1342 .name = name_svideo,
1343 .vmux = 8,
1344 }},
1345 },
Massimo Piccionie2fc00c2008-07-11 13:48:02 -03001346 [SAA7134_BOARD_AVERMEDIA_M103] = {
1347 /* Massimo Piccioni <dafastidio@libero.it> */
1348 .name = "AVerMedia MiniPCI DVB-T Hybrid M103",
1349 .audio_clock = 0x187de7,
1350 .tuner_type = TUNER_XC2028,
1351 .radio_type = UNSET,
1352 .tuner_addr = ADDR_UNSET,
1353 .radio_addr = ADDR_UNSET,
1354 .mpeg = SAA7134_MPEG_DVB,
1355 .inputs = {{
1356 .name = name_tv,
1357 .vmux = 1,
1358 .amux = TV,
1359 .tv = 1,
1360 } },
1361 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001362 [SAA7134_BOARD_NOVAC_PRIMETV7133] = {
1363 /* toshii@netbsd.org */
1364 .name = "Noval Prime TV 7133",
1365 .audio_clock = 0x00200000,
1366 .tuner_type = TUNER_ALPS_TSBH1_NTSC,
1367 .radio_type = UNSET,
1368 .tuner_addr = ADDR_UNSET,
1369 .radio_addr = ADDR_UNSET,
1370 .inputs = {{
1371 .name = name_comp1,
1372 .vmux = 3,
1373 },{
1374 .name = name_tv,
1375 .vmux = 1,
1376 .amux = TV,
1377 .tv = 1,
1378 },{
1379 .name = name_svideo,
1380 .vmux = 8,
1381 }},
1382 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001383 [SAA7134_BOARD_AVERMEDIA_STUDIO_305] = {
1384 .name = "AverMedia AverTV Studio 305",
1385 .audio_clock = 0x00187de7,
1386 .tuner_type = TUNER_PHILIPS_FM1256_IH3,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001387 .radio_type = UNSET,
1388 .tuner_addr = ADDR_UNSET,
1389 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001390 .tda9887_conf = TDA9887_PRESENT,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001391 .inputs = {{
1392 .name = name_tv,
1393 .vmux = 1,
1394 .amux = LINE2,
1395 .tv = 1,
1396 },{
1397 .name = name_comp1,
1398 .vmux = 0,
1399 .amux = LINE2,
1400 },{
1401 .name = name_comp2,
1402 .vmux = 3,
1403 .amux = LINE2,
1404 },{
1405 .name = name_svideo,
1406 .vmux = 8,
1407 .amux = LINE2,
1408 }},
1409 .radio = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001410 .name = name_radio,
1411 .amux = LINE2,
1412 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001413 .mute = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001414 .name = name_mute,
1415 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001416 },
1417 },
Vasiliy Temnikov5a5e1da2009-08-26 22:10:55 -03001418 [SAA7134_BOARD_AVERMEDIA_STUDIO_505] = {
1419 /* Vasiliy Temnikov <vaka@newmail.ru> */
1420 .name = "AverMedia AverTV Studio 505",
1421 .audio_clock = 0x00187de7,
1422 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
1423 .radio_type = UNSET,
1424 .tuner_addr = ADDR_UNSET,
1425 .radio_addr = ADDR_UNSET,
1426 .tda9887_conf = TDA9887_PRESENT,
1427 .inputs = { {
1428 .name = name_tv,
1429 .vmux = 1,
1430 .amux = LINE2,
1431 .tv = 1,
1432 }, {
1433 .name = name_comp1,
1434 .vmux = 0,
1435 .amux = LINE2,
1436 }, {
1437 .name = name_comp2,
1438 .vmux = 3,
1439 .amux = LINE2,
1440 },{
1441 .name = name_svideo,
1442 .vmux = 8,
1443 .amux = LINE2,
1444 } },
1445 .radio = {
1446 .name = name_radio,
1447 .amux = LINE2,
1448 },
1449 .mute = {
1450 .name = name_mute,
1451 .amux = LINE1,
1452 },
1453 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001454 [SAA7134_BOARD_UPMOST_PURPLE_TV] = {
1455 .name = "UPMOST PURPLE TV",
1456 .audio_clock = 0x00187de7,
1457 .tuner_type = TUNER_PHILIPS_FM1236_MK3,
1458 .radio_type = UNSET,
1459 .tuner_addr = ADDR_UNSET,
1460 .radio_addr = ADDR_UNSET,
1461 .tda9887_conf = TDA9887_PRESENT,
1462 .inputs = {{
1463 .name = name_tv,
1464 .vmux = 7,
1465 .amux = TV,
1466 .tv = 1,
1467 },{
1468 .name = name_svideo,
1469 .vmux = 7,
1470 .amux = LINE1,
1471 }},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001472 },
1473 [SAA7134_BOARD_ITEMS_MTV005] = {
1474 /* Norman Jonas <normanjonas@arcor.de> */
1475 .name = "Items MuchTV Plus / IT-005",
1476 .audio_clock = 0x00187de7,
1477 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001478 .radio_type = UNSET,
1479 .tuner_addr = ADDR_UNSET,
1480 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001481 .inputs = {{
1482 .name = name_tv,
1483 .vmux = 3,
1484 .amux = TV,
1485 .tv = 1,
1486 },{
1487 .name = name_comp1,
1488 .vmux = 1,
1489 .amux = LINE1,
1490 },{
1491 .name = name_svideo,
1492 .vmux = 8,
1493 .amux = LINE1,
1494 }},
1495 .radio = {
1496 .name = name_radio,
1497 .amux = LINE2,
1498 },
1499 },
1500 [SAA7134_BOARD_CINERGY200] = {
1501 .name = "Terratec Cinergy 200 TV",
1502 .audio_clock = 0x00200000,
1503 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001504 .radio_type = UNSET,
1505 .tuner_addr = ADDR_UNSET,
1506 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001507 .inputs = {{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001508 .name = name_tv,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001509 .vmux = 1,
1510 .amux = LINE2,
1511 .tv = 1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001512 },{
1513 .name = name_comp1,
1514 .vmux = 4,
1515 .amux = LINE1,
1516 },{
1517 .name = name_svideo,
1518 .vmux = 8,
1519 .amux = LINE1,
1520 },{
1521 .name = name_comp2, /* CVideo over SVideo Connector */
1522 .vmux = 0,
1523 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001524 }},
1525 .mute = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001526 .name = name_mute,
1527 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001528 },
1529 },
1530 [SAA7134_BOARD_VIDEOMATE_TV_PVR] = {
1531 /* Alain St-Denis <alain@topaze.homeip.net> */
1532 .name = "Compro VideoMate TV PVR/FM",
1533 .audio_clock = 0x00187de7,
1534 .tuner_type = TUNER_PHILIPS_NTSC_M,
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 = 0x808c0080,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001539 .inputs = {{
1540 .name = name_svideo,
1541 .vmux = 8,
1542 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001543 .gpio = 0x00080,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001544 },{
1545 .name = name_comp1,
1546 .vmux = 3,
1547 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001548 .gpio = 0x00080,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001549 },{
1550 .name = name_tv,
1551 .vmux = 1,
1552 .amux = LINE2_LEFT,
1553 .tv = 1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001554 .gpio = 0x00080,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001555 }},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001556 .radio = {
1557 .name = name_radio,
1558 .amux = LINE2,
1559 .gpio = 0x80000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001560 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001561 .mute = {
1562 .name = name_mute,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001563 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001564 .gpio = 0x40000,
1565 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001566 },
1567 [SAA7134_BOARD_SABRENT_SBTTVFM] = {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001568 /* Michael Rodriguez-Torrent <mrtorrent@asu.edu> */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001569 .name = "Sabrent SBT-TVFM (saa7130)",
1570 .audio_clock = 0x00187de7,
1571 .tuner_type = TUNER_PHILIPS_NTSC_M,
1572 .radio_type = UNSET,
1573 .tuner_addr = ADDR_UNSET,
1574 .radio_addr = ADDR_UNSET,
1575 .inputs = {{
Linus Torvalds1da177e2005-04-16 15:20:36 -07001576 .name = name_comp1,
1577 .vmux = 1,
Mauro Carvalho Chehab6a989d72005-09-09 13:03:57 -07001578 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001579 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001580 .name = name_tv,
1581 .vmux = 3,
1582 .amux = LINE2,
1583 .tv = 1,
1584 },{
1585 .name = name_svideo,
1586 .vmux = 8,
Mauro Carvalho Chehab6a989d72005-09-09 13:03:57 -07001587 .amux = LINE1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001588 }},
1589 .radio = {
1590 .name = name_radio,
1591 .amux = LINE2,
1592 },
1593 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001594 [SAA7134_BOARD_ZOLID_XPERT_TV7134] = {
1595 /* Helge Jensen <helge.jensen@slog.dk> */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001596 .name = ":Zolid Xpert TV7134",
Linus Torvalds1da177e2005-04-16 15:20:36 -07001597 .audio_clock = 0x00187de7,
1598 .tuner_type = TUNER_PHILIPS_NTSC,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001599 .radio_type = UNSET,
1600 .tuner_addr = ADDR_UNSET,
1601 .radio_addr = ADDR_UNSET,
1602 .inputs = {{
Linus Torvalds1da177e2005-04-16 15:20:36 -07001603 .name = name_svideo,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001604 .vmux = 8,
1605 .amux = LINE1,
1606 },{
1607 .name = name_comp1,
1608 .vmux = 3,
1609 .amux = LINE1,
1610 },{
1611 .name = name_tv,
1612 .vmux = 1,
1613 .amux = LINE2,
1614 .tv = 1,
1615 }},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001616 },
1617 [SAA7134_BOARD_EMPIRE_PCI_TV_RADIO_LE] = {
1618 /* "Matteo Az" <matte.az@nospam.libero.it> ;-) */
1619 .name = "Empire PCI TV-Radio LE",
1620 .audio_clock = 0x00187de7,
1621 .tuner_type = TUNER_PHILIPS_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001622 .radio_type = UNSET,
1623 .tuner_addr = ADDR_UNSET,
1624 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001625 .gpiomask = 0x4000,
1626 .inputs = {{
1627 .name = name_tv_mono,
1628 .vmux = 1,
1629 .amux = LINE2,
1630 .gpio = 0x8000,
1631 .tv = 1,
1632 },{
1633 .name = name_comp1,
1634 .vmux = 3,
1635 .amux = LINE1,
1636 .gpio = 0x8000,
1637 },{
1638 .name = name_svideo,
1639 .vmux = 6,
1640 .amux = LINE1,
1641 .gpio = 0x8000,
1642 }},
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001643 .radio = {
1644 .name = name_radio,
1645 .amux = LINE1,
1646 .gpio = 0x8000,
1647 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001648 .mute = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001649 .name = name_mute,
1650 .amux = TV,
1651 .gpio =0x8000,
1652 }
Linus Torvalds1da177e2005-04-16 15:20:36 -07001653 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001654 [SAA7134_BOARD_AVERMEDIA_STUDIO_307] = {
Linus Torvalds1da177e2005-04-16 15:20:36 -07001655 /*
1656 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1657 Lots of thanks to Andrey Zolotarev <zolotarev_andrey@mail.ru>
1658 */
1659 .name = "Avermedia AVerTV Studio 307",
1660 .audio_clock = 0x00187de7,
1661 .tuner_type = TUNER_PHILIPS_FM1256_IH3,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001662 .radio_type = UNSET,
1663 .tuner_addr = ADDR_UNSET,
1664 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001665 .tda9887_conf = TDA9887_PRESENT,
1666 .gpiomask = 0x03,
1667 .inputs = {{
1668 .name = name_tv,
1669 .vmux = 1,
1670 .amux = TV,
1671 .tv = 1,
1672 .gpio = 0x00,
1673 },{
Stas Sergeevf438d972007-09-17 15:34:09 -03001674 .name = name_comp,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001675 .vmux = 3,
Stas Sergeevf5e4fee2007-09-02 03:56:18 -03001676 .amux = LINE1,
1677 .gpio = 0x02,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001678 },{
1679 .name = name_svideo,
1680 .vmux = 8,
Stas Sergeevf5e4fee2007-09-02 03:56:18 -03001681 .amux = LINE1,
1682 .gpio = 0x02,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001683 }},
1684 .radio = {
1685 .name = name_radio,
1686 .amux = LINE1,
1687 .gpio = 0x01,
1688 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001689 .mute = {
1690 .name = name_mute,
1691 .amux = LINE1,
1692 .gpio = 0x00,
1693 },
1694 },
1695 [SAA7134_BOARD_AVERMEDIA_GO_007_FM] = {
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001696 .name = "Avermedia AVerTV GO 007 FM",
1697 .audio_clock = 0x00187de7,
1698 .tuner_type = TUNER_PHILIPS_TDA8290,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001699 .radio_type = UNSET,
1700 .tuner_addr = ADDR_UNSET,
1701 .radio_addr = ADDR_UNSET,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001702 .gpiomask = 0x00300003,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001703 /* .gpiomask = 0x8c240003, */
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001704 .inputs = {{
1705 .name = name_tv,
1706 .vmux = 1,
1707 .amux = TV,
1708 .tv = 1,
1709 .gpio = 0x01,
1710 },{
1711 .name = name_comp1,
1712 .vmux = 0,
Damian Minkovfbc84082007-03-29 08:47:39 -03001713 .amux = LINE1,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001714 .gpio = 0x02,
1715 },{
1716 .name = name_svideo,
1717 .vmux = 6,
Damian Minkovfbc84082007-03-29 08:47:39 -03001718 .amux = LINE1,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001719 .gpio = 0x02,
1720 }},
1721 .radio = {
1722 .name = name_radio,
hermann pitton46058122009-08-04 20:11:43 -03001723 .amux = TV,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07001724 .gpio = 0x00300001,
1725 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001726 .mute = {
1727 .name = name_mute,
1728 .amux = TV,
1729 .gpio = 0x01,
1730 },
1731 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001732 [SAA7134_BOARD_AVERMEDIA_CARDBUS] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001733 /* Kees.Blom@cwi.nl */
1734 .name = "AVerMedia Cardbus TV/Radio (E500)",
1735 .audio_clock = 0x187de7,
1736 .tuner_type = TUNER_PHILIPS_TDA8290,
1737 .radio_type = UNSET,
1738 .tuner_addr = ADDR_UNSET,
1739 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001740 .inputs = {{
1741 .name = name_tv,
1742 .vmux = 1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001743 .amux = TV,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001744 .tv = 1,
1745 },{
1746 .name = name_comp1,
1747 .vmux = 3,
1748 .amux = LINE2,
1749 },{
1750 .name = name_svideo,
1751 .vmux = 8,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001752 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001753 }},
1754 .radio = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001755 .name = name_radio,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001756 .amux = LINE1,
1757 },
1758 },
Oldřich Jedličkad46de9d2009-04-14 15:47:17 -03001759 [SAA7134_BOARD_AVERMEDIA_CARDBUS_501] = {
1760 /* Oldrich Jedlicka <oldium.pro@seznam.cz> */
1761 .name = "AVerMedia Cardbus TV/Radio (E501R)",
1762 .audio_clock = 0x187de7,
1763 .tuner_type = TUNER_ALPS_TSBE5_PAL,
1764 .radio_type = TUNER_TEA5767,
1765 .tuner_addr = 0x61,
1766 .radio_addr = 0x60,
1767 .tda9887_conf = TDA9887_PRESENT,
1768 .gpiomask = 0x08000000,
1769 .inputs = { {
1770 .name = name_tv,
1771 .vmux = 1,
1772 .amux = TV,
1773 .tv = 1,
1774 .gpio = 0x08000000,
1775 }, {
1776 .name = name_comp1,
1777 .vmux = 3,
1778 .amux = LINE1,
1779 .gpio = 0x08000000,
1780 }, {
1781 .name = name_svideo,
1782 .vmux = 8,
1783 .amux = LINE1,
1784 .gpio = 0x08000000,
1785 } },
1786 .radio = {
1787 .name = name_radio,
1788 .amux = LINE2,
1789 .gpio = 0x00000000,
1790 },
1791 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001792 [SAA7134_BOARD_CINERGY400_CARDBUS] = {
1793 .name = "Terratec Cinergy 400 mobile",
1794 .audio_clock = 0x187de7,
1795 .tuner_type = TUNER_ALPS_TSBE5_PAL,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001796 .radio_type = UNSET,
1797 .tuner_addr = ADDR_UNSET,
1798 .radio_addr = ADDR_UNSET,
1799 .tda9887_conf = TDA9887_PRESENT,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001800 .inputs = {{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001801 .name = name_tv,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001802 .vmux = 1,
1803 .amux = TV,
1804 .tv = 1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001805 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07001806 .name = name_tv_mono,
1807 .vmux = 1,
1808 .amux = LINE2,
1809 .tv = 1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001810 },{
1811 .name = name_comp1,
1812 .vmux = 3,
1813 .amux = LINE1,
1814 },{
1815 .name = name_svideo,
1816 .vmux = 8,
1817 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001818 }},
1819 },
1820 [SAA7134_BOARD_CINERGY600_MK3] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001821 .name = "Terratec Cinergy 600 TV MK3",
1822 .audio_clock = 0x00200000,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001823 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001824 .radio_type = UNSET,
1825 .tuner_addr = ADDR_UNSET,
1826 .radio_addr = ADDR_UNSET,
Hans Verkuil2983baf2009-03-29 06:26:27 -03001827 .rds_addr = 0x10,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001828 .tda9887_conf = TDA9887_PRESENT,
1829 .inputs = {{
1830 .name = name_tv,
1831 .vmux = 1,
1832 .amux = TV,
1833 .tv = 1,
1834 },{
1835 .name = name_comp1,
1836 .vmux = 4,
1837 .amux = LINE1,
1838 },{
1839 .name = name_svideo,
1840 .vmux = 8,
1841 .amux = LINE1,
1842 },{
1843 .name = name_comp2, /* CVideo over SVideo Connector */
1844 .vmux = 0,
1845 .amux = LINE1,
1846 }},
Linus Torvalds1da177e2005-04-16 15:20:36 -07001847 .radio = {
1848 .name = name_radio,
1849 .amux = LINE2,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001850 },
1851 },
1852 [SAA7134_BOARD_VIDEOMATE_GOLD_PLUS] = {
1853 /* Dylan Walkden <dylan_walkden@hotmail.com> */
1854 .name = "Compro VideoMate Gold+ Pal",
1855 .audio_clock = 0x00187de7,
1856 .tuner_type = TUNER_PHILIPS_PAL,
1857 .radio_type = UNSET,
1858 .tuner_addr = ADDR_UNSET,
1859 .radio_addr = ADDR_UNSET,
1860 .gpiomask = 0x1ce780,
1861 .inputs = {{
1862 .name = name_svideo,
1863 .vmux = 0, /* CVideo over SVideo Connector - ok? */
1864 .amux = LINE1,
1865 .gpio = 0x008080,
1866 },{
1867 .name = name_comp1,
1868 .vmux = 3,
1869 .amux = LINE1,
1870 .gpio = 0x008080,
1871 },{
1872 .name = name_tv,
1873 .vmux = 1,
1874 .amux = TV,
1875 .tv = 1,
1876 .gpio = 0x008080,
1877 }},
1878 .radio = {
1879 .name = name_radio,
1880 .amux = LINE2,
1881 .gpio = 0x80000,
1882 },
1883 .mute = {
1884 .name = name_mute,
1885 .amux = LINE2,
1886 .gpio = 0x0c8000,
1887 },
1888 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001889 [SAA7134_BOARD_PINNACLE_300I_DVBT_PAL] = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001890 .name = "Pinnacle PCTV 300i DVB-T + PAL",
1891 .audio_clock = 0x00187de7,
1892 .tuner_type = TUNER_MT2032,
1893 .radio_type = UNSET,
1894 .tuner_addr = ADDR_UNSET,
1895 .radio_addr = ADDR_UNSET,
Hartmut Hackmanndf8cf702006-03-03 12:09:26 -03001896 .tda9887_conf = TDA9887_PRESENT | TDA9887_INTERCARRIER | TDA9887_PORT2_INACTIVE,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001897 .mpeg = SAA7134_MPEG_DVB,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001898 .inputs = {{
1899 .name = name_tv,
1900 .vmux = 3,
1901 .amux = TV,
1902 .tv = 1,
1903 },{
1904 .name = name_comp1,
1905 .vmux = 0,
1906 .amux = LINE2,
1907 },{
1908 .name = name_comp2,
1909 .vmux = 1,
1910 .amux = LINE2,
1911 },{
1912 .name = name_svideo,
1913 .vmux = 8,
1914 .amux = LINE2,
1915 }},
1916 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07001917 [SAA7134_BOARD_PROVIDEO_PV952] = {
1918 /* andreas.kretschmer@web.de */
1919 .name = "ProVideo PV952",
1920 .audio_clock = 0x00187de7,
1921 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001922 .radio_type = UNSET,
1923 .tuner_addr = ADDR_UNSET,
1924 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001925 .tda9887_conf = TDA9887_PRESENT,
1926 .inputs = {{
1927 .name = name_comp1,
1928 .vmux = 0,
1929 .amux = LINE1,
1930 },{
1931 .name = name_tv,
1932 .vmux = 1,
1933 .amux = TV,
1934 .tv = 1,
1935 },{
1936 .name = name_tv_mono,
1937 .vmux = 1,
1938 .amux = LINE2,
1939 .tv = 1,
1940 }},
1941 .radio = {
1942 .name = name_radio,
1943 .amux = LINE2,
1944 },
1945 },
1946 [SAA7134_BOARD_AVERMEDIA_305] = {
1947 /* much like the "studio" version but without radio
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001948 * and another tuner (sirspiritus@yandex.ru) */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001949 .name = "AverMedia AverTV/305",
1950 .audio_clock = 0x00187de7,
1951 .tuner_type = TUNER_PHILIPS_FQ1216ME,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001952 .radio_type = UNSET,
1953 .tuner_addr = ADDR_UNSET,
1954 .radio_addr = ADDR_UNSET,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001955 .tda9887_conf = TDA9887_PRESENT,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001956 .inputs = {{
1957 .name = name_tv,
1958 .vmux = 1,
1959 .amux = LINE2,
1960 .tv = 1,
1961 },{
1962 .name = name_comp1,
1963 .vmux = 0,
1964 .amux = LINE2,
1965 },{
1966 .name = name_comp2,
1967 .vmux = 3,
1968 .amux = LINE2,
1969 },{
1970 .name = name_svideo,
1971 .vmux = 8,
1972 .amux = LINE2,
1973 }},
1974 .mute = {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001975 .name = name_mute,
1976 .amux = LINE1,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001977 },
1978 },
1979 [SAA7134_BOARD_FLYDVBTDUO] = {
1980 /* LifeView FlyDVB-T DUO */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001981 /* "Nico Sabbi <nsabbi@tiscali.it> Hartmut Hackmann hartmut.hackmann@t-online.de*/
Peter Misseldb483672007-04-27 12:31:20 -03001982 .name = "LifeView FlyDVB-T DUO / MSI TV@nywhere Duo",
Linus Torvalds1da177e2005-04-16 15:20:36 -07001983 .audio_clock = 0x00200000,
1984 .tuner_type = TUNER_PHILIPS_TDA8290,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001985 .radio_type = UNSET,
1986 .tuner_addr = ADDR_UNSET,
1987 .radio_addr = ADDR_UNSET,
Peter Missel7c7fea62007-04-27 12:31:14 -03001988 .gpiomask = 0x00200000,
Michael Krufky8ce47da2007-04-27 12:31:14 -03001989 .mpeg = SAA7134_MPEG_DVB,
Linus Torvalds1da177e2005-04-16 15:20:36 -07001990 .inputs = {{
1991 .name = name_tv,
1992 .vmux = 1,
1993 .amux = TV,
Peter Missel7c7fea62007-04-27 12:31:14 -03001994 .gpio = 0x200000, /* GPIO21=High for TV input */
Linus Torvalds1da177e2005-04-16 15:20:36 -07001995 .tv = 1,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07001996 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07001997 .name = name_comp1, /* Composite signal on S-Video input */
1998 .vmux = 0,
1999 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -07002000 },{
2001 .name = name_comp2, /* Composite input */
2002 .vmux = 3,
2003 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -07002004 },{
2005 .name = name_svideo, /* S-Video signal on S-Video input */
2006 .vmux = 8,
2007 .amux = LINE2,
Linus Torvalds1da177e2005-04-16 15:20:36 -07002008 }},
Peter Missel7c7fea62007-04-27 12:31:14 -03002009 .radio = {
2010 .name = name_radio,
2011 .amux = TV,
2012 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
2013 },
Linus Torvalds1da177e2005-04-16 15:20:36 -07002014 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07002015 [SAA7134_BOARD_PHILIPS_TOUGH] = {
2016 .name = "Philips TOUGH DVB-T reference design",
2017 .tuner_type = TUNER_ABSENT,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07002018 .audio_clock = 0x00187de7,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07002019 .radio_type = UNSET,
2020 .tuner_addr = ADDR_UNSET,
2021 .radio_addr = ADDR_UNSET,
2022 .mpeg = SAA7134_MPEG_DVB,
2023 .inputs = {{
2024 .name = name_comp1,
2025 .vmux = 0,
2026 .amux = LINE1,
2027 },{
2028 .name = name_svideo,
2029 .vmux = 8,
2030 .amux = LINE1,
2031 }},
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07002032 },
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07002033 [SAA7134_BOARD_AVERMEDIA_307] = {
2034 /*
2035 Davydov Vladimir <vladimir@iqmedia.com>
2036 */
2037 .name = "Avermedia AVerTV 307",
2038 .audio_clock = 0x00187de7,
2039 .tuner_type = TUNER_PHILIPS_FQ1216ME,
2040 .radio_type = UNSET,
2041 .tuner_addr = ADDR_UNSET,
2042 .radio_addr = ADDR_UNSET,
2043 .tda9887_conf = TDA9887_PRESENT,
2044 .inputs = {{
2045 .name = name_tv,
2046 .vmux = 1,
2047 .amux = TV,
2048 .tv = 1,
2049 },{
2050 .name = name_comp1,
2051 .vmux = 0,
2052 .amux = LINE1,
2053 },{
2054 .name = name_comp2,
2055 .vmux = 3,
2056 .amux = LINE1,
2057 },{
2058 .name = name_svideo,
2059 .vmux = 8,
2060 .amux = LINE1,
2061 }},
2062 },
2063 [SAA7134_BOARD_ADS_INSTANT_TV] = {
2064 .name = "ADS Tech Instant TV (saa7135)",
2065 .audio_clock = 0x00187de7,
2066 .tuner_type = TUNER_PHILIPS_TDA8290,
2067 .radio_type = UNSET,
2068 .tuner_addr = ADDR_UNSET,
2069 .radio_addr = ADDR_UNSET,
2070 .inputs = {{
2071 .name = name_tv,
2072 .vmux = 1,
2073 .amux = TV,
2074 .tv = 1,
2075 },{
2076 .name = name_comp1,
2077 .vmux = 3,
2078 .amux = LINE2,
2079 },{
2080 .name = name_svideo,
2081 .vmux = 8,
2082 .amux = LINE2,
2083 }},
2084 },
2085 [SAA7134_BOARD_KWORLD_VSTREAM_XPERT] = {
2086 .name = "Kworld/Tevion V-Stream Xpert TV PVR7134",
2087 .audio_clock = 0x00187de7,
2088 .tuner_type = TUNER_PHILIPS_PAL_I,
2089 .radio_type = UNSET,
2090 .tuner_addr = ADDR_UNSET,
2091 .radio_addr = ADDR_UNSET,
2092 .gpiomask = 0x0700,
2093 .inputs = {{
2094 .name = name_tv,
2095 .vmux = 1,
2096 .amux = TV,
2097 .tv = 1,
2098 .gpio = 0x000,
2099 },{
2100 .name = name_comp1,
2101 .vmux = 3,
2102 .amux = LINE1,
2103 .gpio = 0x200, /* gpio by DScaler */
2104 },{
2105 .name = name_svideo,
2106 .vmux = 0,
2107 .amux = LINE1,
2108 .gpio = 0x200,
2109 }},
2110 .radio = {
2111 .name = name_radio,
2112 .amux = LINE1,
2113 .gpio = 0x100,
2114 },
2115 .mute = {
2116 .name = name_mute,
2117 .amux = TV,
2118 .gpio = 0x000,
2119 },
2120 },
Peter Missel10b7a902006-01-23 17:11:06 -02002121 [SAA7134_BOARD_FLYDVBT_DUO_CARDBUS] = {
Hartmut Hackmann2c591942006-08-07 14:03:32 -03002122 .name = "LifeView/Typhoon/Genius FlyDVB-T Duo Cardbus",
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07002123 .audio_clock = 0x00200000,
2124 .tuner_type = TUNER_PHILIPS_TDA8290,
2125 .radio_type = UNSET,
2126 .tuner_addr = ADDR_UNSET,
2127 .radio_addr = ADDR_UNSET,
2128 .mpeg = SAA7134_MPEG_DVB,
Peter Missel10b7a902006-01-23 17:11:06 -02002129 .gpiomask = 0x00200000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07002130 .inputs = {{
2131 .name = name_tv,
2132 .vmux = 1,
2133 .amux = TV,
Peter Missel10b7a902006-01-23 17:11:06 -02002134 .gpio = 0x200000, /* GPIO21=High for TV input */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07002135 .tv = 1,
2136 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07002137 .name = name_svideo, /* S-Video signal on S-Video input */
2138 .vmux = 8,
2139 .amux = LINE2,
Peter Missel10b7a902006-01-23 17:11:06 -02002140 },{
2141 .name = name_comp1, /* Composite signal on S-Video input */
2142 .vmux = 0,
2143 .amux = LINE2,
2144 },{
2145 .name = name_comp2, /* Composite input */
2146 .vmux = 3,
2147 .amux = LINE2,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07002148 }},
2149 .radio = {
2150 .name = name_radio,
Peter Missel10b7a902006-01-23 17:11:06 -02002151 .amux = TV,
2152 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07002153 },
2154 },
2155 [SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII] = {
2156 .name = "Compro VideoMate TV Gold+II",
2157 .audio_clock = 0x002187de7,
2158 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
2159 .radio_type = TUNER_TEA5767,
2160 .tuner_addr = 0x63,
2161 .radio_addr = 0x60,
2162 .gpiomask = 0x8c1880,
2163 .inputs = {{
2164 .name = name_svideo,
2165 .vmux = 0,
2166 .amux = LINE1,
2167 .gpio = 0x800800,
2168 },{
2169 .name = name_comp1,
2170 .vmux = 3,
2171 .amux = LINE1,
2172 .gpio = 0x801000,
2173 },{
2174 .name = name_tv,
2175 .vmux = 1,
2176 .amux = TV,
2177 .tv = 1,
2178 .gpio = 0x800000,
2179 }},
2180 .radio = {
2181 .name = name_radio,
2182 .amux = TV,
2183 .gpio = 0x880000,
2184 },
2185 .mute = {
2186 .name = name_mute,
2187 .amux = LINE2,
2188 .gpio = 0x840000,
2189 },
2190 },
2191 [SAA7134_BOARD_KWORLD_XPERT] = {
2192 /*
2193 FIXME:
2194 - Remote control doesn't initialize properly.
2195 - Audio volume starts muted,
2196 then gradually increases after channel change.
2197 - Overlay scaling problems (application error?)
2198 - Composite S-Video untested.
2199 From: Konrad Rzepecki <hannibal@megapolis.pl>
2200 */
2201 .name = "Kworld Xpert TV PVR7134",
2202 .audio_clock = 0x00187de7,
2203 .tuner_type = TUNER_TENA_9533_DI,
2204 .radio_type = TUNER_TEA5767,
2205 .tuner_addr = 0x61,
2206 .radio_addr = 0x60,
2207 .gpiomask = 0x0700,
2208 .inputs = {{
2209 .name = name_tv,
2210 .vmux = 1,
2211 .amux = TV,
2212 .tv = 1,
2213 .gpio = 0x000,
2214 },{
2215 .name = name_comp1,
2216 .vmux = 3,
2217 .amux = LINE1,
2218 .gpio = 0x200, /* gpio by DScaler */
2219 },{
2220 .name = name_svideo,
2221 .vmux = 0,
2222 .amux = LINE1,
2223 .gpio = 0x200,
2224 }},
2225 .radio = {
2226 .name = name_radio,
2227 .amux = LINE1,
2228 .gpio = 0x100,
2229 },
2230 .mute = {
2231 .name = name_mute,
2232 .amux = TV,
2233 .gpio = 0x000,
2234 },
2235 },
Mauro Carvalho Chehab2f180712005-09-09 13:03:46 -07002236 [SAA7134_BOARD_FLYTV_DIGIMATRIX] = {
2237 .name = "FlyTV mini Asus Digimatrix",
2238 .audio_clock = 0x00200000,
Michael Krufkyf3629be2006-03-11 17:02:01 -03002239 .tuner_type = TUNER_LG_TALN,
Mauro Carvalho Chehab2f180712005-09-09 13:03:46 -07002240 .radio_type = UNSET,
2241 .tuner_addr = ADDR_UNSET,
2242 .radio_addr = ADDR_UNSET,
2243 .inputs = {{
2244 .name = name_tv,
2245 .vmux = 1,
2246 .amux = TV,
2247 .tv = 1,
2248 },{
2249 .name = name_tv_mono,
2250 .vmux = 1,
2251 .amux = LINE2,
2252 .tv = 1,
2253 },{
2254 .name = name_comp1,
2255 .vmux = 0,
2256 .amux = LINE2,
2257 },{
2258 .name = name_comp2,
2259 .vmux = 3,
2260 .amux = LINE2,
2261 },{
2262 .name = name_svideo,
2263 .vmux = 8,
2264 .amux = LINE2,
2265 }},
2266 .radio = {
2267 .name = name_radio, /* radio unconfirmed */
2268 .amux = LINE2,
2269 },
2270 },
Mauro Carvalho Chehab260784d2005-09-09 13:03:49 -07002271 [SAA7134_BOARD_KWORLD_TERMINATOR] = {
2272 /* Kworld V-Stream Studio TV Terminator */
2273 /* "James Webb <jrwebb@qwest.net> */
2274 .name = "V-Stream Studio TV Terminator",
2275 .audio_clock = 0x00187de7,
2276 .tuner_type = TUNER_PHILIPS_TDA8290,
2277 .radio_type = UNSET,
2278 .tuner_addr = ADDR_UNSET,
2279 .radio_addr = ADDR_UNSET,
2280 .gpiomask = 1 << 21,
2281 .inputs = {{
2282 .name = name_tv,
2283 .vmux = 1,
2284 .amux = TV,
2285 .gpio = 0x0000000,
2286 .tv = 1,
2287 },{
2288 .name = name_comp1, /* Composite input */
2289 .vmux = 3,
2290 .amux = LINE2,
2291 .gpio = 0x0000000,
2292 },{
2293 .name = name_svideo, /* S-Video input */
2294 .vmux = 8,
2295 .amux = LINE2,
2296 .gpio = 0x0000000,
2297 }},
2298 .radio = {
2299 .name = name_radio,
2300 .amux = TV,
2301 .gpio = 0x0200000,
2302 },
2303 },
Mauro Carvalho Chehab4279f022005-09-09 13:03:51 -07002304 [SAA7134_BOARD_YUAN_TUN900] = {
2305 /* FIXME:
2306 * S-Video and composite sources untested.
2307 * Radio not working.
2308 * Remote control not yet implemented.
2309 * From : codemaster@webgeeks.be */
2310 .name = "Yuan TUN-900 (saa7135)",
2311 .audio_clock = 0x00187de7,
2312 .tuner_type = TUNER_PHILIPS_TDA8290,
2313 .radio_type = UNSET,
2314 .tuner_addr= ADDR_UNSET,
2315 .radio_addr= ADDR_UNSET,
2316 .gpiomask = 0x00010003,
2317 .inputs = {{
2318 .name = name_tv,
2319 .vmux = 1,
2320 .amux = TV,
2321 .tv = 1,
2322 .gpio = 0x01,
2323 },{
2324 .name = name_comp1,
2325 .vmux = 0,
2326 .amux = LINE2,
2327 .gpio = 0x02,
2328 },{
2329 .name = name_svideo,
2330 .vmux = 6,
2331 .amux = LINE2,
2332 .gpio = 0x02,
2333 }},
2334 .radio = {
2335 .name = name_radio,
2336 .amux = LINE1,
2337 .gpio = 0x00010003,
2338 },
2339 .mute = {
2340 .name = name_mute,
2341 .amux = TV,
2342 .gpio = 0x01,
2343 },
2344 },
Nickolay V. Shmyreva8ff4172005-11-08 21:36:16 -08002345 [SAA7134_BOARD_BEHOLD_409FM] = {
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002346 /* <http://tuner.beholder.ru>, Sergey <skiv@orel.ru> */
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03002347 /* Beholder Intl. Ltd. 2008 */
2348 /*Dmitry Belimov <d.belimov@gmail.com> */
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002349 .name = "Beholder BeholdTV 409 FM",
2350 .audio_clock = 0x00187de7,
2351 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
2352 .radio_type = UNSET,
2353 .tuner_addr = ADDR_UNSET,
2354 .radio_addr = ADDR_UNSET,
2355 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03002356 .gpiomask = 0x00008000,
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002357 .inputs = {{
2358 .name = name_tv,
Nickolay V. Shmyreva8ff4172005-11-08 21:36:16 -08002359 .vmux = 3,
2360 .amux = TV,
2361 .tv = 1,
2362 },{
2363 .name = name_comp1,
2364 .vmux = 1,
2365 .amux = LINE1,
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002366 },{
2367 .name = name_svideo,
Nickolay V. Shmyreva8ff4172005-11-08 21:36:16 -08002368 .vmux = 8,
2369 .amux = LINE1,
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002370 }},
2371 .radio = {
2372 .name = name_radio,
Nickolay V. Shmyreva8ff4172005-11-08 21:36:16 -08002373 .amux = LINE2,
Trent Piepho657de3c2006-06-20 00:30:57 -03002374 },
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002375 },
2376 [SAA7134_BOARD_GOTVIEW_7135] = {
Nickolay V. Shmyrevdcd555e2005-11-08 21:36:23 -08002377 /* Mike Baikov <mike@baikov.com> */
Nickolay V. Shmyrev6b961442005-11-08 21:36:22 -08002378 /* Andrey Cvetcov <ays14@yandex.ru> */
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002379 .name = "GoTView 7135 PCI",
2380 .audio_clock = 0x00187de7,
2381 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
2382 .radio_type = UNSET,
2383 .tuner_addr = ADDR_UNSET,
2384 .radio_addr = ADDR_UNSET,
2385 .tda9887_conf = TDA9887_PRESENT,
2386 .gpiomask = 0x00200003,
2387 .inputs = {{
2388 .name = name_tv,
2389 .vmux = 1,
2390 .amux = TV,
2391 .tv = 1,
2392 .gpio = 0x00200003,
2393 },{
2394 .name = name_tv_mono,
2395 .vmux = 1,
2396 .amux = LINE2,
2397 .gpio = 0x00200003,
2398 },{
2399 .name = name_comp1,
2400 .vmux = 3,
2401 .amux = LINE1,
2402 .gpio = 0x00200003,
2403 },{
2404 .name = name_svideo,
2405 .vmux = 8,
2406 .amux = LINE1,
2407 .gpio = 0x00200003,
2408 }},
2409 .radio = {
2410 .name = name_radio,
2411 .amux = LINE2,
2412 .gpio = 0x00200003,
2413 },
2414 .mute = {
2415 .name = name_mute,
2416 .amux = TV,
2417 .gpio = 0x00200003,
2418 },
2419 },
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08002420 [SAA7134_BOARD_PHILIPS_EUROPA] = {
2421 .name = "Philips EUROPA V3 reference design",
2422 .audio_clock = 0x00187de7,
2423 .tuner_type = TUNER_PHILIPS_TD1316,
2424 .radio_type = UNSET,
2425 .tuner_addr = 0x61,
2426 .radio_addr = ADDR_UNSET,
Hartmut Hackmann44fd06f2006-02-27 00:09:11 -03002427 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08002428 .mpeg = SAA7134_MPEG_DVB,
2429 .inputs = {{
2430 .name = name_tv,
2431 .vmux = 3,
2432 .amux = TV,
2433 .tv = 1,
2434 },{
2435 .name = name_comp1,
2436 .vmux = 0,
2437 .amux = LINE2,
2438 },{
2439 .name = name_svideo,
2440 .vmux = 8,
2441 .amux = LINE2,
2442 }},
2443 },
2444 [SAA7134_BOARD_VIDEOMATE_DVBT_300] = {
2445 .name = "Compro Videomate DVB-T300",
2446 .audio_clock = 0x00187de7,
2447 .tuner_type = TUNER_PHILIPS_TD1316,
2448 .radio_type = UNSET,
2449 .tuner_addr = 0x61,
2450 .radio_addr = ADDR_UNSET,
Hartmut Hackmann44fd06f2006-02-27 00:09:11 -03002451 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08002452 .mpeg = SAA7134_MPEG_DVB,
2453 .inputs = {{
2454 .name = name_tv,
2455 .vmux = 3,
2456 .amux = TV,
2457 .tv = 1,
2458 },{
2459 .name = name_comp1,
2460 .vmux = 1,
2461 .amux = LINE2,
2462 },{
2463 .name = name_svideo,
2464 .vmux = 8,
2465 .amux = LINE2,
2466 }},
2467 },
2468 [SAA7134_BOARD_VIDEOMATE_DVBT_200] = {
2469 .name = "Compro Videomate DVB-T200",
2470 .tuner_type = TUNER_ABSENT,
2471 .audio_clock = 0x00187de7,
2472 .radio_type = UNSET,
2473 .tuner_addr = ADDR_UNSET,
2474 .radio_addr = ADDR_UNSET,
2475 .mpeg = SAA7134_MPEG_DVB,
2476 .inputs = {{
2477 .name = name_comp1,
2478 .vmux = 0,
2479 .amux = LINE1,
2480 },{
2481 .name = name_svideo,
2482 .vmux = 8,
2483 .amux = LINE1,
2484 }},
2485 },
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002486 [SAA7134_BOARD_RTD_VFG7350] = {
2487 .name = "RTD Embedded Technologies VFG7350",
2488 .audio_clock = 0x00200000,
2489 .tuner_type = TUNER_ABSENT,
2490 .radio_type = UNSET,
2491 .tuner_addr = ADDR_UNSET,
2492 .radio_addr = ADDR_UNSET,
Hans Verkuil195784b2009-03-28 09:27:02 -03002493 .empress_addr = 0x21,
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002494 .inputs = {{
2495 .name = "Composite 0",
2496 .vmux = 0,
2497 .amux = LINE1,
2498 },{
2499 .name = "Composite 1",
2500 .vmux = 1,
2501 .amux = LINE2,
2502 },{
2503 .name = "Composite 2",
2504 .vmux = 2,
2505 .amux = LINE1,
2506 },{
2507 .name = "Composite 3",
2508 .vmux = 3,
2509 .amux = LINE2,
2510 },{
2511 .name = "S-Video 0",
2512 .vmux = 8,
2513 .amux = LINE1,
2514 },{
2515 .name = "S-Video 1",
2516 .vmux = 9,
2517 .amux = LINE2,
2518 }},
2519 .mpeg = SAA7134_MPEG_EMPRESS,
2520 .video_out = CCIR656,
Robert W. Boone2f8d4f52005-11-08 21:37:10 -08002521 .vid_port_opts = ( SET_T_CODE_POLARITY_NON_INVERTED |
2522 SET_CLOCK_NOT_DELAYED |
2523 SET_CLOCK_INVERTED |
2524 SET_VSYNC_OFF ),
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08002525 },
2526 [SAA7134_BOARD_RTD_VFG7330] = {
2527 .name = "RTD Embedded Technologies VFG7330",
2528 .audio_clock = 0x00200000,
2529 .tuner_type = TUNER_ABSENT,
2530 .radio_type = UNSET,
2531 .tuner_addr = ADDR_UNSET,
2532 .radio_addr = ADDR_UNSET,
2533 .inputs = {{
2534 .name = "Composite 0",
2535 .vmux = 0,
2536 .amux = LINE1,
2537 },{
2538 .name = "Composite 1",
2539 .vmux = 1,
2540 .amux = LINE2,
2541 },{
2542 .name = "Composite 2",
2543 .vmux = 2,
2544 .amux = LINE1,
2545 },{
2546 .name = "Composite 3",
2547 .vmux = 3,
2548 .amux = LINE2,
2549 },{
2550 .name = "S-Video 0",
2551 .vmux = 8,
2552 .amux = LINE1,
2553 },{
2554 .name = "S-Video 1",
2555 .vmux = 9,
2556 .amux = LINE2,
2557 }},
2558 },
Mauro Carvalho Chehab058afaf2005-11-08 21:36:49 -08002559 [SAA7134_BOARD_FLYTVPLATINUM_MINI2] = {
2560 .name = "LifeView FlyTV Platinum Mini2",
2561 .audio_clock = 0x00200000,
2562 .tuner_type = TUNER_PHILIPS_TDA8290,
2563 .radio_type = UNSET,
2564 .tuner_addr = ADDR_UNSET,
2565 .radio_addr = ADDR_UNSET,
2566
2567 .inputs = {{
2568 .name = name_tv,
2569 .vmux = 1,
2570 .amux = TV,
2571 .tv = 1,
2572 },{
2573 .name = name_comp1, /* Composite signal on S-Video input */
2574 .vmux = 0,
2575 .amux = LINE2,
2576 },{
2577 .name = name_comp2, /* Composite input */
2578 .vmux = 3,
2579 .amux = LINE2,
2580 },{
2581 .name = name_svideo,
2582 .vmux = 8,
2583 .amux = LINE2,
2584 }},
2585 },
Michael Krufky76bc3a32005-11-08 21:37:27 -08002586 [SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180] = {
Michael Krufkyac113d12005-11-08 21:38:21 -08002587 /* Michael Krufky <mkrufky@m1k.net>
2588 * Uses Alps Electric TDHU2, containing NXT2004 ATSC Decoder
2589 * AFAIK, there is no analog demod, thus,
2590 * no support for analog television.
2591 */
Michael Krufky76bc3a32005-11-08 21:37:27 -08002592 .name = "AVerMedia AVerTVHD MCE A180",
2593 .audio_clock = 0x00187de7,
2594 .tuner_type = TUNER_ABSENT,
2595 .radio_type = UNSET,
2596 .tuner_addr = ADDR_UNSET,
2597 .radio_addr = ADDR_UNSET,
Michael Krufky3b64e8e2005-11-08 21:38:20 -08002598 .mpeg = SAA7134_MPEG_DVB,
Michael Krufky76bc3a32005-11-08 21:37:27 -08002599 .inputs = {{
2600 .name = name_comp1,
2601 .vmux = 3,
2602 .amux = LINE2,
2603 },{
2604 .name = name_svideo,
2605 .vmux = 8,
2606 .amux = LINE2,
2607 }},
2608 },
Pieter Palmerscf1c5d12005-11-08 21:37:40 -08002609 [SAA7134_BOARD_MONSTERTV_MOBILE] = {
2610 .name = "SKNet MonsterTV Mobile",
2611 .audio_clock = 0x00187de7,
2612 .tuner_type = TUNER_PHILIPS_TDA8290,
2613 .radio_type = UNSET,
2614 .tuner_addr = ADDR_UNSET,
2615 .radio_addr = ADDR_UNSET,
2616
2617 .inputs = {{
2618 .name = name_tv,
2619 .vmux = 1,
2620 .amux = TV,
2621 .tv = 1,
2622 },{
2623 .name = name_comp1,
2624 .vmux = 3,
2625 .amux = LINE1,
2626 },{
2627 .name = name_svideo,
2628 .vmux = 6,
2629 .amux = LINE1,
2630 }},
2631 },
Ricardo Cerqueirac2f6f9d2005-11-08 21:37:51 -08002632 [SAA7134_BOARD_PINNACLE_PCTV_110i] = {
Karsten Suehringcb46e3c2006-02-27 00:08:08 -03002633 .name = "Pinnacle PCTV 40i/50i/110i (saa7133)",
Ricardo Cerqueirac2f6f9d2005-11-08 21:37:51 -08002634 .audio_clock = 0x00187de7,
2635 .tuner_type = TUNER_PHILIPS_TDA8290,
2636 .radio_type = UNSET,
2637 .tuner_addr = ADDR_UNSET,
2638 .radio_addr = ADDR_UNSET,
2639 .gpiomask = 0x080200000,
Yuri Funduryaneec25fa2008-02-17 01:22:37 -03002640 .inputs = { {
2641 .name = name_tv,
2642 .vmux = 4,
2643 .amux = TV,
2644 .tv = 1,
2645 }, {
2646 .name = name_comp1,
2647 .vmux = 1,
2648 .amux = LINE2,
2649 }, {
2650 .name = name_comp2,
2651 .vmux = 0,
2652 .amux = LINE2,
2653 }, {
2654 .name = name_svideo,
2655 .vmux = 8,
2656 .amux = LINE2,
2657 } },
Ricardo Cerqueirac2f6f9d2005-11-08 21:37:51 -08002658 .radio = {
Yuri Funduryaneec25fa2008-02-17 01:22:37 -03002659 .name = name_radio,
2660 .amux = TV,
2661 .gpio = 0x0200000,
Ricardo Cerqueirac2f6f9d2005-11-08 21:37:51 -08002662 },
2663 },
Hermann Pitton28f02242005-11-08 21:38:03 -08002664 [SAA7134_BOARD_ASUSTeK_P7131_DUAL] = {
2665 .name = "ASUSTeK P7131 Dual",
2666 .audio_clock = 0x00187de7,
2667 .tuner_type = TUNER_PHILIPS_TDA8290,
2668 .radio_type = UNSET,
2669 .tuner_addr = ADDR_UNSET,
2670 .radio_addr = ADDR_UNSET,
2671 .gpiomask = 1 << 21,
Hartmut Hackmannd4b0aba2005-11-08 21:38:44 -08002672 .mpeg = SAA7134_MPEG_DVB,
Hermann Pitton28f02242005-11-08 21:38:03 -08002673 .inputs = {{
2674 .name = name_tv,
2675 .vmux = 1,
2676 .amux = TV,
2677 .tv = 1,
Hartmut Hackmann83646812006-10-12 20:38:51 -03002678 .gpio = 0x0000000,
Hermann Pitton28f02242005-11-08 21:38:03 -08002679 },{
2680 .name = name_comp1,
2681 .vmux = 3,
2682 .amux = LINE2,
Hartmut Hackmann83646812006-10-12 20:38:51 -03002683 .gpio = 0x0200000,
Hermann Pitton28f02242005-11-08 21:38:03 -08002684 },{
Hermann Pitton8387c662006-12-10 21:08:03 -03002685 .name = name_comp2,
2686 .vmux = 0,
2687 .amux = LINE2,
2688 .gpio = 0x0200000,
2689 },{
Hermann Pitton28f02242005-11-08 21:38:03 -08002690 .name = name_svideo,
2691 .vmux = 8,
2692 .amux = LINE2,
Hartmut Hackmann83646812006-10-12 20:38:51 -03002693 .gpio = 0x0200000,
Hermann Pitton28f02242005-11-08 21:38:03 -08002694 }},
2695 .radio = {
2696 .name = name_radio,
2697 .amux = TV,
2698 .gpio = 0x0200000,
2699 },
2700 },
Ricardo Cerqueira17ce1ff2005-11-08 21:38:47 -08002701 [SAA7134_BOARD_SEDNA_PC_TV_CARDBUS] = {
Paul T Zalacfe2e36c2005-11-08 21:38:04 -08002702 /* Paul Tom Zalac <pzalac@gmail.com> */
Pavel Mihaylovc3d93192005-11-08 21:38:43 -08002703 /* Pavel Mihaylov <bin@bash.info> */
Ricardo Cerqueira17ce1ff2005-11-08 21:38:47 -08002704 .name = "Sedna/MuchTV PC TV Cardbus TV/Radio (ITO25 Rev:2B)",
2705 /* Sedna/MuchTV (OEM) Cardbus TV Tuner */
Paul T Zalacfe2e36c2005-11-08 21:38:04 -08002706 .audio_clock = 0x00187de7,
Pavel Mihaylovc3d93192005-11-08 21:38:43 -08002707 .tuner_type = TUNER_PHILIPS_TDA8290,
Paul T Zalacfe2e36c2005-11-08 21:38:04 -08002708 .radio_type = UNSET,
2709 .tuner_addr = ADDR_UNSET,
2710 .radio_addr = ADDR_UNSET,
Pavel Mihaylovc3d93192005-11-08 21:38:43 -08002711 .gpiomask = 0xe880c0,
Paul T Zalacfe2e36c2005-11-08 21:38:04 -08002712 .inputs = {{
Pavel Mihaylovc3d93192005-11-08 21:38:43 -08002713 .name = name_tv,
2714 .vmux = 3,
2715 .amux = TV,
2716 .tv = 1,
2717 },{
Paul T Zalacfe2e36c2005-11-08 21:38:04 -08002718 .name = name_comp1,
2719 .vmux = 1,
Pavel Mihaylovc3d93192005-11-08 21:38:43 -08002720 .amux = LINE1,
2721 },{
2722 .name = name_svideo,
2723 .vmux = 6,
2724 .amux = LINE1,
Paul T Zalacfe2e36c2005-11-08 21:38:04 -08002725 }},
Pavel Mihaylovc3d93192005-11-08 21:38:43 -08002726 .radio = {
2727 .name = name_radio,
2728 .amux = LINE2,
2729 },
Paul T Zalacfe2e36c2005-11-08 21:38:04 -08002730 },
Michael Krufky5d5c9902005-11-08 21:38:08 -08002731 [SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV] = {
2732 /* "Cyril Lacoux (Yack)" <clacoux@ifeelgood.org> */
2733 .name = "ASUS Digimatrix TV",
2734 .audio_clock = 0x00200000,
2735 .tuner_type = TUNER_PHILIPS_FQ1216ME,
2736 .tda9887_conf = TDA9887_PRESENT,
2737 .radio_type = UNSET,
2738 .tuner_addr = ADDR_UNSET,
2739 .radio_addr = ADDR_UNSET,
2740 .inputs = {{
2741 .name = name_tv,
2742 .vmux = 1,
2743 .amux = TV,
2744 .tv = 1,
2745 },{
2746 .name = name_comp1,
2747 .vmux = 3,
2748 .amux = LINE1,
2749 },{
2750 .name = name_svideo,
2751 .vmux = 8,
2752 .amux = LINE1,
2753 }},
2754 },
Hartmut Hackmann90e9df72005-11-08 21:38:42 -08002755 [SAA7134_BOARD_PHILIPS_TIGER] = {
2756 .name = "Philips Tiger reference design",
2757 .audio_clock = 0x00187de7,
2758 .tuner_type = TUNER_PHILIPS_TDA8290,
2759 .radio_type = UNSET,
2760 .tuner_addr = ADDR_UNSET,
2761 .radio_addr = ADDR_UNSET,
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03002762 .tuner_config = 0,
Hartmut Hackmann90e9df72005-11-08 21:38:42 -08002763 .mpeg = SAA7134_MPEG_DVB,
Hartmut Hackmannde956c12007-04-27 12:31:12 -03002764 .gpiomask = 0x0200000,
Hartmut Hackmann90e9df72005-11-08 21:38:42 -08002765 .inputs = {{
2766 .name = name_tv,
2767 .vmux = 1,
2768 .amux = TV,
2769 .tv = 1,
2770 },{
2771 .name = name_comp1,
2772 .vmux = 3,
2773 .amux = LINE1,
2774 },{
2775 .name = name_svideo,
2776 .vmux = 8,
2777 .amux = LINE1,
2778 }},
Hartmut Hackmann0f79c362006-01-14 21:26:44 -02002779 .radio = {
2780 .name = name_radio,
2781 .amux = TV,
2782 .gpio = 0x0200000,
2783 },
Hartmut Hackmann90e9df72005-11-08 21:38:42 -08002784 },
Ricardo Cerqueira80d2ad92005-11-13 16:08:01 -08002785 [SAA7134_BOARD_MSI_TVATANYWHERE_PLUS] = {
2786 .name = "MSI TV@Anywhere plus",
2787 .audio_clock = 0x00187de7,
2788 .tuner_type = TUNER_PHILIPS_TDA8290,
2789 .radio_type = UNSET,
2790 .tuner_addr = ADDR_UNSET,
2791 .radio_addr = ADDR_UNSET,
hermann pittone382f622007-01-07 21:19:48 -03002792 .gpiomask = 1 << 21,
Ricardo Cerqueira80d2ad92005-11-13 16:08:01 -08002793 .inputs = {{
2794 .name = name_tv,
2795 .vmux = 1,
2796 .amux = TV,
2797 .tv = 1,
2798 },{
2799 .name = name_comp1,
2800 .vmux = 3,
hermann pittone382f622007-01-07 21:19:48 -03002801 .amux = LINE2, /* unconfirmed, taken from Philips driver */
2802 },{
2803 .name = name_comp2,
2804 .vmux = 0, /* untested, Composite over S-Video */
2805 .amux = LINE2,
Ricardo Cerqueira80d2ad92005-11-13 16:08:01 -08002806 },{
2807 .name = name_svideo,
hermann pittone382f622007-01-07 21:19:48 -03002808 .vmux = 8,
2809 .amux = LINE2,
Ricardo Cerqueira80d2ad92005-11-13 16:08:01 -08002810 }},
2811 .radio = {
2812 .name = name_radio,
hermann pittone382f622007-01-07 21:19:48 -03002813 .amux = TV,
2814 .gpio = 0x0200000,
Ricardo Cerqueira80d2ad92005-11-13 16:08:01 -08002815 },
2816 },
Jörg Schummerf639c9b2006-01-09 15:25:01 -02002817 [SAA7134_BOARD_CINERGY250PCI] = {
2818 /* remote-control does not work. The signal about a
2819 key press comes in via gpio, but the key code
2820 doesn't. Neither does it have an i2c remote control
2821 interface. */
2822 .name = "Terratec Cinergy 250 PCI TV",
2823 .audio_clock = 0x00187de7,
2824 .tuner_type = TUNER_PHILIPS_TDA8290,
2825 .radio_type = UNSET,
2826 .tuner_addr = ADDR_UNSET,
2827 .radio_addr = ADDR_UNSET,
2828 .gpiomask = 0x80200000,
2829 .inputs = {{
2830 .name = name_tv,
2831 .vmux = 1,
2832 .amux = TV,
2833 .tv = 1,
2834 },{
2835 .name = name_svideo, /* NOT tested */
2836 .vmux = 8,
2837 .amux = LINE1,
2838 }},
2839 .radio = {
2840 .name = name_radio,
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03002841 .amux = TV,
Jörg Schummerf639c9b2006-01-09 15:25:01 -02002842 .gpio = 0x0200000,
2843 },
2844 },
Peter Missel4aa6ba52006-01-09 15:32:45 -02002845 [SAA7134_BOARD_FLYDVB_TRIO] = {
2846 /* LifeView LR319 FlyDVB Trio */
2847 /* Peter Missel <peter.missel@onlinehome.de> */
2848 .name = "LifeView FlyDVB Trio",
2849 .audio_clock = 0x00200000,
2850 .tuner_type = TUNER_PHILIPS_TDA8290,
2851 .radio_type = UNSET,
2852 .tuner_addr = ADDR_UNSET,
2853 .radio_addr = ADDR_UNSET,
2854 .gpiomask = 0x00200000,
Hartmut Hackmann293cdab2006-02-27 21:08:07 -03002855 .mpeg = SAA7134_MPEG_DVB,
Peter Missel4aa6ba52006-01-09 15:32:45 -02002856 .inputs = {{
2857 .name = name_tv, /* Analog broadcast/cable TV */
2858 .vmux = 1,
2859 .amux = TV,
2860 .gpio = 0x200000, /* GPIO21=High for TV input */
2861 .tv = 1,
2862 },{
2863 .name = name_svideo, /* S-Video signal on S-Video input */
2864 .vmux = 8,
2865 .amux = LINE2,
2866 },{
2867 .name = name_comp1, /* Composite signal on S-Video input */
2868 .vmux = 0,
2869 .amux = LINE2,
2870 },{
2871 .name = name_comp2, /* Composite input */
2872 .vmux = 3,
2873 .amux = LINE2,
2874 }},
2875 .radio = {
2876 .name = name_radio,
2877 .amux = TV,
2878 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
2879 },
2880 },
Jose Alberto Regueroa78d0bf2006-02-07 06:25:14 -02002881 [SAA7134_BOARD_AVERMEDIA_777] = {
2882 .name = "AverTV DVB-T 777",
2883 .audio_clock = 0x00187de7,
2884 .tuner_type = TUNER_ABSENT,
2885 .radio_type = UNSET,
2886 .tuner_addr = ADDR_UNSET,
2887 .radio_addr = ADDR_UNSET,
2888 .mpeg = SAA7134_MPEG_DVB,
2889 .inputs = {{
2890 .name = name_comp1,
Hartmut Hackmann2174eb92006-03-27 19:15:47 -03002891 .vmux = 1,
Jose Alberto Regueroa78d0bf2006-02-07 06:25:14 -02002892 .amux = LINE1,
2893 },{
2894 .name = name_svideo,
2895 .vmux = 8,
2896 .amux = LINE1,
2897 }},
2898 },
Giampiero Giancipoli3d8466e2006-02-07 06:49:09 -02002899 [SAA7134_BOARD_FLYDVBT_LR301] = {
2900 /* LifeView FlyDVB-T */
2901 /* Giampiero Giancipoli <gianci@libero.it> */
Hartmut Hackmann42e6b3b2006-03-27 19:04:48 -03002902 .name = "LifeView FlyDVB-T / Genius VideoWonder DVB-T",
Giampiero Giancipoli3d8466e2006-02-07 06:49:09 -02002903 .audio_clock = 0x00200000,
2904 .tuner_type = TUNER_ABSENT,
2905 .radio_type = UNSET,
2906 .tuner_addr = ADDR_UNSET,
2907 .radio_addr = ADDR_UNSET,
2908 .mpeg = SAA7134_MPEG_DVB,
2909 .inputs = {{
2910 .name = name_comp1, /* Composite input */
2911 .vmux = 3,
2912 .amux = LINE2,
2913 },{
2914 .name = name_svideo, /* S-Video signal on S-Video input */
2915 .vmux = 8,
2916 .amux = LINE2,
2917 }},
2918 },
Hartmut Hackmanndf42eaf2006-02-07 06:49:10 -02002919 [SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331] = {
2920 .name = "ADS Instant TV Duo Cardbus PTV331",
2921 .audio_clock = 0x00200000,
2922 .tuner_type = TUNER_PHILIPS_TDA8290,
2923 .radio_type = UNSET,
2924 .tuner_addr = ADDR_UNSET,
2925 .radio_addr = ADDR_UNSET,
2926 .mpeg = SAA7134_MPEG_DVB,
2927 .gpiomask = 0x00600000, /* Bit 21 0=Radio, Bit 22 0=TV */
2928 .inputs = {{
2929 .name = name_tv,
2930 .vmux = 1,
2931 .amux = TV,
2932 .tv = 1,
2933 .gpio = 0x00200000,
2934 }},
2935 },
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02002936 [SAA7134_BOARD_TEVION_DVBT_220RF] = {
Adrian Bunk793f2252006-03-08 10:50:06 -03002937 .name = "Tevion/KWorld DVB-T 220RF",
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02002938 .audio_clock = 0x00187de7,
2939 .tuner_type = TUNER_PHILIPS_TDA8290,
2940 .radio_type = UNSET,
2941 .tuner_addr = ADDR_UNSET,
2942 .radio_addr = ADDR_UNSET,
2943 .mpeg = SAA7134_MPEG_DVB,
Simon Farnsworth289ea1f2007-09-10 13:37:26 -03002944 .gpiomask = 1 << 21,
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02002945 .inputs = {{
2946 .name = name_tv,
2947 .vmux = 1,
2948 .amux = TV,
2949 .tv = 1,
2950 },{
2951 .name = name_comp1,
2952 .vmux = 3,
2953 .amux = LINE1,
2954 },{
Simon Farnsworth289ea1f2007-09-10 13:37:26 -03002955 .name = name_comp2,
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02002956 .vmux = 0,
2957 .amux = LINE1,
Simon Farnsworth289ea1f2007-09-10 13:37:26 -03002958 },{
2959 .name = name_svideo,
2960 .vmux = 8,
2961 .amux = LINE1,
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02002962 }},
2963 .radio = {
2964 .name = name_radio,
Simon Farnsworth289ea1f2007-09-10 13:37:26 -03002965 .amux = TV,
2966 .gpio = 0x0200000,
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02002967 },
2968 },
Simon Farnsworthb39423a2007-05-01 10:01:20 -03002969 [SAA7134_BOARD_KWORLD_DVBT_210] = {
2970 .name = "KWorld DVB-T 210",
2971 .audio_clock = 0x00187de7,
2972 .tuner_type = TUNER_PHILIPS_TDA8290,
2973 .radio_type = UNSET,
2974 .tuner_addr = ADDR_UNSET,
2975 .radio_addr = ADDR_UNSET,
2976 .mpeg = SAA7134_MPEG_DVB,
2977 .gpiomask = 1 << 21,
2978 .inputs = {{
2979 .name = name_tv,
2980 .vmux = 1,
2981 .amux = TV,
2982 .tv = 1,
2983 },{
2984 .name = name_comp1,
2985 .vmux = 3,
2986 .amux = LINE1,
2987 },{
2988 .name = name_svideo,
2989 .vmux = 8,
2990 .amux = LINE1,
2991 }},
2992 .radio = {
2993 .name = name_radio,
2994 .amux = TV,
2995 .gpio = 0x0200000,
2996 },
2997 },
Andrew Burri3e1410a2006-02-27 00:08:23 -03002998 [SAA7134_BOARD_KWORLD_ATSC110] = {
Eric Sandeen0ac3a5b2007-10-08 16:13:02 -03002999 .name = "Kworld ATSC110/115",
Andrew Burri3e1410a2006-02-27 00:08:23 -03003000 .audio_clock = 0x00187de7,
3001 .tuner_type = TUNER_PHILIPS_TUV1236D,
3002 .radio_type = UNSET,
3003 .tuner_addr = ADDR_UNSET,
3004 .radio_addr = ADDR_UNSET,
3005 .tda9887_conf = TDA9887_PRESENT,
3006 .mpeg = SAA7134_MPEG_DVB,
3007 .inputs = {{
3008 .name = name_tv,
3009 .vmux = 1,
3010 .amux = TV,
3011 .tv = 1,
Curt Meyers6ba509d2006-02-27 00:08:32 -03003012 },{
3013 .name = name_comp1,
3014 .vmux = 3,
3015 .amux = LINE2,
3016 },{
3017 .name = name_svideo,
3018 .vmux = 8,
3019 .amux = LINE2,
Andrew Burri3e1410a2006-02-27 00:08:23 -03003020 }},
3021 },
Rickard Osser68593af2006-03-11 17:14:12 -03003022 [SAA7134_BOARD_AVERMEDIA_A169_B] = {
3023 /* AVerMedia A169 */
3024 /* Rickard Osser <ricky@osser.se> */
3025 /* This card has two saa7134 chips on it,
3026 but only one of them is currently working. */
3027 .name = "AVerMedia A169 B",
3028 .audio_clock = 0x02187de7,
3029 .tuner_type = TUNER_LG_TALN,
3030 .radio_type = UNSET,
3031 .tuner_addr = ADDR_UNSET,
3032 .radio_addr = ADDR_UNSET,
3033 .tda9887_conf = TDA9887_PRESENT,
3034 .gpiomask = 0x0a60000,
3035 },
3036 [SAA7134_BOARD_AVERMEDIA_A169_B1] = {
3037 /* AVerMedia A169 */
3038 /* Rickard Osser <ricky@osser.se> */
3039 .name = "AVerMedia A169 B1",
3040 .audio_clock = 0x02187de7,
3041 .tuner_type = TUNER_LG_TALN,
3042 .radio_type = UNSET,
3043 .tuner_addr = ADDR_UNSET,
3044 .radio_addr = ADDR_UNSET,
3045 .tda9887_conf = TDA9887_PRESENT,
3046 .gpiomask = 0xca60000,
3047 .inputs = {{
3048 .name = name_tv,
3049 .vmux = 4,
3050 .amux = TV,
3051 .tv = 1,
3052 .gpio = 0x04a61000,
3053 },{
3054 .name = name_comp2, /* Composite SVIDEO (B/W if signal is carried with SVIDEO) */
3055 .vmux = 1,
3056 .amux = LINE2,
3057 },{
3058 .name = name_svideo,
3059 .vmux = 9, /* 9 is correct as S-VIDEO1 according to a169.inf! */
3060 .amux = LINE1,
3061 }},
3062 },
Michael Krufkyba3a5a82006-03-14 19:02:12 -03003063 [SAA7134_BOARD_MD7134_BRIDGE_2] = {
Hartmut Hackmann637afdb2008-04-22 14:46:08 -03003064 /* The second saa7134 on this card only serves as DVB-S host bridge */
Michael Krufkyba3a5a82006-03-14 19:02:12 -03003065 .name = "Medion 7134 Bridge #2",
3066 .audio_clock = 0x00187de7,
3067 .radio_type = UNSET,
3068 .tuner_addr = ADDR_UNSET,
3069 .radio_addr = ADDR_UNSET,
Hartmut Hackmann637afdb2008-04-22 14:46:08 -03003070 .mpeg = SAA7134_MPEG_DVB,
Michael Krufkyba3a5a82006-03-14 19:02:12 -03003071 },
Hartmut Hackmannd95b8942006-03-27 19:39:30 -03003072 [SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS] = {
Mauro Carvalho Chehab593f18c2007-10-07 02:17:09 -03003073 .name = "LifeView FlyDVB-T Hybrid Cardbus/MSI TV @nywhere A/D NB",
Hartmut Hackmannd95b8942006-03-27 19:39:30 -03003074 .audio_clock = 0x00200000,
3075 .tuner_type = TUNER_PHILIPS_TDA8290,
3076 .radio_type = UNSET,
3077 .tuner_addr = ADDR_UNSET,
3078 .radio_addr = ADDR_UNSET,
3079 .mpeg = SAA7134_MPEG_DVB,
3080 .gpiomask = 0x00600000, /* Bit 21 0=Radio, Bit 22 0=TV */
3081 .inputs = {{
3082 .name = name_tv,
3083 .vmux = 1,
3084 .amux = TV,
3085 .gpio = 0x200000, /* GPIO21=High for TV input */
3086 .tv = 1,
3087 },{
3088 .name = name_svideo, /* S-Video signal on S-Video input */
3089 .vmux = 8,
3090 .amux = LINE2,
3091 },{
3092 .name = name_comp1, /* Composite signal on S-Video input */
3093 .vmux = 0,
3094 .amux = LINE2,
3095 },{
3096 .name = name_comp2, /* Composite input */
3097 .vmux = 3,
3098 .amux = LINE2,
3099 }},
3100 .radio = {
3101 .name = name_radio,
3102 .amux = TV,
3103 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
3104 },
3105 },
Zac Bowlingf49ba8d2006-06-19 19:49:20 -03003106 [SAA7134_BOARD_FLYVIDEO3000_NTSC] = {
3107 /* "Zac Bowling" <zac@zacbowling.com> */
3108 .name = "LifeView FlyVIDEO3000 (NTSC)",
3109 .audio_clock = 0x00200000,
3110 .tuner_type = TUNER_PHILIPS_NTSC,
3111 .radio_type = UNSET,
3112 .tuner_addr = ADDR_UNSET,
3113 .radio_addr = ADDR_UNSET,
3114
3115 .gpiomask = 0xe000,
3116 .inputs = {{
3117 .name = name_tv,
3118 .vmux = 1,
3119 .amux = TV,
3120 .gpio = 0x8000,
3121 .tv = 1,
3122 },{
3123 .name = name_tv_mono,
3124 .vmux = 1,
3125 .amux = LINE2,
3126 .gpio = 0x0000,
3127 .tv = 1,
3128 },{
3129 .name = name_comp1,
3130 .vmux = 0,
3131 .amux = LINE2,
3132 .gpio = 0x4000,
3133 },{
3134 .name = name_comp2,
3135 .vmux = 3,
3136 .amux = LINE2,
3137 .gpio = 0x4000,
3138 },{
3139 .name = name_svideo,
3140 .vmux = 8,
3141 .amux = LINE2,
3142 .gpio = 0x4000,
3143 }},
3144 .radio = {
3145 .name = name_radio,
3146 .amux = LINE2,
3147 .gpio = 0x2000,
3148 },
3149 .mute = {
3150 .name = name_mute,
3151 .amux = TV,
3152 .gpio = 0x8000,
3153 },
3154 },
Hartmut Hackmann5eda2272006-08-07 14:03:32 -03003155 [SAA7134_BOARD_MEDION_MD8800_QUADRO] = {
3156 .name = "Medion Md8800 Quadro",
3157 .audio_clock = 0x00187de7,
3158 .tuner_type = TUNER_PHILIPS_TDA8290,
3159 .radio_type = UNSET,
3160 .tuner_addr = ADDR_UNSET,
3161 .radio_addr = ADDR_UNSET,
3162 .mpeg = SAA7134_MPEG_DVB,
3163 .inputs = {{
3164 .name = name_tv,
3165 .vmux = 1,
3166 .amux = TV,
3167 .tv = 1,
3168 },{
3169 .name = name_comp1,
3170 .vmux = 0,
hermann pitton387a2992007-10-25 21:26:53 -03003171 .amux = LINE1,
Hartmut Hackmann5eda2272006-08-07 14:03:32 -03003172 },{
3173 .name = name_svideo,
3174 .vmux = 8,
hermann pitton387a2992007-10-25 21:26:53 -03003175 .amux = LINE1,
Hartmut Hackmann5eda2272006-08-07 14:03:32 -03003176 }},
3177 },
Igor M. Liplianine2ac28f2006-08-08 09:10:10 -03003178 [SAA7134_BOARD_FLYDVBS_LR300] = {
3179 /* LifeView FlyDVB-s */
3180 /* Igor M. Liplianin <liplianin@tut.by> */
3181 .name = "LifeView FlyDVB-S /Acorp TV134DS",
3182 .audio_clock = 0x00200000,
3183 .tuner_type = TUNER_ABSENT,
3184 .radio_type = UNSET,
3185 .tuner_addr = ADDR_UNSET,
3186 .radio_addr = ADDR_UNSET,
3187 .mpeg = SAA7134_MPEG_DVB,
3188 .inputs = {{
3189 .name = name_comp1, /* Composite input */
3190 .vmux = 3,
3191 .amux = LINE1,
3192 },{
3193 .name = name_svideo, /* S-Video signal on S-Video input */
3194 .vmux = 8,
3195 .amux = LINE1,
3196 }},
3197 },
Michal Majchrowiczb04c1ba2006-09-13 16:42:42 -03003198 [SAA7134_BOARD_PROTEUS_2309] = {
3199 .name = "Proteus Pro 2309",
3200 .audio_clock = 0x00187de7,
3201 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3202 .radio_type = UNSET,
3203 .tuner_addr = ADDR_UNSET,
3204 .radio_addr = ADDR_UNSET,
3205 .tda9887_conf = TDA9887_PRESENT,
3206 .inputs = {{
3207 .name = name_tv,
3208 .vmux = 1,
3209 .amux = LINE2,
3210 .tv = 1,
3211 },{
3212 .name = name_comp1,
3213 .vmux = 0,
3214 .amux = LINE2,
3215 },{
3216 .name = name_comp2,
3217 .vmux = 3,
3218 .amux = LINE2,
3219 },{
3220 .name = name_svideo,
3221 .vmux = 8,
3222 .amux = LINE2,
3223 }},
3224 .mute = {
3225 .name = name_mute,
3226 .amux = LINE1,
3227 },
3228 },
Petr Baudis515c2082006-09-26 16:53:53 -03003229 [SAA7134_BOARD_AVERMEDIA_A16AR] = {
3230 /* Petr Baudis <pasky@ucw.cz> */
3231 .name = "AVerMedia TV Hybrid A16AR",
3232 .audio_clock = 0x187de7,
pasky@ucw.cz0871a882006-11-12 14:24:57 -03003233 .tuner_type = TUNER_PHILIPS_TD1316, /* untested */
Petr Baudis515c2082006-09-26 16:53:53 -03003234 .radio_type = TUNER_TEA5767, /* untested */
3235 .tuner_addr = ADDR_UNSET,
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03003236 .radio_addr = 0x60,
Petr Baudis515c2082006-09-26 16:53:53 -03003237 .tda9887_conf = TDA9887_PRESENT,
3238 .mpeg = SAA7134_MPEG_DVB,
3239 .inputs = {{
3240 .name = name_tv,
3241 .vmux = 1,
3242 .amux = TV,
3243 .tv = 1,
3244 },{
3245 .name = name_comp1,
3246 .vmux = 3,
3247 .amux = LINE2,
3248 },{
3249 .name = name_svideo,
3250 .vmux = 8,
3251 .amux = LINE1,
3252 }},
3253 .radio = {
3254 .name = name_radio,
3255 .amux = LINE1,
3256 },
3257 },
Hartmut Hackmanncf146ca2006-10-02 20:49:24 -03003258 [SAA7134_BOARD_ASUS_EUROPA2_HYBRID] = {
3259 .name = "Asus Europa2 OEM",
3260 .audio_clock = 0x00187de7,
3261 .tuner_type = TUNER_PHILIPS_FMD1216ME_MK3,
3262 .radio_type = UNSET,
3263 .tuner_addr = ADDR_UNSET,
3264 .radio_addr = ADDR_UNSET,
3265 .tda9887_conf = TDA9887_PRESENT| TDA9887_PORT1_ACTIVE | TDA9887_PORT2_ACTIVE,
3266 .mpeg = SAA7134_MPEG_DVB,
3267 .inputs = {{
3268 .name = name_tv,
3269 .vmux = 3,
3270 .amux = TV,
3271 .tv = 1,
3272 },{
3273 .name = name_comp1,
3274 .vmux = 4,
3275 .amux = LINE2,
3276 },{
3277 .name = name_svideo,
3278 .vmux = 8,
3279 .amux = LINE2,
3280 }},
3281 .radio = {
3282 .name = name_radio,
3283 .amux = LINE1,
3284 },
3285 },
Hartmut Hackmann587d2fd2006-10-06 19:13:50 -03003286 [SAA7134_BOARD_PINNACLE_PCTV_310i] = {
3287 .name = "Pinnacle PCTV 310i",
3288 .audio_clock = 0x00187de7,
3289 .tuner_type = TUNER_PHILIPS_TDA8290,
3290 .radio_type = UNSET,
3291 .tuner_addr = ADDR_UNSET,
3292 .radio_addr = ADDR_UNSET,
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03003293 .tuner_config = 1,
Hartmut Hackmann587d2fd2006-10-06 19:13:50 -03003294 .mpeg = SAA7134_MPEG_DVB,
3295 .gpiomask = 0x000200000,
3296 .inputs = {{
3297 .name = name_tv,
3298 .vmux = 4,
3299 .amux = TV,
3300 .tv = 1,
3301 },{
3302 .name = name_comp1,
3303 .vmux = 1,
3304 .amux = LINE2,
3305 },{
3306 .name = name_comp2,
3307 .vmux = 0,
3308 .amux = LINE2,
3309 },{
3310 .name = name_svideo,
3311 .vmux = 8,
3312 .amux = LINE2,
3313 }},
3314 .radio = {
3315 .name = name_radio,
3316 .amux = TV,
3317 .gpio = 0x0200000,
3318 },
3319 },
Mikhail Fedotov3ac706d2006-10-06 20:23:47 -03003320 [SAA7134_BOARD_AVERMEDIA_STUDIO_507] = {
3321 /* Mikhail Fedotov <mo_fedotov@mail.ru> */
3322 .name = "Avermedia AVerTV Studio 507",
3323 .audio_clock = 0x00187de7,
3324 .tuner_type = TUNER_PHILIPS_FM1256_IH3,
3325 .radio_type = UNSET,
3326 .tuner_addr = ADDR_UNSET,
3327 .radio_addr = ADDR_UNSET,
3328 .tda9887_conf = TDA9887_PRESENT,
3329 .gpiomask = 0x03,
3330 .inputs = {{
3331 .name = name_tv,
3332 .vmux = 1,
3333 .amux = TV,
3334 .tv = 1,
3335 .gpio = 0x00,
3336 },{
3337 .name = name_comp1,
3338 .vmux = 0,
3339 .amux = LINE2,
3340 .gpio = 0x00,
3341 },{
3342 .name = name_comp2,
3343 .vmux = 3,
3344 .amux = LINE2,
3345 .gpio = 0x00,
3346 },{
3347 .name = name_svideo,
3348 .vmux = 8,
3349 .amux = LINE2,
3350 .gpio = 0x00,
3351 }},
3352 .radio = {
3353 .name = name_radio,
3354 .amux = LINE2,
3355 .gpio = 0x01,
3356 },
3357 .mute = {
3358 .name = name_mute,
3359 .amux = LINE1,
3360 .gpio = 0x00,
3361 },
3362 },
Hartmut Hackmanncbb94522006-10-30 20:00:16 -03003363 [SAA7134_BOARD_VIDEOMATE_DVBT_200A] = {
3364 /* Francis Barber <fedora@barber-family.id.au> */
3365 .name = "Compro Videomate DVB-T200A",
3366 .audio_clock = 0x00187de7,
3367 .tuner_type = TUNER_ABSENT,
3368 .radio_type = UNSET,
3369 .tuner_addr = ADDR_UNSET,
3370 .radio_addr = ADDR_UNSET,
3371 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
3372 .mpeg = SAA7134_MPEG_DVB,
3373 .inputs = {{
3374 .name = name_tv,
3375 .vmux = 3,
3376 .amux = TV,
3377 .tv = 1,
3378 },{
3379 .name = name_comp1,
3380 .vmux = 1,
3381 .amux = LINE2,
3382 },{
3383 .name = name_svideo,
3384 .vmux = 8,
3385 .amux = LINE2,
3386 }},
3387 },
Thomas Gentyc6e53da2006-11-05 14:17:30 -03003388 [SAA7134_BOARD_HAUPPAUGE_HVR1110] = {
3389 /* Thomas Genty <tomlohave@gmail.com> */
David Bentham8acdbcf2008-09-28 16:29:51 -03003390 /* David Bentham <db260179@hotmail.com> */
Thomas Gentyc6e53da2006-11-05 14:17:30 -03003391 .name = "Hauppauge WinTV-HVR1110 DVB-T/Hybrid",
3392 .audio_clock = 0x00187de7,
3393 .tuner_type = TUNER_PHILIPS_TDA8290,
3394 .radio_type = UNSET,
3395 .tuner_addr = ADDR_UNSET,
3396 .radio_addr = ADDR_UNSET,
Michael Krufkyb3aa2262007-12-09 21:13:38 -03003397 .tuner_config = 1,
Thomas Gentyc6e53da2006-11-05 14:17:30 -03003398 .mpeg = SAA7134_MPEG_DVB,
David Bentham8acdbcf2008-09-28 16:29:51 -03003399 .gpiomask = 0x0200100,
Thomas Gentyc6e53da2006-11-05 14:17:30 -03003400 .inputs = {{
3401 .name = name_tv,
3402 .vmux = 1,
3403 .amux = TV,
3404 .tv = 1,
David Bentham8acdbcf2008-09-28 16:29:51 -03003405 .gpio = 0x0000100,
3406 }, {
3407 .name = name_comp1,
3408 .vmux = 3,
3409 .amux = LINE1,
3410 }, {
3411 .name = name_svideo,
3412 .vmux = 8,
3413 .amux = LINE1,
3414 } },
Thomas Gentyc6e53da2006-11-05 14:17:30 -03003415 .radio = {
3416 .name = name_radio,
David Bentham8acdbcf2008-09-28 16:29:51 -03003417 .amux = TV,
3418 .gpio = 0x0200100,
Thomas Gentyc6e53da2006-11-05 14:17:30 -03003419 },
3420 },
Michael Krufkyb5f05062009-08-03 16:51:33 -03003421 [SAA7134_BOARD_HAUPPAUGE_HVR1150] = {
3422 .name = "Hauppauge WinTV-HVR1150 ATSC/QAM-Hybrid",
Michael Krufkyf9996c92009-02-28 17:45:17 -03003423 .audio_clock = 0x00187de7,
3424 .tuner_type = TUNER_PHILIPS_TDA8290,
3425 .radio_type = UNSET,
3426 .tuner_addr = ADDR_UNSET,
3427 .radio_addr = ADDR_UNSET,
3428 .tuner_config = 3,
Michael Krufky3abdedd2009-01-19 01:10:49 -03003429 .mpeg = SAA7134_MPEG_DVB,
3430 .ts_type = SAA7134_MPEG_TS_SERIAL,
Michael Krufkyf9996c92009-02-28 17:45:17 -03003431 .gpiomask = 0x0800100, /* GPIO 21 is an INPUT */
3432 .inputs = {{
3433 .name = name_tv,
3434 .vmux = 1,
3435 .amux = TV,
3436 .tv = 1,
3437 .gpio = 0x0000100,
3438 }, {
3439 .name = name_comp1,
3440 .vmux = 3,
3441 .amux = LINE1,
3442 }, {
3443 .name = name_svideo,
3444 .vmux = 8,
3445 .amux = LINE1,
3446 } },
3447 .radio = {
3448 .name = name_radio,
3449 .amux = TV,
3450 .gpio = 0x0800100, /* GPIO 23 HI for FM */
3451 },
3452 },
Michael Krufky0e316ec2009-08-03 16:51:33 -03003453 [SAA7134_BOARD_HAUPPAUGE_HVR1120] = {
3454 .name = "Hauppauge WinTV-HVR1120 DVB-T/Hybrid",
Michael Krufkyf9996c92009-02-28 17:45:17 -03003455 .audio_clock = 0x00187de7,
3456 .tuner_type = TUNER_PHILIPS_TDA8290,
3457 .radio_type = UNSET,
3458 .tuner_addr = ADDR_UNSET,
3459 .radio_addr = ADDR_UNSET,
3460 .tuner_config = 3,
Michael Krufky1bc7f512009-01-19 01:10:49 -03003461 .mpeg = SAA7134_MPEG_DVB,
3462 .ts_type = SAA7134_MPEG_TS_SERIAL,
Michael Krufkyf9996c92009-02-28 17:45:17 -03003463 .gpiomask = 0x0800100, /* GPIO 21 is an INPUT */
3464 .inputs = {{
3465 .name = name_tv,
3466 .vmux = 1,
3467 .amux = TV,
3468 .tv = 1,
3469 .gpio = 0x0000100,
3470 }, {
3471 .name = name_comp1,
3472 .vmux = 3,
3473 .amux = LINE1,
3474 }, {
3475 .name = name_svideo,
3476 .vmux = 8,
3477 .amux = LINE1,
3478 } },
3479 .radio = {
3480 .name = name_radio,
3481 .amux = TV,
3482 .gpio = 0x0800100, /* GPIO 23 HI for FM */
3483 },
3484 },
Hartmut Hackmann550a9a52006-11-15 21:31:54 -03003485 [SAA7134_BOARD_CINERGY_HT_PCMCIA] = {
3486 .name = "Terratec Cinergy HT PCMCIA",
3487 .audio_clock = 0x00187de7,
3488 .tuner_type = TUNER_PHILIPS_TDA8290,
3489 .radio_type = UNSET,
3490 .tuner_addr = ADDR_UNSET,
3491 .radio_addr = ADDR_UNSET,
3492 .mpeg = SAA7134_MPEG_DVB,
3493 .inputs = {{
3494 .name = name_tv,
3495 .vmux = 1,
3496 .amux = TV,
3497 .tv = 1,
3498 },{
3499 .name = name_comp1,
3500 .vmux = 0,
3501 .amux = LINE1,
3502 },{
3503 .name = name_svideo,
3504 .vmux = 6,
3505 .amux = LINE1,
3506 }},
3507 },
Steven Walterd1158f42006-12-20 09:29:09 -03003508 [SAA7134_BOARD_ENCORE_ENLTV] = {
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03003509 /* Steven Walter <stevenrwalter@gmail.com>
3510 Juan Pablo Sormani <sorman@gmail.com> */
Steven Walterd1158f42006-12-20 09:29:09 -03003511 .name = "Encore ENLTV",
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03003512 .audio_clock = 0x00200000,
Steven Walterd1158f42006-12-20 09:29:09 -03003513 .tuner_type = TUNER_TNF_5335MF,
3514 .radio_type = UNSET,
3515 .tuner_addr = ADDR_UNSET,
3516 .radio_addr = ADDR_UNSET,
3517 .inputs = {{
3518 .name = name_tv,
3519 .vmux = 1,
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03003520 .amux = 3,
Steven Walterd1158f42006-12-20 09:29:09 -03003521 .tv = 1,
3522 },{
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03003523 .name = name_tv_mono,
3524 .vmux = 7,
3525 .amux = 4,
3526 .tv = 1,
3527 },{
3528 .name = name_comp1,
3529 .vmux = 3,
3530 .amux = 2,
3531 },{
Steven Walterd1158f42006-12-20 09:29:09 -03003532 .name = name_svideo,
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03003533 .vmux = 0,
3534 .amux = 2,
Steven Walterd1158f42006-12-20 09:29:09 -03003535 }},
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03003536 .radio = {
3537 .name = name_radio,
3538 .amux = LINE2,
3539/* .gpio = 0x00300001,*/
3540 .gpio = 0x20000,
3541
3542 },
3543 .mute = {
3544 .name = name_mute,
3545 .amux = 0,
3546 },
3547 },
3548 [SAA7134_BOARD_ENCORE_ENLTV_FM] = {
3549 /* Juan Pablo Sormani <sorman@gmail.com> */
3550 .name = "Encore ENLTV-FM",
3551 .audio_clock = 0x00200000,
Michael Krufkyab8b8702008-04-22 14:46:05 -03003552 .tuner_type = TUNER_PHILIPS_FCV1236D,
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03003553 .radio_type = UNSET,
3554 .tuner_addr = ADDR_UNSET,
3555 .radio_addr = ADDR_UNSET,
3556 .inputs = {{
3557 .name = name_tv,
3558 .vmux = 1,
3559 .amux = 3,
3560 .tv = 1,
3561 },{
3562 .name = name_tv_mono,
3563 .vmux = 7,
3564 .amux = 4,
3565 .tv = 1,
3566 },{
3567 .name = name_comp1,
3568 .vmux = 3,
3569 .amux = 2,
3570 },{
3571 .name = name_svideo,
3572 .vmux = 0,
3573 .amux = 2,
3574 }},
3575 .radio = {
3576 .name = name_radio,
3577 .amux = LINE2,
3578 .gpio = 0x20000,
3579
3580 },
3581 .mute = {
3582 .name = name_mute,
3583 .amux = 0,
3584 },
Steven Walterd1158f42006-12-20 09:29:09 -03003585 },
Mauro Carvalho Chehabbf1ece62008-06-26 17:03:00 -03003586 [SAA7134_BOARD_ENCORE_ENLTV_FM53] = {
3587 .name = "Encore ENLTV-FM v5.3",
3588 .audio_clock = 0x00200000,
3589 .tuner_type = TUNER_TNF_5335MF,
3590 .radio_type = UNSET,
3591 .tuner_addr = ADDR_UNSET,
3592 .radio_addr = ADDR_UNSET,
3593 .gpiomask = 0x7000,
3594 .inputs = { {
3595 .name = name_tv,
3596 .vmux = 1,
3597 .amux = 1,
3598 .tv = 1,
3599 .gpio = 0x50000,
3600 }, {
3601 .name = name_comp1,
3602 .vmux = 3,
3603 .amux = 2,
3604 .gpio = 0x2000,
3605 }, {
3606 .name = name_svideo,
3607 .vmux = 8,
3608 .amux = 2,
3609 .gpio = 0x2000,
3610 } },
3611 .radio = {
3612 .name = name_radio,
3613 .vmux = 1,
3614 .amux = 1,
3615 },
3616 .mute = {
3617 .name = name_mute,
3618 .gpio = 0xf000,
3619 .amux = 0,
3620 },
3621 },
Michael Krufky9de271e2007-01-16 18:36:40 -03003622 [SAA7134_BOARD_CINERGY_HT_PCI] = {
3623 .name = "Terratec Cinergy HT PCI",
3624 .audio_clock = 0x00187de7,
3625 .tuner_type = TUNER_PHILIPS_TDA8290,
3626 .radio_type = UNSET,
3627 .tuner_addr = ADDR_UNSET,
3628 .radio_addr = ADDR_UNSET,
3629 .mpeg = SAA7134_MPEG_DVB,
3630 .inputs = {{
3631 .name = name_tv,
3632 .vmux = 1,
3633 .amux = TV,
3634 .tv = 1,
3635 },{
3636 .name = name_comp1,
3637 .vmux = 0,
3638 .amux = LINE1,
3639 },{
3640 .name = name_svideo,
3641 .vmux = 6,
3642 .amux = LINE1,
3643 }},
3644 },
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03003645 [SAA7134_BOARD_PHILIPS_TIGER_S] = {
3646 .name = "Philips Tiger - S Reference design",
3647 .audio_clock = 0x00187de7,
3648 .tuner_type = TUNER_PHILIPS_TDA8290,
3649 .radio_type = UNSET,
3650 .tuner_addr = ADDR_UNSET,
3651 .radio_addr = ADDR_UNSET,
3652 .tuner_config = 2,
3653 .mpeg = SAA7134_MPEG_DVB,
3654 .gpiomask = 0x0200000,
3655 .inputs = {{
3656 .name = name_tv,
3657 .vmux = 1,
3658 .amux = TV,
3659 .tv = 1,
3660 },{
3661 .name = name_comp1,
3662 .vmux = 3,
3663 .amux = LINE1,
3664 },{
3665 .name = name_svideo,
3666 .vmux = 8,
3667 .amux = LINE1,
3668 }},
3669 .radio = {
3670 .name = name_radio,
3671 .amux = TV,
3672 .gpio = 0x0200000,
3673 },
3674 },
Markus Rechbergere95d3172007-04-27 12:31:19 -03003675 [SAA7134_BOARD_AVERMEDIA_M102] = {
3676 .name = "Avermedia M102",
3677 .audio_clock = 0x00187de7,
3678 .tuner_type = TUNER_PHILIPS_TDA8290,
3679 .radio_type = UNSET,
3680 .tuner_addr = ADDR_UNSET,
3681 .radio_addr = ADDR_UNSET,
3682 .gpiomask = 1<<21,
3683 .inputs = {{
3684 .name = name_tv,
3685 .vmux = 1,
3686 .amux = TV,
3687 .tv = 1,
3688 },{
3689 .name = name_comp1,
3690 .vmux = 0,
3691 .amux = LINE2,
3692 },{
3693 .name = name_svideo,
3694 .vmux = 6,
3695 .amux = LINE2,
3696 }},
3697 },
Hartmut Hackmanne06cea42007-03-13 20:58:29 -03003698 [SAA7134_BOARD_ASUS_P7131_4871] = {
3699 .name = "ASUS P7131 4871",
3700 .audio_clock = 0x00187de7,
3701 .tuner_type = TUNER_PHILIPS_TDA8290,
3702 .radio_type = UNSET,
3703 .tuner_addr = ADDR_UNSET,
3704 .radio_addr = ADDR_UNSET,
3705 .tuner_config = 2,
3706 .mpeg = SAA7134_MPEG_DVB,
3707 .gpiomask = 0x0200000,
3708 .inputs = {{
3709 .name = name_tv,
3710 .vmux = 1,
3711 .amux = TV,
3712 .tv = 1,
3713 .gpio = 0x0200000,
3714 }},
3715 },
Hartmut Hackmannf3eec0c02007-03-14 20:33:55 -03003716 [SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA] = {
3717 .name = "ASUSTeK P7131 Hybrid",
Hartmut Hackmanne06cea42007-03-13 20:58:29 -03003718 .audio_clock = 0x00187de7,
3719 .tuner_type = TUNER_PHILIPS_TDA8290,
3720 .radio_type = UNSET,
3721 .tuner_addr = ADDR_UNSET,
3722 .radio_addr = ADDR_UNSET,
3723 .tuner_config = 2,
3724 .gpiomask = 1 << 21,
3725 .mpeg = SAA7134_MPEG_DVB,
3726 .inputs = {{
3727 .name = name_tv,
3728 .vmux = 1,
3729 .amux = TV,
3730 .tv = 1,
3731 .gpio = 0x0000000,
3732 },{
3733 .name = name_comp1,
3734 .vmux = 3,
3735 .amux = LINE2,
3736 .gpio = 0x0200000,
3737 },{
3738 .name = name_comp2,
3739 .vmux = 0,
3740 .amux = LINE2,
3741 .gpio = 0x0200000,
3742 },{
3743 .name = name_svideo,
3744 .vmux = 8,
3745 .amux = LINE2,
3746 .gpio = 0x0200000,
3747 }},
3748 .radio = {
3749 .name = name_radio,
3750 .amux = TV,
3751 .gpio = 0x0200000,
3752 },
Mauro Carvalho Chehabdfb4ba12009-08-20 10:13:40 -03003753 },
3754 [SAA7134_BOARD_ASUSTeK_P7131_ANALOG] = {
Hermann Pitton0b17d0e2008-07-12 12:27:59 -03003755 .name = "ASUSTeK P7131 Analog",
3756 .audio_clock = 0x00187de7,
3757 .tuner_type = TUNER_PHILIPS_TDA8290,
3758 .radio_type = UNSET,
3759 .tuner_addr = ADDR_UNSET,
3760 .radio_addr = ADDR_UNSET,
3761 .gpiomask = 1 << 21,
3762 .inputs = {{
3763 .name = name_tv,
3764 .vmux = 1,
3765 .amux = TV,
3766 .tv = 1,
3767 .gpio = 0x0000000,
3768 }, {
3769 .name = name_comp1,
3770 .vmux = 3,
3771 .amux = LINE2,
3772 }, {
3773 .name = name_comp2,
3774 .vmux = 0,
3775 .amux = LINE2,
3776 }, {
3777 .name = name_svideo,
3778 .vmux = 8,
3779 .amux = LINE2,
3780 } },
3781 .radio = {
3782 .name = name_radio,
3783 .amux = TV,
3784 .gpio = 0x0200000,
3785 },
Hartmut Hackmanne06cea42007-03-13 20:58:29 -03003786 },
James T Klaas53958b32007-05-01 10:48:09 -03003787 [SAA7134_BOARD_SABRENT_TV_PCB05] = {
3788 .name = "Sabrent PCMCIA TV-PCB05",
3789 .audio_clock = 0x00187de7,
3790 .tuner_type = TUNER_PHILIPS_TDA8290,
3791 .radio_type = UNSET,
3792 .tuner_addr = ADDR_UNSET,
3793 .radio_addr = ADDR_UNSET,
3794 .inputs = {{
3795 .name = name_tv,
3796 .vmux = 1,
3797 .amux = TV,
3798 .tv = 1,
3799 },{
3800 .name = name_comp1,
3801 .vmux = 3,
3802 .amux = LINE1,
3803 },{
3804 .name = name_comp2,
3805 .vmux = 0,
3806 .amux = LINE1,
3807 },{
3808 .name = name_svideo,
3809 .vmux = 8,
3810 .amux = LINE1,
3811 }},
3812 .mute = {
3813 .name = name_mute,
3814 .amux = TV,
3815 },
3816 },
Tony Wanaaccb822007-05-10 12:16:47 -03003817 [SAA7134_BOARD_10MOONSTVMASTER3] = {
3818 /* Tony Wan <aloha_cn@hotmail.com> */
3819 .name = "10MOONS TM300 TV Card",
3820 .audio_clock = 0x00200000,
3821 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
3822 .radio_type = UNSET,
3823 .tuner_addr = ADDR_UNSET,
3824 .radio_addr = ADDR_UNSET,
3825 .gpiomask = 0x7000,
3826 .inputs = {{
3827 .name = name_tv,
3828 .vmux = 1,
3829 .amux = LINE2,
3830 .gpio = 0x0000,
3831 .tv = 1,
3832 },{
3833 .name = name_comp1,
3834 .vmux = 3,
3835 .amux = LINE1,
3836 .gpio = 0x2000,
3837 },{
3838 .name = name_svideo,
3839 .vmux = 8,
3840 .amux = LINE1,
3841 .gpio = 0x2000,
3842 }},
3843 .mute = {
3844 .name = name_mute,
3845 .amux = LINE2,
3846 .gpio = 0x3000,
3847 },
3848 },
Edgar Simod90d9f52007-08-20 14:14:50 -03003849 [SAA7134_BOARD_AVERMEDIA_SUPER_007] = {
3850 .name = "Avermedia Super 007",
3851 .audio_clock = 0x00187de7,
3852 .tuner_type = TUNER_PHILIPS_TDA8290,
3853 .radio_type = UNSET,
3854 .tuner_addr = ADDR_UNSET,
3855 .radio_addr = ADDR_UNSET,
3856 .tuner_config = 0,
3857 .mpeg = SAA7134_MPEG_DVB,
3858 .inputs = {{
3859 .name = name_tv, /* FIXME: analog tv untested */
3860 .vmux = 1,
3861 .amux = TV,
3862 .tv = 1,
3863 }},
3864 },
Mauro Carvalho Chehab36f6bb92008-06-26 17:03:00 -03003865 [SAA7134_BOARD_AVERMEDIA_M135A] = {
3866 .name = "Avermedia PCI pure analog (M135A)",
3867 .audio_clock = 0x00187de7,
3868 .tuner_type = TUNER_PHILIPS_TDA8290,
3869 .radio_type = UNSET,
3870 .tuner_addr = ADDR_UNSET,
3871 .radio_addr = ADDR_UNSET,
3872 .tuner_config = 2,
3873 .gpiomask = 0x020200000,
3874 .inputs = {{
3875 .name = name_tv,
3876 .vmux = 1,
3877 .amux = TV,
3878 .tv = 1,
3879 }, {
3880 .name = name_comp1,
3881 .vmux = 3,
3882 .amux = LINE1,
3883 }, {
3884 .name = name_svideo,
3885 .vmux = 8,
3886 .amux = LINE1,
3887 } },
3888 .radio = {
3889 .name = name_radio,
3890 .amux = TV,
3891 .gpio = 0x00200000,
3892 },
3893 .mute = {
3894 .name = name_mute,
3895 .amux = TV,
3896 .gpio = 0x01,
3897 },
3898 },
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003899 [SAA7134_BOARD_BEHOLD_401] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003900 /* Beholder Intl. Ltd. 2008 */
3901 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003902 .name = "Beholder BeholdTV 401",
3903 .audio_clock = 0x00187de7,
3904 .tuner_type = TUNER_PHILIPS_FQ1216ME,
3905 .radio_type = UNSET,
3906 .tuner_addr = ADDR_UNSET,
3907 .radio_addr = ADDR_UNSET,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003908 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003909 .inputs = {{
3910 .name = name_svideo,
3911 .vmux = 8,
3912 .amux = LINE1,
3913 },{
3914 .name = name_comp1,
3915 .vmux = 1,
3916 .amux = LINE1,
3917 },{
3918 .name = name_tv,
3919 .vmux = 3,
3920 .amux = LINE2,
3921 .tv = 1,
3922 }},
3923 .mute = {
3924 .name = name_mute,
3925 .amux = LINE1,
3926 },
3927 },
3928 [SAA7134_BOARD_BEHOLD_403] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003929 /* Beholder Intl. Ltd. 2008 */
3930 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003931 .name = "Beholder BeholdTV 403",
3932 .audio_clock = 0x00187de7,
3933 .tuner_type = TUNER_PHILIPS_FQ1216ME,
3934 .radio_type = UNSET,
3935 .tuner_addr = ADDR_UNSET,
3936 .radio_addr = ADDR_UNSET,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003937 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003938 .inputs = {{
3939 .name = name_svideo,
3940 .vmux = 8,
3941 .amux = LINE1,
3942 },{
3943 .name = name_comp1,
3944 .vmux = 1,
3945 .amux = LINE1,
3946 },{
3947 .name = name_tv,
3948 .vmux = 3,
3949 .amux = LINE2,
3950 .tv = 1,
3951 }},
3952 },
3953 [SAA7134_BOARD_BEHOLD_403FM] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003954 /* Beholder Intl. Ltd. 2008 */
3955 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003956 .name = "Beholder BeholdTV 403 FM",
3957 .audio_clock = 0x00187de7,
3958 .tuner_type = TUNER_PHILIPS_FQ1216ME,
3959 .radio_type = UNSET,
3960 .tuner_addr = ADDR_UNSET,
3961 .radio_addr = ADDR_UNSET,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003962 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003963 .inputs = {{
3964 .name = name_svideo,
3965 .vmux = 8,
3966 .amux = LINE1,
3967 },{
3968 .name = name_comp1,
3969 .vmux = 1,
3970 .amux = LINE1,
3971 },{
3972 .name = name_tv,
3973 .vmux = 3,
3974 .amux = LINE2,
3975 .tv = 1,
3976 }},
3977 .radio = {
3978 .name = name_radio,
3979 .amux = LINE2,
3980 },
3981 },
3982 [SAA7134_BOARD_BEHOLD_405] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003983 /* Beholder Intl. Ltd. 2008 */
3984 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003985 .name = "Beholder BeholdTV 405",
3986 .audio_clock = 0x00187de7,
3987 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3988 .radio_type = UNSET,
3989 .tuner_addr = ADDR_UNSET,
3990 .radio_addr = ADDR_UNSET,
3991 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03003992 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03003993 .inputs = {{
3994 .name = name_svideo,
3995 .vmux = 8,
3996 .amux = LINE1,
3997 },{
3998 .name = name_comp1,
3999 .vmux = 3,
4000 .amux = LINE1,
4001 },{
4002 .name = name_tv,
4003 .vmux = 3,
4004 .amux = LINE2,
4005 .tv = 1,
4006 }},
4007 },
4008 [SAA7134_BOARD_BEHOLD_405FM] = {
4009 /* Sergey <skiv@orel.ru> */
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03004010 /* Beholder Intl. Ltd. 2008 */
4011 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004012 .name = "Beholder BeholdTV 405 FM",
4013 .audio_clock = 0x00187de7,
4014 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4015 .radio_type = UNSET,
4016 .tuner_addr = ADDR_UNSET,
4017 .radio_addr = ADDR_UNSET,
4018 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03004019 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004020 .inputs = {{
4021 .name = name_svideo,
4022 .vmux = 8,
4023 .amux = LINE1,
4024 },{
4025 .name = name_comp1,
4026 .vmux = 3,
4027 .amux = LINE1,
4028 },{
4029 .name = name_tv,
4030 .vmux = 3,
4031 .amux = LINE2,
4032 .tv = 1,
4033 }},
4034 .radio = {
4035 .name = name_radio,
4036 .amux = LINE2,
4037 },
4038 },
Mauro Carvalho Chehab1434bc02008-01-07 05:20:04 -03004039 [SAA7134_BOARD_BEHOLD_407] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03004040 /* Beholder Intl. Ltd. 2008 */
4041 /*Dmitry Belimov <d.belimov@gmail.com> */
Mauro Carvalho Chehab1434bc02008-01-07 05:20:04 -03004042 .name = "Beholder BeholdTV 407",
4043 .audio_clock = 0x00187de7,
4044 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4045 .radio_type = UNSET,
4046 .tuner_addr = ADDR_UNSET,
4047 .radio_addr = ADDR_UNSET,
4048 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03004049 .gpiomask = 0x00008000,
Mauro Carvalho Chehab1434bc02008-01-07 05:20:04 -03004050 .inputs = {{
4051 .name = name_svideo,
4052 .vmux = 8,
4053 .amux = LINE1,
4054 .gpio = 0xc0c000,
4055 },{
4056 .name = name_comp1,
4057 .vmux = 1,
4058 .amux = LINE1,
4059 .gpio = 0xc0c000,
4060 },{
4061 .name = name_tv,
4062 .vmux = 3,
4063 .amux = TV,
4064 .tv = 1,
4065 .gpio = 0xc0c000,
4066 }},
4067 },
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004068 [SAA7134_BOARD_BEHOLD_407FM] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03004069 /* Beholder Intl. Ltd. 2008 */
4070 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004071 .name = "Beholder BeholdTV 407 FM",
4072 .audio_clock = 0x00187de7,
4073 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4074 .radio_type = UNSET,
4075 .tuner_addr = ADDR_UNSET,
4076 .radio_addr = ADDR_UNSET,
4077 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03004078 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004079 .inputs = {{
4080 .name = name_svideo,
4081 .vmux = 8,
4082 .amux = LINE1,
4083 .gpio = 0xc0c000,
4084 },{
4085 .name = name_comp1,
4086 .vmux = 1,
4087 .amux = LINE1,
4088 .gpio = 0xc0c000,
4089 },{
4090 .name = name_tv,
4091 .vmux = 3,
4092 .amux = TV,
4093 .tv = 1,
4094 .gpio = 0xc0c000,
4095 }},
4096 .radio = {
4097 .name = name_radio,
4098 .amux = LINE2,
4099 .gpio = 0xc0c000,
4100 },
4101 },
4102 [SAA7134_BOARD_BEHOLD_409] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03004103 /* Beholder Intl. Ltd. 2008 */
4104 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004105 .name = "Beholder BeholdTV 409",
4106 .audio_clock = 0x00187de7,
4107 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4108 .radio_type = UNSET,
4109 .tuner_addr = ADDR_UNSET,
4110 .radio_addr = ADDR_UNSET,
4111 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03004112 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004113 .inputs = {{
4114 .name = name_tv,
4115 .vmux = 3,
4116 .amux = TV,
4117 .tv = 1,
4118 },{
4119 .name = name_comp1,
4120 .vmux = 1,
4121 .amux = LINE1,
4122 },{
4123 .name = name_svideo,
4124 .vmux = 8,
4125 .amux = LINE1,
4126 }},
4127 },
4128 [SAA7134_BOARD_BEHOLD_505FM] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03004129 /* Beholder Intl. Ltd. 2008 */
4130 /*Dmitry Belimov <d.belimov@gmail.com> */
Dmitri Belimov84d728c2009-04-23 02:32:49 -03004131 .name = "Beholder BeholdTV 505 FM",
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004132 .audio_clock = 0x00200000,
4133 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4134 .radio_type = UNSET,
4135 .tuner_addr = ADDR_UNSET,
4136 .radio_addr = ADDR_UNSET,
4137 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03004138 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004139 .inputs = {{
4140 .name = name_tv,
4141 .vmux = 3,
4142 .amux = LINE2,
4143 .tv = 1,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03004144 }, {
4145 .name = name_comp1,
4146 .vmux = 1,
4147 .amux = LINE1,
4148 }, {
4149 .name = name_svideo,
4150 .vmux = 8,
4151 .amux = LINE1,
4152 } },
4153 .mute = {
4154 .name = name_mute,
4155 .amux = LINE1,
4156 },
4157 .radio = {
4158 .name = name_radio,
4159 .amux = LINE2,
4160 },
4161 },
4162 [SAA7134_BOARD_BEHOLD_505RDS] = {
4163 /* Beholder Intl. Ltd. 2008 */
4164 /*Dmitry Belimov <d.belimov@gmail.com> */
4165 .name = "Beholder BeholdTV 505 RDS",
4166 .audio_clock = 0x00200000,
4167 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, /* FIXME to MK5 */
4168 .radio_type = UNSET,
4169 .tuner_addr = ADDR_UNSET,
4170 .radio_addr = ADDR_UNSET,
Dmitri Belimov35c30572009-08-10 21:47:29 -03004171 .rds_addr = 0x10,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03004172 .tda9887_conf = TDA9887_PRESENT,
4173 .gpiomask = 0x00008000,
4174 .inputs = {{
4175 .name = name_tv,
4176 .vmux = 3,
4177 .amux = LINE2,
4178 .tv = 1,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004179 },{
4180 .name = name_comp1,
4181 .vmux = 1,
4182 .amux = LINE1,
4183 },{
4184 .name = name_svideo,
4185 .vmux = 8,
4186 .amux = LINE1,
4187 }},
4188 .mute = {
4189 .name = name_mute,
4190 .amux = LINE1,
4191 },
4192 .radio = {
4193 .name = name_radio,
4194 .amux = LINE2,
4195 },
4196 },
4197 [SAA7134_BOARD_BEHOLD_507_9FM] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03004198 /* Beholder Intl. Ltd. 2008 */
4199 /*Dmitry Belimov <d.belimov@gmail.com> */
Dmitri Belimov84d728c2009-04-23 02:32:49 -03004200 .name = "Beholder BeholdTV 507 FM / BeholdTV 509 FM",
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004201 .audio_clock = 0x00187de7,
4202 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4203 .radio_type = UNSET,
4204 .tuner_addr = ADDR_UNSET,
4205 .radio_addr = ADDR_UNSET,
4206 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03004207 .gpiomask = 0x00008000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004208 .inputs = {{
4209 .name = name_tv,
4210 .vmux = 3,
4211 .amux = TV,
4212 .tv = 1,
4213 },{
4214 .name = name_comp1,
4215 .vmux = 1,
4216 .amux = LINE1,
4217 },{
4218 .name = name_svideo,
4219 .vmux = 8,
4220 .amux = LINE1,
4221 }},
4222 .radio = {
4223 .name = name_radio,
4224 .amux = LINE2,
4225 },
4226 },
Dmitri Belimov84d728c2009-04-23 02:32:49 -03004227 [SAA7134_BOARD_BEHOLD_507RDS_MK5] = {
4228 /* Beholder Intl. Ltd. 2008 */
4229 /*Dmitry Belimov <d.belimov@gmail.com> */
4230 .name = "Beholder BeholdTV 507 RDS",
4231 .audio_clock = 0x00187de7,
4232 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, /* FIXME to MK5 */
4233 .radio_type = UNSET,
4234 .tuner_addr = ADDR_UNSET,
4235 .radio_addr = ADDR_UNSET,
Dmitri Belimov35c30572009-08-10 21:47:29 -03004236 .rds_addr = 0x10,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03004237 .tda9887_conf = TDA9887_PRESENT,
4238 .gpiomask = 0x00008000,
4239 .inputs = {{
4240 .name = name_tv,
4241 .vmux = 3,
4242 .amux = TV,
4243 .tv = 1,
4244 }, {
4245 .name = name_comp1,
4246 .vmux = 1,
4247 .amux = LINE1,
4248 }, {
4249 .name = name_svideo,
4250 .vmux = 8,
4251 .amux = LINE1,
4252 } },
4253 .radio = {
4254 .name = name_radio,
4255 .amux = LINE2,
4256 },
4257 },
4258 [SAA7134_BOARD_BEHOLD_507RDS_MK3] = {
4259 /* Beholder Intl. Ltd. 2008 */
4260 /*Dmitry Belimov <d.belimov@gmail.com> */
4261 .name = "Beholder BeholdTV 507 RDS",
4262 .audio_clock = 0x00187de7,
4263 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4264 .radio_type = UNSET,
4265 .tuner_addr = ADDR_UNSET,
4266 .radio_addr = ADDR_UNSET,
Dmitri Belimov35c30572009-08-10 21:47:29 -03004267 .rds_addr = 0x10,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03004268 .tda9887_conf = TDA9887_PRESENT,
4269 .gpiomask = 0x00008000,
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 },
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004289 [SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM] = {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03004290 /* Beholder Intl. Ltd. 2008 */
4291 /*Dmitry Belimov <d.belimov@gmail.com> */
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004292 .name = "Beholder BeholdTV Columbus TVFM",
4293 .audio_clock = 0x00187de7,
4294 .tuner_type = TUNER_ALPS_TSBE5_PAL,
4295 .radio_type = UNSET,
4296 .tuner_addr = ADDR_UNSET,
4297 .radio_addr = ADDR_UNSET,
4298 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03004299 .gpiomask = 0x000A8004,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004300 .inputs = {{
4301 .name = name_tv,
4302 .vmux = 3,
4303 .amux = TV,
4304 .tv = 1,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03004305 .gpio = 0x000A8004,
4306 }, {
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004307 .name = name_comp1,
4308 .vmux = 1,
4309 .amux = LINE1,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03004310 .gpio = 0x000A8000,
4311 }, {
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004312 .name = name_svideo,
4313 .vmux = 8,
4314 .amux = LINE1,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03004315 .gpio = 0x000A8000,
4316 } },
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004317 .radio = {
4318 .name = name_radio,
4319 .amux = LINE2,
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03004320 .gpio = 0x000A8000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004321 },
4322 },
Dmitri Belimov84d728c2009-04-23 02:32:49 -03004323 [SAA7134_BOARD_BEHOLD_607FM_MK3] = {
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004324 /* Andrey Melnikoff <temnota@kmv.ru> */
Dmitri Belimov84d728c2009-04-23 02:32:49 -03004325 .name = "Beholder BeholdTV 607 FM",
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004326 .audio_clock = 0x00187de7,
4327 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4328 .radio_type = UNSET,
4329 .tuner_addr = ADDR_UNSET,
4330 .radio_addr = ADDR_UNSET,
4331 .tda9887_conf = TDA9887_PRESENT,
4332 .inputs = {{
4333 .name = name_tv,
4334 .vmux = 3,
4335 .amux = TV,
4336 .tv = 1,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03004337 }, {
4338 .name = name_comp1,
4339 .vmux = 1,
4340 .amux = LINE1,
4341 }, {
4342 .name = name_svideo,
4343 .vmux = 8,
4344 .amux = LINE1,
4345 } },
4346 .radio = {
4347 .name = name_radio,
4348 .amux = LINE2,
4349 },
4350 },
4351 [SAA7134_BOARD_BEHOLD_609FM_MK3] = {
4352 /* Andrey Melnikoff <temnota@kmv.ru> */
4353 .name = "Beholder BeholdTV 609 FM",
4354 .audio_clock = 0x00187de7,
4355 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4356 .radio_type = UNSET,
4357 .tuner_addr = ADDR_UNSET,
4358 .radio_addr = ADDR_UNSET,
4359 .tda9887_conf = TDA9887_PRESENT,
4360 .inputs = {{
4361 .name = name_tv,
4362 .vmux = 3,
4363 .amux = TV,
4364 .tv = 1,
4365 }, {
4366 .name = name_comp1,
4367 .vmux = 1,
4368 .amux = LINE1,
4369 }, {
4370 .name = name_svideo,
4371 .vmux = 8,
4372 .amux = LINE1,
4373 } },
4374 .radio = {
4375 .name = name_radio,
4376 .amux = LINE2,
4377 },
4378 },
4379 [SAA7134_BOARD_BEHOLD_607FM_MK5] = {
4380 /* Andrey Melnikoff <temnota@kmv.ru> */
4381 .name = "Beholder BeholdTV 607 FM",
4382 .audio_clock = 0x00187de7,
4383 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, /* FIXME to MK5 */
4384 .radio_type = UNSET,
4385 .tuner_addr = ADDR_UNSET,
4386 .radio_addr = ADDR_UNSET,
4387 .tda9887_conf = TDA9887_PRESENT,
4388 .inputs = {{
4389 .name = name_tv,
4390 .vmux = 3,
4391 .amux = TV,
4392 .tv = 1,
4393 }, {
4394 .name = name_comp1,
4395 .vmux = 1,
4396 .amux = LINE1,
4397 }, {
4398 .name = name_svideo,
4399 .vmux = 8,
4400 .amux = LINE1,
4401 } },
4402 .radio = {
4403 .name = name_radio,
4404 .amux = LINE2,
4405 },
4406 },
4407 [SAA7134_BOARD_BEHOLD_609FM_MK5] = {
4408 /* Andrey Melnikoff <temnota@kmv.ru> */
4409 .name = "Beholder BeholdTV 609 FM",
4410 .audio_clock = 0x00187de7,
4411 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, /* FIXME to MK5 */
4412 .radio_type = UNSET,
4413 .tuner_addr = ADDR_UNSET,
4414 .radio_addr = ADDR_UNSET,
4415 .tda9887_conf = TDA9887_PRESENT,
4416 .inputs = {{
4417 .name = name_tv,
4418 .vmux = 3,
4419 .amux = TV,
4420 .tv = 1,
4421 }, {
4422 .name = name_comp1,
4423 .vmux = 1,
4424 .amux = LINE1,
4425 }, {
4426 .name = name_svideo,
4427 .vmux = 8,
4428 .amux = LINE1,
4429 } },
4430 .radio = {
4431 .name = name_radio,
4432 .amux = LINE2,
4433 },
4434 },
4435 [SAA7134_BOARD_BEHOLD_607RDS_MK3] = {
4436 /* Andrey Melnikoff <temnota@kmv.ru> */
4437 .name = "Beholder BeholdTV 607 RDS",
4438 .audio_clock = 0x00187de7,
4439 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4440 .radio_type = UNSET,
4441 .tuner_addr = ADDR_UNSET,
4442 .radio_addr = ADDR_UNSET,
Dmitri Belimov35c30572009-08-10 21:47:29 -03004443 .rds_addr = 0x10,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03004444 .tda9887_conf = TDA9887_PRESENT,
4445 .inputs = {{
4446 .name = name_tv,
4447 .vmux = 3,
4448 .amux = TV,
4449 .tv = 1,
4450 }, {
4451 .name = name_comp1,
4452 .vmux = 1,
4453 .amux = LINE1,
4454 }, {
4455 .name = name_svideo,
4456 .vmux = 8,
4457 .amux = LINE1,
4458 } },
4459 .radio = {
4460 .name = name_radio,
4461 .amux = LINE2,
4462 },
4463 },
4464 [SAA7134_BOARD_BEHOLD_609RDS_MK3] = {
4465 /* Andrey Melnikoff <temnota@kmv.ru> */
4466 .name = "Beholder BeholdTV 609 RDS",
4467 .audio_clock = 0x00187de7,
4468 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4469 .radio_type = UNSET,
4470 .tuner_addr = ADDR_UNSET,
4471 .radio_addr = ADDR_UNSET,
Dmitri Belimov35c30572009-08-10 21:47:29 -03004472 .rds_addr = 0x10,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03004473 .tda9887_conf = TDA9887_PRESENT,
4474 .inputs = {{
4475 .name = name_tv,
4476 .vmux = 3,
4477 .amux = TV,
4478 .tv = 1,
4479 }, {
4480 .name = name_comp1,
4481 .vmux = 1,
4482 .amux = LINE1,
4483 }, {
4484 .name = name_svideo,
4485 .vmux = 8,
4486 .amux = LINE1,
4487 } },
4488 .radio = {
4489 .name = name_radio,
4490 .amux = LINE2,
4491 },
4492 },
4493 [SAA7134_BOARD_BEHOLD_607RDS_MK5] = {
4494 /* Andrey Melnikoff <temnota@kmv.ru> */
4495 .name = "Beholder BeholdTV 607 RDS",
4496 .audio_clock = 0x00187de7,
4497 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, /* FIXME to MK5 */
4498 .radio_type = UNSET,
4499 .tuner_addr = ADDR_UNSET,
4500 .radio_addr = ADDR_UNSET,
Dmitri Belimov35c30572009-08-10 21:47:29 -03004501 .rds_addr = 0x10,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03004502 .tda9887_conf = TDA9887_PRESENT,
4503 .inputs = {{
4504 .name = name_tv,
4505 .vmux = 3,
4506 .amux = TV,
4507 .tv = 1,
4508 }, {
4509 .name = name_comp1,
4510 .vmux = 1,
4511 .amux = LINE1,
4512 }, {
4513 .name = name_svideo,
4514 .vmux = 8,
4515 .amux = LINE1,
4516 } },
4517 .radio = {
4518 .name = name_radio,
4519 .amux = LINE2,
4520 },
4521 },
4522 [SAA7134_BOARD_BEHOLD_609RDS_MK5] = {
4523 /* Andrey Melnikoff <temnota@kmv.ru> */
4524 .name = "Beholder BeholdTV 609 RDS",
4525 .audio_clock = 0x00187de7,
4526 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, /* FIXME to MK5 */
4527 .radio_type = UNSET,
4528 .tuner_addr = ADDR_UNSET,
4529 .radio_addr = ADDR_UNSET,
Dmitri Belimov35c30572009-08-10 21:47:29 -03004530 .rds_addr = 0x10,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03004531 .tda9887_conf = TDA9887_PRESENT,
4532 .inputs = {{
4533 .name = name_tv,
4534 .vmux = 3,
4535 .amux = TV,
4536 .tv = 1,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004537 },{
4538 .name = name_comp1,
4539 .vmux = 1,
4540 .amux = LINE1,
4541 },{
4542 .name = name_svideo,
4543 .vmux = 8,
4544 .amux = LINE1,
4545 }},
4546 .radio = {
4547 .name = name_radio,
4548 .amux = LINE2,
4549 },
4550 },
4551 [SAA7134_BOARD_BEHOLD_M6] = {
4552 /* Igor Kuznetsov <igk@igk.ru> */
4553 /* Andrey Melnikoff <temnota@kmv.ru> */
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03004554 /* Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> */
Dmitri Belimov6b6b7542009-05-28 01:58:57 -03004555 /* Alexey Osipov <lion-simba@pridelands.ru> */
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03004556 .name = "Beholder BeholdTV M6",
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004557 .audio_clock = 0x00187de7,
4558 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4559 .radio_type = UNSET,
4560 .tuner_addr = ADDR_UNSET,
4561 .radio_addr = ADDR_UNSET,
Hans Verkuil195784b2009-03-28 09:27:02 -03004562 .empress_addr = 0x20,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004563 .tda9887_conf = TDA9887_PRESENT,
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03004564 .inputs = { {
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004565 .name = name_tv,
4566 .vmux = 3,
4567 .amux = TV,
4568 .tv = 1,
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03004569 }, {
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004570 .name = name_comp1,
4571 .vmux = 1,
4572 .amux = LINE1,
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03004573 }, {
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004574 .name = name_svideo,
4575 .vmux = 8,
4576 .amux = LINE1,
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03004577 } },
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004578 .radio = {
4579 .name = name_radio,
4580 .amux = LINE2,
4581 },
4582 .mpeg = SAA7134_MPEG_EMPRESS,
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03004583 .video_out = CCIR656,
4584 .vid_port_opts = (SET_T_CODE_POLARITY_NON_INVERTED |
4585 SET_CLOCK_NOT_DELAYED |
4586 SET_CLOCK_INVERTED |
4587 SET_VSYNC_OFF),
4588 },
4589 [SAA7134_BOARD_BEHOLD_M63] = {
4590 /* Igor Kuznetsov <igk@igk.ru> */
4591 /* Andrey Melnikoff <temnota@kmv.ru> */
4592 /* Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> */
4593 .name = "Beholder BeholdTV M63",
4594 .audio_clock = 0x00187de7,
4595 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4596 .radio_type = UNSET,
4597 .tuner_addr = ADDR_UNSET,
4598 .radio_addr = ADDR_UNSET,
Hans Verkuil195784b2009-03-28 09:27:02 -03004599 .empress_addr = 0x20,
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03004600 .tda9887_conf = TDA9887_PRESENT,
4601 .inputs = { {
4602 .name = name_tv,
4603 .vmux = 3,
4604 .amux = TV,
4605 .tv = 1,
4606 }, {
4607 .name = name_comp1,
4608 .vmux = 1,
4609 .amux = LINE1,
4610 }, {
4611 .name = name_svideo,
4612 .vmux = 8,
4613 .amux = LINE1,
4614 } },
4615 .radio = {
4616 .name = name_radio,
4617 .amux = LINE2,
4618 },
4619 .mpeg = SAA7134_MPEG_EMPRESS,
4620 .video_out = CCIR656,
4621 .vid_port_opts = (SET_T_CODE_POLARITY_NON_INVERTED |
4622 SET_CLOCK_NOT_DELAYED |
4623 SET_CLOCK_INVERTED |
4624 SET_VSYNC_OFF),
4625 },
4626 [SAA7134_BOARD_BEHOLD_M6_EXTRA] = {
4627 /* Igor Kuznetsov <igk@igk.ru> */
4628 /* Andrey Melnikoff <temnota@kmv.ru> */
4629 /* Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> */
Dmitri Belimov6b6b7542009-05-28 01:58:57 -03004630 /* Alexey Osipov <lion-simba@pridelands.ru> */
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03004631 .name = "Beholder BeholdTV M6 Extra",
4632 .audio_clock = 0x00187de7,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03004633 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, /* FIXME to MK5 */
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03004634 .radio_type = UNSET,
4635 .tuner_addr = ADDR_UNSET,
4636 .radio_addr = ADDR_UNSET,
Dmitri Belimov35c30572009-08-10 21:47:29 -03004637 .rds_addr = 0x10,
Hans Verkuil195784b2009-03-28 09:27:02 -03004638 .empress_addr = 0x20,
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03004639 .tda9887_conf = TDA9887_PRESENT,
4640 .inputs = { {
4641 .name = name_tv,
4642 .vmux = 3,
4643 .amux = TV,
4644 .tv = 1,
4645 }, {
4646 .name = name_comp1,
4647 .vmux = 1,
4648 .amux = LINE1,
4649 }, {
4650 .name = name_svideo,
4651 .vmux = 8,
4652 .amux = LINE1,
4653 } },
4654 .radio = {
4655 .name = name_radio,
4656 .amux = LINE2,
4657 },
4658 .mpeg = SAA7134_MPEG_EMPRESS,
4659 .video_out = CCIR656,
4660 .vid_port_opts = (SET_T_CODE_POLARITY_NON_INVERTED |
4661 SET_CLOCK_NOT_DELAYED |
4662 SET_CLOCK_INVERTED |
4663 SET_VSYNC_OFF),
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03004664 },
Hermann Pitton4ba24372008-01-20 19:27:51 -03004665 [SAA7134_BOARD_TWINHAN_DTV_DVB_3056] = {
4666 .name = "Twinhan Hybrid DTV-DVB 3056 PCI",
4667 .audio_clock = 0x00187de7,
4668 .tuner_type = TUNER_PHILIPS_TDA8290,
4669 .radio_type = UNSET,
4670 .tuner_addr = ADDR_UNSET,
4671 .radio_addr = ADDR_UNSET,
4672 .tuner_config = 2,
4673 .mpeg = SAA7134_MPEG_DVB,
4674 .gpiomask = 0x0200000,
4675 .inputs = {{
4676 .name = name_tv,
4677 .vmux = 1,
4678 .amux = TV,
4679 .tv = 1,
4680 }, {
4681 .name = name_comp1,
4682 .vmux = 3,
4683 .amux = LINE1,
4684 }, {
4685 .name = name_svideo,
4686 .vmux = 8, /* untested */
4687 .amux = LINE1,
4688 } },
4689 .radio = {
4690 .name = name_radio,
4691 .amux = TV,
4692 .gpio = 0x0200000,
4693 },
4694 },
Adrian Pardinif0ba3562008-02-11 12:40:53 -03004695 [SAA7134_BOARD_GENIUS_TVGO_A11MCE] = {
4696 /* Adrian Pardini <pardo.bsso@gmail.com> */
4697 .name = "Genius TVGO AM11MCE",
4698 .audio_clock = 0x00200000,
4699 .tuner_type = TUNER_TNF_5335MF,
4700 .radio_type = UNSET,
4701 .tuner_addr = ADDR_UNSET,
4702 .radio_addr = ADDR_UNSET,
4703 .gpiomask = 0xf000,
4704 .inputs = {{
4705 .name = name_tv_mono,
4706 .vmux = 1,
4707 .amux = LINE2,
4708 .gpio = 0x0000,
4709 .tv = 1,
4710 }, {
4711 .name = name_comp1,
4712 .vmux = 3,
4713 .amux = LINE1,
4714 .gpio = 0x2000,
4715 .tv = 1
4716 }, {
4717 .name = name_svideo,
4718 .vmux = 8,
4719 .amux = LINE1,
4720 .gpio = 0x2000,
4721 } },
4722 .radio = {
4723 .name = name_radio,
4724 .amux = LINE2,
4725 .gpio = 0x1000,
4726 },
4727 .mute = {
4728 .name = name_mute,
4729 .amux = LINE2,
4730 .gpio = 0x6000,
4731 },
4732 },
Hartmut Hackmann6ab465a2008-04-22 14:42:11 -03004733 [SAA7134_BOARD_PHILIPS_SNAKE] = {
4734 .name = "NXP Snake DVB-S reference design",
4735 .audio_clock = 0x00200000,
4736 .tuner_type = TUNER_ABSENT,
4737 .radio_type = UNSET,
4738 .tuner_addr = ADDR_UNSET,
4739 .radio_addr = ADDR_UNSET,
4740 .mpeg = SAA7134_MPEG_DVB,
4741 .inputs = {{
4742 .name = name_comp1,
4743 .vmux = 3,
4744 .amux = LINE1,
4745 }, {
4746 .name = name_svideo,
4747 .vmux = 8,
4748 .amux = LINE1,
4749 } },
4750 },
Hermann Pitton7b5b3f12008-04-22 14:42:12 -03004751 [SAA7134_BOARD_CREATIX_CTX953] = {
4752 .name = "Medion/Creatix CTX953 Hybrid",
4753 .audio_clock = 0x00187de7,
4754 .tuner_type = TUNER_PHILIPS_TDA8290,
4755 .radio_type = UNSET,
4756 .tuner_addr = ADDR_UNSET,
4757 .radio_addr = ADDR_UNSET,
4758 .tuner_config = 0,
4759 .mpeg = SAA7134_MPEG_DVB,
4760 .inputs = {{
4761 .name = name_tv,
4762 .vmux = 1,
4763 .amux = TV,
4764 .tv = 1,
4765 }, {
4766 .name = name_comp1,
4767 .vmux = 0,
4768 .amux = LINE1,
4769 }, {
4770 .name = name_svideo,
4771 .vmux = 8,
4772 .amux = LINE1,
4773 } },
4774 },
Russell Kliese6a6179b62008-04-22 14:42:12 -03004775 [SAA7134_BOARD_MSI_TVANYWHERE_AD11] = {
4776 .name = "MSI TV@nywhere A/D v1.1",
4777 .audio_clock = 0x00187de7,
4778 .tuner_type = TUNER_PHILIPS_TDA8290,
4779 .radio_type = UNSET,
4780 .tuner_addr = ADDR_UNSET,
4781 .radio_addr = ADDR_UNSET,
4782 .tuner_config = 2,
4783 .mpeg = SAA7134_MPEG_DVB,
4784 .gpiomask = 0x0200000,
4785 .inputs = { {
4786 .name = name_tv,
4787 .vmux = 1,
4788 .amux = TV,
4789 .tv = 1,
4790 }, {
4791 .name = name_comp1,
4792 .vmux = 3,
4793 .amux = LINE1,
4794 }, {
4795 .name = name_svideo,
4796 .vmux = 8,
4797 .amux = LINE1,
4798 } },
4799 .radio = {
4800 .name = name_radio,
4801 .amux = TV,
4802 .gpio = 0x0200000,
4803 },
4804 },
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03004805 [SAA7134_BOARD_AVERMEDIA_CARDBUS_506] = {
Mauro Carvalho Chehabd9ae6dd2008-04-22 14:46:06 -03004806 .name = "AVerMedia Cardbus TV/Radio (E506R)",
4807 .audio_clock = 0x187de7,
4808 .tuner_type = TUNER_XC2028,
Mauro Carvalho Chehab6e741712008-04-22 14:46:07 -03004809 .radio_type = UNSET,
Mauro Carvalho Chehabd9ae6dd2008-04-22 14:46:06 -03004810 .tuner_addr = ADDR_UNSET,
4811 .radio_addr = ADDR_UNSET,
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03004812 .mpeg = SAA7134_MPEG_DVB,
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03004813 .inputs = {{
4814 .name = name_tv,
4815 .vmux = 1,
4816 .amux = TV,
4817 .tv = 1,
4818 }, {
Tim Farrington31489362009-01-15 09:58:55 -03004819 .name = name_comp1,
4820 .vmux = 3,
Tim Farringtone5e4cd82008-06-29 11:54:08 -03004821 .amux = LINE1,
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03004822 }, {
4823 .name = name_svideo,
4824 .vmux = 8,
Tim Farrington31489362009-01-15 09:58:55 -03004825 .amux = LINE2,
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03004826 } },
4827 .radio = {
4828 .name = name_radio,
4829 .amux = TV,
4830 },
4831 },
4832 [SAA7134_BOARD_AVERMEDIA_A16D] = {
4833 .name = "AVerMedia Hybrid TV/Radio (A16D)",
4834 .audio_clock = 0x187de7,
4835 .tuner_type = TUNER_XC2028,
Mauro Carvalho Chehab6e741712008-04-22 14:46:07 -03004836 .radio_type = UNSET,
Mauro Carvalho Chehabd9ae6dd2008-04-22 14:46:06 -03004837 .tuner_addr = ADDR_UNSET,
4838 .radio_addr = ADDR_UNSET,
Hans Verkuilf87086e2008-07-18 00:50:58 -03004839 .mpeg = SAA7134_MPEG_DVB,
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03004840 .inputs = {{
4841 .name = name_tv,
4842 .vmux = 1,
4843 .amux = TV,
4844 .tv = 1,
4845 }, {
4846 .name = name_svideo,
4847 .vmux = 8,
4848 .amux = LINE1,
Dan Taylor9c7ecaf2008-06-27 13:29:41 -03004849 }, {
4850 .name = name_comp,
4851 .vmux = 0,
4852 .amux = LINE1,
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03004853 } },
4854 .radio = {
4855 .name = name_radio,
Tim Farrington6e501a32008-06-15 13:33:42 -03004856 .amux = TV,
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03004857 },
4858 },
4859 [SAA7134_BOARD_AVERMEDIA_M115] = {
4860 .name = "Avermedia M115",
4861 .audio_clock = 0x187de7,
4862 .tuner_type = TUNER_XC2028,
Mauro Carvalho Chehab6e741712008-04-22 14:46:07 -03004863 .radio_type = UNSET,
Mauro Carvalho Chehabd9ae6dd2008-04-22 14:46:06 -03004864 .tuner_addr = ADDR_UNSET,
4865 .radio_addr = ADDR_UNSET,
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03004866 .inputs = {{
4867 .name = name_tv,
4868 .vmux = 1,
4869 .amux = TV,
4870 .tv = 1,
4871 }, {
4872 .name = name_comp1,
4873 .vmux = 3,
4874 .amux = LINE1,
4875 }, {
4876 .name = name_svideo,
4877 .vmux = 8,
4878 .amux = LINE2,
4879 } },
4880 },
4881 [SAA7134_BOARD_VIDEOMATE_T750] = {
4882 /* John Newbigin <jn@it.swin.edu.au> */
4883 .name = "Compro VideoMate T750",
4884 .audio_clock = 0x00187de7,
4885 .tuner_type = TUNER_XC2028,
Mauro Carvalho Chehab6e741712008-04-22 14:46:07 -03004886 .radio_type = UNSET,
Mauro Carvalho Chehabd9ae6dd2008-04-22 14:46:06 -03004887 .tuner_addr = ADDR_UNSET,
4888 .radio_addr = ADDR_UNSET,
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03004889 .inputs = {{
4890 .name = name_tv,
4891 .vmux = 3,
4892 .amux = TV,
4893 .tv = 1,
4894 }, {
4895 .name = name_comp1,
4896 .vmux = 1,
4897 .amux = LINE2,
4898 }, {
4899 .name = name_svideo,
4900 .vmux = 8,
4901 .amux = LINE2,
4902 } },
4903 .radio = {
4904 .name = name_radio,
4905 .amux = TV,
4906 }
Matthias Schwarzottfc9d8ed2008-04-08 21:45:08 -03004907 },
4908 [SAA7134_BOARD_AVERMEDIA_A700_PRO] = {
4909 /* Matthias Schwarzott <zzam@gentoo.org> */
4910 .name = "Avermedia DVB-S Pro A700",
4911 .audio_clock = 0x00187de7,
4912 .tuner_type = TUNER_ABSENT,
4913 .radio_type = UNSET,
4914 .tuner_addr = ADDR_UNSET,
4915 .radio_addr = ADDR_UNSET,
Matthias Schwarzott04574182009-02-24 12:35:16 -03004916 .mpeg = SAA7134_MPEG_DVB,
Matthias Schwarzottfc9d8ed2008-04-08 21:45:08 -03004917 .inputs = { {
4918 .name = name_comp,
4919 .vmux = 1,
4920 .amux = LINE1,
4921 }, {
4922 .name = name_svideo,
4923 .vmux = 6,
4924 .amux = LINE1,
4925 } },
4926 },
4927 [SAA7134_BOARD_AVERMEDIA_A700_HYBRID] = {
4928 /* Matthias Schwarzott <zzam@gentoo.org> */
4929 .name = "Avermedia DVB-S Hybrid+FM A700",
4930 .audio_clock = 0x00187de7,
Matthias Schwarzott2659e462009-03-29 16:36:02 -03004931 .tuner_type = TUNER_XC2028,
Matthias Schwarzottfc9d8ed2008-04-08 21:45:08 -03004932 .radio_type = UNSET,
4933 .tuner_addr = ADDR_UNSET,
4934 .radio_addr = ADDR_UNSET,
Matthias Schwarzott04574182009-02-24 12:35:16 -03004935 .mpeg = SAA7134_MPEG_DVB,
Matthias Schwarzottfc9d8ed2008-04-08 21:45:08 -03004936 .inputs = { {
Matthias Schwarzott2659e462009-03-29 16:36:02 -03004937 .name = name_tv,
4938 .vmux = 4,
4939 .amux = TV,
4940 .tv = 1,
4941 }, {
Matthias Schwarzottfc9d8ed2008-04-08 21:45:08 -03004942 .name = name_comp,
4943 .vmux = 1,
4944 .amux = LINE1,
4945 }, {
4946 .name = name_svideo,
4947 .vmux = 6,
4948 .amux = LINE1,
4949 } },
Matthias Schwarzott2659e462009-03-29 16:36:02 -03004950 .radio = {
4951 .name = name_radio,
4952 .amux = TV,
4953 },
Matthias Schwarzottfc9d8ed2008-04-08 21:45:08 -03004954 },
Igor Kuznetsov02505272008-04-26 14:53:48 -03004955 [SAA7134_BOARD_BEHOLD_H6] = {
4956 /* Igor Kuznetsov <igk@igk.ru> */
4957 .name = "Beholder BeholdTV H6",
4958 .audio_clock = 0x00187de7,
Beholder Intl. Ltd. Dmitry Belimov4786dd62009-08-04 20:07:42 -03004959 .tuner_type = TUNER_PHILIPS_FMD1216MEX_MK3,
Igor Kuznetsov02505272008-04-26 14:53:48 -03004960 .radio_type = UNSET,
4961 .tuner_addr = ADDR_UNSET,
4962 .radio_addr = ADDR_UNSET,
4963 .tda9887_conf = TDA9887_PRESENT,
Dmitri Belimovf204ae42008-12-23 03:51:38 -03004964 .mpeg = SAA7134_MPEG_DVB,
Igor Kuznetsov02505272008-04-26 14:53:48 -03004965 .inputs = {{
4966 .name = name_tv,
4967 .vmux = 3,
4968 .amux = TV,
4969 .tv = 1,
4970 }, {
4971 .name = name_comp1,
4972 .vmux = 1,
4973 .amux = LINE1,
4974 }, {
4975 .name = name_svideo,
4976 .vmux = 8,
4977 .amux = LINE1,
4978 } },
4979 .radio = {
4980 .name = name_radio,
4981 .amux = LINE2,
4982 },
Igor Kuznetsov02505272008-04-26 14:53:48 -03004983 },
hermann pitton301e9d62008-09-14 17:49:14 -03004984 [SAA7134_BOARD_ASUSTeK_TIGER_3IN1] = {
4985 .name = "Asus Tiger 3in1",
4986 .audio_clock = 0x00187de7,
4987 .tuner_type = TUNER_PHILIPS_TDA8290,
4988 .radio_type = UNSET,
4989 .tuner_addr = ADDR_UNSET,
4990 .radio_addr = ADDR_UNSET,
4991 .tuner_config = 2,
4992 .gpiomask = 1 << 21,
4993 .mpeg = SAA7134_MPEG_DVB,
4994 .inputs = {{
4995 .name = name_tv,
4996 .vmux = 1,
4997 .amux = TV,
4998 .tv = 1,
4999 }, {
5000 .name = name_comp,
5001 .vmux = 0,
5002 .amux = LINE2,
5003 }, {
5004 .name = name_svideo,
5005 .vmux = 8,
5006 .amux = LINE2,
5007 } },
5008 .radio = {
5009 .name = name_radio,
5010 .amux = TV,
5011 .gpio = 0x0200000,
5012 },
5013 },
Mauro Carvalho Chehab9b000192008-06-26 17:03:00 -03005014 [SAA7134_BOARD_REAL_ANGEL_220] = {
5015 .name = "Zogis Real Angel 220",
5016 .audio_clock = 0x00187de7,
5017 .tuner_type = TUNER_TNF_5335MF,
5018 .radio_type = UNSET,
5019 .tuner_addr = ADDR_UNSET,
5020 .radio_addr = ADDR_UNSET,
5021 .gpiomask = 0x801a8087,
5022 .inputs = { {
5023 .name = name_tv,
5024 .vmux = 3,
5025 .amux = LINE2,
5026 .tv = 1,
5027 .gpio = 0x624000,
Hermann Pitton028165a2008-10-04 21:37:36 -03005028 }, {
Mauro Carvalho Chehab9b000192008-06-26 17:03:00 -03005029 .name = name_comp1,
5030 .vmux = 1,
5031 .amux = LINE1,
5032 .gpio = 0x624000,
5033 }, {
5034 .name = name_svideo,
5035 .vmux = 1,
5036 .amux = LINE1,
5037 .gpio = 0x624000,
5038 } },
5039 .radio = {
5040 .name = name_radio,
5041 .amux = LINE2,
5042 .gpio = 0x624001,
5043 },
5044 .mute = {
5045 .name = name_mute,
5046 .amux = TV,
5047 },
5048 },
Adam Gloverf689d902008-05-06 03:20:27 -03005049 [SAA7134_BOARD_ADS_INSTANT_HDTV_PCI] = {
5050 .name = "ADS Tech Instant HDTV",
5051 .audio_clock = 0x00187de7,
5052 .tuner_type = TUNER_PHILIPS_TUV1236D,
5053 .radio_type = UNSET,
5054 .tuner_addr = ADDR_UNSET,
5055 .radio_addr = ADDR_UNSET,
5056 .tda9887_conf = TDA9887_PRESENT,
5057 .mpeg = SAA7134_MPEG_DVB,
5058 .inputs = { {
5059 .name = name_tv,
5060 .vmux = 1,
5061 .amux = TV,
5062 .tv = 1,
5063 }, {
5064 .name = name_comp,
Hermann Pitton028165a2008-10-04 21:37:36 -03005065 .vmux = 4,
5066 .amux = LINE1,
Adam Gloverf689d902008-05-06 03:20:27 -03005067 }, {
5068 .name = name_svideo,
5069 .vmux = 8,
5070 .amux = LINE1,
5071 } },
5072 },
Hermann Pitton028165a2008-10-04 21:37:36 -03005073 [SAA7134_BOARD_ASUSTeK_TIGER] = {
5074 .name = "Asus Tiger Rev:1.00",
5075 .audio_clock = 0x00187de7,
5076 .tuner_type = TUNER_PHILIPS_TDA8290,
5077 .radio_type = UNSET,
5078 .tuner_addr = ADDR_UNSET,
5079 .radio_addr = ADDR_UNSET,
5080 .tuner_config = 0,
5081 .mpeg = SAA7134_MPEG_DVB,
5082 .gpiomask = 0x0200000,
5083 .inputs = { {
5084 .name = name_tv,
5085 .vmux = 1,
5086 .amux = TV,
5087 .tv = 1,
5088 }, {
5089 .name = name_comp1,
5090 .vmux = 3,
5091 .amux = LINE2,
5092 }, {
5093 .name = name_comp2,
5094 .vmux = 0,
5095 .amux = LINE2,
5096 }, {
5097 .name = name_svideo,
5098 .vmux = 8,
5099 .amux = LINE2,
5100 } },
5101 .radio = {
5102 .name = name_radio,
5103 .amux = TV,
5104 .gpio = 0x0200000,
5105 },
5106 },
Mauro Carvalho Chehab26d5f3a2008-12-07 13:19:29 -03005107 [SAA7134_BOARD_KWORLD_PLUS_TV_ANALOG] = {
5108 .name = "Kworld Plus TV Analog Lite PCI",
5109 .audio_clock = 0x00187de7,
5110 .tuner_type = TUNER_YMEC_TVF_5533MF,
5111 .radio_type = TUNER_TEA5767,
5112 .tuner_addr = ADDR_UNSET,
Hans Verkuilfac69862009-01-17 12:17:14 -03005113 .radio_addr = 0x60,
Mauro Carvalho Chehab26d5f3a2008-12-07 13:19:29 -03005114 .gpiomask = 0x80000700,
5115 .inputs = { {
5116 .name = name_tv,
5117 .vmux = 1,
5118 .amux = LINE2,
5119 .tv = 1,
5120 .gpio = 0x100,
5121 }, {
5122 .name = name_comp1,
5123 .vmux = 3,
5124 .amux = LINE1,
5125 .gpio = 0x200,
5126 }, {
5127 .name = name_svideo,
5128 .vmux = 8,
5129 .amux = LINE1,
5130 .gpio = 0x200,
5131 } },
5132 .radio = {
5133 .name = name_radio,
5134 .vmux = 1,
5135 .amux = LINE1,
5136 .gpio = 0x100,
5137 },
5138 .mute = {
5139 .name = name_mute,
5140 .vmux = 8,
5141 .amux = 2,
5142 },
5143 },
Pham Thanh Nam6a2d8022008-12-30 23:26:09 -03005144 [SAA7134_BOARD_AVERMEDIA_GO_007_FM_PLUS] = {
5145 .name = "Avermedia AVerTV GO 007 FM Plus",
5146 .audio_clock = 0x00187de7,
5147 .tuner_type = TUNER_PHILIPS_TDA8290,
5148 .radio_type = UNSET,
5149 .tuner_addr = ADDR_UNSET,
5150 .radio_addr = ADDR_UNSET,
5151 .gpiomask = 0x00300003,
5152 /* .gpiomask = 0x8c240003, */
5153 .inputs = { {
5154 .name = name_tv,
5155 .vmux = 1,
5156 .amux = TV,
5157 .tv = 1,
5158 .gpio = 0x01,
5159 }, {
5160 .name = name_svideo,
5161 .vmux = 6,
5162 .amux = LINE1,
5163 .gpio = 0x02,
5164 } },
5165 .radio = {
5166 .name = name_radio,
5167 .amux = TV,
5168 .gpio = 0x00300001,
5169 },
5170 .mute = {
5171 .name = name_mute,
5172 .amux = TV,
5173 .gpio = 0x01,
5174 },
5175 },
Andy Shevchenkodf0dbbe2009-04-08 14:01:19 -03005176 [SAA7134_BOARD_AVERMEDIA_STUDIO_507UA] = {
5177 /* Andy Shevchenko <andy@smile.org.ua> */
5178 .name = "Avermedia AVerTV Studio 507UA",
5179 .audio_clock = 0x00187de7,
5180 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, /* Should be MK5 */
5181 .radio_type = UNSET,
5182 .tuner_addr = ADDR_UNSET,
5183 .radio_addr = ADDR_UNSET,
5184 .tda9887_conf = TDA9887_PRESENT,
5185 .gpiomask = 0x03,
5186 .inputs = { {
5187 .name = name_tv,
5188 .vmux = 1,
5189 .amux = TV,
5190 .tv = 1,
5191 .gpio = 0x00,
5192 }, {
5193 .name = name_comp1,
5194 .vmux = 3,
5195 .amux = LINE1,
5196 .gpio = 0x00,
5197 }, {
5198 .name = name_svideo,
5199 .vmux = 8,
5200 .amux = LINE1,
5201 .gpio = 0x00,
5202 } },
5203 .radio = {
5204 .name = name_radio,
5205 .amux = LINE2,
5206 .gpio = 0x01,
5207 },
5208 .mute = {
5209 .name = name_mute,
5210 .amux = LINE1,
5211 .gpio = 0x00,
5212 },
5213 },
Igor M. Liplianinecfcfec2009-08-13 21:42:21 -03005214 [SAA7134_BOARD_VIDEOMATE_S350] = {
5215 /* Jan D. Louw <jd.louw@mweb.co.za */
5216 .name = "Compro VideoMate S350/S300",
5217 .audio_clock = 0x00187de7,
5218 .tuner_type = TUNER_ABSENT,
5219 .radio_type = UNSET,
5220 .tuner_addr = ADDR_UNSET,
5221 .radio_addr = ADDR_UNSET,
5222 .mpeg = SAA7134_MPEG_DVB,
5223 .inputs = { {
5224 .name = name_comp1,
5225 .vmux = 0,
5226 .amux = LINE1,
5227 }, {
5228 .name = name_svideo,
5229 .vmux = 8, /* Not tested */
5230 .amux = LINE1
5231 } },
5232 },
Dmitri Belimov2012c872009-08-26 01:01:12 -03005233 [SAA7134_BOARD_BEHOLD_X7] = {
5234 /* Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> */
5235 .name = "Beholder BeholdTV X7",
5236 .audio_clock = 0x00187de7,
5237 .tuner_type = TUNER_XC5000,
5238 .radio_type = UNSET,
5239 .tuner_addr = ADDR_UNSET,
5240 .radio_addr = ADDR_UNSET,
5241 .inputs = { {
5242 .name = name_tv,
5243 .vmux = 2,
5244 .amux = TV,
5245 .tv = 1,
5246 }, {
5247 .name = name_comp1,
5248 .vmux = 0,
5249 .amux = LINE1,
5250 }, {
5251 .name = name_svideo,
5252 .vmux = 9,
5253 .amux = LINE1,
5254 } },
5255 .radio = {
5256 .name = name_radio,
5257 .amux = TV,
5258 },
5259 },
Henk Vergonet6c119ff2009-09-18 20:44:37 -03005260 [SAA7134_BOARD_ZOLID_HYBRID_PCI] = {
5261 .name = "Zolid Hybrid TV Tuner PCI",
5262 .audio_clock = 0x00187de7,
5263 .tuner_type = TUNER_PHILIPS_TDA8290,
5264 .radio_type = UNSET,
5265 .tuner_addr = ADDR_UNSET,
5266 .radio_addr = ADDR_UNSET,
5267 .tuner_config = 0,
5268 .mpeg = SAA7134_MPEG_DVB,
5269 .ts_type = SAA7134_MPEG_TS_PARALLEL,
5270 .inputs = {{
5271 .name = name_tv,
5272 .vmux = 1,
5273 .amux = TV,
5274 .tv = 1,
5275 } },
5276 .radio = { /* untested */
5277 .name = name_radio,
5278 .amux = TV,
5279 },
5280 },
Dmitri Belimov2012c872009-08-26 01:01:12 -03005281
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005282};
5283
Linus Torvalds1da177e2005-04-16 15:20:36 -07005284const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards);
5285
5286/* ------------------------------------------------------------------ */
5287/* PCI ids + subsystem IDs */
5288
5289struct pci_device_id saa7134_pci_tbl[] = {
5290 {
5291 .vendor = PCI_VENDOR_ID_PHILIPS,
5292 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5293 .subvendor = PCI_VENDOR_ID_PHILIPS,
5294 .subdevice = 0x2001,
5295 .driver_data = SAA7134_BOARD_PROTEUS_PRO,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005296 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005297 .vendor = PCI_VENDOR_ID_PHILIPS,
5298 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5299 .subvendor = PCI_VENDOR_ID_PHILIPS,
5300 .subdevice = 0x2001,
5301 .driver_data = SAA7134_BOARD_PROTEUS_PRO,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005302 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005303 .vendor = PCI_VENDOR_ID_PHILIPS,
5304 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5305 .subvendor = PCI_VENDOR_ID_PHILIPS,
5306 .subdevice = 0x6752,
5307 .driver_data = SAA7134_BOARD_EMPRESS,
5308 },{
5309 .vendor = PCI_VENDOR_ID_PHILIPS,
5310 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005311 .subvendor = 0x1131,
5312 .subdevice = 0x4e85,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005313 .driver_data = SAA7134_BOARD_MONSTERTV,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005314 },{
5315 .vendor = PCI_VENDOR_ID_PHILIPS,
5316 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Michael Krufky7df64e82005-11-08 21:36:16 -08005317 .subvendor = 0x153b,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005318 .subdevice = 0x1142,
5319 .driver_data = SAA7134_BOARD_CINERGY400,
5320 },{
5321 .vendor = PCI_VENDOR_ID_PHILIPS,
5322 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Michael Krufky7df64e82005-11-08 21:36:16 -08005323 .subvendor = 0x153b,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005324 .subdevice = 0x1143,
5325 .driver_data = SAA7134_BOARD_CINERGY600,
5326 },{
5327 .vendor = PCI_VENDOR_ID_PHILIPS,
5328 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Michael Krufky7df64e82005-11-08 21:36:16 -08005329 .subvendor = 0x153b,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005330 .subdevice = 0x1158,
5331 .driver_data = SAA7134_BOARD_CINERGY600_MK3,
5332 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005333 .vendor = PCI_VENDOR_ID_PHILIPS,
5334 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5335 .subvendor = 0x153b,
5336 .subdevice = 0x1162,
5337 .driver_data = SAA7134_BOARD_CINERGY400_CARDBUS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005338 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005339 .vendor = PCI_VENDOR_ID_PHILIPS,
5340 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Zac Bowlingf49ba8d2006-06-19 19:49:20 -03005341 .subvendor = 0x5169,
5342 .subdevice = 0x0138,
5343 .driver_data = SAA7134_BOARD_FLYVIDEO3000_NTSC,
5344 },{
5345 .vendor = PCI_VENDOR_ID_PHILIPS,
5346 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005347 .subvendor = 0x5168,
5348 .subdevice = 0x0138,
5349 .driver_data = SAA7134_BOARD_FLYVIDEO3000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005350 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005351 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005352 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5353 .subvendor = 0x4e42, /* "Typhoon PCI Capture TV Card" Art.No. 50673 */
5354 .subdevice = 0x0138,
5355 .driver_data = SAA7134_BOARD_FLYVIDEO3000,
5356 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005357 .vendor = PCI_VENDOR_ID_PHILIPS,
5358 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5359 .subvendor = 0x5168,
5360 .subdevice = 0x0138,
5361 .driver_data = SAA7134_BOARD_FLYVIDEO2000,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005362 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005363 .vendor = PCI_VENDOR_ID_PHILIPS,
Peter Missel10b7a902006-01-23 17:11:06 -02005364 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5365 .subvendor = 0x4e42, /* Typhoon */
5366 .subdevice = 0x0138, /* LifeView FlyTV Prime30 OEM */
5367 .driver_data = SAA7134_BOARD_FLYVIDEO2000,
5368 },{
5369 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005370 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005371 .subvendor = 0x5168,
5372 .subdevice = 0x0212, /* minipci, LR212 */
5373 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005374 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005375 .vendor = PCI_VENDOR_ID_PHILIPS,
5376 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Mauro Carvalho Chehab058afaf2005-11-08 21:36:49 -08005377 .subvendor = 0x14c0,
5378 .subdevice = 0x1212, /* minipci, LR1212 */
5379 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI2,
5380 },{
5381 .vendor = PCI_VENDOR_ID_PHILIPS,
5382 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Glen Gray2d14f782005-11-08 21:36:12 -08005383 .subvendor = 0x4e42,
5384 .subdevice = 0x0212, /* OEM minipci, LR212 */
5385 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
5386 },{
5387 .vendor = PCI_VENDOR_ID_PHILIPS,
5388 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Peter Missel10e92062005-05-01 08:59:21 -07005389 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
Simon Farnsworthb39423a2007-05-01 10:01:20 -03005390 .subdevice = 0x0214, /* Standard PCI, LR214 Rev E and earlier (SAA7135) */
5391 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
5392 },{
5393 .vendor = PCI_VENDOR_ID_PHILIPS,
5394 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5395 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
5396 .subdevice = 0x5214, /* Standard PCI, LR214 Rev F onwards (SAA7131) */
Linus Torvalds1da177e2005-04-16 15:20:36 -07005397 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005398 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005399 .vendor = PCI_VENDOR_ID_PHILIPS,
Peter Missel10e92062005-05-01 08:59:21 -07005400 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5401 .subvendor = 0x1489, /* KYE */
5402 .subdevice = 0x0214, /* Genius VideoWonder ProTV */
5403 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM, /* is an LR214WF actually */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005404 },{
Peter Missel10e92062005-05-01 08:59:21 -07005405 .vendor = PCI_VENDOR_ID_PHILIPS,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005406 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5407 .subvendor = 0x16be,
5408 .subdevice = 0x0003,
5409 .driver_data = SAA7134_BOARD_MD7134,
5410 },{
5411 .vendor = PCI_VENDOR_ID_PHILIPS,
Hermann Pittona5525682008-12-05 19:49:34 -03005412 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5413 .subvendor = 0x16be, /* CTX946 analog TV, HW mpeg, DVB-T */
5414 .subdevice = 0x5000, /* only analog TV and DVB-T for now */
5415 .driver_data = SAA7134_BOARD_MD7134,
5416 }, {
5417 .vendor = PCI_VENDOR_ID_PHILIPS,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005418 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5419 .subvendor = 0x1048,
5420 .subdevice = 0x226b,
5421 .driver_data = SAA7134_BOARD_ELSA,
5422 },{
5423 .vendor = PCI_VENDOR_ID_PHILIPS,
5424 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5425 .subvendor = 0x1048,
Michael Krufky9a7871b2006-02-27 15:22:49 -03005426 .subdevice = 0x226a,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005427 .driver_data = SAA7134_BOARD_ELSA_500TV,
5428 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005429 .vendor = PCI_VENDOR_ID_PHILIPS,
Tamuki Shoichid0456d12006-02-27 00:08:04 -03005430 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Michael Krufkyba524292006-02-27 14:38:17 -03005431 .subvendor = 0x1048,
5432 .subdevice = 0x226c,
Tamuki Shoichid0456d12006-02-27 00:08:04 -03005433 .driver_data = SAA7134_BOARD_ELSA_700TV,
5434 },{
5435 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005436 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5437 .subvendor = PCI_VENDOR_ID_ASUSTEK,
5438 .subdevice = 0x4842,
5439 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005440 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005441 .vendor = PCI_VENDOR_ID_PHILIPS,
5442 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5443 .subvendor = PCI_VENDOR_ID_ASUSTEK,
5444 .subdevice = 0x4845,
5445 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7135,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005446 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005447 .vendor = PCI_VENDOR_ID_PHILIPS,
5448 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5449 .subvendor = PCI_VENDOR_ID_ASUSTEK,
5450 .subdevice = 0x4830,
5451 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005452 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005453 .vendor = PCI_VENDOR_ID_PHILIPS,
5454 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5455 .subvendor = PCI_VENDOR_ID_ASUSTEK,
5456 .subdevice = 0x4843,
5457 .driver_data = SAA7134_BOARD_ASUSTEK_TVFM7133,
5458 },{
5459 .vendor = PCI_VENDOR_ID_PHILIPS,
5460 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5461 .subvendor = PCI_VENDOR_ID_ASUSTEK,
5462 .subdevice = 0x4840,
5463 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
5464 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005465 .vendor = PCI_VENDOR_ID_PHILIPS,
5466 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5467 .subvendor = PCI_VENDOR_ID_PHILIPS,
5468 .subdevice = 0xfe01,
5469 .driver_data = SAA7134_BOARD_TVSTATION_RDS,
5470 },{
5471 .vendor = PCI_VENDOR_ID_PHILIPS,
5472 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5473 .subvendor = 0x1894,
5474 .subdevice = 0xfe01,
5475 .driver_data = SAA7134_BOARD_TVSTATION_RDS,
5476 },{
5477 .vendor = PCI_VENDOR_ID_PHILIPS,
5478 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5479 .subvendor = 0x1894,
5480 .subdevice = 0xa006,
5481 .driver_data = SAA7134_BOARD_TVSTATION_DVR,
5482 },{
5483 .vendor = PCI_VENDOR_ID_PHILIPS,
5484 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005485 .subvendor = 0x1131,
5486 .subdevice = 0x7133,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005487 .driver_data = SAA7134_BOARD_VA1000POWER,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005488 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005489 .vendor = PCI_VENDOR_ID_PHILIPS,
5490 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005491 .subvendor = PCI_VENDOR_ID_PHILIPS,
5492 .subdevice = 0x2001,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005493 .driver_data = SAA7134_BOARD_10MOONSTVMASTER,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005494 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005495 .vendor = PCI_VENDOR_ID_PHILIPS,
5496 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005497 .subvendor = 0x185b,
5498 .subdevice = 0xc100,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005499 .driver_data = SAA7134_BOARD_VIDEOMATE_TV,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005500 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005501 .vendor = PCI_VENDOR_ID_PHILIPS,
5502 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005503 .subvendor = 0x185b,
5504 .subdevice = 0xc100,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005505 .driver_data = SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005506 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005507 .vendor = PCI_VENDOR_ID_PHILIPS,
5508 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005509 .subvendor = PCI_VENDOR_ID_MATROX,
5510 .subdevice = 0x48d0,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005511 .driver_data = SAA7134_BOARD_CRONOS_PLUS,
5512 },{
5513 .vendor = PCI_VENDOR_ID_PHILIPS,
5514 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005515 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5516 .subdevice = 0xa70b,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005517 .driver_data = SAA7134_BOARD_MD2819,
5518 },{
5519 .vendor = PCI_VENDOR_ID_PHILIPS,
Matthias Schwarzottfc9d8ed2008-04-08 21:45:08 -03005520 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5521 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5522 .subdevice = 0xa7a1,
5523 .driver_data = SAA7134_BOARD_AVERMEDIA_A700_PRO,
5524 }, {
5525 .vendor = PCI_VENDOR_ID_PHILIPS,
5526 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5527 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5528 .subdevice = 0xa7a2,
5529 .driver_data = SAA7134_BOARD_AVERMEDIA_A700_HYBRID,
5530 }, {
5531 .vendor = PCI_VENDOR_ID_PHILIPS,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005532 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005533 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5534 .subdevice = 0x2115,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005535 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_305,
5536 },{
5537 .vendor = PCI_VENDOR_ID_PHILIPS,
5538 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005539 .subvendor = 0x1461, /* Avermedia Technologies Inc */
Vasiliy Temnikov5a5e1da2009-08-26 22:10:55 -03005540 .subdevice = 0xa115,
5541 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_505,
5542 }, {
5543 .vendor = PCI_VENDOR_ID_PHILIPS,
5544 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5545 .subvendor = 0x1461, /* Avermedia Technologies Inc */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005546 .subdevice = 0x2108,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005547 .driver_data = SAA7134_BOARD_AVERMEDIA_305,
5548 },{
5549 .vendor = PCI_VENDOR_ID_PHILIPS,
5550 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005551 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5552 .subdevice = 0x10ff,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005553 .driver_data = SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005554 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005555 /* AVerMedia CardBus */
5556 .vendor = PCI_VENDOR_ID_PHILIPS,
5557 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005558 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5559 .subdevice = 0xd6ee,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005560 .driver_data = SAA7134_BOARD_AVERMEDIA_CARDBUS,
5561 },{
Oldřich Jedličkad46de9d2009-04-14 15:47:17 -03005562 /* AVerMedia CardBus */
5563 .vendor = PCI_VENDOR_ID_PHILIPS,
5564 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5565 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5566 .subdevice = 0xb7e9,
5567 .driver_data = SAA7134_BOARD_AVERMEDIA_CARDBUS_501,
5568 }, {
Linus Torvalds1da177e2005-04-16 15:20:36 -07005569 /* TransGear 3000TV */
5570 .vendor = PCI_VENDOR_ID_PHILIPS,
5571 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005572 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5573 .subdevice = 0x050c,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005574 .driver_data = SAA7134_BOARD_TG3000TV,
5575 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005576 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005577 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5578 .subvendor = 0x11bd,
5579 .subdevice = 0x002b,
5580 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_STEREO,
5581 },{
5582 .vendor = PCI_VENDOR_ID_PHILIPS,
5583 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5584 .subvendor = 0x11bd,
5585 .subdevice = 0x002d,
5586 .driver_data = SAA7134_BOARD_PINNACLE_300I_DVBT_PAL,
5587 },{
5588 .vendor = PCI_VENDOR_ID_PHILIPS,
5589 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5590 .subvendor = 0x1019,
5591 .subdevice = 0x4cb4,
5592 .driver_data = SAA7134_BOARD_ECS_TVP3XP,
5593 },{
5594 .vendor = PCI_VENDOR_ID_PHILIPS,
5595 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5596 .subvendor = 0x1019,
5597 .subdevice = 0x4cb5,
5598 .driver_data = SAA7134_BOARD_ECS_TVP3XP_4CB5,
5599 },{
5600 .vendor = PCI_VENDOR_ID_PHILIPS,
Simon Farnsworthb39423a2007-05-01 10:01:20 -03005601 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5602 .subvendor = 0x1019,
5603 .subdevice = 0x4cb6,
5604 .driver_data = SAA7134_BOARD_ECS_TVP3XP_4CB6,
5605 },{
5606 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005607 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5608 .subvendor = 0x12ab,
5609 .subdevice = 0x0800,
5610 .driver_data = SAA7134_BOARD_UPMOST_PURPLE_TV,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005611 },{
5612 .vendor = PCI_VENDOR_ID_PHILIPS,
5613 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Michael Krufky7df64e82005-11-08 21:36:16 -08005614 .subvendor = 0x153b,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005615 .subdevice = 0x1152,
5616 .driver_data = SAA7134_BOARD_CINERGY200,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005617 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005618 .vendor = PCI_VENDOR_ID_PHILIPS,
5619 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005620 .subvendor = 0x185b,
5621 .subdevice = 0xc100,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005622 .driver_data = SAA7134_BOARD_VIDEOMATE_TV_PVR,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005623 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005624 .vendor = PCI_VENDOR_ID_PHILIPS,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005625 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5626 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5627 .subdevice = 0x9715,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07005628 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_307,
5629 },{
5630 .vendor = PCI_VENDOR_ID_PHILIPS,
5631 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5632 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5633 .subdevice = 0xa70a,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005634 .driver_data = SAA7134_BOARD_AVERMEDIA_307,
5635 },{
5636 .vendor = PCI_VENDOR_ID_PHILIPS,
5637 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5638 .subvendor = 0x185b,
5639 .subdevice = 0xc200,
5640 .driver_data = SAA7134_BOARD_VIDEOMATE_GOLD_PLUS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005641 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005642 .vendor = PCI_VENDOR_ID_PHILIPS,
5643 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5644 .subvendor = 0x1540,
5645 .subdevice = 0x9524,
5646 .driver_data = SAA7134_BOARD_PROVIDEO_PV952,
5647
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005648 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07005649 .vendor = PCI_VENDOR_ID_PHILIPS,
5650 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5651 .subvendor = 0x5168,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005652 .subdevice = 0x0502, /* Cardbus version */
Peter Missel10b7a902006-01-23 17:11:06 -02005653 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005654 },{
5655 .vendor = PCI_VENDOR_ID_PHILIPS,
5656 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5657 .subvendor = 0x5168,
5658 .subdevice = 0x0306, /* PCI version */
Linus Torvalds1da177e2005-04-16 15:20:36 -07005659 .driver_data = SAA7134_BOARD_FLYDVBTDUO,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07005660 },{
5661 .vendor = PCI_VENDOR_ID_PHILIPS,
5662 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5663 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5664 .subdevice = 0xf31f,
5665 .driver_data = SAA7134_BOARD_AVERMEDIA_GO_007_FM,
5666
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005667 },{
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07005668 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehab36f6bb92008-06-26 17:03:00 -03005669 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5670 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5671 .subdevice = 0xf11d,
5672 .driver_data = SAA7134_BOARD_AVERMEDIA_M135A,
5673 }, {
5674 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005675 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5676 .subvendor = PCI_VENDOR_ID_PHILIPS,
5677 .subdevice = 0x2004,
5678 .driver_data = SAA7134_BOARD_PHILIPS_TOUGH,
5679 },{
5680 .vendor = PCI_VENDOR_ID_PHILIPS,
5681 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07005682 .subvendor = 0x1421,
5683 .subdevice = 0x0350, /* PCI version */
5684 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005685 },{
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07005686 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005687 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07005688 .subvendor = 0x1421,
Ricardo Cerqueira41d70c22006-01-09 15:25:34 -02005689 .subdevice = 0x0351, /* PCI version, new revision */
5690 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
5691 },{
5692 .vendor = PCI_VENDOR_ID_PHILIPS,
5693 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5694 .subvendor = 0x1421,
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07005695 .subdevice = 0x0370, /* cardbus version */
5696 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
Hartmut Hackmannd4b0aba2005-11-08 21:38:44 -08005697 },{
5698 .vendor = PCI_VENDOR_ID_PHILIPS,
5699 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5700 .subvendor = 0x1421,
5701 .subdevice = 0x1370, /* cardbus version */
5702 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
Linus Torvalds1da177e2005-04-16 15:20:36 -07005703
Peter Missel10b7a902006-01-23 17:11:06 -02005704 },{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005705 .vendor = PCI_VENDOR_ID_PHILIPS,
5706 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Peter Missel10b7a902006-01-23 17:11:06 -02005707 .subvendor = 0x4e42, /* Typhoon */
5708 .subdevice = 0x0502, /* LifeView LR502 OEM */
5709 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
Mauro Carvalho Chehab2f180712005-09-09 13:03:46 -07005710 },{
5711 .vendor = PCI_VENDOR_ID_PHILIPS,
5712 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5713 .subvendor = 0x1043,
5714 .subdevice = 0x0210, /* mini pci NTSC version */
5715 .driver_data = SAA7134_BOARD_FLYTV_DIGIMATRIX,
5716 },{
5717 .vendor = PCI_VENDOR_ID_PHILIPS,
5718 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5719 .subvendor = 0x1043,
5720 .subdevice = 0x0210, /* mini pci PAL/SECAM version */
Michael Krufky5d5c9902005-11-08 21:38:08 -08005721 .driver_data = SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07005722
5723 },{
Nickolay V. Shmyreva8ff4172005-11-08 21:36:16 -08005724 .vendor = PCI_VENDOR_ID_PHILIPS,
5725 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5726 .subvendor = 0x0000, /* It shouldn't break anything, since subdevice id seems unique */
5727 .subdevice = 0x4091,
5728 .driver_data = SAA7134_BOARD_BEHOLD_409FM,
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08005729 },{
5730 .vendor = PCI_VENDOR_ID_PHILIPS,
5731 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5732 .subvendor = 0x5456, /* GoTView */
5733 .subdevice = 0x7135,
5734 .driver_data = SAA7134_BOARD_GOTVIEW_7135,
5735 },{
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08005736 .vendor = PCI_VENDOR_ID_PHILIPS,
5737 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5738 .subvendor = PCI_VENDOR_ID_PHILIPS,
5739 .subdevice = 0x2004,
5740 .driver_data = SAA7134_BOARD_PHILIPS_EUROPA,
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08005741 },{
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08005742 .vendor = PCI_VENDOR_ID_PHILIPS,
5743 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5744 .subvendor = 0x185b,
5745 .subdevice = 0xc900,
5746 .driver_data = SAA7134_BOARD_VIDEOMATE_DVBT_300,
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08005747 },{
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08005748 .vendor = PCI_VENDOR_ID_PHILIPS,
5749 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5750 .subvendor = 0x185b,
5751 .subdevice = 0xc901,
5752 .driver_data = SAA7134_BOARD_VIDEOMATE_DVBT_200,
5753 },{
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08005754 .vendor = PCI_VENDOR_ID_PHILIPS,
5755 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5756 .subvendor = 0x1435,
5757 .subdevice = 0x7350,
5758 .driver_data = SAA7134_BOARD_RTD_VFG7350,
Nickolay V. Shmyrevbb881f12005-11-08 21:36:35 -08005759 },{
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08005760 .vendor = PCI_VENDOR_ID_PHILIPS,
5761 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5762 .subvendor = 0x1435,
5763 .subdevice = 0x7330,
5764 .driver_data = SAA7134_BOARD_RTD_VFG7330,
Pieter Palmerscf1c5d12005-11-08 21:37:40 -08005765 },{
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08005766 .vendor = PCI_VENDOR_ID_PHILIPS,
5767 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5768 .subvendor = 0x1461,
5769 .subdevice = 0x1044,
5770 .driver_data = SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180,
5771 },{
Pieter Palmerscf1c5d12005-11-08 21:37:40 -08005772 .vendor = PCI_VENDOR_ID_PHILIPS,
5773 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5774 .subvendor = 0x1131,
5775 .subdevice = 0x4ee9,
5776 .driver_data = SAA7134_BOARD_MONSTERTV_MOBILE,
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08005777 },{
Ricardo Cerqueirac2f6f9d2005-11-08 21:37:51 -08005778 .vendor = PCI_VENDOR_ID_PHILIPS,
5779 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5780 .subvendor = 0x11bd,
5781 .subdevice = 0x002e,
5782 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_110i,
5783 },{
Hermann Pitton28f02242005-11-08 21:38:03 -08005784 .vendor = PCI_VENDOR_ID_PHILIPS,
5785 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5786 .subvendor = 0x1043,
5787 .subdevice = 0x4862,
5788 .driver_data = SAA7134_BOARD_ASUSTeK_P7131_DUAL,
Pavel Mihaylovc3d93192005-11-08 21:38:43 -08005789 },{
Hartmut Hackmann90e9df72005-11-08 21:38:42 -08005790 .vendor = PCI_VENDOR_ID_PHILIPS,
5791 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5792 .subvendor = PCI_VENDOR_ID_PHILIPS,
5793 .subdevice = 0x2018,
5794 .driver_data = SAA7134_BOARD_PHILIPS_TIGER,
Hermann Pitton28f02242005-11-08 21:38:03 -08005795 },{
Ricardo Cerqueira80d2ad92005-11-13 16:08:01 -08005796 .vendor = PCI_VENDOR_ID_PHILIPS,
5797 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5798 .subvendor = 0x1462,
Hermann Pittonb6667e52008-01-12 14:43:48 -03005799 .subdevice = 0x6231, /* tda8275a, ks003 IR */
5800 .driver_data = SAA7134_BOARD_MSI_TVATANYWHERE_PLUS,
5801 },{
5802 .vendor = PCI_VENDOR_ID_PHILIPS,
5803 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5804 .subvendor = 0x1462,
5805 .subdevice = 0x8624, /* tda8275, ks003 IR */
Ricardo Cerqueira80d2ad92005-11-13 16:08:01 -08005806 .driver_data = SAA7134_BOARD_MSI_TVATANYWHERE_PLUS,
5807 },{
Jörg Schummerf639c9b2006-01-09 15:25:01 -02005808 .vendor = PCI_VENDOR_ID_PHILIPS,
5809 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5810 .subvendor = 0x153b,
5811 .subdevice = 0x1160,
5812 .driver_data = SAA7134_BOARD_CINERGY250PCI,
5813 },{
Peter Missel4aa6ba52006-01-09 15:32:45 -02005814 .vendor = PCI_VENDOR_ID_PHILIPS,
5815 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA 7131E */
5816 .subvendor = 0x5168,
5817 .subdevice = 0x0319,
5818 .driver_data = SAA7134_BOARD_FLYDVB_TRIO,
5819 },{
Jose Alberto Regueroa78d0bf2006-02-07 06:25:14 -02005820 .vendor = PCI_VENDOR_ID_PHILIPS,
Hartmut Hackmann1e9bfb92006-08-07 14:03:32 -03005821 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Jose Alberto Regueroa78d0bf2006-02-07 06:25:14 -02005822 .subvendor = 0x1461,
5823 .subdevice = 0x2c05,
5824 .driver_data = SAA7134_BOARD_AVERMEDIA_777,
5825 },{
Giampiero Giancipoli3d8466e2006-02-07 06:49:09 -02005826 .vendor = PCI_VENDOR_ID_PHILIPS,
5827 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5828 .subvendor = 0x5168,
5829 .subdevice = 0x0301,
5830 .driver_data = SAA7134_BOARD_FLYDVBT_LR301,
5831 },{
Hartmut Hackmanndf42eaf2006-02-07 06:49:10 -02005832 .vendor = PCI_VENDOR_ID_PHILIPS,
5833 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5834 .subvendor = 0x0331,
5835 .subdevice = 0x1421,
5836 .driver_data = SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331,
5837 },{
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02005838 .vendor = PCI_VENDOR_ID_PHILIPS,
5839 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5840 .subvendor = 0x17de,
5841 .subdevice = 0x7201,
5842 .driver_data = SAA7134_BOARD_TEVION_DVBT_220RF,
5843 },{
Andrew Burri3e1410a2006-02-27 00:08:23 -03005844 .vendor = PCI_VENDOR_ID_PHILIPS,
Simon Farnsworthb39423a2007-05-01 10:01:20 -03005845 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5846 .subvendor = 0x17de,
5847 .subdevice = 0x7250,
5848 .driver_data = SAA7134_BOARD_KWORLD_DVBT_210,
5849 },{
5850 .vendor = PCI_VENDOR_ID_PHILIPS,
Andrew Burri3e1410a2006-02-27 00:08:23 -03005851 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA7135HL */
5852 .subvendor = 0x17de,
5853 .subdevice = 0x7350,
5854 .driver_data = SAA7134_BOARD_KWORLD_ATSC110,
5855 },{
Rickard Osser68593af2006-03-11 17:14:12 -03005856 .vendor = PCI_VENDOR_ID_PHILIPS,
Eric Sandeen0ac3a5b2007-10-08 16:13:02 -03005857 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA7135HL */
5858 .subvendor = 0x17de,
5859 .subdevice = 0x7352,
5860 .driver_data = SAA7134_BOARD_KWORLD_ATSC110, /* ATSC 115 */
5861 },{
5862 .vendor = PCI_VENDOR_ID_PHILIPS,
Rickard Osser68593af2006-03-11 17:14:12 -03005863 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5864 .subvendor = 0x1461,
5865 .subdevice = 0x7360,
5866 .driver_data = SAA7134_BOARD_AVERMEDIA_A169_B,
5867 },{
5868 .vendor = PCI_VENDOR_ID_PHILIPS,
5869 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5870 .subvendor = 0x1461,
5871 .subdevice = 0x6360,
5872 .driver_data = SAA7134_BOARD_AVERMEDIA_A169_B1,
5873 },{
Michael Krufkyba3a5a82006-03-14 19:02:12 -03005874 .vendor = PCI_VENDOR_ID_PHILIPS,
5875 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5876 .subvendor = 0x16be,
5877 .subdevice = 0x0005,
5878 .driver_data = SAA7134_BOARD_MD7134_BRIDGE_2,
5879 },{
Igor M. Liplianine2ac28f2006-08-08 09:10:10 -03005880 .vendor = PCI_VENDOR_ID_PHILIPS,
5881 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5882 .subvendor = 0x5168,
5883 .subdevice = 0x0300,
5884 .driver_data = SAA7134_BOARD_FLYDVBS_LR300,
5885 },{
5886 .vendor = PCI_VENDOR_ID_PHILIPS,
5887 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5888 .subvendor = 0x4e42,
5889 .subdevice = 0x0300,/* LR300 */
5890 .driver_data = SAA7134_BOARD_FLYDVBS_LR300,
5891 },{
Hartmut Hackmann42e6b3b2006-03-27 19:04:48 -03005892 .vendor = PCI_VENDOR_ID_PHILIPS,
5893 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5894 .subvendor = 0x1489,
5895 .subdevice = 0x0301,
5896 .driver_data = SAA7134_BOARD_FLYDVBT_LR301,
5897 },{
5898 .vendor = PCI_VENDOR_ID_PHILIPS,
5899 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5900 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
5901 .subdevice = 0x0304,
5902 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
5903 },{
Hartmut Hackmannd95b8942006-03-27 19:39:30 -03005904 .vendor = PCI_VENDOR_ID_PHILIPS,
5905 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5906 .subvendor = 0x5168,
5907 .subdevice = 0x3306,
5908 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
5909 },{
5910 .vendor = PCI_VENDOR_ID_PHILIPS,
5911 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5912 .subvendor = 0x5168,
5913 .subdevice = 0x3502, /* whats the difference to 0x3306 ?*/
5914 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
5915 },{
Hartmut Hackmann5eda2272006-08-07 14:03:32 -03005916 .vendor = PCI_VENDOR_ID_PHILIPS,
5917 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Hermann Pitton29e4e052008-01-20 19:49:51 -03005918 .subvendor = 0x5168,
5919 .subdevice = 0x3307, /* FlyDVB-T Hybrid Mini PCI */
5920 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
5921 }, {
5922 .vendor = PCI_VENDOR_ID_PHILIPS,
5923 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Hartmut Hackmann5eda2272006-08-07 14:03:32 -03005924 .subvendor = 0x16be,
5925 .subdevice = 0x0007,
5926 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
5927 },{
5928 .vendor = PCI_VENDOR_ID_PHILIPS,
5929 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5930 .subvendor = 0x16be,
5931 .subdevice = 0x0008,
5932 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
5933 },{
Hartmut Hackmann1e9bfb92006-08-07 14:03:32 -03005934 .vendor = PCI_VENDOR_ID_PHILIPS,
5935 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Hermann Pitton728b92a2008-01-20 19:42:01 -03005936 .subvendor = 0x16be,
5937 .subdevice = 0x000d, /* triple CTX948_V1.1.1 */
5938 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
5939 }, {
5940 .vendor = PCI_VENDOR_ID_PHILIPS,
5941 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Hartmut Hackmann1e9bfb92006-08-07 14:03:32 -03005942 .subvendor = 0x1461,
5943 .subdevice = 0x2c05,
5944 .driver_data = SAA7134_BOARD_AVERMEDIA_777,
5945 },{
Hartmut Hackmann2c591942006-08-07 14:03:32 -03005946 .vendor = PCI_VENDOR_ID_PHILIPS,
5947 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5948 .subvendor = 0x1489,
5949 .subdevice = 0x0502, /* Cardbus version */
5950 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
5951 },{
Michal Majchrowiczb04c1ba2006-09-13 16:42:42 -03005952 .vendor = PCI_VENDOR_ID_PHILIPS,
5953 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5954 .subvendor = 0x0919, /* Philips Proteus PRO 2309 */
5955 .subdevice = 0x2003,
5956 .driver_data = SAA7134_BOARD_PROTEUS_2309,
5957 },{
Petr Baudis515c2082006-09-26 16:53:53 -03005958 .vendor = PCI_VENDOR_ID_PHILIPS,
5959 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5960 .subvendor = 0x1461,
5961 .subdevice = 0x2c00,
5962 .driver_data = SAA7134_BOARD_AVERMEDIA_A16AR,
5963 },{
Hartmut Hackmanncf146ca2006-10-02 20:49:24 -03005964 .vendor = PCI_VENDOR_ID_PHILIPS,
5965 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5966 .subvendor = 0x1043,
5967 .subdevice = 0x4860,
5968 .driver_data = SAA7134_BOARD_ASUS_EUROPA2_HYBRID,
5969 },{
Hartmut Hackmann587d2fd2006-10-06 19:13:50 -03005970 .vendor = PCI_VENDOR_ID_PHILIPS,
5971 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5972 .subvendor = 0x11bd,
5973 .subdevice = 0x002f,
5974 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_310i,
5975 },{
Mikhail Fedotov3ac706d2006-10-06 20:23:47 -03005976 .vendor = PCI_VENDOR_ID_PHILIPS,
5977 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5978 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5979 .subdevice = 0x9715,
5980 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_507,
5981 },{
Hartmut Hackmann83646812006-10-12 20:38:51 -03005982 .vendor = PCI_VENDOR_ID_PHILIPS,
Andy Shevchenkodf0dbbe2009-04-08 14:01:19 -03005983 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5984 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5985 .subdevice = 0xa11b,
5986 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_507UA,
5987 }, {
5988 .vendor = PCI_VENDOR_ID_PHILIPS,
Hartmut Hackmann83646812006-10-12 20:38:51 -03005989 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5990 .subvendor = 0x1043,
5991 .subdevice = 0x4876,
Hartmut Hackmannf3eec0c02007-03-14 20:33:55 -03005992 .driver_data = SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA,
Hartmut Hackmann83646812006-10-12 20:38:51 -03005993 },{
Thomas Gentyc6e53da2006-11-05 14:17:30 -03005994 .vendor = PCI_VENDOR_ID_PHILIPS,
5995 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5996 .subvendor = 0x0070,
Michael Krufkyddf12222007-11-15 10:01:11 -03005997 .subdevice = 0x6700,
5998 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
5999 },{
6000 .vendor = PCI_VENDOR_ID_PHILIPS,
6001 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6002 .subvendor = 0x0070,
Thomas Gentyc6e53da2006-11-05 14:17:30 -03006003 .subdevice = 0x6701,
6004 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
6005 },{
Hartmut Hackmann550a9a52006-11-15 21:31:54 -03006006 .vendor = PCI_VENDOR_ID_PHILIPS,
6007 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Michael Krufkyddf12222007-11-15 10:01:11 -03006008 .subvendor = 0x0070,
6009 .subdevice = 0x6702,
6010 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
6011 },{
6012 .vendor = PCI_VENDOR_ID_PHILIPS,
6013 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6014 .subvendor = 0x0070,
6015 .subdevice = 0x6703,
6016 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
6017 },{
6018 .vendor = PCI_VENDOR_ID_PHILIPS,
6019 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6020 .subvendor = 0x0070,
6021 .subdevice = 0x6704,
6022 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
6023 },{
6024 .vendor = PCI_VENDOR_ID_PHILIPS,
6025 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6026 .subvendor = 0x0070,
6027 .subdevice = 0x6705,
6028 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
6029 },{
6030 .vendor = PCI_VENDOR_ID_PHILIPS,
6031 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Michael Krufkyf9996c92009-02-28 17:45:17 -03006032 .subvendor = 0x0070,
6033 .subdevice = 0x6706,
Michael Krufkyb5f05062009-08-03 16:51:33 -03006034 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1150,
Michael Krufkyf9996c92009-02-28 17:45:17 -03006035 },{
6036 .vendor = PCI_VENDOR_ID_PHILIPS,
6037 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6038 .subvendor = 0x0070,
6039 .subdevice = 0x6707,
Michael Krufky0e316ec2009-08-03 16:51:33 -03006040 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1120,
Michael Krufkyf9996c92009-02-28 17:45:17 -03006041 },{
6042 .vendor = PCI_VENDOR_ID_PHILIPS,
6043 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6044 .subvendor = 0x0070,
6045 .subdevice = 0x6708,
Michael Krufkyb5f05062009-08-03 16:51:33 -03006046 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1150,
Michael Krufkyf9996c92009-02-28 17:45:17 -03006047 },{
6048 .vendor = PCI_VENDOR_ID_PHILIPS,
6049 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6050 .subvendor = 0x0070,
6051 .subdevice = 0x6709,
Michael Krufky0e316ec2009-08-03 16:51:33 -03006052 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1120,
Michael Krufkyf9996c92009-02-28 17:45:17 -03006053 },{
6054 .vendor = PCI_VENDOR_ID_PHILIPS,
6055 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6056 .subvendor = 0x0070,
6057 .subdevice = 0x670a,
Michael Krufky0e316ec2009-08-03 16:51:33 -03006058 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1120,
Michael Krufkyf9996c92009-02-28 17:45:17 -03006059 },{
6060 .vendor = PCI_VENDOR_ID_PHILIPS,
6061 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Hartmut Hackmann550a9a52006-11-15 21:31:54 -03006062 .subvendor = 0x153b,
6063 .subdevice = 0x1172,
6064 .driver_data = SAA7134_BOARD_CINERGY_HT_PCMCIA,
6065 },{
Steven Walterd1158f42006-12-20 09:29:09 -03006066 .vendor = PCI_VENDOR_ID_PHILIPS,
6067 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6068 .subvendor = PCI_VENDOR_ID_PHILIPS,
6069 .subdevice = 0x2342,
6070 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
6071 },{
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03006072 .vendor = PCI_VENDOR_ID_PHILIPS,
6073 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6074 .subvendor = 0x1131,
6075 .subdevice = 0x2341,
6076 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
6077 },{
6078 .vendor = PCI_VENDOR_ID_PHILIPS,
6079 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6080 .subvendor = 0x3016,
6081 .subdevice = 0x2344,
6082 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
6083 },{
6084 .vendor = PCI_VENDOR_ID_PHILIPS,
6085 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6086 .subvendor = 0x1131,
6087 .subdevice = 0x230f,
6088 .driver_data = SAA7134_BOARD_ENCORE_ENLTV_FM,
6089 },{
Michael Krufky9de271e2007-01-16 18:36:40 -03006090 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehabbf1ece62008-06-26 17:03:00 -03006091 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6092 .subvendor = 0x1a7f,
6093 .subdevice = 0x2008,
6094 .driver_data = SAA7134_BOARD_ENCORE_ENLTV_FM53,
6095 }, {
6096 .vendor = PCI_VENDOR_ID_PHILIPS,
Michael Krufky9de271e2007-01-16 18:36:40 -03006097 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6098 .subvendor = 0x153b,
6099 .subdevice = 0x1175,
6100 .driver_data = SAA7134_BOARD_CINERGY_HT_PCI,
6101 },{
Markus Rechbergere95d3172007-04-27 12:31:19 -03006102 .vendor = PCI_VENDOR_ID_PHILIPS,
6103 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6104 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6105 .subdevice = 0xf31e,
6106 .driver_data = SAA7134_BOARD_AVERMEDIA_M102,
6107 },{
Peter Misseldb483672007-04-27 12:31:20 -03006108 .vendor = PCI_VENDOR_ID_PHILIPS,
6109 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6110 .subvendor = 0x4E42, /* MSI */
6111 .subdevice = 0x0306, /* TV@nywhere DUO */
6112 .driver_data = SAA7134_BOARD_FLYDVBTDUO,
6113 },{
Hartmut Hackmanne06cea42007-03-13 20:58:29 -03006114 .vendor = PCI_VENDOR_ID_PHILIPS,
6115 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6116 .subvendor = 0x1043,
6117 .subdevice = 0x4871,
6118 .driver_data = SAA7134_BOARD_ASUS_P7131_4871,
6119 },{
6120 .vendor = PCI_VENDOR_ID_PHILIPS,
6121 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6122 .subvendor = 0x1043,
Hermann Pitton028165a2008-10-04 21:37:36 -03006123 .subdevice = 0x4857, /* REV:1.00 */
6124 .driver_data = SAA7134_BOARD_ASUSTeK_TIGER,
Hartmut Hackmanne06cea42007-03-13 20:58:29 -03006125 },{
James T Klaas53958b32007-05-01 10:48:09 -03006126 .vendor = PCI_VENDOR_ID_PHILIPS,
6127 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6128 .subvendor = 0x0919, /* SinoVideo PCI 2309 Proteus (7134) */
6129 .subdevice = 0x2003, /* OEM cardbus */
6130 .driver_data = SAA7134_BOARD_SABRENT_TV_PCB05,
6131 },{
Tony Wanaaccb822007-05-10 12:16:47 -03006132 .vendor = PCI_VENDOR_ID_PHILIPS,
6133 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6134 .subvendor = PCI_VENDOR_ID_PHILIPS,
6135 .subdevice = 0x2304,
6136 .driver_data = SAA7134_BOARD_10MOONSTVMASTER3,
6137 },{
Edgar Simod90d9f52007-08-20 14:14:50 -03006138 .vendor = PCI_VENDOR_ID_PHILIPS,
6139 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6140 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6141 .subdevice = 0xf01d, /* AVerTV DVB-T Super 007 */
6142 .driver_data = SAA7134_BOARD_AVERMEDIA_SUPER_007,
6143 },{
Mauro Carvalho Chehab593f18c2007-10-07 02:17:09 -03006144 .vendor = PCI_VENDOR_ID_PHILIPS,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006145 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006146 .subvendor = 0x0000,
6147 .subdevice = 0x4016,
6148 .driver_data = SAA7134_BOARD_BEHOLD_401,
6149 },{
6150 .vendor = PCI_VENDOR_ID_PHILIPS,
6151 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006152 .subvendor = 0x0000,
6153 .subdevice = 0x4036,
6154 .driver_data = SAA7134_BOARD_BEHOLD_403,
6155 },{
6156 .vendor = PCI_VENDOR_ID_PHILIPS,
6157 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6158 .subvendor = 0x0000,
6159 .subdevice = 0x4037,
6160 .driver_data = SAA7134_BOARD_BEHOLD_403FM,
6161 },{
6162 .vendor = PCI_VENDOR_ID_PHILIPS,
6163 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6164 .subvendor = 0x0000,
6165 .subdevice = 0x4050,
6166 .driver_data = SAA7134_BOARD_BEHOLD_405,
6167 },{
6168 .vendor = PCI_VENDOR_ID_PHILIPS,
6169 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6170 .subvendor = 0x0000,
6171 .subdevice = 0x4051,
6172 .driver_data = SAA7134_BOARD_BEHOLD_405FM,
6173 },{
6174 .vendor = PCI_VENDOR_ID_PHILIPS,
6175 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6176 .subvendor = 0x0000,
6177 .subdevice = 0x4070,
6178 .driver_data = SAA7134_BOARD_BEHOLD_407,
6179 },{
6180 .vendor = PCI_VENDOR_ID_PHILIPS,
6181 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6182 .subvendor = 0x0000,
6183 .subdevice = 0x4071,
6184 .driver_data = SAA7134_BOARD_BEHOLD_407FM,
6185 },{
6186 .vendor = PCI_VENDOR_ID_PHILIPS,
6187 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6188 .subvendor = 0x0000,
6189 .subdevice = 0x4090,
6190 .driver_data = SAA7134_BOARD_BEHOLD_409,
6191 },{
6192 .vendor = PCI_VENDOR_ID_PHILIPS,
6193 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6194 .subvendor = 0x0000,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006195 .subdevice = 0x505B,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03006196 .driver_data = SAA7134_BOARD_BEHOLD_505RDS,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006197 },{
6198 .vendor = PCI_VENDOR_ID_PHILIPS,
6199 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6200 .subvendor = 0x5ace,
6201 .subdevice = 0x5050,
6202 .driver_data = SAA7134_BOARD_BEHOLD_505FM,
6203 },{
6204 .vendor = PCI_VENDOR_ID_PHILIPS,
6205 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6206 .subvendor = 0x0000,
6207 .subdevice = 0x5071,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03006208 .driver_data = SAA7134_BOARD_BEHOLD_507RDS_MK3,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006209 },{
6210 .vendor = PCI_VENDOR_ID_PHILIPS,
6211 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6212 .subvendor = 0x0000,
6213 .subdevice = 0x507B,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03006214 .driver_data = SAA7134_BOARD_BEHOLD_507RDS_MK5,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006215 },{
6216 .vendor = PCI_VENDOR_ID_PHILIPS,
6217 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6218 .subvendor = 0x5ace,
6219 .subdevice = 0x5070,
6220 .driver_data = SAA7134_BOARD_BEHOLD_507_9FM,
6221 },{
6222 .vendor = PCI_VENDOR_ID_PHILIPS,
6223 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6224 .subvendor = 0x5ace,
6225 .subdevice = 0x5090,
6226 .driver_data = SAA7134_BOARD_BEHOLD_507_9FM,
6227 },{
6228 .vendor = PCI_VENDOR_ID_PHILIPS,
6229 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6230 .subvendor = 0x0000,
6231 .subdevice = 0x5201,
6232 .driver_data = SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM,
6233 },{
6234 .vendor = PCI_VENDOR_ID_PHILIPS,
6235 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6236 .subvendor = 0x5ace,
6237 .subdevice = 0x6070,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03006238 .driver_data = SAA7134_BOARD_BEHOLD_607FM_MK3,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006239 },{
6240 .vendor = PCI_VENDOR_ID_PHILIPS,
6241 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6242 .subvendor = 0x5ace,
6243 .subdevice = 0x6071,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03006244 .driver_data = SAA7134_BOARD_BEHOLD_607FM_MK5,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006245 },{
6246 .vendor = PCI_VENDOR_ID_PHILIPS,
6247 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6248 .subvendor = 0x5ace,
6249 .subdevice = 0x6072,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03006250 .driver_data = SAA7134_BOARD_BEHOLD_607RDS_MK3,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006251 },{
6252 .vendor = PCI_VENDOR_ID_PHILIPS,
6253 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6254 .subvendor = 0x5ace,
6255 .subdevice = 0x6073,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03006256 .driver_data = SAA7134_BOARD_BEHOLD_607RDS_MK5,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006257 },{
6258 .vendor = PCI_VENDOR_ID_PHILIPS,
6259 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6260 .subvendor = 0x5ace,
6261 .subdevice = 0x6090,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03006262 .driver_data = SAA7134_BOARD_BEHOLD_609FM_MK3,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006263 },{
6264 .vendor = PCI_VENDOR_ID_PHILIPS,
6265 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6266 .subvendor = 0x5ace,
6267 .subdevice = 0x6091,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03006268 .driver_data = SAA7134_BOARD_BEHOLD_609FM_MK5,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006269 },{
6270 .vendor = PCI_VENDOR_ID_PHILIPS,
6271 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6272 .subvendor = 0x5ace,
6273 .subdevice = 0x6092,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03006274 .driver_data = SAA7134_BOARD_BEHOLD_609RDS_MK3,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006275 },{
6276 .vendor = PCI_VENDOR_ID_PHILIPS,
6277 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6278 .subvendor = 0x5ace,
6279 .subdevice = 0x6093,
Dmitri Belimov84d728c2009-04-23 02:32:49 -03006280 .driver_data = SAA7134_BOARD_BEHOLD_609RDS_MK5,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006281 },{
6282 .vendor = PCI_VENDOR_ID_PHILIPS,
6283 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6284 .subvendor = 0x5ace,
6285 .subdevice = 0x6190,
6286 .driver_data = SAA7134_BOARD_BEHOLD_M6,
6287 },{
6288 .vendor = PCI_VENDOR_ID_PHILIPS,
6289 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6290 .subvendor = 0x5ace,
6291 .subdevice = 0x6193,
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03006292 .driver_data = SAA7134_BOARD_BEHOLD_M6_EXTRA,
Igor Kuznetsov5fe95e02008-04-26 14:59:08 -03006293 }, {
6294 .vendor = PCI_VENDOR_ID_PHILIPS,
6295 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6296 .subvendor = 0x5ace,
6297 .subdevice = 0x6191,
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03006298 .driver_data = SAA7134_BOARD_BEHOLD_M63,
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006299 },{
6300 .vendor = PCI_VENDOR_ID_PHILIPS,
Mauro Carvalho Chehab593f18c2007-10-07 02:17:09 -03006301 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6302 .subvendor = 0x4e42,
6303 .subdevice = 0x3502,
Hermann Pitton4ba24372008-01-20 19:27:51 -03006304 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
6305 }, {
6306 .vendor = PCI_VENDOR_ID_PHILIPS,
6307 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6308 .subvendor = 0x1822, /*Twinhan Technology Co. Ltd*/
6309 .subdevice = 0x0022,
6310 .driver_data = SAA7134_BOARD_TWINHAN_DTV_DVB_3056,
Hermann Pitton7b5b3f12008-04-22 14:42:12 -03006311 }, {
6312 .vendor = PCI_VENDOR_ID_PHILIPS,
6313 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6314 .subvendor = 0x16be,
6315 .subdevice = 0x0010, /* Medion version CTX953_V.1.4.3 */
6316 .driver_data = SAA7134_BOARD_CREATIX_CTX953,
Russell Kliese6a6179b62008-04-22 14:42:12 -03006317 }, {
6318 .vendor = PCI_VENDOR_ID_PHILIPS,
6319 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6320 .subvendor = 0x1462, /* MSI */
6321 .subdevice = 0x8625, /* TV@nywhere A/D v1.1 */
6322 .driver_data = SAA7134_BOARD_MSI_TVANYWHERE_AD11,
Mauro Carvalho Chehab593f18c2007-10-07 02:17:09 -03006323 },{
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03006324 .vendor = PCI_VENDOR_ID_PHILIPS,
6325 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6326 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6327 .subdevice = 0xf436,
6328 .driver_data = SAA7134_BOARD_AVERMEDIA_CARDBUS_506,
6329 }, {
6330 .vendor = PCI_VENDOR_ID_PHILIPS,
6331 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6332 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6333 .subdevice = 0xf936,
6334 .driver_data = SAA7134_BOARD_AVERMEDIA_A16D,
6335 }, {
6336 .vendor = PCI_VENDOR_ID_PHILIPS,
6337 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6338 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6339 .subdevice = 0xa836,
6340 .driver_data = SAA7134_BOARD_AVERMEDIA_M115,
6341 }, {
6342 .vendor = PCI_VENDOR_ID_PHILIPS,
6343 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6344 .subvendor = 0x185b,
6345 .subdevice = 0xc900,
6346 .driver_data = SAA7134_BOARD_VIDEOMATE_T750,
6347 }, {
Igor Kuznetsov02505272008-04-26 14:53:48 -03006348 .vendor = PCI_VENDOR_ID_PHILIPS,
Adam Gloverf689d902008-05-06 03:20:27 -03006349 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA7135HL */
6350 .subvendor = 0x1421,
6351 .subdevice = 0x0380,
6352 .driver_data = SAA7134_BOARD_ADS_INSTANT_HDTV_PCI,
6353 }, {
6354 .vendor = PCI_VENDOR_ID_PHILIPS,
Igor Kuznetsov02505272008-04-26 14:53:48 -03006355 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Daniel Gimpelevichbfda3a02008-06-28 01:45:26 -03006356 .subvendor = 0x5169,
6357 .subdevice = 0x1502,
6358 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
6359 }, {
6360 .vendor = PCI_VENDOR_ID_PHILIPS,
6361 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Igor Kuznetsov02505272008-04-26 14:53:48 -03006362 .subvendor = 0x5ace,
6363 .subdevice = 0x6290,
6364 .driver_data = SAA7134_BOARD_BEHOLD_H6,
6365 }, {
Massimo Piccionie2fc00c2008-07-11 13:48:02 -03006366 .vendor = PCI_VENDOR_ID_PHILIPS,
6367 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6368 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6369 .subdevice = 0xf636,
6370 .driver_data = SAA7134_BOARD_AVERMEDIA_M103,
6371 }, {
hermann pitton301e9d62008-09-14 17:49:14 -03006372 .vendor = PCI_VENDOR_ID_PHILIPS,
6373 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Barry Kitson27049dc2009-06-07 10:41:03 -03006374 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6375 .subdevice = 0xf736,
6376 .driver_data = SAA7134_BOARD_AVERMEDIA_M103,
6377 }, {
6378 .vendor = PCI_VENDOR_ID_PHILIPS,
6379 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
hermann pitton301e9d62008-09-14 17:49:14 -03006380 .subvendor = 0x1043,
6381 .subdevice = 0x4878, /* REV:1.02G */
6382 .driver_data = SAA7134_BOARD_ASUSTeK_TIGER_3IN1,
6383 }, {
Mauro Carvalho Chehab26d5f3a2008-12-07 13:19:29 -03006384 .vendor = PCI_VENDOR_ID_PHILIPS,
6385 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6386 .subvendor = 0x17de,
6387 .subdevice = 0x7128,
6388 .driver_data = SAA7134_BOARD_KWORLD_PLUS_TV_ANALOG,
6389 }, {
Pham Thanh Nam4a87d7c2008-12-31 06:57:19 -03006390 .vendor = PCI_VENDOR_ID_PHILIPS,
6391 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6392 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6393 .subdevice = 0xf31d,
6394 .driver_data = SAA7134_BOARD_AVERMEDIA_GO_007_FM_PLUS,
Igor M. Liplianinecfcfec2009-08-13 21:42:21 -03006395 }, {
6396 .vendor = PCI_VENDOR_ID_PHILIPS,
6397 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6398 .subvendor = 0x185b,
6399 .subdevice = 0xc900,
6400 .driver_data = SAA7134_BOARD_VIDEOMATE_S350,
Pham Thanh Nam4a87d7c2008-12-31 06:57:19 -03006401 }, {
Dmitri Belimov2012c872009-08-26 01:01:12 -03006402 .vendor = PCI_VENDOR_ID_PHILIPS,
6403 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6404 .subvendor = 0x5ace, /* Beholder Intl. Ltd. */
6405 .subdevice = 0x7595,
6406 .driver_data = SAA7134_BOARD_BEHOLD_X7,
6407 }, {
Eugene Yudin23389b82009-08-29 09:32:11 -03006408 .vendor = PCI_VENDOR_ID_PHILIPS,
6409 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6410 .subvendor = 0x19d1, /* RoverMedia */
6411 .subdevice = 0x0138, /* LifeView FlyTV Prime30 OEM */
6412 .driver_data = SAA7134_BOARD_ROVERMEDIA_LINK_PRO_FM,
6413 }, {
Henk Vergonet6c119ff2009-09-18 20:44:37 -03006414 .vendor = PCI_VENDOR_ID_PHILIPS,
6415 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6416 .subvendor = PCI_VENDOR_ID_PHILIPS,
6417 .subdevice = 0x2004,
6418 .driver_data = SAA7134_BOARD_ZOLID_HYBRID_PCI,
6419 }, {
Linus Torvalds1da177e2005-04-16 15:20:36 -07006420 /* --- boards without eeprom + subsystem ID --- */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006421 .vendor = PCI_VENDOR_ID_PHILIPS,
6422 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6423 .subvendor = PCI_VENDOR_ID_PHILIPS,
Linus Torvalds1da177e2005-04-16 15:20:36 -07006424 .subdevice = 0,
6425 .driver_data = SAA7134_BOARD_NOAUTO,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006426 },{
6427 .vendor = PCI_VENDOR_ID_PHILIPS,
6428 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6429 .subvendor = PCI_VENDOR_ID_PHILIPS,
Linus Torvalds1da177e2005-04-16 15:20:36 -07006430 .subdevice = 0,
6431 .driver_data = SAA7134_BOARD_NOAUTO,
6432 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07006433 /* --- default catch --- */
6434 .vendor = PCI_VENDOR_ID_PHILIPS,
6435 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006436 .subvendor = PCI_ANY_ID,
6437 .subdevice = PCI_ANY_ID,
Linus Torvalds1da177e2005-04-16 15:20:36 -07006438 .driver_data = SAA7134_BOARD_UNKNOWN,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006439 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07006440 .vendor = PCI_VENDOR_ID_PHILIPS,
6441 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006442 .subvendor = PCI_ANY_ID,
6443 .subdevice = PCI_ANY_ID,
Linus Torvalds1da177e2005-04-16 15:20:36 -07006444 .driver_data = SAA7134_BOARD_UNKNOWN,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006445 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07006446 .vendor = PCI_VENDOR_ID_PHILIPS,
6447 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006448 .subvendor = PCI_ANY_ID,
6449 .subdevice = PCI_ANY_ID,
Linus Torvalds1da177e2005-04-16 15:20:36 -07006450 .driver_data = SAA7134_BOARD_UNKNOWN,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006451 },{
Linus Torvalds1da177e2005-04-16 15:20:36 -07006452 .vendor = PCI_VENDOR_ID_PHILIPS,
6453 .device = PCI_DEVICE_ID_PHILIPS_SAA7135,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006454 .subvendor = PCI_ANY_ID,
6455 .subdevice = PCI_ANY_ID,
Linus Torvalds1da177e2005-04-16 15:20:36 -07006456 .driver_data = SAA7134_BOARD_UNKNOWN,
6457 },{
6458 /* --- end of list --- */
6459 }
6460};
6461MODULE_DEVICE_TABLE(pci, saa7134_pci_tbl);
6462
6463/* ----------------------------------------------------------- */
6464/* flyvideo tweaks */
6465
Linus Torvalds1da177e2005-04-16 15:20:36 -07006466
6467static void board_flyvideo(struct saa7134_dev *dev)
6468{
Linus Torvalds1da177e2005-04-16 15:20:36 -07006469 printk("%s: there are different flyvideo cards with different tuners\n"
6470 "%s: out there, you might have to use the tuner=<nr> insmod\n"
6471 "%s: option to override the default value.\n",
6472 dev->name, dev->name, dev->name);
6473}
6474
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03006475static int saa7134_xc2028_callback(struct saa7134_dev *dev,
6476 int command, int arg)
6477{
6478 switch (command) {
6479 case XC2028_TUNER_RESET:
Tim Farrington6e501a32008-06-15 13:33:42 -03006480 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00008000, 0x00000000);
6481 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00008000, 0x00008000);
6482 switch (dev->board) {
6483 case SAA7134_BOARD_AVERMEDIA_CARDBUS_506:
Massimo Piccionie2fc00c2008-07-11 13:48:02 -03006484 case SAA7134_BOARD_AVERMEDIA_M103:
Tim Farrington6e501a32008-06-15 13:33:42 -03006485 saa7134_set_gpio(dev, 23, 0);
6486 msleep(10);
6487 saa7134_set_gpio(dev, 23, 1);
6488 break;
6489 case SAA7134_BOARD_AVERMEDIA_A16D:
6490 saa7134_set_gpio(dev, 21, 0);
6491 msleep(10);
6492 saa7134_set_gpio(dev, 21, 1);
6493 break;
Matthias Schwarzott2659e462009-03-29 16:36:02 -03006494 case SAA7134_BOARD_AVERMEDIA_A700_HYBRID:
6495 saa7134_set_gpio(dev, 18, 0);
6496 msleep(10);
6497 saa7134_set_gpio(dev, 18, 1);
6498 break;
Tim Farrington6e501a32008-06-15 13:33:42 -03006499 }
6500 return 0;
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03006501 }
6502 return -EINVAL;
6503}
6504
Dmitri Belimov2012c872009-08-26 01:01:12 -03006505static int saa7134_xc5000_callback(struct saa7134_dev *dev,
6506 int command, int arg)
6507{
6508 switch (dev->board) {
6509 case SAA7134_BOARD_BEHOLD_X7:
6510 if (command == XC5000_TUNER_RESET) {
6511 /* Down and UP pheripherial RESET pin for reset all chips */
6512 saa_writeb(SAA7134_SPECIAL_MODE, 0x00);
6513 msleep(10);
6514 saa_writeb(SAA7134_SPECIAL_MODE, 0x01);
6515 msleep(10);
6516 }
6517 break;
6518 default:
6519 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x06e20000, 0x06e20000);
6520 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x06a20000, 0x06a20000);
6521 saa_andorl(SAA7133_ANALOG_IO_SELECT >> 2, 0x02, 0x02);
6522 saa_andorl(SAA7134_ANALOG_IN_CTRL1 >> 2, 0x81, 0x81);
6523 saa_andorl(SAA7134_AUDIO_CLOCK0 >> 2, 0x03187de7, 0x03187de7);
6524 saa_andorl(SAA7134_AUDIO_PLL_CTRL >> 2, 0x03, 0x03);
6525 saa_andorl(SAA7134_AUDIO_CLOCKS_PER_FIELD0 >> 2,
6526 0x0001e000, 0x0001e000);
6527 break;
6528 }
6529 return 0;
6530}
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03006531
Michael Krufkyf9996c92009-02-28 17:45:17 -03006532static int saa7134_tda8290_827x_callback(struct saa7134_dev *dev,
6533 int command, int arg)
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03006534{
6535 u8 sync_control;
6536
6537 switch (command) {
6538 case 0: /* switch LNA gain through GPIO 22*/
6539 saa7134_set_gpio(dev, 22, arg) ;
6540 break;
6541 case 1: /* vsync output at GPIO22. 50 / 60Hz */
6542 saa_andorb(SAA7134_VIDEO_PORT_CTRL3, 0x80, 0x80);
6543 saa_andorb(SAA7134_VIDEO_PORT_CTRL6, 0x0f, 0x03);
6544 if (arg == 1)
6545 sync_control = 11;
6546 else
6547 sync_control = 17;
6548 saa_writeb(SAA7134_VGATE_START, sync_control);
6549 saa_writeb(SAA7134_VGATE_STOP, sync_control + 1);
6550 saa_andorb(SAA7134_MISC_VGATE_MSB, 0x03, 0x00);
6551 break;
6552 default:
6553 return -EINVAL;
6554 }
6555
6556 return 0;
6557}
6558
Michael Krufkyf9996c92009-02-28 17:45:17 -03006559static inline int saa7134_tda18271_hvr11x0_toggle_agc(struct saa7134_dev *dev,
6560 enum tda18271_mode mode)
6561{
6562 /* toggle AGC switch through GPIO 26 */
6563 switch (mode) {
6564 case TDA18271_ANALOG:
6565 saa7134_set_gpio(dev, 26, 0);
6566 break;
6567 case TDA18271_DIGITAL:
6568 saa7134_set_gpio(dev, 26, 1);
6569 break;
6570 default:
6571 return -EINVAL;
6572 }
6573 return 0;
6574}
6575
6576static int saa7134_tda8290_18271_callback(struct saa7134_dev *dev,
6577 int command, int arg)
6578{
6579 int ret = 0;
6580
6581 switch (command) {
6582 case TDA18271_CALLBACK_CMD_AGC_ENABLE: /* 0 */
6583 switch (dev->board) {
Michael Krufkyb5f05062009-08-03 16:51:33 -03006584 case SAA7134_BOARD_HAUPPAUGE_HVR1150:
Michael Krufky0e316ec2009-08-03 16:51:33 -03006585 case SAA7134_BOARD_HAUPPAUGE_HVR1120:
Michael Krufkyf9996c92009-02-28 17:45:17 -03006586 ret = saa7134_tda18271_hvr11x0_toggle_agc(dev, arg);
6587 break;
6588 default:
6589 break;
6590 }
6591 break;
6592 default:
6593 ret = -EINVAL;
6594 break;
6595 }
6596 return ret;
6597}
6598
6599static int saa7134_tda8290_callback(struct saa7134_dev *dev,
6600 int command, int arg)
6601{
6602 int ret;
6603
6604 switch (dev->board) {
Michael Krufkyb5f05062009-08-03 16:51:33 -03006605 case SAA7134_BOARD_HAUPPAUGE_HVR1150:
Michael Krufky0e316ec2009-08-03 16:51:33 -03006606 case SAA7134_BOARD_HAUPPAUGE_HVR1120:
Michael Krufkyf9996c92009-02-28 17:45:17 -03006607 /* tda8290 + tda18271 */
6608 ret = saa7134_tda8290_18271_callback(dev, command, arg);
6609 break;
6610 default:
6611 /* tda8290 + tda827x */
6612 ret = saa7134_tda8290_827x_callback(dev, command, arg);
6613 break;
6614 }
6615 return ret;
6616}
6617
Michael Krufkyd7cba042008-09-12 13:31:45 -03006618int saa7134_tuner_callback(void *priv, int component, int command, int arg)
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03006619{
Hartmut Hackmann0fea03f2008-04-22 14:46:10 -03006620 struct saa7134_dev *dev = priv;
Hartmut Hackmann7bff4b42008-04-22 14:46:08 -03006621 if (dev != NULL) {
6622 switch (dev->tuner_type) {
6623 case TUNER_PHILIPS_TDA8290:
6624 return saa7134_tda8290_callback(dev, command, arg);
6625 case TUNER_XC2028:
6626 return saa7134_xc2028_callback(dev, command, arg);
Dmitri Belimov2012c872009-08-26 01:01:12 -03006627 case TUNER_XC5000:
6628 return saa7134_xc5000_callback(dev, command, arg);
Hartmut Hackmann7bff4b42008-04-22 14:46:08 -03006629 }
Mauro Carvalho Chehab0be51b42008-04-22 14:46:10 -03006630 } else {
6631 printk(KERN_ERR "saa7134: Error - device struct undefined.\n");
6632 return -EINVAL;
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03006633 }
6634 return -EINVAL;
6635}
6636EXPORT_SYMBOL(saa7134_tuner_callback);
6637
Linus Torvalds1da177e2005-04-16 15:20:36 -07006638/* ----------------------------------------------------------- */
6639
Michael Krufky993efa72007-11-15 10:34:33 -03006640static void hauppauge_eeprom(struct saa7134_dev *dev, u8 *eeprom_data)
6641{
6642 struct tveeprom tv;
6643
6644 tveeprom_hauppauge_analog(&dev->i2c_client, &tv, eeprom_data);
6645
6646 /* Make sure we support the board model */
6647 switch (tv.model) {
6648 case 67019: /* WinTV-HVR1110 (Retail, IR Blaster, hybrid, FM, SVid/Comp, 3.5mm audio in) */
6649 case 67109: /* WinTV-HVR1000 (Retail, IR Receive, analog, no FM, SVid/Comp, 3.5mm audio in) */
Michael Krufkyb5f05062009-08-03 16:51:33 -03006650 case 67201: /* WinTV-HVR1150 (Retail, IR Receive, hybrid, FM, SVid/Comp, 3.5mm audio in) */
Michael Krufkyf9996c92009-02-28 17:45:17 -03006651 case 67301: /* WinTV-HVR1000 (Retail, IR Receive, analog, no FM, SVid/Comp, 3.5mm audio in) */
6652 case 67209: /* WinTV-HVR1110 (Retail, IR Receive, hybrid, FM, SVid/Comp, 3.5mm audio in) */
Michael Krufky993efa72007-11-15 10:34:33 -03006653 case 67559: /* WinTV-HVR1110 (OEM, no IR, hybrid, FM, SVid/Comp, RCA aud) */
6654 case 67569: /* WinTV-HVR1110 (OEM, no IR, hybrid, FM) */
6655 case 67579: /* WinTV-HVR1110 (OEM, no IR, hybrid, no FM) */
6656 case 67589: /* WinTV-HVR1110 (OEM, no IR, hybrid, no FM, SVid/Comp, RCA aud) */
6657 case 67599: /* WinTV-HVR1110 (OEM, no IR, hybrid, no FM, SVid/Comp, RCA aud) */
Michael Krufkyb5f05062009-08-03 16:51:33 -03006658 case 67651: /* WinTV-HVR1150 (OEM, no IR, hybrid, FM, SVid/Comp, RCA aud) */
Michael Krufkyf9996c92009-02-28 17:45:17 -03006659 case 67659: /* WinTV-HVR1110 (OEM, no IR, hybrid, FM, SVid/Comp, RCA aud) */
Michael Krufky993efa72007-11-15 10:34:33 -03006660 break;
6661 default:
6662 printk(KERN_WARNING "%s: warning: "
6663 "unknown hauppauge model #%d\n", dev->name, tv.model);
6664 break;
6665 }
6666
6667 printk(KERN_INFO "%s: hauppauge eeprom: model=%d\n",
6668 dev->name, tv.model);
6669}
6670
6671/* ----------------------------------------------------------- */
6672
Linus Torvalds1da177e2005-04-16 15:20:36 -07006673int saa7134_board_init1(struct saa7134_dev *dev)
6674{
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006675 /* Always print gpio, often manufacturers encode tuner type and other info. */
Linus Torvalds1da177e2005-04-16 15:20:36 -07006676 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0);
6677 dev->gpio_value = saa_readl(SAA7134_GPIO_GPSTATUS0 >> 2);
6678 printk(KERN_INFO "%s: board init: gpio is %x\n", dev->name, dev->gpio_value);
6679
6680 switch (dev->board) {
6681 case SAA7134_BOARD_FLYVIDEO2000:
6682 case SAA7134_BOARD_FLYVIDEO3000:
Zac Bowlingf49ba8d2006-06-19 19:49:20 -03006683 case SAA7134_BOARD_FLYVIDEO3000_NTSC:
Ricardo Cerqueiracb2444d2005-11-08 21:38:47 -08006684 dev->has_remote = SAA7134_REMOTE_GPIO;
Linus Torvalds1da177e2005-04-16 15:20:36 -07006685 board_flyvideo(dev);
6686 break;
Arnaud Patard6af90ab2005-11-08 21:36:55 -08006687 case SAA7134_BOARD_FLYTVPLATINUM_MINI2:
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006688 case SAA7134_BOARD_FLYTVPLATINUM_FM:
Linus Torvalds1da177e2005-04-16 15:20:36 -07006689 case SAA7134_BOARD_CINERGY400:
6690 case SAA7134_BOARD_CINERGY600:
6691 case SAA7134_BOARD_CINERGY600_MK3:
6692 case SAA7134_BOARD_ECS_TVP3XP:
6693 case SAA7134_BOARD_ECS_TVP3XP_4CB5:
Simon Farnsworthb39423a2007-05-01 10:01:20 -03006694 case SAA7134_BOARD_ECS_TVP3XP_4CB6:
Linus Torvalds1da177e2005-04-16 15:20:36 -07006695 case SAA7134_BOARD_MD2819:
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07006696 case SAA7134_BOARD_KWORLD_VSTREAM_XPERT:
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006697 case SAA7134_BOARD_KWORLD_XPERT:
Linus Torvalds1da177e2005-04-16 15:20:36 -07006698 case SAA7134_BOARD_AVERMEDIA_STUDIO_305:
Vasiliy Temnikov5a5e1da2009-08-26 22:10:55 -03006699 case SAA7134_BOARD_AVERMEDIA_STUDIO_505:
Linus Torvalds1da177e2005-04-16 15:20:36 -07006700 case SAA7134_BOARD_AVERMEDIA_305:
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07006701 case SAA7134_BOARD_AVERMEDIA_STUDIO_307:
Linus Torvalds1da177e2005-04-16 15:20:36 -07006702 case SAA7134_BOARD_AVERMEDIA_307:
Mikhail Fedotov3ac706d2006-10-06 20:23:47 -03006703 case SAA7134_BOARD_AVERMEDIA_STUDIO_507:
Mauro Carvalho Chehabac19ecc2005-06-23 22:05:09 -07006704 case SAA7134_BOARD_AVERMEDIA_GO_007_FM:
pasky@ucw.cz450efcf2006-11-12 14:22:32 -03006705 case SAA7134_BOARD_AVERMEDIA_777:
Mauro Carvalho Chehab36f6bb92008-06-26 17:03:00 -03006706 case SAA7134_BOARD_AVERMEDIA_M135A:
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006707/* case SAA7134_BOARD_SABRENT_SBTTVFM: */ /* not finished yet */
Linus Torvalds1da177e2005-04-16 15:20:36 -07006708 case SAA7134_BOARD_VIDEOMATE_TV_PVR:
Nickolay V. Shmyrev2a9a9a82006-01-09 15:25:33 -02006709 case SAA7134_BOARD_VIDEOMATE_GOLD_PLUS:
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006710 case SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII:
Nickolay V. Shmyrevfea095f2005-11-08 21:36:47 -08006711 case SAA7134_BOARD_VIDEOMATE_DVBT_300:
Michael Krufkyafce8922005-11-08 21:36:57 -08006712 case SAA7134_BOARD_VIDEOMATE_DVBT_200:
Hartmut Hackmanncbb94522006-10-30 20:00:16 -03006713 case SAA7134_BOARD_VIDEOMATE_DVBT_200A:
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006714 case SAA7134_BOARD_MANLI_MTV001:
6715 case SAA7134_BOARD_MANLI_MTV002:
Nickolay V. Shmyreva8ff4172005-11-08 21:36:16 -08006716 case SAA7134_BOARD_BEHOLD_409FM:
Linus Torvalds1da177e2005-04-16 15:20:36 -07006717 case SAA7134_BOARD_AVACSSMARTTV:
Nickolay V. Shmyrev6b961442005-11-08 21:36:22 -08006718 case SAA7134_BOARD_GOTVIEW_7135:
James R. Webbdc2286c2005-11-08 21:37:00 -08006719 case SAA7134_BOARD_KWORLD_TERMINATOR:
Ricardo Cerqueira17ce1ff2005-11-08 21:38:47 -08006720 case SAA7134_BOARD_SEDNA_PC_TV_CARDBUS:
Giampiero Giancipoli3d8466e2006-02-07 06:49:09 -02006721 case SAA7134_BOARD_FLYDVBT_LR301:
Hermann Pitton91607232006-12-07 21:45:28 -03006722 case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
Hartmut Hackmannf3eec0c02007-03-14 20:33:55 -03006723 case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA:
Mauro Carvalho Chehabdfb4ba12009-08-20 10:13:40 -03006724 case SAA7134_BOARD_ASUSTeK_P7131_ANALOG:
Rudo Thomasa8029172006-02-27 00:08:46 -03006725 case SAA7134_BOARD_FLYDVBTDUO:
Michal Majchrowiczb04c1ba2006-09-13 16:42:42 -03006726 case SAA7134_BOARD_PROTEUS_2309:
pasky@ucw.cz29e0f1a2006-11-12 14:23:32 -03006727 case SAA7134_BOARD_AVERMEDIA_A16AR:
Juan Pablo Sormanic36c4592006-12-27 12:46:36 -03006728 case SAA7134_BOARD_ENCORE_ENLTV:
6729 case SAA7134_BOARD_ENCORE_ENLTV_FM:
Mauro Carvalho Chehabbf1ece62008-06-26 17:03:00 -03006730 case SAA7134_BOARD_ENCORE_ENLTV_FM53:
Tony Wan480f75a2007-05-11 11:33:50 -03006731 case SAA7134_BOARD_10MOONSTVMASTER3:
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006732 case SAA7134_BOARD_BEHOLD_401:
6733 case SAA7134_BOARD_BEHOLD_403:
6734 case SAA7134_BOARD_BEHOLD_403FM:
6735 case SAA7134_BOARD_BEHOLD_405:
6736 case SAA7134_BOARD_BEHOLD_405FM:
6737 case SAA7134_BOARD_BEHOLD_407:
6738 case SAA7134_BOARD_BEHOLD_407FM:
6739 case SAA7134_BOARD_BEHOLD_409:
6740 case SAA7134_BOARD_BEHOLD_505FM:
Dmitri Belimov84d728c2009-04-23 02:32:49 -03006741 case SAA7134_BOARD_BEHOLD_505RDS:
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006742 case SAA7134_BOARD_BEHOLD_507_9FM:
Dmitri Belimov84d728c2009-04-23 02:32:49 -03006743 case SAA7134_BOARD_BEHOLD_507RDS_MK3:
6744 case SAA7134_BOARD_BEHOLD_507RDS_MK5:
Adrian Pardinif0ba3562008-02-11 12:40:53 -03006745 case SAA7134_BOARD_GENIUS_TVGO_A11MCE:
Mauro Carvalho Chehab9b000192008-06-26 17:03:00 -03006746 case SAA7134_BOARD_REAL_ANGEL_220:
Mauro Carvalho Chehab26d5f3a2008-12-07 13:19:29 -03006747 case SAA7134_BOARD_KWORLD_PLUS_TV_ANALOG:
Pham Thanh Nam6a2d8022008-12-30 23:26:09 -03006748 case SAA7134_BOARD_AVERMEDIA_GO_007_FM_PLUS:
Eugene Yudin23389b82009-08-29 09:32:11 -03006749 case SAA7134_BOARD_ROVERMEDIA_LINK_PRO_FM:
Ricardo Cerqueiracb2444d2005-11-08 21:38:47 -08006750 dev->has_remote = SAA7134_REMOTE_GPIO;
Linus Torvalds1da177e2005-04-16 15:20:36 -07006751 break;
Igor M. Liplianine2ac28f2006-08-08 09:10:10 -03006752 case SAA7134_BOARD_FLYDVBS_LR300:
6753 saa_writeb(SAA7134_GPIO_GPMODE3, 0x80);
6754 saa_writeb(SAA7134_GPIO_GPSTATUS2, 0x40);
6755 dev->has_remote = SAA7134_REMOTE_GPIO;
6756 break;
Linus Torvalds1da177e2005-04-16 15:20:36 -07006757 case SAA7134_BOARD_MD5044:
6758 printk("%s: seems there are two different versions of the MD5044\n"
Michael Krufkyfd2f2672006-03-11 16:21:36 -03006759 "%s: (with the same ID) out there. If sound doesn't work for\n"
6760 "%s: you try the audio_clock_override=0x200000 insmod option.\n",
6761 dev->name,dev->name,dev->name);
Linus Torvalds1da177e2005-04-16 15:20:36 -07006762 break;
6763 case SAA7134_BOARD_CINERGY400_CARDBUS:
6764 /* power-up tuner chip */
6765 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000);
6766 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000000);
Mikhail Gusarov7bbbc0a2006-04-20 13:18:50 -03006767 break;
Hartmut Hackmanndf8cf702006-03-03 12:09:26 -03006768 case SAA7134_BOARD_PINNACLE_300I_DVBT_PAL:
6769 /* this turns the remote control chip off to work around a bug in it */
6770 saa_writeb(SAA7134_GPIO_GPMODE1, 0x80);
6771 saa_writeb(SAA7134_GPIO_GPSTATUS1, 0x80);
6772 break;
Pieter Palmerscf1c5d12005-11-08 21:37:40 -08006773 case SAA7134_BOARD_MONSTERTV_MOBILE:
6774 /* power-up tuner chip */
6775 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000);
6776 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000004);
Linus Torvalds1da177e2005-04-16 15:20:36 -07006777 break;
Peter Missel10b7a902006-01-23 17:11:06 -02006778 case SAA7134_BOARD_FLYDVBT_DUO_CARDBUS:
Nickolay V. Shmyrev6b961442005-11-08 21:36:22 -08006779 /* turn the fan on */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006780 saa_writeb(SAA7134_GPIO_GPMODE3, 0x08);
6781 saa_writeb(SAA7134_GPIO_GPSTATUS3, 0x06);
6782 break;
Hartmut Hackmanndf42eaf2006-02-07 06:49:10 -02006783 case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331:
Hartmut Hackmannd95b8942006-03-27 19:39:30 -03006784 case SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS:
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03006785 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x08000000, 0x08000000);
6786 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x08000000, 0x00000000);
Hartmut Hackmanndf42eaf2006-02-07 06:49:10 -02006787 break;
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006788 case SAA7134_BOARD_AVERMEDIA_CARDBUS:
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03006789 case SAA7134_BOARD_AVERMEDIA_M115:
Mauro Carvalho Chehab95a2fdb2008-03-28 17:52:44 -03006790 /* power-down tuner chip */
6791 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0xffffffff, 0);
6792 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0);
6793 msleep(10);
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006794 /* power-up tuner chip */
6795 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0xffffffff, 0xffffffff);
6796 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0xffffffff);
Mauro Carvalho Chehab95a2fdb2008-03-28 17:52:44 -03006797 msleep(10);
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07006798 break;
Oldřich Jedličkad46de9d2009-04-14 15:47:17 -03006799 case SAA7134_BOARD_AVERMEDIA_CARDBUS_501:
6800 /* power-down tuner chip */
6801 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x08400000, 0x08400000);
6802 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x08400000, 0);
6803 msleep(10);
6804 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x08400000, 0x08400000);
6805 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x08400000, 0x08400000);
6806 msleep(10);
6807 dev->has_remote = SAA7134_REMOTE_I2C;
6808 break;
Tim Farrington6e501a32008-06-15 13:33:42 -03006809 case SAA7134_BOARD_AVERMEDIA_CARDBUS_506:
Oldřich Jedličkacb3bf502009-02-12 03:43:11 -03006810 saa7134_set_gpio(dev, 23, 0);
6811 msleep(10);
6812 saa7134_set_gpio(dev, 23, 1);
6813 dev->has_remote = SAA7134_REMOTE_I2C;
6814 break;
Massimo Piccionie2fc00c2008-07-11 13:48:02 -03006815 case SAA7134_BOARD_AVERMEDIA_M103:
Tim Farrington6e501a32008-06-15 13:33:42 -03006816 saa7134_set_gpio(dev, 23, 0);
6817 msleep(10);
6818 saa7134_set_gpio(dev, 23, 1);
6819 break;
6820 case SAA7134_BOARD_AVERMEDIA_A16D:
6821 saa7134_set_gpio(dev, 21, 0);
6822 msleep(10);
6823 saa7134_set_gpio(dev, 21, 1);
6824 msleep(1);
6825 dev->has_remote = SAA7134_REMOTE_GPIO;
6826 break;
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03006827 case SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM:
6828 /* power-down tuner chip */
6829 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x000A8004, 0x000A8004);
6830 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x000A8004, 0);
6831 msleep(10);
6832 /* power-up tuner chip */
6833 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x000A8004, 0x000A8004);
6834 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x000A8004, 0x000A8004);
6835 msleep(10);
6836 /* remote via GPIO */
6837 dev->has_remote = SAA7134_REMOTE_GPIO;
6838 break;
Nickolay V. Shmyrevbb881f12005-11-08 21:36:35 -08006839 case SAA7134_BOARD_RTD_VFG7350:
6840
6841 /*
6842 * Make sure Production Test Register at offset 0x1D1 is cleared
6843 * to take chip out of test mode. Clearing bit 4 (TST_EN_AOUT)
6844 * prevents pin 105 from remaining low; keeping pin 105 low
6845 * continually resets the SAA6752 chip.
6846 */
6847
6848 saa_writeb (SAA7134_PRODUCTION_TEST_MODE, 0x00);
6849 break;
Michael Krufkyb5f05062009-08-03 16:51:33 -03006850 case SAA7134_BOARD_HAUPPAUGE_HVR1150:
Michael Krufky0e316ec2009-08-03 16:51:33 -03006851 case SAA7134_BOARD_HAUPPAUGE_HVR1120:
Michael Krufkyf9996c92009-02-28 17:45:17 -03006852 /* GPIO 26 high for digital, low for analog */
6853 saa7134_set_gpio(dev, 26, 0);
6854 msleep(1);
6855
6856 saa7134_set_gpio(dev, 22, 0);
6857 msleep(10);
6858 saa7134_set_gpio(dev, 22, 1);
6859 break;
Ricardo Cerqueiracb2444d2005-11-08 21:38:47 -08006860 /* i2c remotes */
6861 case SAA7134_BOARD_PINNACLE_PCTV_110i:
Hartmut Hackmann587d2fd2006-10-06 19:13:50 -03006862 case SAA7134_BOARD_PINNACLE_PCTV_310i:
Ricardo Cerqueiracb2444d2005-11-08 21:38:47 -08006863 case SAA7134_BOARD_UPMOST_PURPLE_TV:
Brian Rogersba340b42008-10-13 08:37:06 -03006864 case SAA7134_BOARD_MSI_TVATANYWHERE_PLUS:
Thomas Genty177aaaf2006-11-29 21:57:24 -03006865 case SAA7134_BOARD_HAUPPAUGE_HVR1110:
Dmitri Belimov84d728c2009-04-23 02:32:49 -03006866 case SAA7134_BOARD_BEHOLD_607FM_MK3:
6867 case SAA7134_BOARD_BEHOLD_607FM_MK5:
6868 case SAA7134_BOARD_BEHOLD_609FM_MK3:
6869 case SAA7134_BOARD_BEHOLD_609FM_MK5:
6870 case SAA7134_BOARD_BEHOLD_607RDS_MK3:
6871 case SAA7134_BOARD_BEHOLD_607RDS_MK5:
6872 case SAA7134_BOARD_BEHOLD_609RDS_MK3:
6873 case SAA7134_BOARD_BEHOLD_609RDS_MK5:
Andrey J. Melnikoff (TEMHOTA)e8018c92008-01-07 05:17:39 -03006874 case SAA7134_BOARD_BEHOLD_M6:
Dmitry Belimov878cf2a2008-06-10 14:22:00 -03006875 case SAA7134_BOARD_BEHOLD_M63:
6876 case SAA7134_BOARD_BEHOLD_M6_EXTRA:
Dmitri Belimovf204ae42008-12-23 03:51:38 -03006877 case SAA7134_BOARD_BEHOLD_H6:
Dmitri Belimov2012c872009-08-26 01:01:12 -03006878 case SAA7134_BOARD_BEHOLD_X7:
Ricardo Cerqueiracb2444d2005-11-08 21:38:47 -08006879 dev->has_remote = SAA7134_REMOTE_I2C;
6880 break;
Rickard Osser68593af2006-03-11 17:14:12 -03006881 case SAA7134_BOARD_AVERMEDIA_A169_B:
Michael Krufky12a219d2006-03-14 16:07:42 -03006882 printk("%s: %s: dual saa713x broadcast decoders\n"
Rickard Osser68593af2006-03-11 17:14:12 -03006883 "%s: Sorry, none of the inputs to this chip are supported yet.\n"
6884 "%s: Dual decoder functionality is disabled for now, use the other chip.\n",
Michael Krufky12a219d2006-03-14 16:07:42 -03006885 dev->name,card(dev).name,dev->name,dev->name);
Rickard Osser68593af2006-03-11 17:14:12 -03006886 break;
Markus Rechbergere95d3172007-04-27 12:31:19 -03006887 case SAA7134_BOARD_AVERMEDIA_M102:
6888 /* enable tuner */
Albert Grahamd2761f22007-12-09 09:44:38 -03006889 dev->has_remote = SAA7134_REMOTE_GPIO;
Markus Rechbergere95d3172007-04-27 12:31:19 -03006890 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x8c040007, 0x8c040007);
6891 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x0c0007cd, 0x0c0007cd);
6892 break;
Matthias Schwarzottfc9d8ed2008-04-08 21:45:08 -03006893 case SAA7134_BOARD_AVERMEDIA_A700_HYBRID:
Matthias Schwarzott04574182009-02-24 12:35:16 -03006894 case SAA7134_BOARD_AVERMEDIA_A700_PRO:
Matthias Schwarzottfc9d8ed2008-04-08 21:45:08 -03006895 /* write windows gpio values */
6896 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x80040100, 0x80040100);
6897 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x80040100, 0x00040100);
Matthias Schwarzottfc9d8ed2008-04-08 21:45:08 -03006898 break;
Igor M. Liplianinecfcfec2009-08-13 21:42:21 -03006899 case SAA7134_BOARD_VIDEOMATE_S350:
6900 dev->has_remote = SAA7134_REMOTE_GPIO;
6901 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00008000, 0x00008000);
6902 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00008000, 0x00008000);
6903 break;
Linus Torvalds1da177e2005-04-16 15:20:36 -07006904 }
Linus Torvalds1da177e2005-04-16 15:20:36 -07006905 return 0;
6906}
6907
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006908static void saa7134_tuner_setup(struct saa7134_dev *dev)
6909{
6910 struct tuner_setup tun_setup;
6911 unsigned int mode_mask = T_RADIO |
6912 T_ANALOG_TV |
6913 T_DIGITAL_TV;
6914
6915 memset(&tun_setup, 0, sizeof(tun_setup));
6916 tun_setup.tuner_callback = saa7134_tuner_callback;
6917
6918 if (saa7134_boards[dev->board].radio_type != UNSET) {
6919 tun_setup.type = saa7134_boards[dev->board].radio_type;
6920 tun_setup.addr = saa7134_boards[dev->board].radio_addr;
6921
6922 tun_setup.mode_mask = T_RADIO;
6923
Hans Verkuilfac69862009-01-17 12:17:14 -03006924 saa_call_all(dev, tuner, s_type_addr, &tun_setup);
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006925 mode_mask &= ~T_RADIO;
6926 }
6927
6928 if ((dev->tuner_type != TUNER_ABSENT) && (dev->tuner_type != UNSET)) {
6929 tun_setup.type = dev->tuner_type;
6930 tun_setup.addr = dev->tuner_addr;
6931 tun_setup.config = saa7134_boards[dev->board].tuner_config;
6932 tun_setup.tuner_callback = saa7134_tuner_callback;
6933
6934 tun_setup.mode_mask = mode_mask;
6935
Hans Verkuilfac69862009-01-17 12:17:14 -03006936 saa_call_all(dev, tuner, s_type_addr, &tun_setup);
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006937 }
6938
6939 if (dev->tda9887_conf) {
6940 struct v4l2_priv_tun_config tda9887_cfg;
6941
6942 tda9887_cfg.tuner = TUNER_TDA9887;
6943 tda9887_cfg.priv = &dev->tda9887_conf;
6944
Hans Verkuilfac69862009-01-17 12:17:14 -03006945 saa_call_all(dev, tuner, s_config, &tda9887_cfg);
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006946 }
6947
6948 if (dev->tuner_type == TUNER_XC2028) {
6949 struct v4l2_priv_tun_config xc2028_cfg;
6950 struct xc2028_ctrl ctl;
6951
Oldrich Jedlickabdf398e2008-11-13 22:03:00 -03006952 memset(&xc2028_cfg, 0, sizeof(xc2028_cfg));
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006953 memset(&ctl, 0, sizeof(ctl));
6954
6955 ctl.fname = XC2028_DEFAULT_FIRMWARE;
6956 ctl.max_len = 64;
6957
6958 switch (dev->board) {
6959 case SAA7134_BOARD_AVERMEDIA_A16D:
Tim Farrington6e501a32008-06-15 13:33:42 -03006960 case SAA7134_BOARD_AVERMEDIA_CARDBUS_506:
Massimo Piccionie2fc00c2008-07-11 13:48:02 -03006961 case SAA7134_BOARD_AVERMEDIA_M103:
Matthias Schwarzott2659e462009-03-29 16:36:02 -03006962 case SAA7134_BOARD_AVERMEDIA_A700_HYBRID:
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006963 ctl.demod = XC3028_FE_ZARLINK456;
6964 break;
6965 default:
6966 ctl.demod = XC3028_FE_OREN538;
6967 ctl.mts = 1;
6968 }
6969
6970 xc2028_cfg.tuner = TUNER_XC2028;
6971 xc2028_cfg.priv = &ctl;
6972
Hans Verkuilfac69862009-01-17 12:17:14 -03006973 saa_call_all(dev, tuner, s_config, &xc2028_cfg);
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006974 }
6975}
6976
Linus Torvalds1da177e2005-04-16 15:20:36 -07006977/* stuff which needs working i2c */
6978int saa7134_board_init2(struct saa7134_dev *dev)
6979{
6980 unsigned char buf;
6981 int board;
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006982
Mauro Carvalho Chehabb9348352009-02-08 09:33:15 -03006983 /* Put here the code that enables the chips that are needed
6984 for analog mode and doesn't depend on the tuner attachment.
6985 It is also a good idea to get tuner type from eeprom, etc before
6986 initializing tuner, since we can avoid loading tuner driver
6987 on devices that has TUNER_ABSENT
6988 */
Linus Torvalds1da177e2005-04-16 15:20:36 -07006989 switch (dev->board) {
6990 case SAA7134_BOARD_BMK_MPEX_NOTUNER:
6991 case SAA7134_BOARD_BMK_MPEX_TUNER:
Mauro Carvalho Chehabb9348352009-02-08 09:33:15 -03006992 /* Checks if the device has a tuner at 0x60 addr
6993 If the device doesn't have a tuner, TUNER_ABSENT
6994 will be used at tuner_type, avoiding loading tuner
6995 without needing it
6996 */
Linus Torvalds1da177e2005-04-16 15:20:36 -07006997 dev->i2c_client.addr = 0x60;
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03006998 board = (i2c_master_recv(&dev->i2c_client, &buf, 0) < 0)
Linus Torvalds1da177e2005-04-16 15:20:36 -07006999 ? SAA7134_BOARD_BMK_MPEX_NOTUNER
7000 : SAA7134_BOARD_BMK_MPEX_TUNER;
7001 if (board == dev->board)
7002 break;
7003 dev->board = board;
7004 printk("%s: board type fixup: %s\n", dev->name,
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07007005 saa7134_boards[dev->board].name);
Linus Torvalds1da177e2005-04-16 15:20:36 -07007006 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07007007
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07007008 break;
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08007009 case SAA7134_BOARD_MD7134:
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03007010 {
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07007011 u8 subaddr;
7012 u8 data[3];
7013 int ret, tuner_t;
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07007014 struct i2c_msg msg[] = {{.addr=0x50, .flags=0, .buf=&subaddr, .len = 1},
7015 {.addr=0x50, .flags=I2C_M_RD, .buf=data, .len = 3}};
Mauro Carvalho Chehabb9348352009-02-08 09:33:15 -03007016
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07007017 subaddr= 0x14;
7018 tuner_t = 0;
Mauro Carvalho Chehabb9348352009-02-08 09:33:15 -03007019
7020 /* Retrieve device data from eeprom, checking for the
7021 proper tuner_type.
7022 */
Mauro Carvalho Chehab330a1152005-07-12 13:59:01 -07007023 ret = i2c_transfer(&dev->i2c_adap, msg, 2);
7024 if (ret != 2) {
7025 printk(KERN_ERR "EEPROM read failure\n");
7026 } else if ((data[0] != 0) && (data[0] != 0xff)) {
7027 /* old config structure */
7028 subaddr = data[0] + 2;
7029 msg[1].len = 2;
7030 i2c_transfer(&dev->i2c_adap, msg, 2);
7031 tuner_t = (data[0] << 8) + data[1];
7032 switch (tuner_t){
7033 case 0x0103:
7034 dev->tuner_type = TUNER_PHILIPS_PAL;
7035 break;
7036 case 0x010C:
7037 dev->tuner_type = TUNER_PHILIPS_FM1216ME_MK3;
7038 break;
7039 default:
7040 printk(KERN_ERR "%s Cant determine tuner type %x from EEPROM\n", dev->name, tuner_t);
7041 }
7042 } else if ((data[1] != 0) && (data[1] != 0xff)) {
7043 /* new config structure */
7044 subaddr = data[1] + 1;
7045 msg[1].len = 1;
7046 i2c_transfer(&dev->i2c_adap, msg, 2);
7047 subaddr = data[0] + 1;
7048 msg[1].len = 2;
7049 i2c_transfer(&dev->i2c_adap, msg, 2);
7050 tuner_t = (data[1] << 8) + data[0];
7051 switch (tuner_t) {
7052 case 0x0005:
7053 dev->tuner_type = TUNER_PHILIPS_FM1216ME_MK3;
7054 break;
7055 case 0x001d:
7056 dev->tuner_type = TUNER_PHILIPS_FMD1216ME_MK3;
7057 printk(KERN_INFO "%s Board has DVB-T\n", dev->name);
7058 break;
7059 default:
7060 printk(KERN_ERR "%s Cant determine tuner type %x from EEPROM\n", dev->name, tuner_t);
7061 }
7062 } else {
7063 printk(KERN_ERR "%s unexpected config structure\n", dev->name);
7064 }
7065
7066 printk(KERN_INFO "%s Tuner type is %d\n", dev->name, dev->tuner_type);
Linus Torvalds1da177e2005-04-16 15:20:36 -07007067 break;
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03007068 }
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08007069 case SAA7134_BOARD_PHILIPS_EUROPA:
Hartmut Hackmann6ab465a2008-04-22 14:42:11 -03007070 if (dev->autodetected && (dev->eedata[0x41] == 0x1c)) {
7071 /* Reconfigure board as Snake reference design */
7072 dev->board = SAA7134_BOARD_PHILIPS_SNAKE;
7073 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
7074 printk(KERN_INFO "%s: Reconfigured board as %s\n",
7075 dev->name, saa7134_boards[dev->board].name);
7076 break;
7077 }
Mauro Carvalho Chehabb9348352009-02-08 09:33:15 -03007078 /* break intentionally omitted */
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08007079 case SAA7134_BOARD_VIDEOMATE_DVBT_300:
Hartmut Hackmanncf146ca2006-10-02 20:49:24 -03007080 case SAA7134_BOARD_ASUS_EUROPA2_HYBRID:
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03007081 {
7082
Mauro Carvalho Chehabb9348352009-02-08 09:33:15 -03007083 /* The Philips EUROPA based hybrid boards have the tuner
7084 connected through the channel decoder. We have to make it
7085 transparent to find it
Mauro Carvalho Chehab4ac97912005-11-08 21:37:43 -08007086 */
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08007087 u8 data[] = { 0x07, 0x02};
7088 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
7089 i2c_transfer(&dev->i2c_adap, &msg, 1);
7090
Hartmut Hackmann2cf36ac2005-11-08 21:36:32 -08007091 break;
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03007092 }
Hartmut Hackmann90e9df72005-11-08 21:38:42 -08007093 case SAA7134_BOARD_PHILIPS_TIGER:
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03007094 case SAA7134_BOARD_PHILIPS_TIGER_S:
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03007095 {
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03007096 u8 data[] = { 0x3c, 0x33, 0x60};
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03007097 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03007098 if (dev->autodetected && (dev->eedata[0x49] == 0x50)) {
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03007099 dev->board = SAA7134_BOARD_PHILIPS_TIGER_S;
7100 printk(KERN_INFO "%s: Reconfigured board as %s\n",
7101 dev->name, saa7134_boards[dev->board].name);
7102 }
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03007103 if (dev->board == SAA7134_BOARD_PHILIPS_TIGER_S) {
7104 dev->tuner_type = TUNER_PHILIPS_TDA8290;
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03007105
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03007106 data[2] = 0x68;
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03007107 i2c_transfer(&dev->i2c_adap, &msg, 1);
Mauro Carvalho Chehabb9348352009-02-08 09:33:15 -03007108 break;
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03007109 }
7110 i2c_transfer(&dev->i2c_adap, &msg, 1);
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03007111 break;
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03007112 }
Mauro Carvalho Chehabb9348352009-02-08 09:33:15 -03007113 case SAA7134_BOARD_ASUSTeK_TVFM7135:
7114 /* The card below is detected as card=53, but is different */
Hermann Pitton0b17d0e2008-07-12 12:27:59 -03007115 if (dev->autodetected && (dev->eedata[0x27] == 0x03)) {
7116 dev->board = SAA7134_BOARD_ASUSTeK_P7131_ANALOG;
7117 printk(KERN_INFO "%s: P7131 analog only, using "
7118 "entry of %s\n",
7119 dev->name, saa7134_boards[dev->board].name);
7120 }
7121 break;
Michael Krufkyb5f05062009-08-03 16:51:33 -03007122 case SAA7134_BOARD_HAUPPAUGE_HVR1150:
Michael Krufky0e316ec2009-08-03 16:51:33 -03007123 case SAA7134_BOARD_HAUPPAUGE_HVR1120:
Michael Krufkyf9996c92009-02-28 17:45:17 -03007124 hauppauge_eeprom(dev, dev->eedata+0x80);
7125 break;
Michael Krufky993efa72007-11-15 10:34:33 -03007126 case SAA7134_BOARD_HAUPPAUGE_HVR1110:
7127 hauppauge_eeprom(dev, dev->eedata+0x80);
7128 /* break intentionally omitted */
Hartmut Hackmann587d2fd2006-10-06 19:13:50 -03007129 case SAA7134_BOARD_PINNACLE_PCTV_310i:
Simon Farnsworthb39423a2007-05-01 10:01:20 -03007130 case SAA7134_BOARD_KWORLD_DVBT_210:
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02007131 case SAA7134_BOARD_TEVION_DVBT_220RF:
Hermann Pitton028165a2008-10-04 21:37:36 -03007132 case SAA7134_BOARD_ASUSTeK_TIGER:
Hartmut Hackmannd4b0aba2005-11-08 21:38:44 -08007133 case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
Hartmut Hackmannf3eec0c02007-03-14 20:33:55 -03007134 case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA:
Hartmut Hackmann5eda2272006-08-07 14:03:32 -03007135 case SAA7134_BOARD_MEDION_MD8800_QUADRO:
Hermann Pitton4ba24372008-01-20 19:27:51 -03007136 case SAA7134_BOARD_AVERMEDIA_SUPER_007:
7137 case SAA7134_BOARD_TWINHAN_DTV_DVB_3056:
Hermann Pitton7b5b3f12008-04-22 14:42:12 -03007138 case SAA7134_BOARD_CREATIX_CTX953:
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03007139 {
Peter Hartshorn3dfb7292006-02-07 06:49:13 -02007140 /* this is a hybrid board, initialize to analog mode
7141 * and configure firmware eeprom address
7142 */
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03007143 u8 data[] = { 0x3c, 0x33, 0x60};
Hartmut Hackmann90e9df72005-11-08 21:38:42 -08007144 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
7145 i2c_transfer(&dev->i2c_adap, &msg, 1);
Hartmut Hackmann90e9df72005-11-08 21:38:42 -08007146 break;
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03007147 }
hermann pitton301e9d62008-09-14 17:49:14 -03007148 case SAA7134_BOARD_ASUSTeK_TIGER_3IN1:
7149 {
7150 u8 data[] = { 0x3c, 0x33, 0x60};
7151 struct i2c_msg msg = {.addr = 0x0b, .flags = 0, .buf = data,
7152 .len = sizeof(data)};
7153 i2c_transfer(&dev->i2c_adap, &msg, 1);
7154 break;
7155 }
Nico Sabbi420f32f2006-03-03 12:11:28 -03007156 case SAA7134_BOARD_FLYDVB_TRIO:
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03007157 {
Hartmut Hackmann293cdab2006-02-27 21:08:07 -03007158 u8 data[] = { 0x3c, 0x33, 0x62};
7159 struct i2c_msg msg = {.addr=0x09, .flags=0, .buf=data, .len = sizeof(data)};
7160 i2c_transfer(&dev->i2c_adap, &msg, 1);
Hartmut Hackmann293cdab2006-02-27 21:08:07 -03007161 break;
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03007162 }
Hartmut Hackmanndf42eaf2006-02-07 06:49:10 -02007163 case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331:
Hartmut Hackmannd95b8942006-03-27 19:39:30 -03007164 case SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS:
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03007165 {
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03007166 /* initialize analog mode */
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03007167 u8 data[] = { 0x3c, 0x33, 0x6a};
Hartmut Hackmanndf42eaf2006-02-07 06:49:10 -02007168 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
7169 i2c_transfer(&dev->i2c_adap, &msg, 1);
Hartmut Hackmanndf42eaf2006-02-07 06:49:10 -02007170 break;
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03007171 }
Hartmut Hackmann550a9a52006-11-15 21:31:54 -03007172 case SAA7134_BOARD_CINERGY_HT_PCMCIA:
Michael Krufky9de271e2007-01-16 18:36:40 -03007173 case SAA7134_BOARD_CINERGY_HT_PCI:
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03007174 {
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03007175 /* initialize analog mode */
Hartmut Hackmann58ef4f92007-04-27 12:31:12 -03007176 u8 data[] = { 0x3c, 0x33, 0x68};
Hartmut Hackmann550a9a52006-11-15 21:31:54 -03007177 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
7178 i2c_transfer(&dev->i2c_adap, &msg, 1);
Hartmut Hackmann550a9a52006-11-15 21:31:54 -03007179 break;
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03007180 }
Hartmut Hackmanncbb94522006-10-30 20:00:16 -03007181 case SAA7134_BOARD_VIDEOMATE_DVBT_200:
7182 case SAA7134_BOARD_VIDEOMATE_DVBT_200A:
7183 /* The T200 and the T200A share the same pci id. Consequently,
7184 * we are going to query eeprom to try to find out which one we
7185 * are actually looking at. */
7186
7187 /* Don't do this if the board was specifically selected with an
7188 * insmod option or if we have the default configuration T200*/
Mauro Carvalho Chehabb9348352009-02-08 09:33:15 -03007189 if (!dev->autodetected || (dev->eedata[0x41] == 0xd0))
Hartmut Hackmanncbb94522006-10-30 20:00:16 -03007190 break;
Mauro Carvalho Chehabb9348352009-02-08 09:33:15 -03007191 if (dev->eedata[0x41] == 0x02) {
Hartmut Hackmanncbb94522006-10-30 20:00:16 -03007192 /* Reconfigure board as T200A */
7193 dev->board = SAA7134_BOARD_VIDEOMATE_DVBT_200A;
7194 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
7195 dev->tda9887_conf = saa7134_boards[dev->board].tda9887_conf;
7196 printk(KERN_INFO "%s: Reconfigured board as %s\n",
7197 dev->name, saa7134_boards[dev->board].name);
7198 } else {
7199 printk(KERN_WARNING "%s: Unexpected tuner type info: %x in eeprom\n",
7200 dev->name, dev->eedata[0x41]);
7201 break;
7202 }
7203 break;
Mauro Carvalho Chehabb9348352009-02-08 09:33:15 -03007204 case SAA7134_BOARD_ADS_INSTANT_HDTV_PCI:
7205 case SAA7134_BOARD_KWORLD_ATSC110:
7206 {
7207 struct i2c_msg msg = { .addr = 0x0a, .flags = 0 };
7208 int i;
7209 static u8 buffer[][2] = {
7210 { 0x10, 0x12 },
7211 { 0x13, 0x04 },
7212 { 0x16, 0x00 },
7213 { 0x14, 0x04 },
7214 { 0x17, 0x00 },
7215 };
7216
7217 for (i = 0; i < ARRAY_SIZE(buffer); i++) {
7218 msg.buf = &buffer[i][0];
7219 msg.len = ARRAY_SIZE(buffer[0]);
7220 if (i2c_transfer(&dev->i2c_adap, &msg, 1) != 1)
7221 printk(KERN_WARNING
7222 "%s: Unable to enable tuner(%i).\n",
7223 dev->name, i);
7224 }
7225 break;
7226 }
7227 } /* switch() */
7228
7229 /* initialize tuner */
7230 if (TUNER_ABSENT != dev->tuner_type) {
7231 int has_demod = (dev->tda9887_conf & TDA9887_PRESENT);
7232
7233 /* Note: radio tuner address is always filled in,
7234 so we do not need to probe for a radio tuner device. */
7235 if (dev->radio_type != UNSET)
Hans Verkuile6574f22009-04-01 03:57:53 -03007236 v4l2_i2c_new_subdev(&dev->v4l2_dev,
7237 &dev->i2c_adap, "tuner", "tuner",
Hans Verkuil53dacb12009-08-10 02:49:08 -03007238 dev->radio_addr, NULL);
Mauro Carvalho Chehabb9348352009-02-08 09:33:15 -03007239 if (has_demod)
Hans Verkuil53dacb12009-08-10 02:49:08 -03007240 v4l2_i2c_new_subdev(&dev->v4l2_dev,
Hans Verkuile6574f22009-04-01 03:57:53 -03007241 &dev->i2c_adap, "tuner", "tuner",
Hans Verkuil53dacb12009-08-10 02:49:08 -03007242 0, v4l2_i2c_tuner_addrs(ADDRS_DEMOD));
Mauro Carvalho Chehabb9348352009-02-08 09:33:15 -03007243 if (dev->tuner_addr == ADDR_UNSET) {
7244 enum v4l2_i2c_tuner_type type =
7245 has_demod ? ADDRS_TV_WITH_DEMOD : ADDRS_TV;
7246
Hans Verkuil53dacb12009-08-10 02:49:08 -03007247 v4l2_i2c_new_subdev(&dev->v4l2_dev,
Hans Verkuile6574f22009-04-01 03:57:53 -03007248 &dev->i2c_adap, "tuner", "tuner",
Hans Verkuil53dacb12009-08-10 02:49:08 -03007249 0, v4l2_i2c_tuner_addrs(type));
Mauro Carvalho Chehabb9348352009-02-08 09:33:15 -03007250 } else {
Hans Verkuile6574f22009-04-01 03:57:53 -03007251 v4l2_i2c_new_subdev(&dev->v4l2_dev,
7252 &dev->i2c_adap, "tuner", "tuner",
Hans Verkuil53dacb12009-08-10 02:49:08 -03007253 dev->tuner_addr, NULL);
Mauro Carvalho Chehabb9348352009-02-08 09:33:15 -03007254 }
7255 }
7256
7257 saa7134_tuner_setup(dev);
7258
7259 switch (dev->board) {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03007260 case SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM:
Oldřich Jedličkad46de9d2009-04-14 15:47:17 -03007261 case SAA7134_BOARD_AVERMEDIA_CARDBUS_501:
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03007262 {
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03007263 struct v4l2_priv_tun_config tea5767_cfg;
7264 struct tea5767_ctrl ctl;
7265
7266 dev->i2c_client.addr = 0xC0;
7267 /* set TEA5767(analog FM) defines */
7268 memset(&ctl, 0, sizeof(ctl));
7269 ctl.xtal_freq = TEA5767_HIGH_LO_13MHz;
7270 tea5767_cfg.tuner = TUNER_TEA5767;
7271 tea5767_cfg.priv = &ctl;
Hans Verkuilfac69862009-01-17 12:17:14 -03007272 saa_call_all(dev, tuner, s_config, &tea5767_cfg);
Dmitry Belimovb34dddb2008-04-23 14:09:08 -03007273 break;
Linus Torvalds1da177e2005-04-16 15:20:36 -07007274 }
Mauro Carvalho Chehabc117d052008-04-26 14:05:58 -03007275 } /* switch() */
Mauro Carvalho Chehabbc36a682008-04-22 14:45:27 -03007276
Linus Torvalds1da177e2005-04-16 15:20:36 -07007277 return 0;
7278}