Linux 2.6.34-rc3
[pohmelfs.git] / drivers / media / video / saa7134 / saa7134-cards.c
blob297833fb3b4acaabd65b17b14040b274779a7f94
1 /*
3 * device driver for philips saa7134 based TV cards
4 * card-specific stuff.
6 * (c) 2001-04 Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]
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.
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.
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.
23 #include <linux/init.h>
24 #include <linux/module.h>
25 #include <linux/i2c.h>
26 #include <linux/i2c-algo-bit.h>
28 #include "saa7134-reg.h"
29 #include "saa7134.h"
30 #include "tuner-xc2028.h"
31 #include <media/v4l2-common.h>
32 #include <media/tveeprom.h>
33 #include "tea5767.h"
34 #include "tda18271.h"
35 #include "xc5000.h"
37 /* commly used strings */
38 static char name_mute[] = "mute";
39 static char name_radio[] = "Radio";
40 static char name_tv[] = "Television";
41 static char name_tv_mono[] = "TV (mono only)";
42 static char name_comp[] = "Composite";
43 static char name_comp1[] = "Composite1";
44 static char name_comp2[] = "Composite2";
45 static char name_comp3[] = "Composite3";
46 static char name_comp4[] = "Composite4";
47 static char name_svideo[] = "S-Video";
49 /* ------------------------------------------------------------------ */
50 /* board config info */
52 /* If radio_type !=UNSET, radio_addr should be specified
55 struct saa7134_board saa7134_boards[] = {
56 [SAA7134_BOARD_UNKNOWN] = {
57 .name = "UNKNOWN/GENERIC",
58 .audio_clock = 0x00187de7,
59 .tuner_type = TUNER_ABSENT,
60 .radio_type = UNSET,
61 .tuner_addr = ADDR_UNSET,
62 .radio_addr = ADDR_UNSET,
64 .inputs = {{
65 .name = "default",
66 .vmux = 0,
67 .amux = LINE1,
68 }},
70 [SAA7134_BOARD_PROTEUS_PRO] = {
71 /* /me */
72 .name = "Proteus Pro [philips reference design]",
73 .audio_clock = 0x00187de7,
74 .tuner_type = TUNER_PHILIPS_PAL,
75 .radio_type = UNSET,
76 .tuner_addr = ADDR_UNSET,
77 .radio_addr = ADDR_UNSET,
79 .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,
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,
104 .radio_type = UNSET,
105 .tuner_addr = ADDR_UNSET,
106 .radio_addr = ADDR_UNSET,
108 .gpiomask = 0xe000,
109 .inputs = {{
110 .name = name_tv,
111 .vmux = 1,
112 .amux = TV,
113 .gpio = 0x8000,
114 .tv = 1,
116 .name = name_tv_mono,
117 .vmux = 1,
118 .amux = LINE2,
119 .gpio = 0x0000,
120 .tv = 1,
122 .name = name_comp1,
123 .vmux = 0,
124 .amux = LINE2,
125 .gpio = 0x4000,
127 .name = name_comp2,
128 .vmux = 3,
129 .amux = LINE2,
130 .gpio = 0x4000,
132 .name = name_svideo,
133 .vmux = 8,
134 .amux = LINE2,
135 .gpio = 0x4000,
137 .radio = {
138 .name = name_radio,
139 .amux = LINE2,
140 .gpio = 0x2000,
142 .mute = {
143 .name = name_mute,
144 .amux = TV,
145 .gpio = 0x8000,
148 [SAA7134_BOARD_FLYVIDEO2000] = {
149 /* "TC Wan" <tcwan@cs.usm.my> */
150 .name = "LifeView/Typhoon FlyVIDEO2000",
151 .audio_clock = 0x00200000,
152 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
153 .radio_type = UNSET,
154 .tuner_addr = ADDR_UNSET,
155 .radio_addr = ADDR_UNSET,
157 .gpiomask = 0xe000,
158 .inputs = {{
159 .name = name_tv,
160 .vmux = 1,
161 .amux = LINE2,
162 .gpio = 0x0000,
163 .tv = 1,
165 .name = name_comp1,
166 .vmux = 0,
167 .amux = LINE2,
168 .gpio = 0x4000,
170 .name = name_comp2,
171 .vmux = 3,
172 .amux = LINE2,
173 .gpio = 0x4000,
175 .name = name_svideo,
176 .vmux = 8,
177 .amux = LINE2,
178 .gpio = 0x4000,
180 .radio = {
181 .name = name_radio,
182 .amux = LINE2,
183 .gpio = 0x2000,
185 .mute = {
186 .name = name_mute,
187 .amux = LINE2,
188 .gpio = 0x8000,
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,
196 .radio_type = UNSET,
197 .tuner_addr = ADDR_UNSET,
198 .radio_addr = ADDR_UNSET,
200 .inputs = {{
201 .name = name_tv,
202 .vmux = 1,
203 .amux = TV,
204 .tv = 1,
206 .name = name_comp1, /* Composite signal on S-Video input */
207 .vmux = 0,
208 .amux = LINE2,
210 .name = name_comp2, /* Composite input */
211 .vmux = 3,
212 .amux = LINE2,
214 .name = name_svideo,
215 .vmux = 8,
216 .amux = LINE2,
219 [SAA7134_BOARD_FLYTVPLATINUM_FM] = {
220 /* LifeView FlyTV Platinum FM (LR214WF) */
221 /* "Peter Missel <peter.missel@onlinehome.de> */
222 .name = "LifeView FlyTV Platinum FM / Gold",
223 .audio_clock = 0x00200000,
224 .tuner_type = TUNER_PHILIPS_TDA8290,
225 .radio_type = UNSET,
226 .tuner_addr = ADDR_UNSET,
227 .radio_addr = ADDR_UNSET,
229 .gpiomask = 0x1E000, /* Set GP16 and unused 15,14,13 to Output */
230 .inputs = {{
231 .name = name_tv,
232 .vmux = 1,
233 .amux = TV,
234 .gpio = 0x10000, /* GP16=1 selects TV input */
235 .tv = 1,
237 /* .name = name_tv_mono,
238 .vmux = 1,
239 .amux = LINE2,
240 .gpio = 0x0000,
241 .tv = 1,
243 */ .name = name_comp1, /* Composite signal on S-Video input */
244 .vmux = 0,
245 .amux = LINE2,
246 /* .gpio = 0x4000, */
248 .name = name_comp2, /* Composite input */
249 .vmux = 3,
250 .amux = LINE2,
251 /* .gpio = 0x4000, */
253 .name = name_svideo, /* S-Video signal on S-Video input */
254 .vmux = 8,
255 .amux = LINE2,
256 /* .gpio = 0x4000, */
258 .radio = {
259 .name = name_radio,
260 .amux = TV,
261 .gpio = 0x00000, /* GP16=0 selects FM radio antenna */
263 .mute = {
264 .name = name_mute,
265 .amux = TV,
266 .gpio = 0x10000,
269 [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,
313 .mute = {
314 .name = name_mute,
315 .amux = TV,
316 .gpio = 0x8000,
319 [SAA7134_BOARD_EMPRESS] = {
320 /* "Gert Vervoort" <gert.vervoort@philips.com> */
321 .name = "EMPRESS",
322 .audio_clock = 0x00187de7,
323 .tuner_type = TUNER_PHILIPS_PAL,
324 .radio_type = UNSET,
325 .tuner_addr = ADDR_UNSET,
326 .radio_addr = ADDR_UNSET,
327 .empress_addr = 0x20,
329 .inputs = {{
330 .name = name_comp1,
331 .vmux = 0,
332 .amux = LINE1,
334 .name = name_svideo,
335 .vmux = 8,
336 .amux = LINE1,
338 .name = name_tv,
339 .vmux = 1,
340 .amux = LINE2,
341 .tv = 1,
343 .radio = {
344 .name = name_radio,
345 .amux = LINE2,
347 .mpeg = SAA7134_MPEG_EMPRESS,
348 .video_out = CCIR656,
350 [SAA7134_BOARD_MONSTERTV] = {
351 /* "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,
359 .inputs = {{
360 .name = name_tv,
361 .vmux = 1,
362 .amux = TV,
363 .tv = 1,
365 .name = name_comp1,
366 .vmux = 0,
367 .amux = LINE1,
369 .name = name_svideo,
370 .vmux = 8,
371 .amux = LINE1,
373 .radio = {
374 .name = name_radio,
375 .amux = LINE2,
378 [SAA7134_BOARD_MD9717] = {
379 .name = "Tevion MD 9717",
380 .audio_clock = 0x00200000,
381 .tuner_type = TUNER_PHILIPS_PAL,
382 .radio_type = UNSET,
383 .tuner_addr = ADDR_UNSET,
384 .radio_addr = ADDR_UNSET,
385 .inputs = {{
386 .name = name_tv,
387 .vmux = 1,
388 .amux = TV,
389 .tv = 1,
391 /* workaround for problems with normal TV sound */
392 .name = name_tv_mono,
393 .vmux = 1,
394 .amux = LINE2,
395 .tv = 1,
397 .name = name_comp1,
398 .vmux = 0,
399 .amux = LINE1,
401 .name = name_comp2,
402 .vmux = 3,
403 .amux = LINE1,
405 .name = name_svideo,
406 .vmux = 8,
407 .amux = LINE1,
409 .radio = {
410 .name = name_radio,
411 .amux = LINE2,
413 .mute = {
414 .name = name_mute,
415 .amux = TV,
418 [SAA7134_BOARD_TVSTATION_RDS] = {
419 /* Typhoon TV Tuner RDS: Art.Nr. 50694 */
420 .name = "KNC One TV-Station RDS / Typhoon TV Tuner RDS",
421 .audio_clock = 0x00200000,
422 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
423 .radio_type = UNSET,
424 .tuner_addr = ADDR_UNSET,
425 .radio_addr = ADDR_UNSET,
426 .tda9887_conf = TDA9887_PRESENT,
427 .inputs = {{
428 .name = name_tv,
429 .vmux = 1,
430 .amux = TV,
431 .tv = 1,
433 .name = name_tv_mono,
434 .vmux = 1,
435 .amux = LINE2,
436 .tv = 1,
439 .name = name_svideo,
440 .vmux = 8,
441 .amux = LINE1,
443 .name = name_comp1,
444 .vmux = 3,
445 .amux = LINE1,
448 .name = "CVid over SVid",
449 .vmux = 0,
450 .amux = LINE1,
452 .radio = {
453 .name = name_radio,
454 .amux = LINE2,
457 [SAA7134_BOARD_TVSTATION_DVR] = {
458 .name = "KNC One TV-Station DVR",
459 .audio_clock = 0x00200000,
460 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
461 .radio_type = UNSET,
462 .tuner_addr = ADDR_UNSET,
463 .radio_addr = ADDR_UNSET,
464 .empress_addr = 0x20,
465 .tda9887_conf = TDA9887_PRESENT,
466 .gpiomask = 0x820000,
467 .inputs = {{
468 .name = name_tv,
469 .vmux = 1,
470 .amux = TV,
471 .tv = 1,
472 .gpio = 0x20000,
474 .name = name_svideo,
475 .vmux = 8,
476 .amux = LINE1,
477 .gpio = 0x20000,
479 .name = name_comp1,
480 .vmux = 3,
481 .amux = LINE1,
482 .gpio = 0x20000,
484 .radio = {
485 .name = name_radio,
486 .amux = LINE2,
487 .gpio = 0x20000,
489 .mpeg = SAA7134_MPEG_EMPRESS,
490 .video_out = CCIR656,
492 [SAA7134_BOARD_CINERGY400] = {
493 .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,
505 .name = name_comp1,
506 .vmux = 4,
507 .amux = LINE1,
509 .name = name_svideo,
510 .vmux = 8,
511 .amux = LINE1,
513 .name = name_comp2, /* CVideo over SVideo Connector */
514 .vmux = 0,
515 .amux = LINE1,
518 [SAA7134_BOARD_MD5044] = {
519 .name = "Medion 5044",
520 .audio_clock = 0x00187de7, /* was: 0x00200000, */
521 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
522 .radio_type = UNSET,
523 .tuner_addr = ADDR_UNSET,
524 .radio_addr = ADDR_UNSET,
525 .tda9887_conf = TDA9887_PRESENT,
526 .inputs = {{
527 .name = name_tv,
528 .vmux = 1,
529 .amux = TV,
530 .tv = 1,
532 /* workaround for problems with normal TV sound */
533 .name = name_tv_mono,
534 .vmux = 1,
535 .amux = LINE2,
536 .tv = 1,
538 .name = name_comp1,
539 .vmux = 0,
540 .amux = LINE2,
542 .name = name_comp2,
543 .vmux = 3,
544 .amux = LINE2,
546 .name = name_svideo,
547 .vmux = 8,
548 .amux = LINE2,
550 .radio = {
551 .name = name_radio,
552 .amux = LINE2,
555 [SAA7134_BOARD_KWORLD] = {
556 .name = "Kworld/KuroutoShikou SAA7130-TVPCI",
557 .audio_clock = 0x00187de7,
558 .tuner_type = TUNER_PHILIPS_NTSC_M,
559 .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,
567 .name = name_comp1,
568 .vmux = 3,
569 .amux = LINE1,
571 .name = name_tv,
572 .vmux = 1,
573 .amux = LINE2,
574 .tv = 1,
577 [SAA7134_BOARD_CINERGY600] = {
578 .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,
584 .tda9887_conf = TDA9887_PRESENT,
585 .inputs = {{
586 .name = name_tv,
587 .vmux = 1,
588 .amux = TV,
589 .tv = 1,
591 .name = name_comp1,
592 .vmux = 4,
593 .amux = LINE1,
595 .name = name_svideo,
596 .vmux = 8,
597 .amux = LINE1,
599 .name = name_comp2, /* CVideo over SVideo Connector */
600 .vmux = 0,
601 .amux = LINE1,
603 .radio = {
604 .name = name_radio,
605 .amux = LINE2,
608 [SAA7134_BOARD_MD7134] = {
609 .name = "Medion 7134",
610 .audio_clock = 0x00187de7,
611 .tuner_type = TUNER_PHILIPS_FMD1216ME_MK3,
612 .radio_type = UNSET,
613 .tuner_addr = ADDR_UNSET,
614 .radio_addr = ADDR_UNSET,
615 .tda9887_conf = TDA9887_PRESENT,
616 .mpeg = SAA7134_MPEG_DVB,
617 .inputs = {{
618 .name = name_tv,
619 .vmux = 1,
620 .amux = TV,
621 .tv = 1,
623 .name = name_comp1,
624 .vmux = 0,
625 .amux = LINE1,
627 .name = name_svideo,
628 .vmux = 8,
629 .amux = LINE1,
631 .radio = {
632 .name = name_radio,
633 .amux = LINE2,
635 .mute = {
636 .name = name_mute,
637 .amux = TV,
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,
646 .radio_type = UNSET,
647 .tuner_addr = ADDR_UNSET,
648 .radio_addr = ADDR_UNSET,
649 .tda9887_conf = TDA9887_PRESENT,
650 .inputs = {{
651 .name = name_tv,
652 .vmux = 1,
653 .amux = TV,
654 .tv = 1,
656 .name = name_comp1,
657 .vmux = 3,
658 .amux = LINE1,
660 .name = name_svideo,
661 .vmux = 8,
662 .amux = LINE1,
664 .radio = {
665 .name = name_radio,
666 .amux = LINE2,
669 [SAA7134_BOARD_ELSA] = {
670 .name = "ELSA EX-VISION 300TV",
671 .audio_clock = 0x00187de7,
672 .tuner_type = TUNER_HITACHI_NTSC,
673 .radio_type = UNSET,
674 .tuner_addr = ADDR_UNSET,
675 .radio_addr = ADDR_UNSET,
676 .inputs = {{
677 .name = name_svideo,
678 .vmux = 8,
679 .amux = LINE1,
681 .name = name_comp1,
682 .vmux = 0,
683 .amux = LINE1,
685 .name = name_tv,
686 .vmux = 4,
687 .amux = LINE2,
688 .tv = 1,
691 [SAA7134_BOARD_ELSA_500TV] = {
692 .name = "ELSA EX-VISION 500TV",
693 .audio_clock = 0x00187de7,
694 .tuner_type = TUNER_HITACHI_NTSC,
695 .radio_type = UNSET,
696 .tuner_addr = ADDR_UNSET,
697 .radio_addr = ADDR_UNSET,
698 .inputs = {{
699 .name = name_svideo,
700 .vmux = 7,
701 .amux = LINE1,
703 .name = name_tv,
704 .vmux = 8,
705 .amux = TV,
706 .tv = 1,
708 .name = name_tv_mono,
709 .vmux = 8,
710 .amux = LINE2,
711 .tv = 1,
714 [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,
727 .name = name_comp1,
728 .vmux = 6,
729 .amux = LINE1,
731 .name = name_svideo,
732 .vmux = 7,
733 .amux = LINE1,
735 .mute = {
736 .name = name_mute,
737 .amux = TV,
740 [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,
754 .name = name_comp1,
755 .vmux = 4,
756 .amux = LINE2,
758 .name = name_svideo,
759 .vmux = 6,
760 .amux = LINE2,
762 .radio = {
763 .name = name_radio,
764 .amux = LINE1,
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,
774 .gpiomask = 0x200000,
775 .inputs = {{
776 .name = name_tv,
777 .vmux = 1,
778 .amux = TV,
779 .gpio = 0x0000,
780 .tv = 1,
782 .name = name_comp1,
783 .vmux = 4,
784 .amux = LINE2,
785 .gpio = 0x0000,
787 .name = name_svideo,
788 .vmux = 6,
789 .amux = LINE2,
790 .gpio = 0x0000,
792 .radio = {
793 .name = name_radio,
794 .amux = TV,
795 .gpio = 0x200000,
797 .mute = {
798 .name = name_mute,
799 .gpio = 0x0000,
803 [SAA7134_BOARD_VA1000POWER] = {
804 .name = "AOPEN VA1000 POWER",
805 .audio_clock = 0x00187de7,
806 .tuner_type = TUNER_PHILIPS_NTSC,
807 .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,
815 .name = name_comp1,
816 .vmux = 3,
817 .amux = LINE1,
819 .name = name_tv,
820 .vmux = 1,
821 .amux = LINE2,
822 .tv = 1,
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,
830 .radio_type = UNSET,
831 .tuner_addr = ADDR_UNSET,
832 .radio_addr = ADDR_UNSET,
833 .gpiomask = 0xe000,
834 .inputs = {{
835 .name = name_tv,
836 .vmux = 1,
837 .amux = LINE2,
838 .gpio = 0x0000,
839 .tv = 1,
841 .name = name_comp1,
842 .vmux = 0,
843 .amux = LINE2,
844 .gpio = 0x4000,
846 .name = name_comp2,
847 .vmux = 3,
848 .amux = LINE2,
849 .gpio = 0x4000,
851 .name = name_svideo,
852 .vmux = 8,
853 .amux = LINE2,
854 .gpio = 0x4000,
856 .radio = {
857 .name = name_radio,
858 .amux = LINE2,
859 .gpio = 0x2000,
861 .mute = {
862 .name = name_mute,
863 .amux = LINE2,
864 .gpio = 0x8000,
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,
872 .radio_type = UNSET,
873 .tuner_addr = ADDR_UNSET,
874 .radio_addr = ADDR_UNSET,
875 .empress_addr = 0x20,
876 .inputs = {{
877 .name = name_comp1,
878 .vmux = 4,
879 .amux = LINE1,
881 .name = name_comp2,
882 .vmux = 3,
883 .amux = LINE1,
885 .name = name_comp3,
886 .vmux = 0,
887 .amux = LINE1,
889 .name = name_comp4,
890 .vmux = 1,
891 .amux = LINE1,
893 .name = name_svideo,
894 .vmux = 8,
895 .amux = LINE1,
897 .mpeg = SAA7134_MPEG_EMPRESS,
898 .video_out = CCIR656,
900 [SAA7134_BOARD_VIDEOMATE_TV] = {
901 .name = "Compro VideoMate TV",
902 .audio_clock = 0x00187de7,
903 .tuner_type = TUNER_PHILIPS_NTSC_M,
904 .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,
912 .name = name_comp1,
913 .vmux = 3,
914 .amux = LINE1,
916 .name = name_tv,
917 .vmux = 1,
918 .amux = LINE2,
919 .tv = 1,
922 [SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS] = {
923 .name = "Compro VideoMate TV Gold+",
924 .audio_clock = 0x00187de7,
925 .tuner_type = TUNER_PHILIPS_NTSC_M,
926 .gpiomask = 0x800c0000,
927 .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,
936 .name = name_comp1,
937 .vmux = 3,
938 .amux = LINE1,
939 .gpio = 0x0ac20012,
941 .name = name_tv,
942 .vmux = 1,
943 .amux = LINE2,
944 .gpio = 0x08c20012,
945 .tv = 1,
946 }}, /* radio and probably mute is missing */
948 [SAA7134_BOARD_CRONOS_PLUS] = {
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
957 .name = "Matrox CronosPlus",
958 .tuner_type = TUNER_ABSENT,
959 .radio_type = UNSET,
960 .tuner_addr = ADDR_UNSET,
961 .radio_addr = ADDR_UNSET,
962 .gpiomask = 0xcf00,
963 .inputs = {{
964 .name = name_comp1,
965 .vmux = 0,
966 .gpio = 2 << 14,
968 .name = name_comp2,
969 .vmux = 0,
970 .gpio = 1 << 14,
972 .name = name_comp3,
973 .vmux = 0,
974 .gpio = 0 << 14,
976 .name = name_comp4,
977 .vmux = 0,
978 .gpio = 3 << 14,
980 .name = name_svideo,
981 .vmux = 8,
982 .gpio = 2 << 14,
985 [SAA7134_BOARD_MD2819] = {
986 .name = "AverMedia M156 / Medion 2819",
987 .audio_clock = 0x00187de7,
988 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
989 .radio_type = UNSET,
990 .tuner_addr = ADDR_UNSET,
991 .radio_addr = ADDR_UNSET,
992 .tda9887_conf = TDA9887_PRESENT,
993 .gpiomask = 0x03,
994 .inputs = {{
995 .name = name_tv,
996 .vmux = 1,
997 .amux = TV,
998 .tv = 1,
999 .gpio = 0x00,
1000 }, {
1001 .name = name_comp1,
1002 .vmux = 3,
1003 .amux = LINE1,
1004 .gpio = 0x02,
1005 }, {
1006 .name = name_comp2,
1007 .vmux = 0,
1008 .amux = LINE1,
1009 .gpio = 0x02,
1010 }, {
1011 .name = name_svideo,
1012 .vmux = 8,
1013 .amux = LINE1,
1014 .gpio = 0x02,
1015 } },
1016 .radio = {
1017 .name = name_radio,
1018 .amux = LINE1,
1019 .gpio = 0x01,
1021 .mute = {
1022 .name = name_mute,
1023 .amux = TV,
1024 .gpio = 0x00,
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,
1032 .radio_type = UNSET,
1033 .tuner_addr = ADDR_UNSET,
1034 .radio_addr = ADDR_UNSET,
1035 .empress_addr = 0x20,
1036 .inputs = {{
1037 .name = name_comp1,
1038 .vmux = 1,
1039 .amux = LINE1,
1041 .name = name_svideo,
1042 .vmux = 8,
1043 .amux = LINE1,
1045 .name = name_tv,
1046 .vmux = 3,
1047 .amux = TV,
1048 .tv = 1,
1050 .mpeg = SAA7134_MPEG_EMPRESS,
1051 .video_out = CCIR656,
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,
1070 .name = name_comp1,
1071 .vmux = 4,
1072 .amux = LINE2,
1074 .name = name_svideo,
1075 .vmux = 6,
1076 .amux = LINE2,
1078 .radio = {
1079 .name = name_radio,
1080 .amux = LINE1,
1083 [SAA7134_BOARD_PINNACLE_PCTV_STEREO] = {
1084 .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,
1090 .tda9887_conf = TDA9887_PRESENT | TDA9887_INTERCARRIER | TDA9887_PORT2_INACTIVE,
1091 .inputs = {{
1092 .name = name_tv,
1093 .vmux = 3,
1094 .amux = TV,
1095 .tv = 1,
1097 .name = name_comp1,
1098 .vmux = 0,
1099 .amux = LINE2,
1101 .name = name_comp2,
1102 .vmux = 1,
1103 .amux = LINE2,
1105 .name = name_svideo,
1106 .vmux = 8,
1107 .amux = LINE2,
1110 [SAA7134_BOARD_MANLI_MTV002] = {
1111 /* Ognjen Nastic <ognjen@logosoft.ba> */
1112 .name = "Manli MuchTV M-TV002",
1113 .audio_clock = 0x00200000,
1114 .tuner_type = TUNER_PHILIPS_PAL,
1115 .radio_type = UNSET,
1116 .tuner_addr = ADDR_UNSET,
1117 .radio_addr = ADDR_UNSET,
1118 .inputs = {{
1119 .name = name_svideo,
1120 .vmux = 8,
1121 .amux = LINE1,
1123 .name = name_comp1,
1124 .vmux = 1,
1125 .amux = LINE1,
1127 .name = name_tv,
1128 .vmux = 3,
1129 .amux = LINE2,
1130 .tv = 1,
1132 .radio = {
1133 .name = name_radio,
1134 .amux = LINE2,
1137 [SAA7134_BOARD_MANLI_MTV001] = {
1138 /* Ognjen Nastic <ognjen@logosoft.ba> UNTESTED */
1139 .name = "Manli MuchTV M-TV001",
1140 .audio_clock = 0x00200000,
1141 .tuner_type = TUNER_PHILIPS_PAL,
1142 .radio_type = UNSET,
1143 .tuner_addr = ADDR_UNSET,
1144 .radio_addr = ADDR_UNSET,
1145 .inputs = {{
1146 .name = name_svideo,
1147 .vmux = 8,
1148 .amux = LINE1,
1150 .name = name_comp1,
1151 .vmux = 1,
1152 .amux = LINE1,
1154 .name = name_tv,
1155 .vmux = 3,
1156 .amux = LINE2,
1157 .tv = 1,
1159 .mute = {
1160 .name = name_mute,
1161 .amux = LINE1,
1164 [SAA7134_BOARD_TG3000TV] = {
1165 /* TransGear 3000TV */
1166 .name = "Nagase Sangyo TransGear 3000TV",
1167 .audio_clock = 0x00187de7,
1168 .tuner_type = TUNER_PHILIPS_NTSC_M,
1169 .radio_type = UNSET,
1170 .tuner_addr = ADDR_UNSET,
1171 .radio_addr = ADDR_UNSET,
1172 .inputs = {{
1173 .name = name_tv,
1174 .vmux = 1,
1175 .amux = LINE2,
1176 .tv = 1,
1178 .name = name_comp1,
1179 .vmux = 3,
1180 .amux = LINE2,
1182 .name = name_svideo,
1183 .vmux = 8,
1184 .amux = LINE2,
1187 [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,
1200 .name = name_tv_mono,
1201 .vmux = 1,
1202 .amux = LINE2,
1203 .tv = 1,
1205 .name = name_comp1,
1206 .vmux = 3,
1207 .amux = LINE1,
1209 .name = name_svideo,
1210 .vmux = 8,
1211 .amux = LINE1,
1213 .name = "CVid over SVid",
1214 .vmux = 0,
1215 .amux = LINE1,
1217 .radio = {
1218 .name = name_radio,
1219 .amux = LINE2,
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,
1235 .name = name_tv_mono,
1236 .vmux = 1,
1237 .amux = LINE2,
1238 .tv = 1,
1240 .name = name_comp1,
1241 .vmux = 3,
1242 .amux = LINE1,
1244 .name = name_svideo,
1245 .vmux = 8,
1246 .amux = LINE1,
1248 .name = "CVid over SVid",
1249 .vmux = 0,
1250 .amux = LINE1,
1252 .radio = {
1253 .name = name_radio,
1254 .amux = LINE2,
1257 [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,
1271 .name = name_tv_mono,
1272 .vmux = 1,
1273 .amux = LINE2,
1274 .tv = 1,
1276 .name = name_comp1,
1277 .vmux = 3,
1278 .amux = LINE1,
1280 .name = name_svideo,
1281 .vmux = 8,
1282 .amux = LINE1,
1284 .name = "CVid over SVid",
1285 .vmux = 0,
1286 .amux = LINE1,
1288 .radio = {
1289 .name = name_radio,
1290 .amux = LINE2,
1293 [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,
1298 .radio_type = UNSET,
1299 .tuner_addr = ADDR_UNSET,
1300 .radio_addr = ADDR_UNSET,
1301 .inputs = {{
1302 .name = name_tv,
1303 .vmux = 1,
1304 .amux = TV,
1305 .tv = 1,
1307 .name = name_tv_mono,
1308 .vmux = 1,
1309 .amux = LINE2,
1310 .tv = 1,
1312 .name = name_comp1,
1313 .vmux = 0,
1314 .amux = LINE2,
1316 .name = name_comp2,
1317 .vmux = 3,
1318 .amux = LINE2,
1320 .name = name_svideo,
1321 .vmux = 8,
1322 .amux = LINE2,
1324 .radio = {
1325 .name = name_radio,
1326 .amux = LINE2,
1327 .gpio = 0x200000,
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,
1335 .radio_type = UNSET,
1336 .tuner_addr = ADDR_UNSET,
1337 .radio_addr = ADDR_UNSET,
1338 .inputs = {{
1339 .name = name_comp1,
1340 .vmux = 3,
1342 .name = name_svideo,
1343 .vmux = 8,
1346 [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 } },
1362 [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,
1374 .name = name_tv,
1375 .vmux = 1,
1376 .amux = TV,
1377 .tv = 1,
1379 .name = name_svideo,
1380 .vmux = 8,
1383 [SAA7134_BOARD_AVERMEDIA_STUDIO_305] = {
1384 .name = "AverMedia AverTV Studio 305",
1385 .audio_clock = 0x00187de7,
1386 .tuner_type = TUNER_PHILIPS_FM1256_IH3,
1387 .radio_type = UNSET,
1388 .tuner_addr = ADDR_UNSET,
1389 .radio_addr = ADDR_UNSET,
1390 .tda9887_conf = TDA9887_PRESENT,
1391 .inputs = {{
1392 .name = name_tv,
1393 .vmux = 1,
1394 .amux = LINE2,
1395 .tv = 1,
1397 .name = name_comp1,
1398 .vmux = 0,
1399 .amux = LINE2,
1401 .name = name_comp2,
1402 .vmux = 3,
1403 .amux = LINE2,
1405 .name = name_svideo,
1406 .vmux = 8,
1407 .amux = LINE2,
1409 .radio = {
1410 .name = name_radio,
1411 .amux = LINE2,
1413 .mute = {
1414 .name = name_mute,
1415 .amux = LINE1,
1418 [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,
1441 .name = name_svideo,
1442 .vmux = 8,
1443 .amux = LINE2,
1444 } },
1445 .radio = {
1446 .name = name_radio,
1447 .amux = LINE2,
1449 .mute = {
1450 .name = name_mute,
1451 .amux = LINE1,
1454 [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,
1468 .name = name_svideo,
1469 .vmux = 7,
1470 .amux = LINE1,
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,
1478 .radio_type = UNSET,
1479 .tuner_addr = ADDR_UNSET,
1480 .radio_addr = ADDR_UNSET,
1481 .inputs = {{
1482 .name = name_tv,
1483 .vmux = 3,
1484 .amux = TV,
1485 .tv = 1,
1487 .name = name_comp1,
1488 .vmux = 1,
1489 .amux = LINE1,
1491 .name = name_svideo,
1492 .vmux = 8,
1493 .amux = LINE1,
1495 .radio = {
1496 .name = name_radio,
1497 .amux = LINE2,
1500 [SAA7134_BOARD_CINERGY200] = {
1501 .name = "Terratec Cinergy 200 TV",
1502 .audio_clock = 0x00200000,
1503 .tuner_type = TUNER_PHILIPS_PAL,
1504 .radio_type = UNSET,
1505 .tuner_addr = ADDR_UNSET,
1506 .radio_addr = ADDR_UNSET,
1507 .inputs = {{
1508 .name = name_tv,
1509 .vmux = 1,
1510 .amux = LINE2,
1511 .tv = 1,
1513 .name = name_comp1,
1514 .vmux = 4,
1515 .amux = LINE1,
1517 .name = name_svideo,
1518 .vmux = 8,
1519 .amux = LINE1,
1521 .name = name_comp2, /* CVideo over SVideo Connector */
1522 .vmux = 0,
1523 .amux = LINE1,
1525 .mute = {
1526 .name = name_mute,
1527 .amux = LINE2,
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,
1535 .radio_type = UNSET,
1536 .tuner_addr = ADDR_UNSET,
1537 .radio_addr = ADDR_UNSET,
1538 .gpiomask = 0x808c0080,
1539 .inputs = {{
1540 .name = name_svideo,
1541 .vmux = 8,
1542 .amux = LINE1,
1543 .gpio = 0x00080,
1545 .name = name_comp1,
1546 .vmux = 3,
1547 .amux = LINE1,
1548 .gpio = 0x00080,
1550 .name = name_tv,
1551 .vmux = 1,
1552 .amux = LINE2_LEFT,
1553 .tv = 1,
1554 .gpio = 0x00080,
1556 .radio = {
1557 .name = name_radio,
1558 .amux = LINE2,
1559 .gpio = 0x80000,
1561 .mute = {
1562 .name = name_mute,
1563 .amux = LINE2,
1564 .gpio = 0x40000,
1567 [SAA7134_BOARD_SABRENT_SBTTVFM] = {
1568 /* Michael Rodriguez-Torrent <mrtorrent@asu.edu> */
1569 .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 = {{
1576 .name = name_comp1,
1577 .vmux = 1,
1578 .amux = LINE1,
1580 .name = name_tv,
1581 .vmux = 3,
1582 .amux = LINE2,
1583 .tv = 1,
1585 .name = name_svideo,
1586 .vmux = 8,
1587 .amux = LINE1,
1589 .radio = {
1590 .name = name_radio,
1591 .amux = LINE2,
1594 [SAA7134_BOARD_ZOLID_XPERT_TV7134] = {
1595 /* Helge Jensen <helge.jensen@slog.dk> */
1596 .name = ":Zolid Xpert TV7134",
1597 .audio_clock = 0x00187de7,
1598 .tuner_type = TUNER_PHILIPS_NTSC,
1599 .radio_type = UNSET,
1600 .tuner_addr = ADDR_UNSET,
1601 .radio_addr = ADDR_UNSET,
1602 .inputs = {{
1603 .name = name_svideo,
1604 .vmux = 8,
1605 .amux = LINE1,
1607 .name = name_comp1,
1608 .vmux = 3,
1609 .amux = LINE1,
1611 .name = name_tv,
1612 .vmux = 1,
1613 .amux = LINE2,
1614 .tv = 1,
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,
1622 .radio_type = UNSET,
1623 .tuner_addr = ADDR_UNSET,
1624 .radio_addr = ADDR_UNSET,
1625 .gpiomask = 0x4000,
1626 .inputs = {{
1627 .name = name_tv_mono,
1628 .vmux = 1,
1629 .amux = LINE2,
1630 .gpio = 0x8000,
1631 .tv = 1,
1633 .name = name_comp1,
1634 .vmux = 3,
1635 .amux = LINE1,
1636 .gpio = 0x8000,
1638 .name = name_svideo,
1639 .vmux = 6,
1640 .amux = LINE1,
1641 .gpio = 0x8000,
1643 .radio = {
1644 .name = name_radio,
1645 .amux = LINE1,
1646 .gpio = 0x8000,
1648 .mute = {
1649 .name = name_mute,
1650 .amux = TV,
1651 .gpio =0x8000,
1654 [SAA7134_BOARD_AVERMEDIA_STUDIO_307] = {
1656 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1657 Lots of thanks to Andrey Zolotarev <zolotarev_andrey@mail.ru>
1659 .name = "Avermedia AVerTV Studio 307",
1660 .audio_clock = 0x00187de7,
1661 .tuner_type = TUNER_PHILIPS_FM1256_IH3,
1662 .radio_type = UNSET,
1663 .tuner_addr = ADDR_UNSET,
1664 .radio_addr = ADDR_UNSET,
1665 .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,
1674 .name = name_comp,
1675 .vmux = 3,
1676 .amux = LINE1,
1677 .gpio = 0x02,
1679 .name = name_svideo,
1680 .vmux = 8,
1681 .amux = LINE1,
1682 .gpio = 0x02,
1684 .radio = {
1685 .name = name_radio,
1686 .amux = LINE1,
1687 .gpio = 0x01,
1689 .mute = {
1690 .name = name_mute,
1691 .amux = LINE1,
1692 .gpio = 0x00,
1695 [SAA7134_BOARD_AVERMEDIA_GO_007_FM] = {
1696 .name = "Avermedia AVerTV GO 007 FM",
1697 .audio_clock = 0x00187de7,
1698 .tuner_type = TUNER_PHILIPS_TDA8290,
1699 .radio_type = UNSET,
1700 .tuner_addr = ADDR_UNSET,
1701 .radio_addr = ADDR_UNSET,
1702 .gpiomask = 0x00300003,
1703 /* .gpiomask = 0x8c240003, */
1704 .inputs = {{
1705 .name = name_tv,
1706 .vmux = 1,
1707 .amux = TV,
1708 .tv = 1,
1709 .gpio = 0x01,
1711 .name = name_comp1,
1712 .vmux = 0,
1713 .amux = LINE1,
1714 .gpio = 0x02,
1716 .name = name_svideo,
1717 .vmux = 6,
1718 .amux = LINE1,
1719 .gpio = 0x02,
1721 .radio = {
1722 .name = name_radio,
1723 .amux = TV,
1724 .gpio = 0x00300001,
1726 .mute = {
1727 .name = name_mute,
1728 .amux = TV,
1729 .gpio = 0x01,
1732 [SAA7134_BOARD_AVERMEDIA_CARDBUS] = {
1733 /* 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,
1740 .inputs = {{
1741 .name = name_tv,
1742 .vmux = 1,
1743 .amux = TV,
1744 .tv = 1,
1746 .name = name_comp1,
1747 .vmux = 3,
1748 .amux = LINE2,
1750 .name = name_svideo,
1751 .vmux = 8,
1752 .amux = LINE1,
1754 .radio = {
1755 .name = name_radio,
1756 .amux = LINE1,
1759 [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,
1792 [SAA7134_BOARD_CINERGY400_CARDBUS] = {
1793 .name = "Terratec Cinergy 400 mobile",
1794 .audio_clock = 0x187de7,
1795 .tuner_type = TUNER_ALPS_TSBE5_PAL,
1796 .radio_type = UNSET,
1797 .tuner_addr = ADDR_UNSET,
1798 .radio_addr = ADDR_UNSET,
1799 .tda9887_conf = TDA9887_PRESENT,
1800 .inputs = {{
1801 .name = name_tv,
1802 .vmux = 1,
1803 .amux = TV,
1804 .tv = 1,
1806 .name = name_tv_mono,
1807 .vmux = 1,
1808 .amux = LINE2,
1809 .tv = 1,
1811 .name = name_comp1,
1812 .vmux = 3,
1813 .amux = LINE1,
1815 .name = name_svideo,
1816 .vmux = 8,
1817 .amux = LINE1,
1820 [SAA7134_BOARD_CINERGY600_MK3] = {
1821 .name = "Terratec Cinergy 600 TV MK3",
1822 .audio_clock = 0x00200000,
1823 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
1824 .radio_type = UNSET,
1825 .tuner_addr = ADDR_UNSET,
1826 .radio_addr = ADDR_UNSET,
1827 .rds_addr = 0x10,
1828 .tda9887_conf = TDA9887_PRESENT,
1829 .inputs = {{
1830 .name = name_tv,
1831 .vmux = 1,
1832 .amux = TV,
1833 .tv = 1,
1835 .name = name_comp1,
1836 .vmux = 4,
1837 .amux = LINE1,
1839 .name = name_svideo,
1840 .vmux = 8,
1841 .amux = LINE1,
1843 .name = name_comp2, /* CVideo over SVideo Connector */
1844 .vmux = 0,
1845 .amux = LINE1,
1847 .radio = {
1848 .name = name_radio,
1849 .amux = LINE2,
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,
1867 .name = name_comp1,
1868 .vmux = 3,
1869 .amux = LINE1,
1870 .gpio = 0x008080,
1872 .name = name_tv,
1873 .vmux = 1,
1874 .amux = TV,
1875 .tv = 1,
1876 .gpio = 0x008080,
1878 .radio = {
1879 .name = name_radio,
1880 .amux = LINE2,
1881 .gpio = 0x80000,
1883 .mute = {
1884 .name = name_mute,
1885 .amux = LINE2,
1886 .gpio = 0x0c8000,
1889 [SAA7134_BOARD_PINNACLE_300I_DVBT_PAL] = {
1890 .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,
1896 .tda9887_conf = TDA9887_PRESENT | TDA9887_INTERCARRIER | TDA9887_PORT2_INACTIVE,
1897 .mpeg = SAA7134_MPEG_DVB,
1898 .inputs = {{
1899 .name = name_tv,
1900 .vmux = 3,
1901 .amux = TV,
1902 .tv = 1,
1904 .name = name_comp1,
1905 .vmux = 0,
1906 .amux = LINE2,
1908 .name = name_comp2,
1909 .vmux = 1,
1910 .amux = LINE2,
1912 .name = name_svideo,
1913 .vmux = 8,
1914 .amux = LINE2,
1917 [SAA7134_BOARD_PROVIDEO_PV952] = {
1918 /* andreas.kretschmer@web.de */
1919 .name = "ProVideo PV952",
1920 .audio_clock = 0x00187de7,
1921 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
1922 .radio_type = UNSET,
1923 .tuner_addr = ADDR_UNSET,
1924 .radio_addr = ADDR_UNSET,
1925 .tda9887_conf = TDA9887_PRESENT,
1926 .inputs = {{
1927 .name = name_comp1,
1928 .vmux = 0,
1929 .amux = LINE1,
1931 .name = name_tv,
1932 .vmux = 1,
1933 .amux = TV,
1934 .tv = 1,
1936 .name = name_tv_mono,
1937 .vmux = 1,
1938 .amux = LINE2,
1939 .tv = 1,
1941 .radio = {
1942 .name = name_radio,
1943 .amux = LINE2,
1946 [SAA7134_BOARD_AVERMEDIA_305] = {
1947 /* much like the "studio" version but without radio
1948 * and another tuner (sirspiritus@yandex.ru) */
1949 .name = "AverMedia AverTV/305",
1950 .audio_clock = 0x00187de7,
1951 .tuner_type = TUNER_PHILIPS_FQ1216ME,
1952 .radio_type = UNSET,
1953 .tuner_addr = ADDR_UNSET,
1954 .radio_addr = ADDR_UNSET,
1955 .tda9887_conf = TDA9887_PRESENT,
1956 .inputs = {{
1957 .name = name_tv,
1958 .vmux = 1,
1959 .amux = LINE2,
1960 .tv = 1,
1962 .name = name_comp1,
1963 .vmux = 0,
1964 .amux = LINE2,
1966 .name = name_comp2,
1967 .vmux = 3,
1968 .amux = LINE2,
1970 .name = name_svideo,
1971 .vmux = 8,
1972 .amux = LINE2,
1974 .mute = {
1975 .name = name_mute,
1976 .amux = LINE1,
1979 [SAA7134_BOARD_FLYDVBTDUO] = {
1980 /* LifeView FlyDVB-T DUO */
1981 /* "Nico Sabbi <nsabbi@tiscali.it> Hartmut Hackmann hartmut.hackmann@t-online.de*/
1982 .name = "LifeView FlyDVB-T DUO / MSI TV@nywhere Duo",
1983 .audio_clock = 0x00200000,
1984 .tuner_type = TUNER_PHILIPS_TDA8290,
1985 .radio_type = UNSET,
1986 .tuner_addr = ADDR_UNSET,
1987 .radio_addr = ADDR_UNSET,
1988 .gpiomask = 0x00200000,
1989 .mpeg = SAA7134_MPEG_DVB,
1990 .inputs = {{
1991 .name = name_tv,
1992 .vmux = 1,
1993 .amux = TV,
1994 .gpio = 0x200000, /* GPIO21=High for TV input */
1995 .tv = 1,
1997 .name = name_comp1, /* Composite signal on S-Video input */
1998 .vmux = 0,
1999 .amux = LINE2,
2001 .name = name_comp2, /* Composite input */
2002 .vmux = 3,
2003 .amux = LINE2,
2005 .name = name_svideo, /* S-Video signal on S-Video input */
2006 .vmux = 8,
2007 .amux = LINE2,
2009 .radio = {
2010 .name = name_radio,
2011 .amux = TV,
2012 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
2015 [SAA7134_BOARD_PHILIPS_TOUGH] = {
2016 .name = "Philips TOUGH DVB-T reference design",
2017 .tuner_type = TUNER_ABSENT,
2018 .audio_clock = 0x00187de7,
2019 .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,
2028 .name = name_svideo,
2029 .vmux = 8,
2030 .amux = LINE1,
2033 [SAA7134_BOARD_AVERMEDIA_307] = {
2035 Davydov Vladimir <vladimir@iqmedia.com>
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,
2050 .name = name_comp1,
2051 .vmux = 0,
2052 .amux = LINE1,
2054 .name = name_comp2,
2055 .vmux = 3,
2056 .amux = LINE1,
2058 .name = name_svideo,
2059 .vmux = 8,
2060 .amux = LINE1,
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,
2076 .name = name_comp1,
2077 .vmux = 3,
2078 .amux = LINE2,
2080 .name = name_svideo,
2081 .vmux = 8,
2082 .amux = LINE2,
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,
2100 .name = name_comp1,
2101 .vmux = 3,
2102 .amux = LINE1,
2103 .gpio = 0x200, /* gpio by DScaler */
2105 .name = name_svideo,
2106 .vmux = 0,
2107 .amux = LINE1,
2108 .gpio = 0x200,
2110 .radio = {
2111 .name = name_radio,
2112 .amux = LINE1,
2113 .gpio = 0x100,
2115 .mute = {
2116 .name = name_mute,
2117 .amux = TV,
2118 .gpio = 0x000,
2121 [SAA7134_BOARD_FLYDVBT_DUO_CARDBUS] = {
2122 .name = "LifeView/Typhoon/Genius FlyDVB-T Duo Cardbus",
2123 .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,
2129 .gpiomask = 0x00200000,
2130 .inputs = {{
2131 .name = name_tv,
2132 .vmux = 1,
2133 .amux = TV,
2134 .gpio = 0x200000, /* GPIO21=High for TV input */
2135 .tv = 1,
2137 .name = name_svideo, /* S-Video signal on S-Video input */
2138 .vmux = 8,
2139 .amux = LINE2,
2141 .name = name_comp1, /* Composite signal on S-Video input */
2142 .vmux = 0,
2143 .amux = LINE2,
2145 .name = name_comp2, /* Composite input */
2146 .vmux = 3,
2147 .amux = LINE2,
2149 .radio = {
2150 .name = name_radio,
2151 .amux = TV,
2152 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
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,
2169 .name = name_comp1,
2170 .vmux = 3,
2171 .amux = LINE1,
2172 .gpio = 0x801000,
2174 .name = name_tv,
2175 .vmux = 1,
2176 .amux = TV,
2177 .tv = 1,
2178 .gpio = 0x800000,
2180 .radio = {
2181 .name = name_radio,
2182 .amux = TV,
2183 .gpio = 0x880000,
2185 .mute = {
2186 .name = name_mute,
2187 .amux = LINE2,
2188 .gpio = 0x840000,
2191 [SAA7134_BOARD_KWORLD_XPERT] = {
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>
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,
2215 .name = name_comp1,
2216 .vmux = 3,
2217 .amux = LINE1,
2218 .gpio = 0x200, /* gpio by DScaler */
2220 .name = name_svideo,
2221 .vmux = 0,
2222 .amux = LINE1,
2223 .gpio = 0x200,
2225 .radio = {
2226 .name = name_radio,
2227 .amux = LINE1,
2228 .gpio = 0x100,
2230 .mute = {
2231 .name = name_mute,
2232 .amux = TV,
2233 .gpio = 0x000,
2236 [SAA7134_BOARD_FLYTV_DIGIMATRIX] = {
2237 .name = "FlyTV mini Asus Digimatrix",
2238 .audio_clock = 0x00200000,
2239 .tuner_type = TUNER_LG_TALN,
2240 .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,
2249 .name = name_tv_mono,
2250 .vmux = 1,
2251 .amux = LINE2,
2252 .tv = 1,
2254 .name = name_comp1,
2255 .vmux = 0,
2256 .amux = LINE2,
2258 .name = name_comp2,
2259 .vmux = 3,
2260 .amux = LINE2,
2262 .name = name_svideo,
2263 .vmux = 8,
2264 .amux = LINE2,
2266 .radio = {
2267 .name = name_radio, /* radio unconfirmed */
2268 .amux = LINE2,
2271 [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,
2288 .name = name_comp1, /* Composite input */
2289 .vmux = 3,
2290 .amux = LINE2,
2291 .gpio = 0x0000000,
2293 .name = name_svideo, /* S-Video input */
2294 .vmux = 8,
2295 .amux = LINE2,
2296 .gpio = 0x0000000,
2298 .radio = {
2299 .name = name_radio,
2300 .amux = TV,
2301 .gpio = 0x0200000,
2304 [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,
2324 .name = name_comp1,
2325 .vmux = 0,
2326 .amux = LINE2,
2327 .gpio = 0x02,
2329 .name = name_svideo,
2330 .vmux = 6,
2331 .amux = LINE2,
2332 .gpio = 0x02,
2334 .radio = {
2335 .name = name_radio,
2336 .amux = LINE1,
2337 .gpio = 0x00010003,
2339 .mute = {
2340 .name = name_mute,
2341 .amux = TV,
2342 .gpio = 0x01,
2345 [SAA7134_BOARD_BEHOLD_409FM] = {
2346 /* <http://tuner.beholder.ru>, Sergey <skiv@orel.ru> */
2347 /* Beholder Intl. Ltd. 2008 */
2348 /*Dmitry Belimov <d.belimov@gmail.com> */
2349 .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,
2356 .gpiomask = 0x00008000,
2357 .inputs = {{
2358 .name = name_tv,
2359 .vmux = 3,
2360 .amux = TV,
2361 .tv = 1,
2363 .name = name_comp1,
2364 .vmux = 1,
2365 .amux = LINE1,
2367 .name = name_svideo,
2368 .vmux = 8,
2369 .amux = LINE1,
2371 .radio = {
2372 .name = name_radio,
2373 .amux = LINE2,
2376 [SAA7134_BOARD_GOTVIEW_7135] = {
2377 /* Mike Baikov <mike@baikov.com> */
2378 /* Andrey Cvetcov <ays14@yandex.ru> */
2379 .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,
2394 .name = name_tv_mono,
2395 .vmux = 1,
2396 .amux = LINE2,
2397 .gpio = 0x00200003,
2399 .name = name_comp1,
2400 .vmux = 3,
2401 .amux = LINE1,
2402 .gpio = 0x00200003,
2404 .name = name_svideo,
2405 .vmux = 8,
2406 .amux = LINE1,
2407 .gpio = 0x00200003,
2409 .radio = {
2410 .name = name_radio,
2411 .amux = LINE2,
2412 .gpio = 0x00200003,
2414 .mute = {
2415 .name = name_mute,
2416 .amux = TV,
2417 .gpio = 0x00200003,
2420 [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,
2427 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
2428 .mpeg = SAA7134_MPEG_DVB,
2429 .inputs = {{
2430 .name = name_tv,
2431 .vmux = 3,
2432 .amux = TV,
2433 .tv = 1,
2435 .name = name_comp1,
2436 .vmux = 0,
2437 .amux = LINE2,
2439 .name = name_svideo,
2440 .vmux = 8,
2441 .amux = LINE2,
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,
2451 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
2452 .mpeg = SAA7134_MPEG_DVB,
2453 .inputs = {{
2454 .name = name_tv,
2455 .vmux = 3,
2456 .amux = TV,
2457 .tv = 1,
2459 .name = name_comp1,
2460 .vmux = 1,
2461 .amux = LINE2,
2463 .name = name_svideo,
2464 .vmux = 8,
2465 .amux = LINE2,
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,
2481 .name = name_svideo,
2482 .vmux = 8,
2483 .amux = LINE1,
2486 [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,
2493 .empress_addr = 0x21,
2494 .inputs = {{
2495 .name = "Composite 0",
2496 .vmux = 0,
2497 .amux = LINE1,
2499 .name = "Composite 1",
2500 .vmux = 1,
2501 .amux = LINE2,
2503 .name = "Composite 2",
2504 .vmux = 2,
2505 .amux = LINE1,
2507 .name = "Composite 3",
2508 .vmux = 3,
2509 .amux = LINE2,
2511 .name = "S-Video 0",
2512 .vmux = 8,
2513 .amux = LINE1,
2515 .name = "S-Video 1",
2516 .vmux = 9,
2517 .amux = LINE2,
2519 .mpeg = SAA7134_MPEG_EMPRESS,
2520 .video_out = CCIR656,
2521 .vid_port_opts = ( SET_T_CODE_POLARITY_NON_INVERTED |
2522 SET_CLOCK_NOT_DELAYED |
2523 SET_CLOCK_INVERTED |
2524 SET_VSYNC_OFF ),
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,
2538 .name = "Composite 1",
2539 .vmux = 1,
2540 .amux = LINE2,
2542 .name = "Composite 2",
2543 .vmux = 2,
2544 .amux = LINE1,
2546 .name = "Composite 3",
2547 .vmux = 3,
2548 .amux = LINE2,
2550 .name = "S-Video 0",
2551 .vmux = 8,
2552 .amux = LINE1,
2554 .name = "S-Video 1",
2555 .vmux = 9,
2556 .amux = LINE2,
2559 [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,
2567 .inputs = {{
2568 .name = name_tv,
2569 .vmux = 1,
2570 .amux = TV,
2571 .tv = 1,
2573 .name = name_comp1, /* Composite signal on S-Video input */
2574 .vmux = 0,
2575 .amux = LINE2,
2577 .name = name_comp2, /* Composite input */
2578 .vmux = 3,
2579 .amux = LINE2,
2581 .name = name_svideo,
2582 .vmux = 8,
2583 .amux = LINE2,
2586 [SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180] = {
2587 /* 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.
2592 .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,
2598 .mpeg = SAA7134_MPEG_DVB,
2599 .inputs = {{
2600 .name = name_comp1,
2601 .vmux = 3,
2602 .amux = LINE2,
2604 .name = name_svideo,
2605 .vmux = 8,
2606 .amux = LINE2,
2609 [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,
2617 .inputs = {{
2618 .name = name_tv,
2619 .vmux = 1,
2620 .amux = TV,
2621 .tv = 1,
2623 .name = name_comp1,
2624 .vmux = 3,
2625 .amux = LINE1,
2627 .name = name_svideo,
2628 .vmux = 6,
2629 .amux = LINE1,
2632 [SAA7134_BOARD_PINNACLE_PCTV_110i] = {
2633 .name = "Pinnacle PCTV 40i/50i/110i (saa7133)",
2634 .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,
2640 .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 } },
2658 .radio = {
2659 .name = name_radio,
2660 .amux = TV,
2661 .gpio = 0x0200000,
2664 [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,
2672 .mpeg = SAA7134_MPEG_DVB,
2673 .inputs = {{
2674 .name = name_tv,
2675 .vmux = 1,
2676 .amux = TV,
2677 .tv = 1,
2678 .gpio = 0x0000000,
2680 .name = name_comp1,
2681 .vmux = 3,
2682 .amux = LINE2,
2683 .gpio = 0x0200000,
2685 .name = name_comp2,
2686 .vmux = 0,
2687 .amux = LINE2,
2688 .gpio = 0x0200000,
2690 .name = name_svideo,
2691 .vmux = 8,
2692 .amux = LINE2,
2693 .gpio = 0x0200000,
2695 .radio = {
2696 .name = name_radio,
2697 .amux = TV,
2698 .gpio = 0x0200000,
2701 [SAA7134_BOARD_SEDNA_PC_TV_CARDBUS] = {
2702 /* Paul Tom Zalac <pzalac@gmail.com> */
2703 /* Pavel Mihaylov <bin@bash.info> */
2704 .name = "Sedna/MuchTV PC TV Cardbus TV/Radio (ITO25 Rev:2B)",
2705 /* Sedna/MuchTV (OEM) Cardbus TV Tuner */
2706 .audio_clock = 0x00187de7,
2707 .tuner_type = TUNER_PHILIPS_TDA8290,
2708 .radio_type = UNSET,
2709 .tuner_addr = ADDR_UNSET,
2710 .radio_addr = ADDR_UNSET,
2711 .gpiomask = 0xe880c0,
2712 .inputs = {{
2713 .name = name_tv,
2714 .vmux = 3,
2715 .amux = TV,
2716 .tv = 1,
2718 .name = name_comp1,
2719 .vmux = 1,
2720 .amux = LINE1,
2722 .name = name_svideo,
2723 .vmux = 6,
2724 .amux = LINE1,
2726 .radio = {
2727 .name = name_radio,
2728 .amux = LINE2,
2731 [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,
2746 .name = name_comp1,
2747 .vmux = 3,
2748 .amux = LINE1,
2750 .name = name_svideo,
2751 .vmux = 8,
2752 .amux = LINE1,
2755 [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,
2762 .tuner_config = 0,
2763 .mpeg = SAA7134_MPEG_DVB,
2764 .gpiomask = 0x0200000,
2765 .inputs = {{
2766 .name = name_tv,
2767 .vmux = 1,
2768 .amux = TV,
2769 .tv = 1,
2771 .name = name_comp1,
2772 .vmux = 3,
2773 .amux = LINE1,
2775 .name = name_svideo,
2776 .vmux = 8,
2777 .amux = LINE1,
2779 .radio = {
2780 .name = name_radio,
2781 .amux = TV,
2782 .gpio = 0x0200000,
2785 [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,
2792 .gpiomask = 1 << 21,
2793 .inputs = {{
2794 .name = name_tv,
2795 .vmux = 1,
2796 .amux = TV,
2797 .tv = 1,
2799 .name = name_comp1,
2800 .vmux = 3,
2801 .amux = LINE2, /* unconfirmed, taken from Philips driver */
2803 .name = name_comp2,
2804 .vmux = 0, /* untested, Composite over S-Video */
2805 .amux = LINE2,
2807 .name = name_svideo,
2808 .vmux = 8,
2809 .amux = LINE2,
2811 .radio = {
2812 .name = name_radio,
2813 .amux = TV,
2814 .gpio = 0x0200000,
2817 [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,
2835 .name = name_svideo, /* NOT tested */
2836 .vmux = 8,
2837 .amux = LINE1,
2839 .radio = {
2840 .name = name_radio,
2841 .amux = TV,
2842 .gpio = 0x0200000,
2845 [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,
2855 .mpeg = SAA7134_MPEG_DVB,
2856 .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,
2863 .name = name_svideo, /* S-Video signal on S-Video input */
2864 .vmux = 8,
2865 .amux = LINE2,
2867 .name = name_comp1, /* Composite signal on S-Video input */
2868 .vmux = 0,
2869 .amux = LINE2,
2871 .name = name_comp2, /* Composite input */
2872 .vmux = 3,
2873 .amux = LINE2,
2875 .radio = {
2876 .name = name_radio,
2877 .amux = TV,
2878 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
2881 [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,
2891 .vmux = 1,
2892 .amux = LINE1,
2894 .name = name_svideo,
2895 .vmux = 8,
2896 .amux = LINE1,
2899 [SAA7134_BOARD_FLYDVBT_LR301] = {
2900 /* LifeView FlyDVB-T */
2901 /* Giampiero Giancipoli <gianci@libero.it> */
2902 .name = "LifeView FlyDVB-T / Genius VideoWonder DVB-T",
2903 .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,
2914 .name = name_svideo, /* S-Video signal on S-Video input */
2915 .vmux = 8,
2916 .amux = LINE2,
2919 [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,
2936 [SAA7134_BOARD_TEVION_DVBT_220RF] = {
2937 .name = "Tevion/KWorld DVB-T 220RF",
2938 .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,
2944 .gpiomask = 1 << 21,
2945 .inputs = {{
2946 .name = name_tv,
2947 .vmux = 1,
2948 .amux = TV,
2949 .tv = 1,
2951 .name = name_comp1,
2952 .vmux = 3,
2953 .amux = LINE1,
2955 .name = name_comp2,
2956 .vmux = 0,
2957 .amux = LINE1,
2959 .name = name_svideo,
2960 .vmux = 8,
2961 .amux = LINE1,
2963 .radio = {
2964 .name = name_radio,
2965 .amux = TV,
2966 .gpio = 0x0200000,
2969 [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,
2984 .name = name_comp1,
2985 .vmux = 3,
2986 .amux = LINE1,
2988 .name = name_svideo,
2989 .vmux = 8,
2990 .amux = LINE1,
2992 .radio = {
2993 .name = name_radio,
2994 .amux = TV,
2995 .gpio = 0x0200000,
2998 [SAA7134_BOARD_KWORLD_ATSC110] = {
2999 .name = "Kworld ATSC110/115",
3000 .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,
3013 .name = name_comp1,
3014 .vmux = 3,
3015 .amux = LINE2,
3017 .name = name_svideo,
3018 .vmux = 8,
3019 .amux = LINE2,
3022 [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,
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,
3054 .name = name_comp2, /* Composite SVIDEO (B/W if signal is carried with SVIDEO) */
3055 .vmux = 1,
3056 .amux = LINE2,
3058 .name = name_svideo,
3059 .vmux = 9, /* 9 is correct as S-VIDEO1 according to a169.inf! */
3060 .amux = LINE1,
3063 [SAA7134_BOARD_MD7134_BRIDGE_2] = {
3064 /* The second saa7134 on this card only serves as DVB-S host bridge */
3065 .name = "Medion 7134 Bridge #2",
3066 .audio_clock = 0x00187de7,
3067 .radio_type = UNSET,
3068 .tuner_addr = ADDR_UNSET,
3069 .radio_addr = ADDR_UNSET,
3070 .mpeg = SAA7134_MPEG_DVB,
3072 [SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS] = {
3073 .name = "LifeView FlyDVB-T Hybrid Cardbus/MSI TV @nywhere A/D NB",
3074 .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,
3088 .name = name_svideo, /* S-Video signal on S-Video input */
3089 .vmux = 8,
3090 .amux = LINE2,
3092 .name = name_comp1, /* Composite signal on S-Video input */
3093 .vmux = 0,
3094 .amux = LINE2,
3096 .name = name_comp2, /* Composite input */
3097 .vmux = 3,
3098 .amux = LINE2,
3100 .radio = {
3101 .name = name_radio,
3102 .amux = TV,
3103 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
3106 [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,
3115 .gpiomask = 0xe000,
3116 .inputs = {{
3117 .name = name_tv,
3118 .vmux = 1,
3119 .amux = TV,
3120 .gpio = 0x8000,
3121 .tv = 1,
3123 .name = name_tv_mono,
3124 .vmux = 1,
3125 .amux = LINE2,
3126 .gpio = 0x0000,
3127 .tv = 1,
3129 .name = name_comp1,
3130 .vmux = 0,
3131 .amux = LINE2,
3132 .gpio = 0x4000,
3134 .name = name_comp2,
3135 .vmux = 3,
3136 .amux = LINE2,
3137 .gpio = 0x4000,
3139 .name = name_svideo,
3140 .vmux = 8,
3141 .amux = LINE2,
3142 .gpio = 0x4000,
3144 .radio = {
3145 .name = name_radio,
3146 .amux = LINE2,
3147 .gpio = 0x2000,
3149 .mute = {
3150 .name = name_mute,
3151 .amux = TV,
3152 .gpio = 0x8000,
3155 [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,
3169 .name = name_comp1,
3170 .vmux = 0,
3171 .amux = LINE1,
3173 .name = name_svideo,
3174 .vmux = 8,
3175 .amux = LINE1,
3178 [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,
3193 .name = name_svideo, /* S-Video signal on S-Video input */
3194 .vmux = 8,
3195 .amux = LINE1,
3198 [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,
3212 .name = name_comp1,
3213 .vmux = 0,
3214 .amux = LINE2,
3216 .name = name_comp2,
3217 .vmux = 3,
3218 .amux = LINE2,
3220 .name = name_svideo,
3221 .vmux = 8,
3222 .amux = LINE2,
3224 .mute = {
3225 .name = name_mute,
3226 .amux = LINE1,
3229 [SAA7134_BOARD_AVERMEDIA_A16AR] = {
3230 /* Petr Baudis <pasky@ucw.cz> */
3231 .name = "AVerMedia TV Hybrid A16AR",
3232 .audio_clock = 0x187de7,
3233 .tuner_type = TUNER_PHILIPS_TD1316, /* untested */
3234 .radio_type = TUNER_TEA5767, /* untested */
3235 .tuner_addr = ADDR_UNSET,
3236 .radio_addr = 0x60,
3237 .tda9887_conf = TDA9887_PRESENT,
3238 .mpeg = SAA7134_MPEG_DVB,
3239 .inputs = {{
3240 .name = name_tv,
3241 .vmux = 1,
3242 .amux = TV,
3243 .tv = 1,
3245 .name = name_comp1,
3246 .vmux = 3,
3247 .amux = LINE2,
3249 .name = name_svideo,
3250 .vmux = 8,
3251 .amux = LINE1,
3253 .radio = {
3254 .name = name_radio,
3255 .amux = LINE1,
3258 [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,
3273 .name = name_comp1,
3274 .vmux = 4,
3275 .amux = LINE2,
3277 .name = name_svideo,
3278 .vmux = 8,
3279 .amux = LINE2,
3281 .radio = {
3282 .name = name_radio,
3283 .amux = LINE1,
3286 [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,
3293 .tuner_config = 1,
3294 .mpeg = SAA7134_MPEG_DVB,
3295 .gpiomask = 0x000200000,
3296 .inputs = {{
3297 .name = name_tv,
3298 .vmux = 4,
3299 .amux = TV,
3300 .tv = 1,
3302 .name = name_comp1,
3303 .vmux = 1,
3304 .amux = LINE2,
3306 .name = name_comp2,
3307 .vmux = 0,
3308 .amux = LINE2,
3310 .name = name_svideo,
3311 .vmux = 8,
3312 .amux = LINE2,
3314 .radio = {
3315 .name = name_radio,
3316 .amux = TV,
3317 .gpio = 0x0200000,
3320 [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,
3337 .name = name_comp1,
3338 .vmux = 0,
3339 .amux = LINE2,
3340 .gpio = 0x00,
3342 .name = name_comp2,
3343 .vmux = 3,
3344 .amux = LINE2,
3345 .gpio = 0x00,
3347 .name = name_svideo,
3348 .vmux = 8,
3349 .amux = LINE2,
3350 .gpio = 0x00,
3352 .radio = {
3353 .name = name_radio,
3354 .amux = LINE2,
3355 .gpio = 0x01,
3357 .mute = {
3358 .name = name_mute,
3359 .amux = LINE1,
3360 .gpio = 0x00,
3363 [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,
3379 .name = name_comp1,
3380 .vmux = 1,
3381 .amux = LINE2,
3383 .name = name_svideo,
3384 .vmux = 8,
3385 .amux = LINE2,
3388 [SAA7134_BOARD_HAUPPAUGE_HVR1110] = {
3389 /* Thomas Genty <tomlohave@gmail.com> */
3390 /* David Bentham <db260179@hotmail.com> */
3391 .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,
3397 .tuner_config = 1,
3398 .mpeg = SAA7134_MPEG_DVB,
3399 .gpiomask = 0x0200100,
3400 .inputs = {{
3401 .name = name_tv,
3402 .vmux = 1,
3403 .amux = TV,
3404 .tv = 1,
3405 .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 } },
3415 .radio = {
3416 .name = name_radio,
3417 .amux = TV,
3418 .gpio = 0x0200100,
3421 [SAA7134_BOARD_HAUPPAUGE_HVR1150] = {
3422 .name = "Hauppauge WinTV-HVR1150 ATSC/QAM-Hybrid",
3423 .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,
3429 .mpeg = SAA7134_MPEG_DVB,
3430 .ts_type = SAA7134_MPEG_TS_SERIAL,
3431 .ts_force_val = 1,
3432 .gpiomask = 0x0800100, /* GPIO 21 is an INPUT */
3433 .inputs = {{
3434 .name = name_tv,
3435 .vmux = 1,
3436 .amux = TV,
3437 .tv = 1,
3438 .gpio = 0x0000100,
3439 }, {
3440 .name = name_comp1,
3441 .vmux = 3,
3442 .amux = LINE1,
3443 }, {
3444 .name = name_svideo,
3445 .vmux = 8,
3446 .amux = LINE1,
3447 } },
3448 .radio = {
3449 .name = name_radio,
3450 .amux = TV,
3451 .gpio = 0x0800100, /* GPIO 23 HI for FM */
3454 [SAA7134_BOARD_HAUPPAUGE_HVR1120] = {
3455 .name = "Hauppauge WinTV-HVR1120 DVB-T/Hybrid",
3456 .audio_clock = 0x00187de7,
3457 .tuner_type = TUNER_PHILIPS_TDA8290,
3458 .radio_type = UNSET,
3459 .tuner_addr = ADDR_UNSET,
3460 .radio_addr = ADDR_UNSET,
3461 .tuner_config = 3,
3462 .mpeg = SAA7134_MPEG_DVB,
3463 .ts_type = SAA7134_MPEG_TS_SERIAL,
3464 .gpiomask = 0x0800100, /* GPIO 21 is an INPUT */
3465 .inputs = {{
3466 .name = name_tv,
3467 .vmux = 1,
3468 .amux = TV,
3469 .tv = 1,
3470 .gpio = 0x0000100,
3471 }, {
3472 .name = name_comp1,
3473 .vmux = 3,
3474 .amux = LINE1,
3475 }, {
3476 .name = name_svideo,
3477 .vmux = 8,
3478 .amux = LINE1,
3479 } },
3480 .radio = {
3481 .name = name_radio,
3482 .amux = TV,
3483 .gpio = 0x0800100, /* GPIO 23 HI for FM */
3486 [SAA7134_BOARD_CINERGY_HT_PCMCIA] = {
3487 .name = "Terratec Cinergy HT PCMCIA",
3488 .audio_clock = 0x00187de7,
3489 .tuner_type = TUNER_PHILIPS_TDA8290,
3490 .radio_type = UNSET,
3491 .tuner_addr = ADDR_UNSET,
3492 .radio_addr = ADDR_UNSET,
3493 .mpeg = SAA7134_MPEG_DVB,
3494 .inputs = {{
3495 .name = name_tv,
3496 .vmux = 1,
3497 .amux = TV,
3498 .tv = 1,
3500 .name = name_comp1,
3501 .vmux = 0,
3502 .amux = LINE1,
3504 .name = name_svideo,
3505 .vmux = 6,
3506 .amux = LINE1,
3509 [SAA7134_BOARD_ENCORE_ENLTV] = {
3510 /* Steven Walter <stevenrwalter@gmail.com>
3511 Juan Pablo Sormani <sorman@gmail.com> */
3512 .name = "Encore ENLTV",
3513 .audio_clock = 0x00200000,
3514 .tuner_type = TUNER_TNF_5335MF,
3515 .radio_type = UNSET,
3516 .tuner_addr = ADDR_UNSET,
3517 .radio_addr = ADDR_UNSET,
3518 .inputs = {{
3519 .name = name_tv,
3520 .vmux = 1,
3521 .amux = 3,
3522 .tv = 1,
3524 .name = name_tv_mono,
3525 .vmux = 7,
3526 .amux = 4,
3527 .tv = 1,
3529 .name = name_comp1,
3530 .vmux = 3,
3531 .amux = 2,
3533 .name = name_svideo,
3534 .vmux = 0,
3535 .amux = 2,
3537 .radio = {
3538 .name = name_radio,
3539 .amux = LINE2,
3540 /* .gpio = 0x00300001,*/
3541 .gpio = 0x20000,
3544 .mute = {
3545 .name = name_mute,
3546 .amux = 0,
3549 [SAA7134_BOARD_ENCORE_ENLTV_FM] = {
3550 /* Juan Pablo Sormani <sorman@gmail.com> */
3551 .name = "Encore ENLTV-FM",
3552 .audio_clock = 0x00200000,
3553 .tuner_type = TUNER_PHILIPS_FCV1236D,
3554 .radio_type = UNSET,
3555 .tuner_addr = ADDR_UNSET,
3556 .radio_addr = ADDR_UNSET,
3557 .inputs = {{
3558 .name = name_tv,
3559 .vmux = 1,
3560 .amux = 3,
3561 .tv = 1,
3563 .name = name_tv_mono,
3564 .vmux = 7,
3565 .amux = 4,
3566 .tv = 1,
3568 .name = name_comp1,
3569 .vmux = 3,
3570 .amux = 2,
3572 .name = name_svideo,
3573 .vmux = 0,
3574 .amux = 2,
3576 .radio = {
3577 .name = name_radio,
3578 .amux = LINE2,
3579 .gpio = 0x20000,
3582 .mute = {
3583 .name = name_mute,
3584 .amux = 0,
3587 [SAA7134_BOARD_ENCORE_ENLTV_FM53] = {
3588 .name = "Encore ENLTV-FM v5.3",
3589 .audio_clock = 0x00200000,
3590 .tuner_type = TUNER_TNF_5335MF,
3591 .radio_type = UNSET,
3592 .tuner_addr = ADDR_UNSET,
3593 .radio_addr = ADDR_UNSET,
3594 .gpiomask = 0x7000,
3595 .inputs = { {
3596 .name = name_tv,
3597 .vmux = 1,
3598 .amux = 1,
3599 .tv = 1,
3600 .gpio = 0x50000,
3601 }, {
3602 .name = name_comp1,
3603 .vmux = 3,
3604 .amux = 2,
3605 .gpio = 0x2000,
3606 }, {
3607 .name = name_svideo,
3608 .vmux = 8,
3609 .amux = 2,
3610 .gpio = 0x2000,
3611 } },
3612 .radio = {
3613 .name = name_radio,
3614 .vmux = 1,
3615 .amux = 1,
3617 .mute = {
3618 .name = name_mute,
3619 .gpio = 0xf000,
3620 .amux = 0,
3623 [SAA7134_BOARD_CINERGY_HT_PCI] = {
3624 .name = "Terratec Cinergy HT PCI",
3625 .audio_clock = 0x00187de7,
3626 .tuner_type = TUNER_PHILIPS_TDA8290,
3627 .radio_type = UNSET,
3628 .tuner_addr = ADDR_UNSET,
3629 .radio_addr = ADDR_UNSET,
3630 .mpeg = SAA7134_MPEG_DVB,
3631 .inputs = {{
3632 .name = name_tv,
3633 .vmux = 1,
3634 .amux = TV,
3635 .tv = 1,
3637 .name = name_comp1,
3638 .vmux = 0,
3639 .amux = LINE1,
3641 .name = name_svideo,
3642 .vmux = 6,
3643 .amux = LINE1,
3646 [SAA7134_BOARD_PHILIPS_TIGER_S] = {
3647 .name = "Philips Tiger - S Reference design",
3648 .audio_clock = 0x00187de7,
3649 .tuner_type = TUNER_PHILIPS_TDA8290,
3650 .radio_type = UNSET,
3651 .tuner_addr = ADDR_UNSET,
3652 .radio_addr = ADDR_UNSET,
3653 .tuner_config = 2,
3654 .mpeg = SAA7134_MPEG_DVB,
3655 .gpiomask = 0x0200000,
3656 .inputs = {{
3657 .name = name_tv,
3658 .vmux = 1,
3659 .amux = TV,
3660 .tv = 1,
3662 .name = name_comp1,
3663 .vmux = 3,
3664 .amux = LINE1,
3666 .name = name_svideo,
3667 .vmux = 8,
3668 .amux = LINE1,
3670 .radio = {
3671 .name = name_radio,
3672 .amux = TV,
3673 .gpio = 0x0200000,
3676 [SAA7134_BOARD_AVERMEDIA_M102] = {
3677 .name = "Avermedia M102",
3678 .audio_clock = 0x00187de7,
3679 .tuner_type = TUNER_PHILIPS_TDA8290,
3680 .radio_type = UNSET,
3681 .tuner_addr = ADDR_UNSET,
3682 .radio_addr = ADDR_UNSET,
3683 .gpiomask = 1<<21,
3684 .inputs = {{
3685 .name = name_tv,
3686 .vmux = 1,
3687 .amux = TV,
3688 .tv = 1,
3690 .name = name_comp1,
3691 .vmux = 0,
3692 .amux = LINE2,
3694 .name = name_svideo,
3695 .vmux = 6,
3696 .amux = LINE2,
3699 [SAA7134_BOARD_ASUS_P7131_4871] = {
3700 .name = "ASUS P7131 4871",
3701 .audio_clock = 0x00187de7,
3702 .tuner_type = TUNER_PHILIPS_TDA8290,
3703 .radio_type = UNSET,
3704 .tuner_addr = ADDR_UNSET,
3705 .radio_addr = ADDR_UNSET,
3706 .tuner_config = 2,
3707 .mpeg = SAA7134_MPEG_DVB,
3708 .gpiomask = 0x0200000,
3709 .inputs = {{
3710 .name = name_tv,
3711 .vmux = 1,
3712 .amux = TV,
3713 .tv = 1,
3714 .gpio = 0x0200000,
3717 [SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA] = {
3718 .name = "ASUSTeK P7131 Hybrid",
3719 .audio_clock = 0x00187de7,
3720 .tuner_type = TUNER_PHILIPS_TDA8290,
3721 .radio_type = UNSET,
3722 .tuner_addr = ADDR_UNSET,
3723 .radio_addr = ADDR_UNSET,
3724 .tuner_config = 2,
3725 .gpiomask = 1 << 21,
3726 .mpeg = SAA7134_MPEG_DVB,
3727 .inputs = {{
3728 .name = name_tv,
3729 .vmux = 1,
3730 .amux = TV,
3731 .tv = 1,
3732 .gpio = 0x0000000,
3734 .name = name_comp1,
3735 .vmux = 3,
3736 .amux = LINE2,
3737 .gpio = 0x0200000,
3739 .name = name_comp2,
3740 .vmux = 0,
3741 .amux = LINE2,
3742 .gpio = 0x0200000,
3744 .name = name_svideo,
3745 .vmux = 8,
3746 .amux = LINE2,
3747 .gpio = 0x0200000,
3749 .radio = {
3750 .name = name_radio,
3751 .amux = TV,
3752 .gpio = 0x0200000,
3755 [SAA7134_BOARD_ASUSTeK_P7131_ANALOG] = {
3756 .name = "ASUSTeK P7131 Analog",
3757 .audio_clock = 0x00187de7,
3758 .tuner_type = TUNER_PHILIPS_TDA8290,
3759 .radio_type = UNSET,
3760 .tuner_addr = ADDR_UNSET,
3761 .radio_addr = ADDR_UNSET,
3762 .gpiomask = 1 << 21,
3763 .inputs = {{
3764 .name = name_tv,
3765 .vmux = 1,
3766 .amux = TV,
3767 .tv = 1,
3768 .gpio = 0x0000000,
3769 }, {
3770 .name = name_comp1,
3771 .vmux = 3,
3772 .amux = LINE2,
3773 }, {
3774 .name = name_comp2,
3775 .vmux = 0,
3776 .amux = LINE2,
3777 }, {
3778 .name = name_svideo,
3779 .vmux = 8,
3780 .amux = LINE2,
3781 } },
3782 .radio = {
3783 .name = name_radio,
3784 .amux = TV,
3785 .gpio = 0x0200000,
3788 [SAA7134_BOARD_SABRENT_TV_PCB05] = {
3789 .name = "Sabrent PCMCIA TV-PCB05",
3790 .audio_clock = 0x00187de7,
3791 .tuner_type = TUNER_PHILIPS_TDA8290,
3792 .radio_type = UNSET,
3793 .tuner_addr = ADDR_UNSET,
3794 .radio_addr = ADDR_UNSET,
3795 .inputs = {{
3796 .name = name_tv,
3797 .vmux = 1,
3798 .amux = TV,
3799 .tv = 1,
3801 .name = name_comp1,
3802 .vmux = 3,
3803 .amux = LINE1,
3805 .name = name_comp2,
3806 .vmux = 0,
3807 .amux = LINE1,
3809 .name = name_svideo,
3810 .vmux = 8,
3811 .amux = LINE1,
3813 .mute = {
3814 .name = name_mute,
3815 .amux = TV,
3818 [SAA7134_BOARD_10MOONSTVMASTER3] = {
3819 /* Tony Wan <aloha_cn@hotmail.com> */
3820 .name = "10MOONS TM300 TV Card",
3821 .audio_clock = 0x00200000,
3822 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
3823 .radio_type = UNSET,
3824 .tuner_addr = ADDR_UNSET,
3825 .radio_addr = ADDR_UNSET,
3826 .gpiomask = 0x7000,
3827 .inputs = {{
3828 .name = name_tv,
3829 .vmux = 1,
3830 .amux = LINE2,
3831 .gpio = 0x0000,
3832 .tv = 1,
3834 .name = name_comp1,
3835 .vmux = 3,
3836 .amux = LINE1,
3837 .gpio = 0x2000,
3839 .name = name_svideo,
3840 .vmux = 8,
3841 .amux = LINE1,
3842 .gpio = 0x2000,
3844 .mute = {
3845 .name = name_mute,
3846 .amux = LINE2,
3847 .gpio = 0x3000,
3850 [SAA7134_BOARD_AVERMEDIA_SUPER_007] = {
3851 .name = "Avermedia Super 007",
3852 .audio_clock = 0x00187de7,
3853 .tuner_type = TUNER_PHILIPS_TDA8290,
3854 .radio_type = UNSET,
3855 .tuner_addr = ADDR_UNSET,
3856 .radio_addr = ADDR_UNSET,
3857 .tuner_config = 0,
3858 .mpeg = SAA7134_MPEG_DVB,
3859 .inputs = {{
3860 .name = name_tv, /* FIXME: analog tv untested */
3861 .vmux = 1,
3862 .amux = TV,
3863 .tv = 1,
3866 [SAA7134_BOARD_AVERMEDIA_M135A] = {
3867 .name = "Avermedia PCI pure analog (M135A)",
3868 .audio_clock = 0x00187de7,
3869 .tuner_type = TUNER_PHILIPS_TDA8290,
3870 .radio_type = UNSET,
3871 .tuner_addr = ADDR_UNSET,
3872 .radio_addr = ADDR_UNSET,
3873 .tuner_config = 2,
3874 .gpiomask = 0x020200000,
3875 .inputs = {{
3876 .name = name_tv,
3877 .vmux = 1,
3878 .amux = TV,
3879 .tv = 1,
3880 }, {
3881 .name = name_comp1,
3882 .vmux = 3,
3883 .amux = LINE1,
3884 }, {
3885 .name = name_svideo,
3886 .vmux = 8,
3887 .amux = LINE1,
3888 } },
3889 .radio = {
3890 .name = name_radio,
3891 .amux = TV,
3892 .gpio = 0x00200000,
3894 .mute = {
3895 .name = name_mute,
3896 .amux = TV,
3897 .gpio = 0x01,
3900 [SAA7134_BOARD_BEHOLD_401] = {
3901 /* Beholder Intl. Ltd. 2008 */
3902 /*Dmitry Belimov <d.belimov@gmail.com> */
3903 .name = "Beholder BeholdTV 401",
3904 .audio_clock = 0x00187de7,
3905 .tuner_type = TUNER_PHILIPS_FQ1216ME,
3906 .radio_type = UNSET,
3907 .tuner_addr = ADDR_UNSET,
3908 .radio_addr = ADDR_UNSET,
3909 .gpiomask = 0x00008000,
3910 .inputs = {{
3911 .name = name_svideo,
3912 .vmux = 8,
3913 .amux = LINE1,
3915 .name = name_comp1,
3916 .vmux = 1,
3917 .amux = LINE1,
3919 .name = name_tv,
3920 .vmux = 3,
3921 .amux = LINE2,
3922 .tv = 1,
3924 .mute = {
3925 .name = name_mute,
3926 .amux = LINE1,
3929 [SAA7134_BOARD_BEHOLD_403] = {
3930 /* Beholder Intl. Ltd. 2008 */
3931 /*Dmitry Belimov <d.belimov@gmail.com> */
3932 .name = "Beholder BeholdTV 403",
3933 .audio_clock = 0x00187de7,
3934 .tuner_type = TUNER_PHILIPS_FQ1216ME,
3935 .radio_type = UNSET,
3936 .tuner_addr = ADDR_UNSET,
3937 .radio_addr = ADDR_UNSET,
3938 .gpiomask = 0x00008000,
3939 .inputs = {{
3940 .name = name_svideo,
3941 .vmux = 8,
3942 .amux = LINE1,
3944 .name = name_comp1,
3945 .vmux = 1,
3946 .amux = LINE1,
3948 .name = name_tv,
3949 .vmux = 3,
3950 .amux = LINE2,
3951 .tv = 1,
3954 [SAA7134_BOARD_BEHOLD_403FM] = {
3955 /* Beholder Intl. Ltd. 2008 */
3956 /*Dmitry Belimov <d.belimov@gmail.com> */
3957 .name = "Beholder BeholdTV 403 FM",
3958 .audio_clock = 0x00187de7,
3959 .tuner_type = TUNER_PHILIPS_FQ1216ME,
3960 .radio_type = UNSET,
3961 .tuner_addr = ADDR_UNSET,
3962 .radio_addr = ADDR_UNSET,
3963 .gpiomask = 0x00008000,
3964 .inputs = {{
3965 .name = name_svideo,
3966 .vmux = 8,
3967 .amux = LINE1,
3969 .name = name_comp1,
3970 .vmux = 1,
3971 .amux = LINE1,
3973 .name = name_tv,
3974 .vmux = 3,
3975 .amux = LINE2,
3976 .tv = 1,
3978 .radio = {
3979 .name = name_radio,
3980 .amux = LINE2,
3983 [SAA7134_BOARD_BEHOLD_405] = {
3984 /* Beholder Intl. Ltd. 2008 */
3985 /*Dmitry Belimov <d.belimov@gmail.com> */
3986 .name = "Beholder BeholdTV 405",
3987 .audio_clock = 0x00187de7,
3988 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3989 .radio_type = UNSET,
3990 .tuner_addr = ADDR_UNSET,
3991 .radio_addr = ADDR_UNSET,
3992 .tda9887_conf = TDA9887_PRESENT,
3993 .gpiomask = 0x00008000,
3994 .inputs = {{
3995 .name = name_svideo,
3996 .vmux = 8,
3997 .amux = LINE1,
3999 .name = name_comp1,
4000 .vmux = 3,
4001 .amux = LINE1,
4003 .name = name_tv,
4004 .vmux = 3,
4005 .amux = LINE2,
4006 .tv = 1,
4009 [SAA7134_BOARD_BEHOLD_405FM] = {
4010 /* Sergey <skiv@orel.ru> */
4011 /* Beholder Intl. Ltd. 2008 */
4012 /*Dmitry Belimov <d.belimov@gmail.com> */
4013 .name = "Beholder BeholdTV 405 FM",
4014 .audio_clock = 0x00187de7,
4015 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4016 .radio_type = UNSET,
4017 .tuner_addr = ADDR_UNSET,
4018 .radio_addr = ADDR_UNSET,
4019 .tda9887_conf = TDA9887_PRESENT,
4020 .gpiomask = 0x00008000,
4021 .inputs = {{
4022 .name = name_svideo,
4023 .vmux = 8,
4024 .amux = LINE1,
4026 .name = name_comp1,
4027 .vmux = 3,
4028 .amux = LINE1,
4030 .name = name_tv,
4031 .vmux = 3,
4032 .amux = LINE2,
4033 .tv = 1,
4035 .radio = {
4036 .name = name_radio,
4037 .amux = LINE2,
4040 [SAA7134_BOARD_BEHOLD_407] = {
4041 /* Beholder Intl. Ltd. 2008 */
4042 /*Dmitry Belimov <d.belimov@gmail.com> */
4043 .name = "Beholder BeholdTV 407",
4044 .audio_clock = 0x00187de7,
4045 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4046 .radio_type = UNSET,
4047 .tuner_addr = ADDR_UNSET,
4048 .radio_addr = ADDR_UNSET,
4049 .tda9887_conf = TDA9887_PRESENT,
4050 .gpiomask = 0x00008000,
4051 .inputs = {{
4052 .name = name_svideo,
4053 .vmux = 8,
4054 .amux = LINE1,
4055 .gpio = 0xc0c000,
4057 .name = name_comp1,
4058 .vmux = 1,
4059 .amux = LINE1,
4060 .gpio = 0xc0c000,
4062 .name = name_tv,
4063 .vmux = 3,
4064 .amux = TV,
4065 .tv = 1,
4066 .gpio = 0xc0c000,
4069 [SAA7134_BOARD_BEHOLD_407FM] = {
4070 /* Beholder Intl. Ltd. 2008 */
4071 /*Dmitry Belimov <d.belimov@gmail.com> */
4072 .name = "Beholder BeholdTV 407 FM",
4073 .audio_clock = 0x00187de7,
4074 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4075 .radio_type = UNSET,
4076 .tuner_addr = ADDR_UNSET,
4077 .radio_addr = ADDR_UNSET,
4078 .tda9887_conf = TDA9887_PRESENT,
4079 .gpiomask = 0x00008000,
4080 .inputs = {{
4081 .name = name_svideo,
4082 .vmux = 8,
4083 .amux = LINE1,
4084 .gpio = 0xc0c000,
4086 .name = name_comp1,
4087 .vmux = 1,
4088 .amux = LINE1,
4089 .gpio = 0xc0c000,
4091 .name = name_tv,
4092 .vmux = 3,
4093 .amux = TV,
4094 .tv = 1,
4095 .gpio = 0xc0c000,
4097 .radio = {
4098 .name = name_radio,
4099 .amux = LINE2,
4100 .gpio = 0xc0c000,
4103 [SAA7134_BOARD_BEHOLD_409] = {
4104 /* Beholder Intl. Ltd. 2008 */
4105 /*Dmitry Belimov <d.belimov@gmail.com> */
4106 .name = "Beholder BeholdTV 409",
4107 .audio_clock = 0x00187de7,
4108 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4109 .radio_type = UNSET,
4110 .tuner_addr = ADDR_UNSET,
4111 .radio_addr = ADDR_UNSET,
4112 .tda9887_conf = TDA9887_PRESENT,
4113 .gpiomask = 0x00008000,
4114 .inputs = {{
4115 .name = name_tv,
4116 .vmux = 3,
4117 .amux = TV,
4118 .tv = 1,
4120 .name = name_comp1,
4121 .vmux = 1,
4122 .amux = LINE1,
4124 .name = name_svideo,
4125 .vmux = 8,
4126 .amux = LINE1,
4129 [SAA7134_BOARD_BEHOLD_505FM] = {
4130 /* Beholder Intl. Ltd. 2008 */
4131 /*Dmitry Belimov <d.belimov@gmail.com> */
4132 .name = "Beholder BeholdTV 505 FM",
4133 .audio_clock = 0x00200000,
4134 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4135 .radio_type = UNSET,
4136 .tuner_addr = ADDR_UNSET,
4137 .radio_addr = ADDR_UNSET,
4138 .tda9887_conf = TDA9887_PRESENT,
4139 .gpiomask = 0x00008000,
4140 .inputs = {{
4141 .name = name_tv,
4142 .vmux = 3,
4143 .amux = LINE2,
4144 .tv = 1,
4145 }, {
4146 .name = name_comp1,
4147 .vmux = 1,
4148 .amux = LINE1,
4149 }, {
4150 .name = name_svideo,
4151 .vmux = 8,
4152 .amux = LINE1,
4153 } },
4154 .mute = {
4155 .name = name_mute,
4156 .amux = LINE1,
4158 .radio = {
4159 .name = name_radio,
4160 .amux = LINE2,
4163 [SAA7134_BOARD_BEHOLD_505RDS_MK5] = {
4164 /* Beholder Intl. Ltd. 2008 */
4165 /*Dmitry Belimov <d.belimov@gmail.com> */
4166 .name = "Beholder BeholdTV 505 RDS",
4167 .audio_clock = 0x00200000,
4168 .tuner_type = TUNER_PHILIPS_FM1216MK5,
4169 .radio_type = UNSET,
4170 .tuner_addr = ADDR_UNSET,
4171 .radio_addr = ADDR_UNSET,
4172 .rds_addr = 0x10,
4173 .tda9887_conf = TDA9887_PRESENT,
4174 .gpiomask = 0x00008000,
4175 .inputs = {{
4176 .name = name_tv,
4177 .vmux = 3,
4178 .amux = LINE2,
4179 .tv = 1,
4181 .name = name_comp1,
4182 .vmux = 1,
4183 .amux = LINE1,
4185 .name = name_svideo,
4186 .vmux = 8,
4187 .amux = LINE1,
4189 .mute = {
4190 .name = name_mute,
4191 .amux = LINE1,
4193 .radio = {
4194 .name = name_radio,
4195 .amux = LINE2,
4198 [SAA7134_BOARD_BEHOLD_507_9FM] = {
4199 /* Beholder Intl. Ltd. 2008 */
4200 /*Dmitry Belimov <d.belimov@gmail.com> */
4201 .name = "Beholder BeholdTV 507 FM / BeholdTV 509 FM",
4202 .audio_clock = 0x00187de7,
4203 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4204 .radio_type = UNSET,
4205 .tuner_addr = ADDR_UNSET,
4206 .radio_addr = ADDR_UNSET,
4207 .tda9887_conf = TDA9887_PRESENT,
4208 .gpiomask = 0x00008000,
4209 .inputs = {{
4210 .name = name_tv,
4211 .vmux = 3,
4212 .amux = TV,
4213 .tv = 1,
4215 .name = name_comp1,
4216 .vmux = 1,
4217 .amux = LINE1,
4219 .name = name_svideo,
4220 .vmux = 8,
4221 .amux = LINE1,
4223 .radio = {
4224 .name = name_radio,
4225 .amux = LINE2,
4228 [SAA7134_BOARD_BEHOLD_507RDS_MK5] = {
4229 /* Beholder Intl. Ltd. 2008 */
4230 /*Dmitry Belimov <d.belimov@gmail.com> */
4231 .name = "Beholder BeholdTV 507 RDS",
4232 .audio_clock = 0x00187de7,
4233 .tuner_type = TUNER_PHILIPS_FM1216MK5,
4234 .radio_type = UNSET,
4235 .tuner_addr = ADDR_UNSET,
4236 .radio_addr = ADDR_UNSET,
4237 .rds_addr = 0x10,
4238 .tda9887_conf = TDA9887_PRESENT,
4239 .gpiomask = 0x00008000,
4240 .inputs = {{
4241 .name = name_tv,
4242 .vmux = 3,
4243 .amux = TV,
4244 .tv = 1,
4245 }, {
4246 .name = name_comp1,
4247 .vmux = 1,
4248 .amux = LINE1,
4249 }, {
4250 .name = name_svideo,
4251 .vmux = 8,
4252 .amux = LINE1,
4253 } },
4254 .radio = {
4255 .name = name_radio,
4256 .amux = LINE2,
4259 [SAA7134_BOARD_BEHOLD_507RDS_MK3] = {
4260 /* Beholder Intl. Ltd. 2008 */
4261 /*Dmitry Belimov <d.belimov@gmail.com> */
4262 .name = "Beholder BeholdTV 507 RDS",
4263 .audio_clock = 0x00187de7,
4264 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4265 .radio_type = UNSET,
4266 .tuner_addr = ADDR_UNSET,
4267 .radio_addr = ADDR_UNSET,
4268 .rds_addr = 0x10,
4269 .tda9887_conf = TDA9887_PRESENT,
4270 .gpiomask = 0x00008000,
4271 .inputs = {{
4272 .name = name_tv,
4273 .vmux = 3,
4274 .amux = TV,
4275 .tv = 1,
4276 }, {
4277 .name = name_comp1,
4278 .vmux = 1,
4279 .amux = LINE1,
4280 }, {
4281 .name = name_svideo,
4282 .vmux = 8,
4283 .amux = LINE1,
4284 } },
4285 .radio = {
4286 .name = name_radio,
4287 .amux = LINE2,
4290 [SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM] = {
4291 /* Beholder Intl. Ltd. 2008 */
4292 /*Dmitry Belimov <d.belimov@gmail.com> */
4293 .name = "Beholder BeholdTV Columbus TVFM",
4294 .audio_clock = 0x00187de7,
4295 .tuner_type = TUNER_ALPS_TSBE5_PAL,
4296 .radio_type = UNSET,
4297 .tuner_addr = ADDR_UNSET,
4298 .radio_addr = ADDR_UNSET,
4299 .tda9887_conf = TDA9887_PRESENT,
4300 .gpiomask = 0x000A8004,
4301 .inputs = {{
4302 .name = name_tv,
4303 .vmux = 3,
4304 .amux = TV,
4305 .tv = 1,
4306 .gpio = 0x000A8004,
4307 }, {
4308 .name = name_comp1,
4309 .vmux = 1,
4310 .amux = LINE1,
4311 .gpio = 0x000A8000,
4312 }, {
4313 .name = name_svideo,
4314 .vmux = 8,
4315 .amux = LINE1,
4316 .gpio = 0x000A8000,
4317 } },
4318 .radio = {
4319 .name = name_radio,
4320 .amux = LINE2,
4321 .gpio = 0x000A8000,
4324 [SAA7134_BOARD_BEHOLD_607FM_MK3] = {
4325 /* Andrey Melnikoff <temnota@kmv.ru> */
4326 .name = "Beholder BeholdTV 607 FM",
4327 .audio_clock = 0x00187de7,
4328 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4329 .radio_type = UNSET,
4330 .tuner_addr = ADDR_UNSET,
4331 .radio_addr = ADDR_UNSET,
4332 .tda9887_conf = TDA9887_PRESENT,
4333 .inputs = {{
4334 .name = name_tv,
4335 .vmux = 3,
4336 .amux = TV,
4337 .tv = 1,
4338 }, {
4339 .name = name_comp1,
4340 .vmux = 1,
4341 .amux = LINE1,
4342 }, {
4343 .name = name_svideo,
4344 .vmux = 8,
4345 .amux = LINE1,
4346 } },
4347 .radio = {
4348 .name = name_radio,
4349 .amux = LINE2,
4352 [SAA7134_BOARD_BEHOLD_609FM_MK3] = {
4353 /* Andrey Melnikoff <temnota@kmv.ru> */
4354 .name = "Beholder BeholdTV 609 FM",
4355 .audio_clock = 0x00187de7,
4356 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4357 .radio_type = UNSET,
4358 .tuner_addr = ADDR_UNSET,
4359 .radio_addr = ADDR_UNSET,
4360 .tda9887_conf = TDA9887_PRESENT,
4361 .inputs = {{
4362 .name = name_tv,
4363 .vmux = 3,
4364 .amux = TV,
4365 .tv = 1,
4366 }, {
4367 .name = name_comp1,
4368 .vmux = 1,
4369 .amux = LINE1,
4370 }, {
4371 .name = name_svideo,
4372 .vmux = 8,
4373 .amux = LINE1,
4374 } },
4375 .radio = {
4376 .name = name_radio,
4377 .amux = LINE2,
4380 [SAA7134_BOARD_BEHOLD_607FM_MK5] = {
4381 /* Andrey Melnikoff <temnota@kmv.ru> */
4382 .name = "Beholder BeholdTV 607 FM",
4383 .audio_clock = 0x00187de7,
4384 .tuner_type = TUNER_PHILIPS_FM1216MK5,
4385 .radio_type = UNSET,
4386 .tuner_addr = ADDR_UNSET,
4387 .radio_addr = ADDR_UNSET,
4388 .tda9887_conf = TDA9887_PRESENT,
4389 .inputs = {{
4390 .name = name_tv,
4391 .vmux = 3,
4392 .amux = TV,
4393 .tv = 1,
4394 }, {
4395 .name = name_comp1,
4396 .vmux = 1,
4397 .amux = LINE1,
4398 }, {
4399 .name = name_svideo,
4400 .vmux = 8,
4401 .amux = LINE1,
4402 } },
4403 .radio = {
4404 .name = name_radio,
4405 .amux = LINE2,
4408 [SAA7134_BOARD_BEHOLD_609FM_MK5] = {
4409 /* Andrey Melnikoff <temnota@kmv.ru> */
4410 .name = "Beholder BeholdTV 609 FM",
4411 .audio_clock = 0x00187de7,
4412 .tuner_type = TUNER_PHILIPS_FM1216MK5,
4413 .radio_type = UNSET,
4414 .tuner_addr = ADDR_UNSET,
4415 .radio_addr = ADDR_UNSET,
4416 .tda9887_conf = TDA9887_PRESENT,
4417 .inputs = {{
4418 .name = name_tv,
4419 .vmux = 3,
4420 .amux = TV,
4421 .tv = 1,
4422 }, {
4423 .name = name_comp1,
4424 .vmux = 1,
4425 .amux = LINE1,
4426 }, {
4427 .name = name_svideo,
4428 .vmux = 8,
4429 .amux = LINE1,
4430 } },
4431 .radio = {
4432 .name = name_radio,
4433 .amux = LINE2,
4436 [SAA7134_BOARD_BEHOLD_607RDS_MK3] = {
4437 /* Andrey Melnikoff <temnota@kmv.ru> */
4438 .name = "Beholder BeholdTV 607 RDS",
4439 .audio_clock = 0x00187de7,
4440 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4441 .radio_type = UNSET,
4442 .tuner_addr = ADDR_UNSET,
4443 .radio_addr = ADDR_UNSET,
4444 .rds_addr = 0x10,
4445 .tda9887_conf = TDA9887_PRESENT,
4446 .inputs = {{
4447 .name = name_tv,
4448 .vmux = 3,
4449 .amux = TV,
4450 .tv = 1,
4451 }, {
4452 .name = name_comp1,
4453 .vmux = 1,
4454 .amux = LINE1,
4455 }, {
4456 .name = name_svideo,
4457 .vmux = 8,
4458 .amux = LINE1,
4459 } },
4460 .radio = {
4461 .name = name_radio,
4462 .amux = LINE2,
4465 [SAA7134_BOARD_BEHOLD_609RDS_MK3] = {
4466 /* Andrey Melnikoff <temnota@kmv.ru> */
4467 .name = "Beholder BeholdTV 609 RDS",
4468 .audio_clock = 0x00187de7,
4469 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4470 .radio_type = UNSET,
4471 .tuner_addr = ADDR_UNSET,
4472 .radio_addr = ADDR_UNSET,
4473 .rds_addr = 0x10,
4474 .tda9887_conf = TDA9887_PRESENT,
4475 .inputs = {{
4476 .name = name_tv,
4477 .vmux = 3,
4478 .amux = TV,
4479 .tv = 1,
4480 }, {
4481 .name = name_comp1,
4482 .vmux = 1,
4483 .amux = LINE1,
4484 }, {
4485 .name = name_svideo,
4486 .vmux = 8,
4487 .amux = LINE1,
4488 } },
4489 .radio = {
4490 .name = name_radio,
4491 .amux = LINE2,
4494 [SAA7134_BOARD_BEHOLD_607RDS_MK5] = {
4495 /* Andrey Melnikoff <temnota@kmv.ru> */
4496 .name = "Beholder BeholdTV 607 RDS",
4497 .audio_clock = 0x00187de7,
4498 .tuner_type = TUNER_PHILIPS_FM1216MK5,
4499 .radio_type = UNSET,
4500 .tuner_addr = ADDR_UNSET,
4501 .radio_addr = ADDR_UNSET,
4502 .rds_addr = 0x10,
4503 .tda9887_conf = TDA9887_PRESENT,
4504 .inputs = {{
4505 .name = name_tv,
4506 .vmux = 3,
4507 .amux = TV,
4508 .tv = 1,
4509 }, {
4510 .name = name_comp1,
4511 .vmux = 1,
4512 .amux = LINE1,
4513 }, {
4514 .name = name_svideo,
4515 .vmux = 8,
4516 .amux = LINE1,
4517 } },
4518 .radio = {
4519 .name = name_radio,
4520 .amux = LINE2,
4523 [SAA7134_BOARD_BEHOLD_609RDS_MK5] = {
4524 /* Andrey Melnikoff <temnota@kmv.ru> */
4525 .name = "Beholder BeholdTV 609 RDS",
4526 .audio_clock = 0x00187de7,
4527 .tuner_type = TUNER_PHILIPS_FM1216MK5,
4528 .radio_type = UNSET,
4529 .tuner_addr = ADDR_UNSET,
4530 .radio_addr = ADDR_UNSET,
4531 .rds_addr = 0x10,
4532 .tda9887_conf = TDA9887_PRESENT,
4533 .inputs = {{
4534 .name = name_tv,
4535 .vmux = 3,
4536 .amux = TV,
4537 .tv = 1,
4539 .name = name_comp1,
4540 .vmux = 1,
4541 .amux = LINE1,
4543 .name = name_svideo,
4544 .vmux = 8,
4545 .amux = LINE1,
4547 .radio = {
4548 .name = name_radio,
4549 .amux = LINE2,
4552 [SAA7134_BOARD_BEHOLD_M6] = {
4553 /* Igor Kuznetsov <igk@igk.ru> */
4554 /* Andrey Melnikoff <temnota@kmv.ru> */
4555 /* Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> */
4556 /* Alexey Osipov <lion-simba@pridelands.ru> */
4557 .name = "Beholder BeholdTV M6",
4558 .audio_clock = 0x00187de7,
4559 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4560 .radio_type = UNSET,
4561 .tuner_addr = ADDR_UNSET,
4562 .radio_addr = ADDR_UNSET,
4563 .empress_addr = 0x20,
4564 .tda9887_conf = TDA9887_PRESENT,
4565 .inputs = { {
4566 .name = name_tv,
4567 .vmux = 3,
4568 .amux = TV,
4569 .tv = 1,
4570 }, {
4571 .name = name_comp1,
4572 .vmux = 1,
4573 .amux = LINE1,
4574 }, {
4575 .name = name_svideo,
4576 .vmux = 8,
4577 .amux = LINE1,
4578 } },
4579 .radio = {
4580 .name = name_radio,
4581 .amux = LINE2,
4583 .mpeg = SAA7134_MPEG_EMPRESS,
4584 .video_out = CCIR656,
4585 .vid_port_opts = (SET_T_CODE_POLARITY_NON_INVERTED |
4586 SET_CLOCK_NOT_DELAYED |
4587 SET_CLOCK_INVERTED |
4588 SET_VSYNC_OFF),
4590 [SAA7134_BOARD_BEHOLD_M63] = {
4591 /* Igor Kuznetsov <igk@igk.ru> */
4592 /* Andrey Melnikoff <temnota@kmv.ru> */
4593 /* Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> */
4594 .name = "Beholder BeholdTV M63",
4595 .audio_clock = 0x00187de7,
4596 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4597 .radio_type = UNSET,
4598 .tuner_addr = ADDR_UNSET,
4599 .radio_addr = ADDR_UNSET,
4600 .empress_addr = 0x20,
4601 .tda9887_conf = TDA9887_PRESENT,
4602 .inputs = { {
4603 .name = name_tv,
4604 .vmux = 3,
4605 .amux = TV,
4606 .tv = 1,
4607 }, {
4608 .name = name_comp1,
4609 .vmux = 1,
4610 .amux = LINE1,
4611 }, {
4612 .name = name_svideo,
4613 .vmux = 8,
4614 .amux = LINE1,
4615 } },
4616 .radio = {
4617 .name = name_radio,
4618 .amux = LINE2,
4620 .mpeg = SAA7134_MPEG_EMPRESS,
4621 .video_out = CCIR656,
4622 .vid_port_opts = (SET_T_CODE_POLARITY_NON_INVERTED |
4623 SET_CLOCK_NOT_DELAYED |
4624 SET_CLOCK_INVERTED |
4625 SET_VSYNC_OFF),
4627 [SAA7134_BOARD_BEHOLD_M6_EXTRA] = {
4628 /* Igor Kuznetsov <igk@igk.ru> */
4629 /* Andrey Melnikoff <temnota@kmv.ru> */
4630 /* Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> */
4631 /* Alexey Osipov <lion-simba@pridelands.ru> */
4632 .name = "Beholder BeholdTV M6 Extra",
4633 .audio_clock = 0x00187de7,
4634 .tuner_type = TUNER_PHILIPS_FM1216MK5,
4635 .radio_type = UNSET,
4636 .tuner_addr = ADDR_UNSET,
4637 .radio_addr = ADDR_UNSET,
4638 .rds_addr = 0x10,
4639 .empress_addr = 0x20,
4640 .tda9887_conf = TDA9887_PRESENT,
4641 .inputs = { {
4642 .name = name_tv,
4643 .vmux = 3,
4644 .amux = TV,
4645 .tv = 1,
4646 }, {
4647 .name = name_comp1,
4648 .vmux = 1,
4649 .amux = LINE1,
4650 }, {
4651 .name = name_svideo,
4652 .vmux = 8,
4653 .amux = LINE1,
4654 } },
4655 .radio = {
4656 .name = name_radio,
4657 .amux = LINE2,
4659 .mpeg = SAA7134_MPEG_EMPRESS,
4660 .video_out = CCIR656,
4661 .vid_port_opts = (SET_T_CODE_POLARITY_NON_INVERTED |
4662 SET_CLOCK_NOT_DELAYED |
4663 SET_CLOCK_INVERTED |
4664 SET_VSYNC_OFF),
4666 [SAA7134_BOARD_TWINHAN_DTV_DVB_3056] = {
4667 .name = "Twinhan Hybrid DTV-DVB 3056 PCI",
4668 .audio_clock = 0x00187de7,
4669 .tuner_type = TUNER_PHILIPS_TDA8290,
4670 .radio_type = UNSET,
4671 .tuner_addr = ADDR_UNSET,
4672 .radio_addr = ADDR_UNSET,
4673 .tuner_config = 2,
4674 .mpeg = SAA7134_MPEG_DVB,
4675 .gpiomask = 0x0200000,
4676 .inputs = {{
4677 .name = name_tv,
4678 .vmux = 1,
4679 .amux = TV,
4680 .tv = 1,
4681 }, {
4682 .name = name_comp1,
4683 .vmux = 3,
4684 .amux = LINE1,
4685 }, {
4686 .name = name_svideo,
4687 .vmux = 8, /* untested */
4688 .amux = LINE1,
4689 } },
4690 .radio = {
4691 .name = name_radio,
4692 .amux = TV,
4693 .gpio = 0x0200000,
4696 [SAA7134_BOARD_GENIUS_TVGO_A11MCE] = {
4697 /* Adrian Pardini <pardo.bsso@gmail.com> */
4698 .name = "Genius TVGO AM11MCE",
4699 .audio_clock = 0x00200000,
4700 .tuner_type = TUNER_TNF_5335MF,
4701 .radio_type = UNSET,
4702 .tuner_addr = ADDR_UNSET,
4703 .radio_addr = ADDR_UNSET,
4704 .gpiomask = 0xf000,
4705 .inputs = {{
4706 .name = name_tv_mono,
4707 .vmux = 1,
4708 .amux = LINE2,
4709 .gpio = 0x0000,
4710 .tv = 1,
4711 }, {
4712 .name = name_comp1,
4713 .vmux = 3,
4714 .amux = LINE1,
4715 .gpio = 0x2000,
4716 .tv = 1
4717 }, {
4718 .name = name_svideo,
4719 .vmux = 8,
4720 .amux = LINE1,
4721 .gpio = 0x2000,
4722 } },
4723 .radio = {
4724 .name = name_radio,
4725 .amux = LINE2,
4726 .gpio = 0x1000,
4728 .mute = {
4729 .name = name_mute,
4730 .amux = LINE2,
4731 .gpio = 0x6000,
4734 [SAA7134_BOARD_PHILIPS_SNAKE] = {
4735 .name = "NXP Snake DVB-S reference design",
4736 .audio_clock = 0x00200000,
4737 .tuner_type = TUNER_ABSENT,
4738 .radio_type = UNSET,
4739 .tuner_addr = ADDR_UNSET,
4740 .radio_addr = ADDR_UNSET,
4741 .mpeg = SAA7134_MPEG_DVB,
4742 .inputs = {{
4743 .name = name_comp1,
4744 .vmux = 3,
4745 .amux = LINE1,
4746 }, {
4747 .name = name_svideo,
4748 .vmux = 8,
4749 .amux = LINE1,
4750 } },
4752 [SAA7134_BOARD_CREATIX_CTX953] = {
4753 .name = "Medion/Creatix CTX953 Hybrid",
4754 .audio_clock = 0x00187de7,
4755 .tuner_type = TUNER_PHILIPS_TDA8290,
4756 .radio_type = UNSET,
4757 .tuner_addr = ADDR_UNSET,
4758 .radio_addr = ADDR_UNSET,
4759 .tuner_config = 0,
4760 .mpeg = SAA7134_MPEG_DVB,
4761 .inputs = {{
4762 .name = name_tv,
4763 .vmux = 1,
4764 .amux = TV,
4765 .tv = 1,
4766 }, {
4767 .name = name_comp1,
4768 .vmux = 0,
4769 .amux = LINE1,
4770 }, {
4771 .name = name_svideo,
4772 .vmux = 8,
4773 .amux = LINE1,
4774 } },
4776 [SAA7134_BOARD_MSI_TVANYWHERE_AD11] = {
4777 .name = "MSI TV@nywhere A/D v1.1",
4778 .audio_clock = 0x00187de7,
4779 .tuner_type = TUNER_PHILIPS_TDA8290,
4780 .radio_type = UNSET,
4781 .tuner_addr = ADDR_UNSET,
4782 .radio_addr = ADDR_UNSET,
4783 .tuner_config = 2,
4784 .mpeg = SAA7134_MPEG_DVB,
4785 .gpiomask = 0x0200000,
4786 .inputs = { {
4787 .name = name_tv,
4788 .vmux = 1,
4789 .amux = TV,
4790 .tv = 1,
4791 }, {
4792 .name = name_comp1,
4793 .vmux = 3,
4794 .amux = LINE1,
4795 }, {
4796 .name = name_svideo,
4797 .vmux = 8,
4798 .amux = LINE1,
4799 } },
4800 .radio = {
4801 .name = name_radio,
4802 .amux = TV,
4803 .gpio = 0x0200000,
4806 [SAA7134_BOARD_AVERMEDIA_CARDBUS_506] = {
4807 .name = "AVerMedia Cardbus TV/Radio (E506R)",
4808 .audio_clock = 0x187de7,
4809 .tuner_type = TUNER_XC2028,
4810 .radio_type = UNSET,
4811 .tuner_addr = ADDR_UNSET,
4812 .radio_addr = ADDR_UNSET,
4813 .mpeg = SAA7134_MPEG_DVB,
4814 .inputs = {{
4815 .name = name_tv,
4816 .vmux = 1,
4817 .amux = TV,
4818 .tv = 1,
4819 }, {
4820 .name = name_comp1,
4821 .vmux = 3,
4822 .amux = LINE1,
4823 }, {
4824 .name = name_svideo,
4825 .vmux = 8,
4826 .amux = LINE2,
4827 } },
4828 .radio = {
4829 .name = name_radio,
4830 .amux = TV,
4833 [SAA7134_BOARD_AVERMEDIA_A16D] = {
4834 .name = "AVerMedia Hybrid TV/Radio (A16D)",
4835 .audio_clock = 0x187de7,
4836 .tuner_type = TUNER_XC2028,
4837 .radio_type = UNSET,
4838 .tuner_addr = ADDR_UNSET,
4839 .radio_addr = ADDR_UNSET,
4840 .mpeg = SAA7134_MPEG_DVB,
4841 .inputs = {{
4842 .name = name_tv,
4843 .vmux = 1,
4844 .amux = TV,
4845 .tv = 1,
4846 }, {
4847 .name = name_svideo,
4848 .vmux = 8,
4849 .amux = LINE1,
4850 }, {
4851 .name = name_comp,
4852 .vmux = 0,
4853 .amux = LINE1,
4854 } },
4855 .radio = {
4856 .name = name_radio,
4857 .amux = TV,
4860 [SAA7134_BOARD_AVERMEDIA_M115] = {
4861 .name = "Avermedia M115",
4862 .audio_clock = 0x187de7,
4863 .tuner_type = TUNER_XC2028,
4864 .radio_type = UNSET,
4865 .tuner_addr = ADDR_UNSET,
4866 .radio_addr = ADDR_UNSET,
4867 .inputs = {{
4868 .name = name_tv,
4869 .vmux = 1,
4870 .amux = TV,
4871 .tv = 1,
4872 }, {
4873 .name = name_comp1,
4874 .vmux = 3,
4875 .amux = LINE1,
4876 }, {
4877 .name = name_svideo,
4878 .vmux = 8,
4879 .amux = LINE2,
4880 } },
4882 [SAA7134_BOARD_VIDEOMATE_T750] = {
4883 /* John Newbigin <jn@it.swin.edu.au> */
4884 .name = "Compro VideoMate T750",
4885 .audio_clock = 0x00187de7,
4886 .tuner_type = TUNER_XC2028,
4887 .radio_type = UNSET,
4888 .tuner_addr = ADDR_UNSET,
4889 .radio_addr = ADDR_UNSET,
4890 .inputs = {{
4891 .name = name_tv,
4892 .vmux = 3,
4893 .amux = TV,
4894 .tv = 1,
4895 }, {
4896 .name = name_comp1,
4897 .vmux = 1,
4898 .amux = LINE2,
4899 }, {
4900 .name = name_svideo,
4901 .vmux = 8,
4902 .amux = LINE2,
4903 } },
4904 .radio = {
4905 .name = name_radio,
4906 .amux = TV,
4909 [SAA7134_BOARD_AVERMEDIA_A700_PRO] = {
4910 /* Matthias Schwarzott <zzam@gentoo.org> */
4911 .name = "Avermedia DVB-S Pro A700",
4912 .audio_clock = 0x00187de7,
4913 .tuner_type = TUNER_ABSENT,
4914 .radio_type = UNSET,
4915 .tuner_addr = ADDR_UNSET,
4916 .radio_addr = ADDR_UNSET,
4917 .mpeg = SAA7134_MPEG_DVB,
4918 .inputs = { {
4919 .name = name_comp,
4920 .vmux = 1,
4921 .amux = LINE1,
4922 }, {
4923 .name = name_svideo,
4924 .vmux = 6,
4925 .amux = LINE1,
4926 } },
4928 [SAA7134_BOARD_AVERMEDIA_A700_HYBRID] = {
4929 /* Matthias Schwarzott <zzam@gentoo.org> */
4930 .name = "Avermedia DVB-S Hybrid+FM A700",
4931 .audio_clock = 0x00187de7,
4932 .tuner_type = TUNER_XC2028,
4933 .radio_type = UNSET,
4934 .tuner_addr = ADDR_UNSET,
4935 .radio_addr = ADDR_UNSET,
4936 .mpeg = SAA7134_MPEG_DVB,
4937 .inputs = { {
4938 .name = name_tv,
4939 .vmux = 4,
4940 .amux = TV,
4941 .tv = 1,
4942 }, {
4943 .name = name_comp,
4944 .vmux = 1,
4945 .amux = LINE1,
4946 }, {
4947 .name = name_svideo,
4948 .vmux = 6,
4949 .amux = LINE1,
4950 } },
4951 .radio = {
4952 .name = name_radio,
4953 .amux = TV,
4956 [SAA7134_BOARD_BEHOLD_H6] = {
4957 /* Igor Kuznetsov <igk@igk.ru> */
4958 .name = "Beholder BeholdTV H6",
4959 .audio_clock = 0x00187de7,
4960 .tuner_type = TUNER_PHILIPS_FMD1216MEX_MK3,
4961 .radio_type = UNSET,
4962 .tuner_addr = ADDR_UNSET,
4963 .radio_addr = ADDR_UNSET,
4964 .tda9887_conf = TDA9887_PRESENT,
4965 .mpeg = SAA7134_MPEG_DVB,
4966 .inputs = {{
4967 .name = name_tv,
4968 .vmux = 3,
4969 .amux = TV,
4970 .tv = 1,
4971 }, {
4972 .name = name_comp1,
4973 .vmux = 1,
4974 .amux = LINE1,
4975 }, {
4976 .name = name_svideo,
4977 .vmux = 8,
4978 .amux = LINE1,
4979 } },
4980 .radio = {
4981 .name = name_radio,
4982 .amux = LINE2,
4985 [SAA7134_BOARD_ASUSTeK_TIGER_3IN1] = {
4986 .name = "Asus Tiger 3in1",
4987 .audio_clock = 0x00187de7,
4988 .tuner_type = TUNER_PHILIPS_TDA8290,
4989 .radio_type = UNSET,
4990 .tuner_addr = ADDR_UNSET,
4991 .radio_addr = ADDR_UNSET,
4992 .tuner_config = 2,
4993 .gpiomask = 1 << 21,
4994 .mpeg = SAA7134_MPEG_DVB,
4995 .inputs = {{
4996 .name = name_tv,
4997 .vmux = 1,
4998 .amux = TV,
4999 .tv = 1,
5000 }, {
5001 .name = name_comp,
5002 .vmux = 0,
5003 .amux = LINE2,
5004 }, {
5005 .name = name_svideo,
5006 .vmux = 8,
5007 .amux = LINE2,
5008 } },
5009 .radio = {
5010 .name = name_radio,
5011 .amux = TV,
5012 .gpio = 0x0200000,
5015 [SAA7134_BOARD_REAL_ANGEL_220] = {
5016 .name = "Zogis Real Angel 220",
5017 .audio_clock = 0x00187de7,
5018 .tuner_type = TUNER_TNF_5335MF,
5019 .radio_type = UNSET,
5020 .tuner_addr = ADDR_UNSET,
5021 .radio_addr = ADDR_UNSET,
5022 .gpiomask = 0x801a8087,
5023 .inputs = { {
5024 .name = name_tv,
5025 .vmux = 3,
5026 .amux = LINE2,
5027 .tv = 1,
5028 .gpio = 0x624000,
5029 }, {
5030 .name = name_comp1,
5031 .vmux = 1,
5032 .amux = LINE1,
5033 .gpio = 0x624000,
5034 }, {
5035 .name = name_svideo,
5036 .vmux = 1,
5037 .amux = LINE1,
5038 .gpio = 0x624000,
5039 } },
5040 .radio = {
5041 .name = name_radio,
5042 .amux = LINE2,
5043 .gpio = 0x624001,
5045 .mute = {
5046 .name = name_mute,
5047 .amux = TV,
5050 [SAA7134_BOARD_ADS_INSTANT_HDTV_PCI] = {
5051 .name = "ADS Tech Instant HDTV",
5052 .audio_clock = 0x00187de7,
5053 .tuner_type = TUNER_PHILIPS_TUV1236D,
5054 .radio_type = UNSET,
5055 .tuner_addr = ADDR_UNSET,
5056 .radio_addr = ADDR_UNSET,
5057 .tda9887_conf = TDA9887_PRESENT,
5058 .mpeg = SAA7134_MPEG_DVB,
5059 .inputs = { {
5060 .name = name_tv,
5061 .vmux = 1,
5062 .amux = TV,
5063 .tv = 1,
5064 }, {
5065 .name = name_comp,
5066 .vmux = 4,
5067 .amux = LINE1,
5068 }, {
5069 .name = name_svideo,
5070 .vmux = 8,
5071 .amux = LINE1,
5072 } },
5074 [SAA7134_BOARD_ASUSTeK_TIGER] = {
5075 .name = "Asus Tiger Rev:1.00",
5076 .audio_clock = 0x00187de7,
5077 .tuner_type = TUNER_PHILIPS_TDA8290,
5078 .radio_type = UNSET,
5079 .tuner_addr = ADDR_UNSET,
5080 .radio_addr = ADDR_UNSET,
5081 .tuner_config = 0,
5082 .mpeg = SAA7134_MPEG_DVB,
5083 .gpiomask = 0x0200000,
5084 .inputs = { {
5085 .name = name_tv,
5086 .vmux = 1,
5087 .amux = TV,
5088 .tv = 1,
5089 }, {
5090 .name = name_comp1,
5091 .vmux = 3,
5092 .amux = LINE2,
5093 }, {
5094 .name = name_comp2,
5095 .vmux = 0,
5096 .amux = LINE2,
5097 }, {
5098 .name = name_svideo,
5099 .vmux = 8,
5100 .amux = LINE2,
5101 } },
5102 .radio = {
5103 .name = name_radio,
5104 .amux = TV,
5105 .gpio = 0x0200000,
5108 [SAA7134_BOARD_KWORLD_PLUS_TV_ANALOG] = {
5109 .name = "Kworld Plus TV Analog Lite PCI",
5110 .audio_clock = 0x00187de7,
5111 .tuner_type = TUNER_YMEC_TVF_5533MF,
5112 .radio_type = TUNER_TEA5767,
5113 .tuner_addr = ADDR_UNSET,
5114 .radio_addr = 0x60,
5115 .gpiomask = 0x80000700,
5116 .inputs = { {
5117 .name = name_tv,
5118 .vmux = 1,
5119 .amux = LINE2,
5120 .tv = 1,
5121 .gpio = 0x100,
5122 }, {
5123 .name = name_comp1,
5124 .vmux = 3,
5125 .amux = LINE1,
5126 .gpio = 0x200,
5127 }, {
5128 .name = name_svideo,
5129 .vmux = 8,
5130 .amux = LINE1,
5131 .gpio = 0x200,
5132 } },
5133 .radio = {
5134 .name = name_radio,
5135 .vmux = 1,
5136 .amux = LINE1,
5137 .gpio = 0x100,
5139 .mute = {
5140 .name = name_mute,
5141 .vmux = 8,
5142 .amux = 2,
5145 [SAA7134_BOARD_AVERMEDIA_GO_007_FM_PLUS] = {
5146 .name = "Avermedia AVerTV GO 007 FM Plus",
5147 .audio_clock = 0x00187de7,
5148 .tuner_type = TUNER_PHILIPS_TDA8290,
5149 .radio_type = UNSET,
5150 .tuner_addr = ADDR_UNSET,
5151 .radio_addr = ADDR_UNSET,
5152 .gpiomask = 0x00300003,
5153 /* .gpiomask = 0x8c240003, */
5154 .inputs = { {
5155 .name = name_tv,
5156 .vmux = 1,
5157 .amux = TV,
5158 .tv = 1,
5159 .gpio = 0x01,
5160 }, {
5161 .name = name_svideo,
5162 .vmux = 6,
5163 .amux = LINE1,
5164 .gpio = 0x02,
5165 } },
5166 .radio = {
5167 .name = name_radio,
5168 .amux = TV,
5169 .gpio = 0x00300001,
5171 .mute = {
5172 .name = name_mute,
5173 .amux = TV,
5174 .gpio = 0x01,
5177 [SAA7134_BOARD_AVERMEDIA_STUDIO_507UA] = {
5178 /* Andy Shevchenko <andy@smile.org.ua> */
5179 .name = "Avermedia AVerTV Studio 507UA",
5180 .audio_clock = 0x00187de7,
5181 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, /* Should be MK5 */
5182 .radio_type = UNSET,
5183 .tuner_addr = ADDR_UNSET,
5184 .radio_addr = ADDR_UNSET,
5185 .tda9887_conf = TDA9887_PRESENT,
5186 .gpiomask = 0x03,
5187 .inputs = { {
5188 .name = name_tv,
5189 .vmux = 1,
5190 .amux = TV,
5191 .tv = 1,
5192 .gpio = 0x00,
5193 }, {
5194 .name = name_comp1,
5195 .vmux = 3,
5196 .amux = LINE1,
5197 .gpio = 0x00,
5198 }, {
5199 .name = name_svideo,
5200 .vmux = 8,
5201 .amux = LINE1,
5202 .gpio = 0x00,
5203 } },
5204 .radio = {
5205 .name = name_radio,
5206 .amux = LINE2,
5207 .gpio = 0x01,
5209 .mute = {
5210 .name = name_mute,
5211 .amux = LINE1,
5212 .gpio = 0x00,
5215 [SAA7134_BOARD_VIDEOMATE_S350] = {
5216 /* Jan D. Louw <jd.louw@mweb.co.za */
5217 .name = "Compro VideoMate S350/S300",
5218 .audio_clock = 0x00187de7,
5219 .tuner_type = TUNER_ABSENT,
5220 .radio_type = UNSET,
5221 .tuner_addr = ADDR_UNSET,
5222 .radio_addr = ADDR_UNSET,
5223 .mpeg = SAA7134_MPEG_DVB,
5224 .inputs = { {
5225 .name = name_comp1,
5226 .vmux = 0,
5227 .amux = LINE1,
5228 }, {
5229 .name = name_svideo,
5230 .vmux = 8, /* Not tested */
5231 .amux = LINE1
5232 } },
5234 [SAA7134_BOARD_BEHOLD_X7] = {
5235 /* Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> */
5236 .name = "Beholder BeholdTV X7",
5237 .audio_clock = 0x00187de7,
5238 .tuner_type = TUNER_XC5000,
5239 .radio_type = UNSET,
5240 .tuner_addr = ADDR_UNSET,
5241 .radio_addr = ADDR_UNSET,
5242 .mpeg = SAA7134_MPEG_DVB,
5243 .inputs = { {
5244 .name = name_tv,
5245 .vmux = 2,
5246 .amux = TV,
5247 .tv = 1,
5248 }, {
5249 .name = name_comp1,
5250 .vmux = 0,
5251 .amux = LINE1,
5252 }, {
5253 .name = name_svideo,
5254 .vmux = 9,
5255 .amux = LINE1,
5256 } },
5257 .radio = {
5258 .name = name_radio,
5259 .amux = TV,
5262 [SAA7134_BOARD_ZOLID_HYBRID_PCI] = {
5263 .name = "Zolid Hybrid TV Tuner PCI",
5264 .audio_clock = 0x00187de7,
5265 .tuner_type = TUNER_PHILIPS_TDA8290,
5266 .radio_type = UNSET,
5267 .tuner_addr = ADDR_UNSET,
5268 .radio_addr = ADDR_UNSET,
5269 .tuner_config = 0,
5270 .mpeg = SAA7134_MPEG_DVB,
5271 .ts_type = SAA7134_MPEG_TS_PARALLEL,
5272 .inputs = {{
5273 .name = name_tv,
5274 .vmux = 1,
5275 .amux = TV,
5276 .tv = 1,
5277 } },
5278 .radio = { /* untested */
5279 .name = name_radio,
5280 .amux = TV,
5283 [SAA7134_BOARD_ASUS_EUROPA_HYBRID] = {
5284 .name = "Asus Europa Hybrid OEM",
5285 .audio_clock = 0x00187de7,
5286 .tuner_type = TUNER_PHILIPS_TD1316,
5287 .radio_type = UNSET,
5288 .tuner_addr = 0x61,
5289 .radio_addr = ADDR_UNSET,
5290 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
5291 .mpeg = SAA7134_MPEG_DVB,
5292 .inputs = { {
5293 .name = name_tv,
5294 .vmux = 3,
5295 .amux = TV,
5296 .tv = 1,
5297 }, {
5298 .name = name_comp1,
5299 .vmux = 4,
5300 .amux = LINE2,
5301 }, {
5302 .name = name_svideo,
5303 .vmux = 8,
5304 .amux = LINE2,
5305 } },
5307 [SAA7134_BOARD_LEADTEK_WINFAST_DTV1000S] = {
5308 .name = "Leadtek Winfast DTV1000S",
5309 .audio_clock = 0x00187de7,
5310 .tuner_type = TUNER_PHILIPS_TDA8290,
5311 .radio_type = UNSET,
5312 .tuner_addr = ADDR_UNSET,
5313 .radio_addr = ADDR_UNSET,
5314 .mpeg = SAA7134_MPEG_DVB,
5315 .inputs = { {
5316 .name = name_comp1,
5317 .vmux = 3,
5318 }, {
5319 .name = name_svideo,
5320 .vmux = 8,
5321 } },
5323 [SAA7134_BOARD_BEHOLD_505RDS_MK3] = {
5324 /* Beholder Intl. Ltd. 2008 */
5325 /*Dmitry Belimov <d.belimov@gmail.com> */
5326 .name = "Beholder BeholdTV 505 RDS",
5327 .audio_clock = 0x00200000,
5328 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
5329 .radio_type = UNSET,
5330 .tuner_addr = ADDR_UNSET,
5331 .radio_addr = ADDR_UNSET,
5332 .rds_addr = 0x10,
5333 .tda9887_conf = TDA9887_PRESENT,
5334 .gpiomask = 0x00008000,
5335 .inputs = {{
5336 .name = name_tv,
5337 .vmux = 3,
5338 .amux = LINE2,
5339 .tv = 1,
5340 }, {
5341 .name = name_comp1,
5342 .vmux = 1,
5343 .amux = LINE1,
5344 }, {
5345 .name = name_svideo,
5346 .vmux = 8,
5347 .amux = LINE1,
5348 } },
5349 .mute = {
5350 .name = name_mute,
5351 .amux = LINE1,
5353 .radio = {
5354 .name = name_radio,
5355 .amux = LINE2,
5361 const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards);
5363 /* ------------------------------------------------------------------ */
5364 /* PCI ids + subsystem IDs */
5366 struct pci_device_id saa7134_pci_tbl[] = {
5368 .vendor = PCI_VENDOR_ID_PHILIPS,
5369 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5370 .subvendor = PCI_VENDOR_ID_PHILIPS,
5371 .subdevice = 0x2001,
5372 .driver_data = SAA7134_BOARD_PROTEUS_PRO,
5374 .vendor = PCI_VENDOR_ID_PHILIPS,
5375 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5376 .subvendor = PCI_VENDOR_ID_PHILIPS,
5377 .subdevice = 0x2001,
5378 .driver_data = SAA7134_BOARD_PROTEUS_PRO,
5380 .vendor = PCI_VENDOR_ID_PHILIPS,
5381 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5382 .subvendor = PCI_VENDOR_ID_PHILIPS,
5383 .subdevice = 0x6752,
5384 .driver_data = SAA7134_BOARD_EMPRESS,
5386 .vendor = PCI_VENDOR_ID_PHILIPS,
5387 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5388 .subvendor = 0x1131,
5389 .subdevice = 0x4e85,
5390 .driver_data = SAA7134_BOARD_MONSTERTV,
5392 .vendor = PCI_VENDOR_ID_PHILIPS,
5393 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5394 .subvendor = 0x153b,
5395 .subdevice = 0x1142,
5396 .driver_data = SAA7134_BOARD_CINERGY400,
5398 .vendor = PCI_VENDOR_ID_PHILIPS,
5399 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5400 .subvendor = 0x153b,
5401 .subdevice = 0x1143,
5402 .driver_data = SAA7134_BOARD_CINERGY600,
5404 .vendor = PCI_VENDOR_ID_PHILIPS,
5405 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5406 .subvendor = 0x153b,
5407 .subdevice = 0x1158,
5408 .driver_data = SAA7134_BOARD_CINERGY600_MK3,
5410 .vendor = PCI_VENDOR_ID_PHILIPS,
5411 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5412 .subvendor = 0x153b,
5413 .subdevice = 0x1162,
5414 .driver_data = SAA7134_BOARD_CINERGY400_CARDBUS,
5416 .vendor = PCI_VENDOR_ID_PHILIPS,
5417 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5418 .subvendor = 0x5169,
5419 .subdevice = 0x0138,
5420 .driver_data = SAA7134_BOARD_FLYVIDEO3000_NTSC,
5422 .vendor = PCI_VENDOR_ID_PHILIPS,
5423 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5424 .subvendor = 0x5168,
5425 .subdevice = 0x0138,
5426 .driver_data = SAA7134_BOARD_FLYVIDEO3000,
5428 .vendor = PCI_VENDOR_ID_PHILIPS,
5429 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5430 .subvendor = 0x4e42, /* "Typhoon PCI Capture TV Card" Art.No. 50673 */
5431 .subdevice = 0x0138,
5432 .driver_data = SAA7134_BOARD_FLYVIDEO3000,
5434 .vendor = PCI_VENDOR_ID_PHILIPS,
5435 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5436 .subvendor = 0x5168,
5437 .subdevice = 0x0138,
5438 .driver_data = SAA7134_BOARD_FLYVIDEO2000,
5440 .vendor = PCI_VENDOR_ID_PHILIPS,
5441 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5442 .subvendor = 0x4e42, /* Typhoon */
5443 .subdevice = 0x0138, /* LifeView FlyTV Prime30 OEM */
5444 .driver_data = SAA7134_BOARD_FLYVIDEO2000,
5446 .vendor = PCI_VENDOR_ID_PHILIPS,
5447 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5448 .subvendor = 0x5168,
5449 .subdevice = 0x0212, /* minipci, LR212 */
5450 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
5452 .vendor = PCI_VENDOR_ID_PHILIPS,
5453 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5454 .subvendor = 0x14c0,
5455 .subdevice = 0x1212, /* minipci, LR1212 */
5456 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI2,
5458 .vendor = PCI_VENDOR_ID_PHILIPS,
5459 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5460 .subvendor = 0x4e42,
5461 .subdevice = 0x0212, /* OEM minipci, LR212 */
5462 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
5464 .vendor = PCI_VENDOR_ID_PHILIPS,
5465 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5466 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
5467 .subdevice = 0x0214, /* Standard PCI, LR214 Rev E and earlier (SAA7135) */
5468 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
5470 .vendor = PCI_VENDOR_ID_PHILIPS,
5471 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5472 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
5473 .subdevice = 0x5214, /* Standard PCI, LR214 Rev F onwards (SAA7131) */
5474 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
5476 .vendor = PCI_VENDOR_ID_PHILIPS,
5477 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5478 .subvendor = 0x1489, /* KYE */
5479 .subdevice = 0x0214, /* Genius VideoWonder ProTV */
5480 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM, /* is an LR214WF actually */
5482 .vendor = PCI_VENDOR_ID_PHILIPS,
5483 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5484 .subvendor = 0x16be,
5485 .subdevice = 0x0003,
5486 .driver_data = SAA7134_BOARD_MD7134,
5488 .vendor = PCI_VENDOR_ID_PHILIPS,
5489 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5490 .subvendor = 0x16be, /* CTX946 analog TV, HW mpeg, DVB-T */
5491 .subdevice = 0x5000, /* only analog TV and DVB-T for now */
5492 .driver_data = SAA7134_BOARD_MD7134,
5493 }, {
5494 .vendor = PCI_VENDOR_ID_PHILIPS,
5495 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5496 .subvendor = 0x1048,
5497 .subdevice = 0x226b,
5498 .driver_data = SAA7134_BOARD_ELSA,
5500 .vendor = PCI_VENDOR_ID_PHILIPS,
5501 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5502 .subvendor = 0x1048,
5503 .subdevice = 0x226a,
5504 .driver_data = SAA7134_BOARD_ELSA_500TV,
5506 .vendor = PCI_VENDOR_ID_PHILIPS,
5507 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5508 .subvendor = 0x1048,
5509 .subdevice = 0x226c,
5510 .driver_data = SAA7134_BOARD_ELSA_700TV,
5512 .vendor = PCI_VENDOR_ID_PHILIPS,
5513 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5514 .subvendor = PCI_VENDOR_ID_ASUSTEK,
5515 .subdevice = 0x4842,
5516 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
5518 .vendor = PCI_VENDOR_ID_PHILIPS,
5519 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5520 .subvendor = PCI_VENDOR_ID_ASUSTEK,
5521 .subdevice = 0x4845,
5522 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7135,
5524 .vendor = PCI_VENDOR_ID_PHILIPS,
5525 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5526 .subvendor = PCI_VENDOR_ID_ASUSTEK,
5527 .subdevice = 0x4830,
5528 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
5530 .vendor = PCI_VENDOR_ID_PHILIPS,
5531 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5532 .subvendor = PCI_VENDOR_ID_ASUSTEK,
5533 .subdevice = 0x4843,
5534 .driver_data = SAA7134_BOARD_ASUSTEK_TVFM7133,
5536 .vendor = PCI_VENDOR_ID_PHILIPS,
5537 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5538 .subvendor = PCI_VENDOR_ID_ASUSTEK,
5539 .subdevice = 0x4840,
5540 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
5542 .vendor = PCI_VENDOR_ID_PHILIPS,
5543 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5544 .subvendor = PCI_VENDOR_ID_PHILIPS,
5545 .subdevice = 0xfe01,
5546 .driver_data = SAA7134_BOARD_TVSTATION_RDS,
5548 .vendor = PCI_VENDOR_ID_PHILIPS,
5549 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5550 .subvendor = 0x1894,
5551 .subdevice = 0xfe01,
5552 .driver_data = SAA7134_BOARD_TVSTATION_RDS,
5554 .vendor = PCI_VENDOR_ID_PHILIPS,
5555 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5556 .subvendor = 0x1894,
5557 .subdevice = 0xa006,
5558 .driver_data = SAA7134_BOARD_TVSTATION_DVR,
5560 .vendor = PCI_VENDOR_ID_PHILIPS,
5561 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5562 .subvendor = 0x1131,
5563 .subdevice = 0x7133,
5564 .driver_data = SAA7134_BOARD_VA1000POWER,
5566 .vendor = PCI_VENDOR_ID_PHILIPS,
5567 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5568 .subvendor = PCI_VENDOR_ID_PHILIPS,
5569 .subdevice = 0x2001,
5570 .driver_data = SAA7134_BOARD_10MOONSTVMASTER,
5572 .vendor = PCI_VENDOR_ID_PHILIPS,
5573 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5574 .subvendor = 0x185b,
5575 .subdevice = 0xc100,
5576 .driver_data = SAA7134_BOARD_VIDEOMATE_TV,
5578 .vendor = PCI_VENDOR_ID_PHILIPS,
5579 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5580 .subvendor = 0x185b,
5581 .subdevice = 0xc100,
5582 .driver_data = SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS,
5584 .vendor = PCI_VENDOR_ID_PHILIPS,
5585 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5586 .subvendor = PCI_VENDOR_ID_MATROX,
5587 .subdevice = 0x48d0,
5588 .driver_data = SAA7134_BOARD_CRONOS_PLUS,
5590 .vendor = PCI_VENDOR_ID_PHILIPS,
5591 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5592 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5593 .subdevice = 0xa70b,
5594 .driver_data = SAA7134_BOARD_MD2819,
5596 .vendor = PCI_VENDOR_ID_PHILIPS,
5597 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5598 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5599 .subdevice = 0xa7a1,
5600 .driver_data = SAA7134_BOARD_AVERMEDIA_A700_PRO,
5601 }, {
5602 .vendor = PCI_VENDOR_ID_PHILIPS,
5603 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5604 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5605 .subdevice = 0xa7a2,
5606 .driver_data = SAA7134_BOARD_AVERMEDIA_A700_HYBRID,
5607 }, {
5608 .vendor = PCI_VENDOR_ID_PHILIPS,
5609 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5610 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5611 .subdevice = 0x2115,
5612 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_305,
5614 .vendor = PCI_VENDOR_ID_PHILIPS,
5615 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5616 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5617 .subdevice = 0xa115,
5618 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_505,
5619 }, {
5620 .vendor = PCI_VENDOR_ID_PHILIPS,
5621 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5622 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5623 .subdevice = 0x2108,
5624 .driver_data = SAA7134_BOARD_AVERMEDIA_305,
5626 .vendor = PCI_VENDOR_ID_PHILIPS,
5627 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5628 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5629 .subdevice = 0x10ff,
5630 .driver_data = SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER,
5632 /* AVerMedia CardBus */
5633 .vendor = PCI_VENDOR_ID_PHILIPS,
5634 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5635 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5636 .subdevice = 0xd6ee,
5637 .driver_data = SAA7134_BOARD_AVERMEDIA_CARDBUS,
5639 /* AVerMedia CardBus */
5640 .vendor = PCI_VENDOR_ID_PHILIPS,
5641 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5642 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5643 .subdevice = 0xb7e9,
5644 .driver_data = SAA7134_BOARD_AVERMEDIA_CARDBUS_501,
5645 }, {
5646 /* TransGear 3000TV */
5647 .vendor = PCI_VENDOR_ID_PHILIPS,
5648 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5649 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5650 .subdevice = 0x050c,
5651 .driver_data = SAA7134_BOARD_TG3000TV,
5653 .vendor = PCI_VENDOR_ID_PHILIPS,
5654 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5655 .subvendor = 0x11bd,
5656 .subdevice = 0x002b,
5657 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_STEREO,
5659 .vendor = PCI_VENDOR_ID_PHILIPS,
5660 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5661 .subvendor = 0x11bd,
5662 .subdevice = 0x002d,
5663 .driver_data = SAA7134_BOARD_PINNACLE_300I_DVBT_PAL,
5665 .vendor = PCI_VENDOR_ID_PHILIPS,
5666 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5667 .subvendor = 0x1019,
5668 .subdevice = 0x4cb4,
5669 .driver_data = SAA7134_BOARD_ECS_TVP3XP,
5671 .vendor = PCI_VENDOR_ID_PHILIPS,
5672 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5673 .subvendor = 0x1019,
5674 .subdevice = 0x4cb5,
5675 .driver_data = SAA7134_BOARD_ECS_TVP3XP_4CB5,
5677 .vendor = PCI_VENDOR_ID_PHILIPS,
5678 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5679 .subvendor = 0x1019,
5680 .subdevice = 0x4cb6,
5681 .driver_data = SAA7134_BOARD_ECS_TVP3XP_4CB6,
5683 .vendor = PCI_VENDOR_ID_PHILIPS,
5684 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5685 .subvendor = 0x12ab,
5686 .subdevice = 0x0800,
5687 .driver_data = SAA7134_BOARD_UPMOST_PURPLE_TV,
5689 .vendor = PCI_VENDOR_ID_PHILIPS,
5690 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5691 .subvendor = 0x153b,
5692 .subdevice = 0x1152,
5693 .driver_data = SAA7134_BOARD_CINERGY200,
5695 .vendor = PCI_VENDOR_ID_PHILIPS,
5696 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5697 .subvendor = 0x185b,
5698 .subdevice = 0xc100,
5699 .driver_data = SAA7134_BOARD_VIDEOMATE_TV_PVR,
5701 .vendor = PCI_VENDOR_ID_PHILIPS,
5702 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5703 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5704 .subdevice = 0x9715,
5705 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_307,
5707 .vendor = PCI_VENDOR_ID_PHILIPS,
5708 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5709 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5710 .subdevice = 0xa70a,
5711 .driver_data = SAA7134_BOARD_AVERMEDIA_307,
5713 .vendor = PCI_VENDOR_ID_PHILIPS,
5714 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5715 .subvendor = 0x185b,
5716 .subdevice = 0xc200,
5717 .driver_data = SAA7134_BOARD_VIDEOMATE_GOLD_PLUS,
5719 .vendor = PCI_VENDOR_ID_PHILIPS,
5720 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5721 .subvendor = 0x1540,
5722 .subdevice = 0x9524,
5723 .driver_data = SAA7134_BOARD_PROVIDEO_PV952,
5726 .vendor = PCI_VENDOR_ID_PHILIPS,
5727 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5728 .subvendor = 0x5168,
5729 .subdevice = 0x0502, /* Cardbus version */
5730 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
5732 .vendor = PCI_VENDOR_ID_PHILIPS,
5733 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5734 .subvendor = 0x5168,
5735 .subdevice = 0x0306, /* PCI version */
5736 .driver_data = SAA7134_BOARD_FLYDVBTDUO,
5738 .vendor = PCI_VENDOR_ID_PHILIPS,
5739 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5740 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5741 .subdevice = 0xf31f,
5742 .driver_data = SAA7134_BOARD_AVERMEDIA_GO_007_FM,
5745 .vendor = PCI_VENDOR_ID_PHILIPS,
5746 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5747 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5748 .subdevice = 0xf11d,
5749 .driver_data = SAA7134_BOARD_AVERMEDIA_M135A,
5750 }, {
5751 .vendor = PCI_VENDOR_ID_PHILIPS,
5752 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5753 .subvendor = PCI_VENDOR_ID_PHILIPS,
5754 .subdevice = 0x2004,
5755 .driver_data = SAA7134_BOARD_PHILIPS_TOUGH,
5757 .vendor = PCI_VENDOR_ID_PHILIPS,
5758 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5759 .subvendor = 0x1421,
5760 .subdevice = 0x0350, /* PCI version */
5761 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
5763 .vendor = PCI_VENDOR_ID_PHILIPS,
5764 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5765 .subvendor = 0x1421,
5766 .subdevice = 0x0351, /* PCI version, new revision */
5767 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
5769 .vendor = PCI_VENDOR_ID_PHILIPS,
5770 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5771 .subvendor = 0x1421,
5772 .subdevice = 0x0370, /* cardbus version */
5773 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
5775 .vendor = PCI_VENDOR_ID_PHILIPS,
5776 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5777 .subvendor = 0x1421,
5778 .subdevice = 0x1370, /* cardbus version */
5779 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
5782 .vendor = PCI_VENDOR_ID_PHILIPS,
5783 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5784 .subvendor = 0x4e42, /* Typhoon */
5785 .subdevice = 0x0502, /* LifeView LR502 OEM */
5786 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
5788 .vendor = PCI_VENDOR_ID_PHILIPS,
5789 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5790 .subvendor = 0x1043,
5791 .subdevice = 0x0210, /* mini pci NTSC version */
5792 .driver_data = SAA7134_BOARD_FLYTV_DIGIMATRIX,
5794 .vendor = PCI_VENDOR_ID_PHILIPS,
5795 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5796 .subvendor = 0x1043,
5797 .subdevice = 0x0210, /* mini pci PAL/SECAM version */
5798 .driver_data = SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV,
5801 .vendor = PCI_VENDOR_ID_PHILIPS,
5802 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5803 .subvendor = 0x0000, /* It shouldn't break anything, since subdevice id seems unique */
5804 .subdevice = 0x4091,
5805 .driver_data = SAA7134_BOARD_BEHOLD_409FM,
5807 .vendor = PCI_VENDOR_ID_PHILIPS,
5808 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5809 .subvendor = 0x5456, /* GoTView */
5810 .subdevice = 0x7135,
5811 .driver_data = SAA7134_BOARD_GOTVIEW_7135,
5813 .vendor = PCI_VENDOR_ID_PHILIPS,
5814 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5815 .subvendor = PCI_VENDOR_ID_PHILIPS,
5816 .subdevice = 0x2004,
5817 .driver_data = SAA7134_BOARD_PHILIPS_EUROPA,
5819 .vendor = PCI_VENDOR_ID_PHILIPS,
5820 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5821 .subvendor = 0x185b,
5822 .subdevice = 0xc900,
5823 .driver_data = SAA7134_BOARD_VIDEOMATE_DVBT_300,
5825 .vendor = PCI_VENDOR_ID_PHILIPS,
5826 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5827 .subvendor = 0x185b,
5828 .subdevice = 0xc901,
5829 .driver_data = SAA7134_BOARD_VIDEOMATE_DVBT_200,
5831 .vendor = PCI_VENDOR_ID_PHILIPS,
5832 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5833 .subvendor = 0x1435,
5834 .subdevice = 0x7350,
5835 .driver_data = SAA7134_BOARD_RTD_VFG7350,
5837 .vendor = PCI_VENDOR_ID_PHILIPS,
5838 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5839 .subvendor = 0x1435,
5840 .subdevice = 0x7330,
5841 .driver_data = SAA7134_BOARD_RTD_VFG7330,
5843 .vendor = PCI_VENDOR_ID_PHILIPS,
5844 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5845 .subvendor = 0x1461,
5846 .subdevice = 0x1044,
5847 .driver_data = SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180,
5849 .vendor = PCI_VENDOR_ID_PHILIPS,
5850 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5851 .subvendor = 0x1131,
5852 .subdevice = 0x4ee9,
5853 .driver_data = SAA7134_BOARD_MONSTERTV_MOBILE,
5855 .vendor = PCI_VENDOR_ID_PHILIPS,
5856 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5857 .subvendor = 0x11bd,
5858 .subdevice = 0x002e,
5859 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_110i,
5861 .vendor = PCI_VENDOR_ID_PHILIPS,
5862 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5863 .subvendor = 0x1043,
5864 .subdevice = 0x4862,
5865 .driver_data = SAA7134_BOARD_ASUSTeK_P7131_DUAL,
5867 .vendor = PCI_VENDOR_ID_PHILIPS,
5868 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5869 .subvendor = PCI_VENDOR_ID_PHILIPS,
5870 .subdevice = 0x2018,
5871 .driver_data = SAA7134_BOARD_PHILIPS_TIGER,
5873 .vendor = PCI_VENDOR_ID_PHILIPS,
5874 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5875 .subvendor = 0x1462,
5876 .subdevice = 0x6231, /* tda8275a, ks003 IR */
5877 .driver_data = SAA7134_BOARD_MSI_TVATANYWHERE_PLUS,
5879 .vendor = PCI_VENDOR_ID_PHILIPS,
5880 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5881 .subvendor = 0x1462,
5882 .subdevice = 0x8624, /* tda8275, ks003 IR */
5883 .driver_data = SAA7134_BOARD_MSI_TVATANYWHERE_PLUS,
5885 .vendor = PCI_VENDOR_ID_PHILIPS,
5886 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5887 .subvendor = 0x153b,
5888 .subdevice = 0x1160,
5889 .driver_data = SAA7134_BOARD_CINERGY250PCI,
5891 .vendor = PCI_VENDOR_ID_PHILIPS,
5892 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA 7131E */
5893 .subvendor = 0x5168,
5894 .subdevice = 0x0319,
5895 .driver_data = SAA7134_BOARD_FLYDVB_TRIO,
5897 .vendor = PCI_VENDOR_ID_PHILIPS,
5898 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5899 .subvendor = 0x1461,
5900 .subdevice = 0x2c05,
5901 .driver_data = SAA7134_BOARD_AVERMEDIA_777,
5903 .vendor = PCI_VENDOR_ID_PHILIPS,
5904 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5905 .subvendor = 0x5168,
5906 .subdevice = 0x0301,
5907 .driver_data = SAA7134_BOARD_FLYDVBT_LR301,
5909 .vendor = PCI_VENDOR_ID_PHILIPS,
5910 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5911 .subvendor = 0x0331,
5912 .subdevice = 0x1421,
5913 .driver_data = SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331,
5915 .vendor = PCI_VENDOR_ID_PHILIPS,
5916 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5917 .subvendor = 0x17de,
5918 .subdevice = 0x7201,
5919 .driver_data = SAA7134_BOARD_TEVION_DVBT_220RF,
5921 .vendor = PCI_VENDOR_ID_PHILIPS,
5922 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5923 .subvendor = 0x17de,
5924 .subdevice = 0x7250,
5925 .driver_data = SAA7134_BOARD_KWORLD_DVBT_210,
5927 .vendor = PCI_VENDOR_ID_PHILIPS,
5928 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA7135HL */
5929 .subvendor = 0x17de,
5930 .subdevice = 0x7350,
5931 .driver_data = SAA7134_BOARD_KWORLD_ATSC110,
5933 .vendor = PCI_VENDOR_ID_PHILIPS,
5934 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA7135HL */
5935 .subvendor = 0x17de,
5936 .subdevice = 0x7352,
5937 .driver_data = SAA7134_BOARD_KWORLD_ATSC110, /* ATSC 115 */
5939 .vendor = PCI_VENDOR_ID_PHILIPS,
5940 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5941 .subvendor = 0x1461,
5942 .subdevice = 0x7360,
5943 .driver_data = SAA7134_BOARD_AVERMEDIA_A169_B,
5945 .vendor = PCI_VENDOR_ID_PHILIPS,
5946 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5947 .subvendor = 0x1461,
5948 .subdevice = 0x6360,
5949 .driver_data = SAA7134_BOARD_AVERMEDIA_A169_B1,
5951 .vendor = PCI_VENDOR_ID_PHILIPS,
5952 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5953 .subvendor = 0x16be,
5954 .subdevice = 0x0005,
5955 .driver_data = SAA7134_BOARD_MD7134_BRIDGE_2,
5957 .vendor = PCI_VENDOR_ID_PHILIPS,
5958 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5959 .subvendor = 0x5168,
5960 .subdevice = 0x0300,
5961 .driver_data = SAA7134_BOARD_FLYDVBS_LR300,
5963 .vendor = PCI_VENDOR_ID_PHILIPS,
5964 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5965 .subvendor = 0x4e42,
5966 .subdevice = 0x0300,/* LR300 */
5967 .driver_data = SAA7134_BOARD_FLYDVBS_LR300,
5969 .vendor = PCI_VENDOR_ID_PHILIPS,
5970 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5971 .subvendor = 0x1489,
5972 .subdevice = 0x0301,
5973 .driver_data = SAA7134_BOARD_FLYDVBT_LR301,
5975 .vendor = PCI_VENDOR_ID_PHILIPS,
5976 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5977 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
5978 .subdevice = 0x0304,
5979 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
5981 .vendor = PCI_VENDOR_ID_PHILIPS,
5982 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5983 .subvendor = 0x5168,
5984 .subdevice = 0x3306,
5985 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
5987 .vendor = PCI_VENDOR_ID_PHILIPS,
5988 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5989 .subvendor = 0x5168,
5990 .subdevice = 0x3502, /* whats the difference to 0x3306 ?*/
5991 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
5993 .vendor = PCI_VENDOR_ID_PHILIPS,
5994 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5995 .subvendor = 0x5168,
5996 .subdevice = 0x3307, /* FlyDVB-T Hybrid Mini PCI */
5997 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
5998 }, {
5999 .vendor = PCI_VENDOR_ID_PHILIPS,
6000 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6001 .subvendor = 0x16be,
6002 .subdevice = 0x0007,
6003 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
6005 .vendor = PCI_VENDOR_ID_PHILIPS,
6006 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6007 .subvendor = 0x16be,
6008 .subdevice = 0x0008,
6009 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
6011 .vendor = PCI_VENDOR_ID_PHILIPS,
6012 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6013 .subvendor = 0x16be,
6014 .subdevice = 0x000d, /* triple CTX948_V1.1.1 */
6015 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
6016 }, {
6017 .vendor = PCI_VENDOR_ID_PHILIPS,
6018 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6019 .subvendor = 0x1461,
6020 .subdevice = 0x2c05,
6021 .driver_data = SAA7134_BOARD_AVERMEDIA_777,
6023 .vendor = PCI_VENDOR_ID_PHILIPS,
6024 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6025 .subvendor = 0x1489,
6026 .subdevice = 0x0502, /* Cardbus version */
6027 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
6029 .vendor = PCI_VENDOR_ID_PHILIPS,
6030 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6031 .subvendor = 0x0919, /* Philips Proteus PRO 2309 */
6032 .subdevice = 0x2003,
6033 .driver_data = SAA7134_BOARD_PROTEUS_2309,
6035 .vendor = PCI_VENDOR_ID_PHILIPS,
6036 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6037 .subvendor = 0x1461,
6038 .subdevice = 0x2c00,
6039 .driver_data = SAA7134_BOARD_AVERMEDIA_A16AR,
6041 .vendor = PCI_VENDOR_ID_PHILIPS,
6042 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6043 .subvendor = 0x1043,
6044 .subdevice = 0x4860,
6045 .driver_data = SAA7134_BOARD_ASUS_EUROPA2_HYBRID,
6047 .vendor = PCI_VENDOR_ID_PHILIPS,
6048 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6049 .subvendor = 0x11bd,
6050 .subdevice = 0x002f,
6051 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_310i,
6053 .vendor = PCI_VENDOR_ID_PHILIPS,
6054 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6055 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6056 .subdevice = 0x9715,
6057 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_507,
6059 .vendor = PCI_VENDOR_ID_PHILIPS,
6060 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6061 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6062 .subdevice = 0xa11b,
6063 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_507UA,
6064 }, {
6065 .vendor = PCI_VENDOR_ID_PHILIPS,
6066 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6067 .subvendor = 0x1043,
6068 .subdevice = 0x4876,
6069 .driver_data = SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA,
6071 .vendor = PCI_VENDOR_ID_PHILIPS,
6072 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6073 .subvendor = 0x0070,
6074 .subdevice = 0x6700,
6075 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
6077 .vendor = PCI_VENDOR_ID_PHILIPS,
6078 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6079 .subvendor = 0x0070,
6080 .subdevice = 0x6701,
6081 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
6083 .vendor = PCI_VENDOR_ID_PHILIPS,
6084 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6085 .subvendor = 0x0070,
6086 .subdevice = 0x6702,
6087 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
6089 .vendor = PCI_VENDOR_ID_PHILIPS,
6090 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6091 .subvendor = 0x0070,
6092 .subdevice = 0x6703,
6093 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
6095 .vendor = PCI_VENDOR_ID_PHILIPS,
6096 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6097 .subvendor = 0x0070,
6098 .subdevice = 0x6704,
6099 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
6101 .vendor = PCI_VENDOR_ID_PHILIPS,
6102 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6103 .subvendor = 0x0070,
6104 .subdevice = 0x6705,
6105 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
6107 .vendor = PCI_VENDOR_ID_PHILIPS,
6108 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6109 .subvendor = 0x0070,
6110 .subdevice = 0x6706,
6111 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1150,
6113 .vendor = PCI_VENDOR_ID_PHILIPS,
6114 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6115 .subvendor = 0x0070,
6116 .subdevice = 0x6707,
6117 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1120,
6119 .vendor = PCI_VENDOR_ID_PHILIPS,
6120 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6121 .subvendor = 0x0070,
6122 .subdevice = 0x6708,
6123 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1150,
6125 .vendor = PCI_VENDOR_ID_PHILIPS,
6126 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6127 .subvendor = 0x0070,
6128 .subdevice = 0x6709,
6129 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1120,
6131 .vendor = PCI_VENDOR_ID_PHILIPS,
6132 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6133 .subvendor = 0x0070,
6134 .subdevice = 0x670a,
6135 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1120,
6137 .vendor = PCI_VENDOR_ID_PHILIPS,
6138 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6139 .subvendor = 0x153b,
6140 .subdevice = 0x1172,
6141 .driver_data = SAA7134_BOARD_CINERGY_HT_PCMCIA,
6143 .vendor = PCI_VENDOR_ID_PHILIPS,
6144 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6145 .subvendor = PCI_VENDOR_ID_PHILIPS,
6146 .subdevice = 0x2342,
6147 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
6149 .vendor = PCI_VENDOR_ID_PHILIPS,
6150 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6151 .subvendor = 0x1131,
6152 .subdevice = 0x2341,
6153 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
6155 .vendor = PCI_VENDOR_ID_PHILIPS,
6156 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6157 .subvendor = 0x3016,
6158 .subdevice = 0x2344,
6159 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
6161 .vendor = PCI_VENDOR_ID_PHILIPS,
6162 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6163 .subvendor = 0x1131,
6164 .subdevice = 0x230f,
6165 .driver_data = SAA7134_BOARD_ENCORE_ENLTV_FM,
6167 .vendor = PCI_VENDOR_ID_PHILIPS,
6168 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6169 .subvendor = 0x1a7f,
6170 .subdevice = 0x2008,
6171 .driver_data = SAA7134_BOARD_ENCORE_ENLTV_FM53,
6172 }, {
6173 .vendor = PCI_VENDOR_ID_PHILIPS,
6174 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6175 .subvendor = 0x153b,
6176 .subdevice = 0x1175,
6177 .driver_data = SAA7134_BOARD_CINERGY_HT_PCI,
6179 .vendor = PCI_VENDOR_ID_PHILIPS,
6180 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6181 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6182 .subdevice = 0xf31e,
6183 .driver_data = SAA7134_BOARD_AVERMEDIA_M102,
6185 .vendor = PCI_VENDOR_ID_PHILIPS,
6186 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6187 .subvendor = 0x4E42, /* MSI */
6188 .subdevice = 0x0306, /* TV@nywhere DUO */
6189 .driver_data = SAA7134_BOARD_FLYDVBTDUO,
6191 .vendor = PCI_VENDOR_ID_PHILIPS,
6192 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6193 .subvendor = 0x1043,
6194 .subdevice = 0x4871,
6195 .driver_data = SAA7134_BOARD_ASUS_P7131_4871,
6197 .vendor = PCI_VENDOR_ID_PHILIPS,
6198 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6199 .subvendor = 0x1043,
6200 .subdevice = 0x4857, /* REV:1.00 */
6201 .driver_data = SAA7134_BOARD_ASUSTeK_TIGER,
6203 .vendor = PCI_VENDOR_ID_PHILIPS,
6204 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6205 .subvendor = 0x0919, /* SinoVideo PCI 2309 Proteus (7134) */
6206 .subdevice = 0x2003, /* OEM cardbus */
6207 .driver_data = SAA7134_BOARD_SABRENT_TV_PCB05,
6209 .vendor = PCI_VENDOR_ID_PHILIPS,
6210 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6211 .subvendor = PCI_VENDOR_ID_PHILIPS,
6212 .subdevice = 0x2304,
6213 .driver_data = SAA7134_BOARD_10MOONSTVMASTER3,
6215 .vendor = PCI_VENDOR_ID_PHILIPS,
6216 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6217 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6218 .subdevice = 0xf01d, /* AVerTV DVB-T Super 007 */
6219 .driver_data = SAA7134_BOARD_AVERMEDIA_SUPER_007,
6221 .vendor = PCI_VENDOR_ID_PHILIPS,
6222 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6223 .subvendor = 0x0000,
6224 .subdevice = 0x4016,
6225 .driver_data = SAA7134_BOARD_BEHOLD_401,
6227 .vendor = PCI_VENDOR_ID_PHILIPS,
6228 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6229 .subvendor = 0x0000,
6230 .subdevice = 0x4036,
6231 .driver_data = SAA7134_BOARD_BEHOLD_403,
6233 .vendor = PCI_VENDOR_ID_PHILIPS,
6234 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6235 .subvendor = 0x0000,
6236 .subdevice = 0x4037,
6237 .driver_data = SAA7134_BOARD_BEHOLD_403FM,
6239 .vendor = PCI_VENDOR_ID_PHILIPS,
6240 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6241 .subvendor = 0x0000,
6242 .subdevice = 0x4050,
6243 .driver_data = SAA7134_BOARD_BEHOLD_405,
6245 .vendor = PCI_VENDOR_ID_PHILIPS,
6246 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6247 .subvendor = 0x0000,
6248 .subdevice = 0x4051,
6249 .driver_data = SAA7134_BOARD_BEHOLD_405FM,
6251 .vendor = PCI_VENDOR_ID_PHILIPS,
6252 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6253 .subvendor = 0x0000,
6254 .subdevice = 0x4070,
6255 .driver_data = SAA7134_BOARD_BEHOLD_407,
6257 .vendor = PCI_VENDOR_ID_PHILIPS,
6258 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6259 .subvendor = 0x0000,
6260 .subdevice = 0x4071,
6261 .driver_data = SAA7134_BOARD_BEHOLD_407FM,
6263 .vendor = PCI_VENDOR_ID_PHILIPS,
6264 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6265 .subvendor = 0x0000,
6266 .subdevice = 0x4090,
6267 .driver_data = SAA7134_BOARD_BEHOLD_409,
6269 .vendor = PCI_VENDOR_ID_PHILIPS,
6270 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6271 .subvendor = 0x0000,
6272 .subdevice = 0x505B,
6273 .driver_data = SAA7134_BOARD_BEHOLD_505RDS_MK5,
6274 }, {
6275 .vendor = PCI_VENDOR_ID_PHILIPS,
6276 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6277 .subvendor = 0x0000,
6278 .subdevice = 0x5051,
6279 .driver_data = SAA7134_BOARD_BEHOLD_505RDS_MK3,
6281 .vendor = PCI_VENDOR_ID_PHILIPS,
6282 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6283 .subvendor = 0x5ace,
6284 .subdevice = 0x5050,
6285 .driver_data = SAA7134_BOARD_BEHOLD_505FM,
6287 .vendor = PCI_VENDOR_ID_PHILIPS,
6288 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6289 .subvendor = 0x0000,
6290 .subdevice = 0x5071,
6291 .driver_data = SAA7134_BOARD_BEHOLD_507RDS_MK3,
6293 .vendor = PCI_VENDOR_ID_PHILIPS,
6294 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6295 .subvendor = 0x0000,
6296 .subdevice = 0x507B,
6297 .driver_data = SAA7134_BOARD_BEHOLD_507RDS_MK5,
6299 .vendor = PCI_VENDOR_ID_PHILIPS,
6300 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6301 .subvendor = 0x5ace,
6302 .subdevice = 0x5070,
6303 .driver_data = SAA7134_BOARD_BEHOLD_507_9FM,
6305 .vendor = PCI_VENDOR_ID_PHILIPS,
6306 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6307 .subvendor = 0x5ace,
6308 .subdevice = 0x5090,
6309 .driver_data = SAA7134_BOARD_BEHOLD_507_9FM,
6311 .vendor = PCI_VENDOR_ID_PHILIPS,
6312 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6313 .subvendor = 0x0000,
6314 .subdevice = 0x5201,
6315 .driver_data = SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM,
6317 .vendor = PCI_VENDOR_ID_PHILIPS,
6318 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6319 .subvendor = 0x5ace,
6320 .subdevice = 0x6070,
6321 .driver_data = SAA7134_BOARD_BEHOLD_607FM_MK3,
6323 .vendor = PCI_VENDOR_ID_PHILIPS,
6324 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6325 .subvendor = 0x5ace,
6326 .subdevice = 0x6071,
6327 .driver_data = SAA7134_BOARD_BEHOLD_607FM_MK5,
6329 .vendor = PCI_VENDOR_ID_PHILIPS,
6330 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6331 .subvendor = 0x5ace,
6332 .subdevice = 0x6072,
6333 .driver_data = SAA7134_BOARD_BEHOLD_607RDS_MK3,
6335 .vendor = PCI_VENDOR_ID_PHILIPS,
6336 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6337 .subvendor = 0x5ace,
6338 .subdevice = 0x6073,
6339 .driver_data = SAA7134_BOARD_BEHOLD_607RDS_MK5,
6341 .vendor = PCI_VENDOR_ID_PHILIPS,
6342 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6343 .subvendor = 0x5ace,
6344 .subdevice = 0x6090,
6345 .driver_data = SAA7134_BOARD_BEHOLD_609FM_MK3,
6347 .vendor = PCI_VENDOR_ID_PHILIPS,
6348 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6349 .subvendor = 0x5ace,
6350 .subdevice = 0x6091,
6351 .driver_data = SAA7134_BOARD_BEHOLD_609FM_MK5,
6353 .vendor = PCI_VENDOR_ID_PHILIPS,
6354 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6355 .subvendor = 0x5ace,
6356 .subdevice = 0x6092,
6357 .driver_data = SAA7134_BOARD_BEHOLD_609RDS_MK3,
6359 .vendor = PCI_VENDOR_ID_PHILIPS,
6360 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6361 .subvendor = 0x5ace,
6362 .subdevice = 0x6093,
6363 .driver_data = SAA7134_BOARD_BEHOLD_609RDS_MK5,
6365 .vendor = PCI_VENDOR_ID_PHILIPS,
6366 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6367 .subvendor = 0x5ace,
6368 .subdevice = 0x6190,
6369 .driver_data = SAA7134_BOARD_BEHOLD_M6,
6371 .vendor = PCI_VENDOR_ID_PHILIPS,
6372 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6373 .subvendor = 0x5ace,
6374 .subdevice = 0x6193,
6375 .driver_data = SAA7134_BOARD_BEHOLD_M6_EXTRA,
6376 }, {
6377 .vendor = PCI_VENDOR_ID_PHILIPS,
6378 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6379 .subvendor = 0x5ace,
6380 .subdevice = 0x6191,
6381 .driver_data = SAA7134_BOARD_BEHOLD_M63,
6383 .vendor = PCI_VENDOR_ID_PHILIPS,
6384 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6385 .subvendor = 0x4e42,
6386 .subdevice = 0x3502,
6387 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
6388 }, {
6389 .vendor = PCI_VENDOR_ID_PHILIPS,
6390 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6391 .subvendor = 0x1822, /*Twinhan Technology Co. Ltd*/
6392 .subdevice = 0x0022,
6393 .driver_data = SAA7134_BOARD_TWINHAN_DTV_DVB_3056,
6394 }, {
6395 .vendor = PCI_VENDOR_ID_PHILIPS,
6396 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6397 .subvendor = 0x16be,
6398 .subdevice = 0x0010, /* Medion version CTX953_V.1.4.3 */
6399 .driver_data = SAA7134_BOARD_CREATIX_CTX953,
6400 }, {
6401 .vendor = PCI_VENDOR_ID_PHILIPS,
6402 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6403 .subvendor = 0x1462, /* MSI */
6404 .subdevice = 0x8625, /* TV@nywhere A/D v1.1 */
6405 .driver_data = SAA7134_BOARD_MSI_TVANYWHERE_AD11,
6407 .vendor = PCI_VENDOR_ID_PHILIPS,
6408 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6409 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6410 .subdevice = 0xf436,
6411 .driver_data = SAA7134_BOARD_AVERMEDIA_CARDBUS_506,
6412 }, {
6413 .vendor = PCI_VENDOR_ID_PHILIPS,
6414 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6415 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6416 .subdevice = 0xf936,
6417 .driver_data = SAA7134_BOARD_AVERMEDIA_A16D,
6418 }, {
6419 .vendor = PCI_VENDOR_ID_PHILIPS,
6420 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6421 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6422 .subdevice = 0xa836,
6423 .driver_data = SAA7134_BOARD_AVERMEDIA_M115,
6424 }, {
6425 .vendor = PCI_VENDOR_ID_PHILIPS,
6426 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6427 .subvendor = 0x185b,
6428 .subdevice = 0xc900,
6429 .driver_data = SAA7134_BOARD_VIDEOMATE_T750,
6430 }, {
6431 .vendor = PCI_VENDOR_ID_PHILIPS,
6432 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA7135HL */
6433 .subvendor = 0x1421,
6434 .subdevice = 0x0380,
6435 .driver_data = SAA7134_BOARD_ADS_INSTANT_HDTV_PCI,
6436 }, {
6437 .vendor = PCI_VENDOR_ID_PHILIPS,
6438 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6439 .subvendor = 0x5169,
6440 .subdevice = 0x1502,
6441 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
6442 }, {
6443 .vendor = PCI_VENDOR_ID_PHILIPS,
6444 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6445 .subvendor = 0x5ace,
6446 .subdevice = 0x6290,
6447 .driver_data = SAA7134_BOARD_BEHOLD_H6,
6448 }, {
6449 .vendor = PCI_VENDOR_ID_PHILIPS,
6450 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6451 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6452 .subdevice = 0xf636,
6453 .driver_data = SAA7134_BOARD_AVERMEDIA_M103,
6454 }, {
6455 .vendor = PCI_VENDOR_ID_PHILIPS,
6456 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6457 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6458 .subdevice = 0xf736,
6459 .driver_data = SAA7134_BOARD_AVERMEDIA_M103,
6460 }, {
6461 .vendor = PCI_VENDOR_ID_PHILIPS,
6462 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6463 .subvendor = 0x1043,
6464 .subdevice = 0x4878, /* REV:1.02G */
6465 .driver_data = SAA7134_BOARD_ASUSTeK_TIGER_3IN1,
6466 }, {
6467 .vendor = PCI_VENDOR_ID_PHILIPS,
6468 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6469 .subvendor = 0x17de,
6470 .subdevice = 0x7128,
6471 .driver_data = SAA7134_BOARD_KWORLD_PLUS_TV_ANALOG,
6472 }, {
6473 .vendor = PCI_VENDOR_ID_PHILIPS,
6474 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6475 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6476 .subdevice = 0xf31d,
6477 .driver_data = SAA7134_BOARD_AVERMEDIA_GO_007_FM_PLUS,
6478 }, {
6479 .vendor = PCI_VENDOR_ID_PHILIPS,
6480 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6481 .subvendor = 0x185b,
6482 .subdevice = 0xc900,
6483 .driver_data = SAA7134_BOARD_VIDEOMATE_S350,
6484 }, {
6485 .vendor = PCI_VENDOR_ID_PHILIPS,
6486 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6487 .subvendor = 0x5ace, /* Beholder Intl. Ltd. */
6488 .subdevice = 0x7595,
6489 .driver_data = SAA7134_BOARD_BEHOLD_X7,
6490 }, {
6491 .vendor = PCI_VENDOR_ID_PHILIPS,
6492 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6493 .subvendor = 0x19d1, /* RoverMedia */
6494 .subdevice = 0x0138, /* LifeView FlyTV Prime30 OEM */
6495 .driver_data = SAA7134_BOARD_ROVERMEDIA_LINK_PRO_FM,
6496 }, {
6497 .vendor = PCI_VENDOR_ID_PHILIPS,
6498 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6499 .subvendor = PCI_VENDOR_ID_PHILIPS,
6500 .subdevice = 0x2004,
6501 .driver_data = SAA7134_BOARD_ZOLID_HYBRID_PCI,
6502 }, {
6503 .vendor = PCI_VENDOR_ID_PHILIPS,
6504 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6505 .subvendor = 0x1043,
6506 .subdevice = 0x4847,
6507 .driver_data = SAA7134_BOARD_ASUS_EUROPA_HYBRID,
6508 }, {
6509 .vendor = PCI_VENDOR_ID_PHILIPS,
6510 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6511 .subvendor = 0x107d,
6512 .subdevice = 0x6655,
6513 .driver_data = SAA7134_BOARD_LEADTEK_WINFAST_DTV1000S,
6514 }, {
6515 /* --- boards without eeprom + subsystem ID --- */
6516 .vendor = PCI_VENDOR_ID_PHILIPS,
6517 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6518 .subvendor = PCI_VENDOR_ID_PHILIPS,
6519 .subdevice = 0,
6520 .driver_data = SAA7134_BOARD_NOAUTO,
6522 .vendor = PCI_VENDOR_ID_PHILIPS,
6523 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6524 .subvendor = PCI_VENDOR_ID_PHILIPS,
6525 .subdevice = 0,
6526 .driver_data = SAA7134_BOARD_NOAUTO,
6528 /* --- default catch --- */
6529 .vendor = PCI_VENDOR_ID_PHILIPS,
6530 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6531 .subvendor = PCI_ANY_ID,
6532 .subdevice = PCI_ANY_ID,
6533 .driver_data = SAA7134_BOARD_UNKNOWN,
6535 .vendor = PCI_VENDOR_ID_PHILIPS,
6536 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6537 .subvendor = PCI_ANY_ID,
6538 .subdevice = PCI_ANY_ID,
6539 .driver_data = SAA7134_BOARD_UNKNOWN,
6541 .vendor = PCI_VENDOR_ID_PHILIPS,
6542 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6543 .subvendor = PCI_ANY_ID,
6544 .subdevice = PCI_ANY_ID,
6545 .driver_data = SAA7134_BOARD_UNKNOWN,
6547 .vendor = PCI_VENDOR_ID_PHILIPS,
6548 .device = PCI_DEVICE_ID_PHILIPS_SAA7135,
6549 .subvendor = PCI_ANY_ID,
6550 .subdevice = PCI_ANY_ID,
6551 .driver_data = SAA7134_BOARD_UNKNOWN,
6553 /* --- end of list --- */
6556 MODULE_DEVICE_TABLE(pci, saa7134_pci_tbl);
6558 /* ----------------------------------------------------------- */
6559 /* flyvideo tweaks */
6562 static void board_flyvideo(struct saa7134_dev *dev)
6564 printk("%s: there are different flyvideo cards with different tuners\n"
6565 "%s: out there, you might have to use the tuner=<nr> insmod\n"
6566 "%s: option to override the default value.\n",
6567 dev->name, dev->name, dev->name);
6570 static int saa7134_xc2028_callback(struct saa7134_dev *dev,
6571 int command, int arg)
6573 switch (command) {
6574 case XC2028_TUNER_RESET:
6575 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00008000, 0x00000000);
6576 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00008000, 0x00008000);
6577 switch (dev->board) {
6578 case SAA7134_BOARD_AVERMEDIA_CARDBUS_506:
6579 case SAA7134_BOARD_AVERMEDIA_M103:
6580 saa7134_set_gpio(dev, 23, 0);
6581 msleep(10);
6582 saa7134_set_gpio(dev, 23, 1);
6583 break;
6584 case SAA7134_BOARD_AVERMEDIA_A16D:
6585 saa7134_set_gpio(dev, 21, 0);
6586 msleep(10);
6587 saa7134_set_gpio(dev, 21, 1);
6588 break;
6589 case SAA7134_BOARD_AVERMEDIA_A700_HYBRID:
6590 saa7134_set_gpio(dev, 18, 0);
6591 msleep(10);
6592 saa7134_set_gpio(dev, 18, 1);
6593 break;
6595 return 0;
6597 return -EINVAL;
6600 static int saa7134_xc5000_callback(struct saa7134_dev *dev,
6601 int command, int arg)
6603 switch (dev->board) {
6604 case SAA7134_BOARD_BEHOLD_X7:
6605 if (command == XC5000_TUNER_RESET) {
6606 /* Down and UP pheripherial RESET pin for reset all chips */
6607 saa_writeb(SAA7134_SPECIAL_MODE, 0x00);
6608 msleep(10);
6609 saa_writeb(SAA7134_SPECIAL_MODE, 0x01);
6610 msleep(10);
6612 break;
6613 default:
6614 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x06e20000, 0x06e20000);
6615 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x06a20000, 0x06a20000);
6616 saa_andorl(SAA7133_ANALOG_IO_SELECT >> 2, 0x02, 0x02);
6617 saa_andorl(SAA7134_ANALOG_IN_CTRL1 >> 2, 0x81, 0x81);
6618 saa_andorl(SAA7134_AUDIO_CLOCK0 >> 2, 0x03187de7, 0x03187de7);
6619 saa_andorl(SAA7134_AUDIO_PLL_CTRL >> 2, 0x03, 0x03);
6620 saa_andorl(SAA7134_AUDIO_CLOCKS_PER_FIELD0 >> 2,
6621 0x0001e000, 0x0001e000);
6622 break;
6624 return 0;
6627 static int saa7134_tda8290_827x_callback(struct saa7134_dev *dev,
6628 int command, int arg)
6630 u8 sync_control;
6632 switch (command) {
6633 case 0: /* switch LNA gain through GPIO 22*/
6634 saa7134_set_gpio(dev, 22, arg) ;
6635 break;
6636 case 1: /* vsync output at GPIO22. 50 / 60Hz */
6637 saa_andorb(SAA7134_VIDEO_PORT_CTRL3, 0x80, 0x80);
6638 saa_andorb(SAA7134_VIDEO_PORT_CTRL6, 0x0f, 0x03);
6639 if (arg == 1)
6640 sync_control = 11;
6641 else
6642 sync_control = 17;
6643 saa_writeb(SAA7134_VGATE_START, sync_control);
6644 saa_writeb(SAA7134_VGATE_STOP, sync_control + 1);
6645 saa_andorb(SAA7134_MISC_VGATE_MSB, 0x03, 0x00);
6646 break;
6647 default:
6648 return -EINVAL;
6651 return 0;
6654 static inline int saa7134_tda18271_hvr11x0_toggle_agc(struct saa7134_dev *dev,
6655 enum tda18271_mode mode)
6657 /* toggle AGC switch through GPIO 26 */
6658 switch (mode) {
6659 case TDA18271_ANALOG:
6660 saa7134_set_gpio(dev, 26, 0);
6661 break;
6662 case TDA18271_DIGITAL:
6663 saa7134_set_gpio(dev, 26, 1);
6664 break;
6665 default:
6666 return -EINVAL;
6668 return 0;
6671 static int saa7134_tda8290_18271_callback(struct saa7134_dev *dev,
6672 int command, int arg)
6674 int ret = 0;
6676 switch (command) {
6677 case TDA18271_CALLBACK_CMD_AGC_ENABLE: /* 0 */
6678 switch (dev->board) {
6679 case SAA7134_BOARD_HAUPPAUGE_HVR1150:
6680 case SAA7134_BOARD_HAUPPAUGE_HVR1120:
6681 ret = saa7134_tda18271_hvr11x0_toggle_agc(dev, arg);
6682 break;
6683 default:
6684 break;
6686 break;
6687 default:
6688 ret = -EINVAL;
6689 break;
6691 return ret;
6694 static int saa7134_tda8290_callback(struct saa7134_dev *dev,
6695 int command, int arg)
6697 int ret;
6699 switch (dev->board) {
6700 case SAA7134_BOARD_HAUPPAUGE_HVR1150:
6701 case SAA7134_BOARD_HAUPPAUGE_HVR1120:
6702 /* tda8290 + tda18271 */
6703 ret = saa7134_tda8290_18271_callback(dev, command, arg);
6704 break;
6705 default:
6706 /* tda8290 + tda827x */
6707 ret = saa7134_tda8290_827x_callback(dev, command, arg);
6708 break;
6710 return ret;
6713 int saa7134_tuner_callback(void *priv, int component, int command, int arg)
6715 struct saa7134_dev *dev = priv;
6716 if (dev != NULL) {
6717 switch (dev->tuner_type) {
6718 case TUNER_PHILIPS_TDA8290:
6719 return saa7134_tda8290_callback(dev, command, arg);
6720 case TUNER_XC2028:
6721 return saa7134_xc2028_callback(dev, command, arg);
6722 case TUNER_XC5000:
6723 return saa7134_xc5000_callback(dev, command, arg);
6725 } else {
6726 printk(KERN_ERR "saa7134: Error - device struct undefined.\n");
6727 return -EINVAL;
6729 return -EINVAL;
6731 EXPORT_SYMBOL(saa7134_tuner_callback);
6733 /* ----------------------------------------------------------- */
6735 static void hauppauge_eeprom(struct saa7134_dev *dev, u8 *eeprom_data)
6737 struct tveeprom tv;
6739 tveeprom_hauppauge_analog(&dev->i2c_client, &tv, eeprom_data);
6741 /* Make sure we support the board model */
6742 switch (tv.model) {
6743 case 67019: /* WinTV-HVR1110 (Retail, IR Blaster, hybrid, FM, SVid/Comp, 3.5mm audio in) */
6744 case 67109: /* WinTV-HVR1000 (Retail, IR Receive, analog, no FM, SVid/Comp, 3.5mm audio in) */
6745 case 67201: /* WinTV-HVR1150 (Retail, IR Receive, hybrid, FM, SVid/Comp, 3.5mm audio in) */
6746 case 67301: /* WinTV-HVR1000 (Retail, IR Receive, analog, no FM, SVid/Comp, 3.5mm audio in) */
6747 case 67209: /* WinTV-HVR1110 (Retail, IR Receive, hybrid, FM, SVid/Comp, 3.5mm audio in) */
6748 case 67559: /* WinTV-HVR1110 (OEM, no IR, hybrid, FM, SVid/Comp, RCA aud) */
6749 case 67569: /* WinTV-HVR1110 (OEM, no IR, hybrid, FM) */
6750 case 67579: /* WinTV-HVR1110 (OEM, no IR, hybrid, no FM) */
6751 case 67589: /* WinTV-HVR1110 (OEM, no IR, hybrid, no FM, SVid/Comp, RCA aud) */
6752 case 67599: /* WinTV-HVR1110 (OEM, no IR, hybrid, no FM, SVid/Comp, RCA aud) */
6753 case 67651: /* WinTV-HVR1150 (OEM, no IR, hybrid, FM, SVid/Comp, RCA aud) */
6754 case 67659: /* WinTV-HVR1110 (OEM, no IR, hybrid, FM, SVid/Comp, RCA aud) */
6755 break;
6756 default:
6757 printk(KERN_WARNING "%s: warning: "
6758 "unknown hauppauge model #%d\n", dev->name, tv.model);
6759 break;
6762 printk(KERN_INFO "%s: hauppauge eeprom: model=%d\n",
6763 dev->name, tv.model);
6766 /* ----------------------------------------------------------- */
6768 int saa7134_board_init1(struct saa7134_dev *dev)
6770 /* Always print gpio, often manufacturers encode tuner type and other info. */
6771 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0);
6772 dev->gpio_value = saa_readl(SAA7134_GPIO_GPSTATUS0 >> 2);
6773 printk(KERN_INFO "%s: board init: gpio is %x\n", dev->name, dev->gpio_value);
6775 switch (dev->board) {
6776 case SAA7134_BOARD_FLYVIDEO2000:
6777 case SAA7134_BOARD_FLYVIDEO3000:
6778 case SAA7134_BOARD_FLYVIDEO3000_NTSC:
6779 dev->has_remote = SAA7134_REMOTE_GPIO;
6780 board_flyvideo(dev);
6781 break;
6782 case SAA7134_BOARD_FLYTVPLATINUM_MINI2:
6783 case SAA7134_BOARD_FLYTVPLATINUM_FM:
6784 case SAA7134_BOARD_CINERGY400:
6785 case SAA7134_BOARD_CINERGY600:
6786 case SAA7134_BOARD_CINERGY600_MK3:
6787 case SAA7134_BOARD_ECS_TVP3XP:
6788 case SAA7134_BOARD_ECS_TVP3XP_4CB5:
6789 case SAA7134_BOARD_ECS_TVP3XP_4CB6:
6790 case SAA7134_BOARD_MD2819:
6791 case SAA7134_BOARD_KWORLD_VSTREAM_XPERT:
6792 case SAA7134_BOARD_KWORLD_XPERT:
6793 case SAA7134_BOARD_AVERMEDIA_STUDIO_305:
6794 case SAA7134_BOARD_AVERMEDIA_STUDIO_505:
6795 case SAA7134_BOARD_AVERMEDIA_305:
6796 case SAA7134_BOARD_AVERMEDIA_STUDIO_307:
6797 case SAA7134_BOARD_AVERMEDIA_307:
6798 case SAA7134_BOARD_AVERMEDIA_STUDIO_507:
6799 case SAA7134_BOARD_AVERMEDIA_GO_007_FM:
6800 case SAA7134_BOARD_AVERMEDIA_777:
6801 case SAA7134_BOARD_AVERMEDIA_M135A:
6802 /* case SAA7134_BOARD_SABRENT_SBTTVFM: */ /* not finished yet */
6803 case SAA7134_BOARD_VIDEOMATE_TV_PVR:
6804 case SAA7134_BOARD_VIDEOMATE_GOLD_PLUS:
6805 case SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII:
6806 case SAA7134_BOARD_VIDEOMATE_DVBT_300:
6807 case SAA7134_BOARD_VIDEOMATE_DVBT_200:
6808 case SAA7134_BOARD_VIDEOMATE_DVBT_200A:
6809 case SAA7134_BOARD_MANLI_MTV001:
6810 case SAA7134_BOARD_MANLI_MTV002:
6811 case SAA7134_BOARD_BEHOLD_409FM:
6812 case SAA7134_BOARD_AVACSSMARTTV:
6813 case SAA7134_BOARD_GOTVIEW_7135:
6814 case SAA7134_BOARD_KWORLD_TERMINATOR:
6815 case SAA7134_BOARD_SEDNA_PC_TV_CARDBUS:
6816 case SAA7134_BOARD_FLYDVBT_LR301:
6817 case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
6818 case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA:
6819 case SAA7134_BOARD_ASUSTeK_P7131_ANALOG:
6820 case SAA7134_BOARD_FLYDVBTDUO:
6821 case SAA7134_BOARD_PROTEUS_2309:
6822 case SAA7134_BOARD_AVERMEDIA_A16AR:
6823 case SAA7134_BOARD_ENCORE_ENLTV:
6824 case SAA7134_BOARD_ENCORE_ENLTV_FM:
6825 case SAA7134_BOARD_ENCORE_ENLTV_FM53:
6826 case SAA7134_BOARD_10MOONSTVMASTER3:
6827 case SAA7134_BOARD_BEHOLD_401:
6828 case SAA7134_BOARD_BEHOLD_403:
6829 case SAA7134_BOARD_BEHOLD_403FM:
6830 case SAA7134_BOARD_BEHOLD_405:
6831 case SAA7134_BOARD_BEHOLD_405FM:
6832 case SAA7134_BOARD_BEHOLD_407:
6833 case SAA7134_BOARD_BEHOLD_407FM:
6834 case SAA7134_BOARD_BEHOLD_409:
6835 case SAA7134_BOARD_BEHOLD_505FM:
6836 case SAA7134_BOARD_BEHOLD_505RDS_MK5:
6837 case SAA7134_BOARD_BEHOLD_505RDS_MK3:
6838 case SAA7134_BOARD_BEHOLD_507_9FM:
6839 case SAA7134_BOARD_BEHOLD_507RDS_MK3:
6840 case SAA7134_BOARD_BEHOLD_507RDS_MK5:
6841 case SAA7134_BOARD_GENIUS_TVGO_A11MCE:
6842 case SAA7134_BOARD_REAL_ANGEL_220:
6843 case SAA7134_BOARD_KWORLD_PLUS_TV_ANALOG:
6844 case SAA7134_BOARD_AVERMEDIA_GO_007_FM_PLUS:
6845 case SAA7134_BOARD_ROVERMEDIA_LINK_PRO_FM:
6846 case SAA7134_BOARD_LEADTEK_WINFAST_DTV1000S:
6847 dev->has_remote = SAA7134_REMOTE_GPIO;
6848 break;
6849 case SAA7134_BOARD_FLYDVBS_LR300:
6850 saa_writeb(SAA7134_GPIO_GPMODE3, 0x80);
6851 saa_writeb(SAA7134_GPIO_GPSTATUS2, 0x40);
6852 dev->has_remote = SAA7134_REMOTE_GPIO;
6853 break;
6854 case SAA7134_BOARD_MD5044:
6855 printk("%s: seems there are two different versions of the MD5044\n"
6856 "%s: (with the same ID) out there. If sound doesn't work for\n"
6857 "%s: you try the audio_clock_override=0x200000 insmod option.\n",
6858 dev->name,dev->name,dev->name);
6859 break;
6860 case SAA7134_BOARD_CINERGY400_CARDBUS:
6861 /* power-up tuner chip */
6862 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000);
6863 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000000);
6864 break;
6865 case SAA7134_BOARD_PINNACLE_300I_DVBT_PAL:
6866 /* this turns the remote control chip off to work around a bug in it */
6867 saa_writeb(SAA7134_GPIO_GPMODE1, 0x80);
6868 saa_writeb(SAA7134_GPIO_GPSTATUS1, 0x80);
6869 break;
6870 case SAA7134_BOARD_MONSTERTV_MOBILE:
6871 /* power-up tuner chip */
6872 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000);
6873 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000004);
6874 break;
6875 case SAA7134_BOARD_FLYDVBT_DUO_CARDBUS:
6876 /* turn the fan on */
6877 saa_writeb(SAA7134_GPIO_GPMODE3, 0x08);
6878 saa_writeb(SAA7134_GPIO_GPSTATUS3, 0x06);
6879 break;
6880 case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331:
6881 case SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS:
6882 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x08000000, 0x08000000);
6883 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x08000000, 0x00000000);
6884 break;
6885 case SAA7134_BOARD_AVERMEDIA_CARDBUS:
6886 case SAA7134_BOARD_AVERMEDIA_M115:
6887 /* power-down tuner chip */
6888 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0xffffffff, 0);
6889 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0);
6890 msleep(10);
6891 /* power-up tuner chip */
6892 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0xffffffff, 0xffffffff);
6893 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0xffffffff);
6894 msleep(10);
6895 break;
6896 case SAA7134_BOARD_AVERMEDIA_CARDBUS_501:
6897 /* power-down tuner chip */
6898 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x08400000, 0x08400000);
6899 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x08400000, 0);
6900 msleep(10);
6901 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x08400000, 0x08400000);
6902 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x08400000, 0x08400000);
6903 msleep(10);
6904 dev->has_remote = SAA7134_REMOTE_I2C;
6905 break;
6906 case SAA7134_BOARD_AVERMEDIA_CARDBUS_506:
6907 saa7134_set_gpio(dev, 23, 0);
6908 msleep(10);
6909 saa7134_set_gpio(dev, 23, 1);
6910 dev->has_remote = SAA7134_REMOTE_I2C;
6911 break;
6912 case SAA7134_BOARD_AVERMEDIA_M103:
6913 saa7134_set_gpio(dev, 23, 0);
6914 msleep(10);
6915 saa7134_set_gpio(dev, 23, 1);
6916 break;
6917 case SAA7134_BOARD_AVERMEDIA_A16D:
6918 saa7134_set_gpio(dev, 21, 0);
6919 msleep(10);
6920 saa7134_set_gpio(dev, 21, 1);
6921 msleep(1);
6922 dev->has_remote = SAA7134_REMOTE_GPIO;
6923 break;
6924 case SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM:
6925 /* power-down tuner chip */
6926 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x000A8004, 0x000A8004);
6927 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x000A8004, 0);
6928 msleep(10);
6929 /* power-up tuner chip */
6930 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x000A8004, 0x000A8004);
6931 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x000A8004, 0x000A8004);
6932 msleep(10);
6933 /* remote via GPIO */
6934 dev->has_remote = SAA7134_REMOTE_GPIO;
6935 break;
6936 case SAA7134_BOARD_RTD_VFG7350:
6939 * Make sure Production Test Register at offset 0x1D1 is cleared
6940 * to take chip out of test mode. Clearing bit 4 (TST_EN_AOUT)
6941 * prevents pin 105 from remaining low; keeping pin 105 low
6942 * continually resets the SAA6752 chip.
6945 saa_writeb (SAA7134_PRODUCTION_TEST_MODE, 0x00);
6946 break;
6947 case SAA7134_BOARD_HAUPPAUGE_HVR1150:
6948 case SAA7134_BOARD_HAUPPAUGE_HVR1120:
6949 /* GPIO 26 high for digital, low for analog */
6950 saa7134_set_gpio(dev, 26, 0);
6951 msleep(1);
6953 saa7134_set_gpio(dev, 22, 0);
6954 msleep(10);
6955 saa7134_set_gpio(dev, 22, 1);
6956 break;
6957 /* i2c remotes */
6958 case SAA7134_BOARD_PINNACLE_PCTV_110i:
6959 case SAA7134_BOARD_PINNACLE_PCTV_310i:
6960 case SAA7134_BOARD_UPMOST_PURPLE_TV:
6961 case SAA7134_BOARD_MSI_TVATANYWHERE_PLUS:
6962 case SAA7134_BOARD_HAUPPAUGE_HVR1110:
6963 case SAA7134_BOARD_BEHOLD_607FM_MK3:
6964 case SAA7134_BOARD_BEHOLD_607FM_MK5:
6965 case SAA7134_BOARD_BEHOLD_609FM_MK3:
6966 case SAA7134_BOARD_BEHOLD_609FM_MK5:
6967 case SAA7134_BOARD_BEHOLD_607RDS_MK3:
6968 case SAA7134_BOARD_BEHOLD_607RDS_MK5:
6969 case SAA7134_BOARD_BEHOLD_609RDS_MK3:
6970 case SAA7134_BOARD_BEHOLD_609RDS_MK5:
6971 case SAA7134_BOARD_BEHOLD_M6:
6972 case SAA7134_BOARD_BEHOLD_M63:
6973 case SAA7134_BOARD_BEHOLD_M6_EXTRA:
6974 case SAA7134_BOARD_BEHOLD_H6:
6975 case SAA7134_BOARD_BEHOLD_X7:
6976 dev->has_remote = SAA7134_REMOTE_I2C;
6977 break;
6978 case SAA7134_BOARD_AVERMEDIA_A169_B:
6979 printk("%s: %s: dual saa713x broadcast decoders\n"
6980 "%s: Sorry, none of the inputs to this chip are supported yet.\n"
6981 "%s: Dual decoder functionality is disabled for now, use the other chip.\n",
6982 dev->name,card(dev).name,dev->name,dev->name);
6983 break;
6984 case SAA7134_BOARD_AVERMEDIA_M102:
6985 /* enable tuner */
6986 dev->has_remote = SAA7134_REMOTE_GPIO;
6987 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x8c040007, 0x8c040007);
6988 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x0c0007cd, 0x0c0007cd);
6989 break;
6990 case SAA7134_BOARD_AVERMEDIA_A700_HYBRID:
6991 case SAA7134_BOARD_AVERMEDIA_A700_PRO:
6992 /* write windows gpio values */
6993 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x80040100, 0x80040100);
6994 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x80040100, 0x00040100);
6995 break;
6996 case SAA7134_BOARD_VIDEOMATE_S350:
6997 dev->has_remote = SAA7134_REMOTE_GPIO;
6998 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x0000C000, 0x0000C000);
6999 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x0000C000, 0x0000C000);
7000 break;
7002 return 0;
7005 static void saa7134_tuner_setup(struct saa7134_dev *dev)
7007 struct tuner_setup tun_setup;
7008 unsigned int mode_mask = T_RADIO |
7009 T_ANALOG_TV |
7010 T_DIGITAL_TV;
7012 memset(&tun_setup, 0, sizeof(tun_setup));
7013 tun_setup.tuner_callback = saa7134_tuner_callback;
7015 if (saa7134_boards[dev->board].radio_type != UNSET) {
7016 tun_setup.type = saa7134_boards[dev->board].radio_type;
7017 tun_setup.addr = saa7134_boards[dev->board].radio_addr;
7019 tun_setup.mode_mask = T_RADIO;
7021 saa_call_all(dev, tuner, s_type_addr, &tun_setup);
7022 mode_mask &= ~T_RADIO;
7025 if ((dev->tuner_type != TUNER_ABSENT) && (dev->tuner_type != UNSET)) {
7026 tun_setup.type = dev->tuner_type;
7027 tun_setup.addr = dev->tuner_addr;
7028 tun_setup.config = saa7134_boards[dev->board].tuner_config;
7029 tun_setup.tuner_callback = saa7134_tuner_callback;
7031 tun_setup.mode_mask = mode_mask;
7033 saa_call_all(dev, tuner, s_type_addr, &tun_setup);
7036 if (dev->tda9887_conf) {
7037 struct v4l2_priv_tun_config tda9887_cfg;
7039 tda9887_cfg.tuner = TUNER_TDA9887;
7040 tda9887_cfg.priv = &dev->tda9887_conf;
7042 saa_call_all(dev, tuner, s_config, &tda9887_cfg);
7045 if (dev->tuner_type == TUNER_XC2028) {
7046 struct v4l2_priv_tun_config xc2028_cfg;
7047 struct xc2028_ctrl ctl;
7049 memset(&xc2028_cfg, 0, sizeof(xc2028_cfg));
7050 memset(&ctl, 0, sizeof(ctl));
7052 ctl.fname = XC2028_DEFAULT_FIRMWARE;
7053 ctl.max_len = 64;
7055 switch (dev->board) {
7056 case SAA7134_BOARD_AVERMEDIA_A16D:
7057 case SAA7134_BOARD_AVERMEDIA_CARDBUS_506:
7058 case SAA7134_BOARD_AVERMEDIA_M103:
7059 case SAA7134_BOARD_AVERMEDIA_A700_HYBRID:
7060 ctl.demod = XC3028_FE_ZARLINK456;
7061 break;
7062 default:
7063 ctl.demod = XC3028_FE_OREN538;
7064 ctl.mts = 1;
7067 xc2028_cfg.tuner = TUNER_XC2028;
7068 xc2028_cfg.priv = &ctl;
7070 saa_call_all(dev, tuner, s_config, &xc2028_cfg);
7074 /* stuff which needs working i2c */
7075 int saa7134_board_init2(struct saa7134_dev *dev)
7077 unsigned char buf;
7078 int board;
7080 /* Put here the code that enables the chips that are needed
7081 for analog mode and doesn't depend on the tuner attachment.
7082 It is also a good idea to get tuner type from eeprom, etc before
7083 initializing tuner, since we can avoid loading tuner driver
7084 on devices that has TUNER_ABSENT
7086 switch (dev->board) {
7087 case SAA7134_BOARD_BMK_MPEX_NOTUNER:
7088 case SAA7134_BOARD_BMK_MPEX_TUNER:
7089 /* Checks if the device has a tuner at 0x60 addr
7090 If the device doesn't have a tuner, TUNER_ABSENT
7091 will be used at tuner_type, avoiding loading tuner
7092 without needing it
7094 dev->i2c_client.addr = 0x60;
7095 board = (i2c_master_recv(&dev->i2c_client, &buf, 0) < 0)
7096 ? SAA7134_BOARD_BMK_MPEX_NOTUNER
7097 : SAA7134_BOARD_BMK_MPEX_TUNER;
7098 if (board == dev->board)
7099 break;
7100 dev->board = board;
7101 printk("%s: board type fixup: %s\n", dev->name,
7102 saa7134_boards[dev->board].name);
7103 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
7105 break;
7106 case SAA7134_BOARD_MD7134:
7108 u8 subaddr;
7109 u8 data[3];
7110 int ret, tuner_t;
7111 struct i2c_msg msg[] = {{.addr=0x50, .flags=0, .buf=&subaddr, .len = 1},
7112 {.addr=0x50, .flags=I2C_M_RD, .buf=data, .len = 3}};
7114 subaddr= 0x14;
7115 tuner_t = 0;
7117 /* Retrieve device data from eeprom, checking for the
7118 proper tuner_type.
7120 ret = i2c_transfer(&dev->i2c_adap, msg, 2);
7121 if (ret != 2) {
7122 printk(KERN_ERR "EEPROM read failure\n");
7123 } else if ((data[0] != 0) && (data[0] != 0xff)) {
7124 /* old config structure */
7125 subaddr = data[0] + 2;
7126 msg[1].len = 2;
7127 i2c_transfer(&dev->i2c_adap, msg, 2);
7128 tuner_t = (data[0] << 8) + data[1];
7129 switch (tuner_t){
7130 case 0x0103:
7131 dev->tuner_type = TUNER_PHILIPS_PAL;
7132 break;
7133 case 0x010C:
7134 dev->tuner_type = TUNER_PHILIPS_FM1216ME_MK3;
7135 break;
7136 default:
7137 printk(KERN_ERR "%s Cant determine tuner type %x from EEPROM\n", dev->name, tuner_t);
7139 } else if ((data[1] != 0) && (data[1] != 0xff)) {
7140 /* new config structure */
7141 subaddr = data[1] + 1;
7142 msg[1].len = 1;
7143 i2c_transfer(&dev->i2c_adap, msg, 2);
7144 subaddr = data[0] + 1;
7145 msg[1].len = 2;
7146 i2c_transfer(&dev->i2c_adap, msg, 2);
7147 tuner_t = (data[1] << 8) + data[0];
7148 switch (tuner_t) {
7149 case 0x0005:
7150 dev->tuner_type = TUNER_PHILIPS_FM1216ME_MK3;
7151 break;
7152 case 0x001d:
7153 dev->tuner_type = TUNER_PHILIPS_FMD1216ME_MK3;
7154 printk(KERN_INFO "%s Board has DVB-T\n", dev->name);
7155 break;
7156 default:
7157 printk(KERN_ERR "%s Cant determine tuner type %x from EEPROM\n", dev->name, tuner_t);
7159 } else {
7160 printk(KERN_ERR "%s unexpected config structure\n", dev->name);
7163 printk(KERN_INFO "%s Tuner type is %d\n", dev->name, dev->tuner_type);
7164 break;
7166 case SAA7134_BOARD_PHILIPS_EUROPA:
7167 if (dev->autodetected && (dev->eedata[0x41] == 0x1c)) {
7168 /* Reconfigure board as Snake reference design */
7169 dev->board = SAA7134_BOARD_PHILIPS_SNAKE;
7170 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
7171 printk(KERN_INFO "%s: Reconfigured board as %s\n",
7172 dev->name, saa7134_boards[dev->board].name);
7173 break;
7175 /* break intentionally omitted */
7176 case SAA7134_BOARD_VIDEOMATE_DVBT_300:
7177 case SAA7134_BOARD_ASUS_EUROPA2_HYBRID:
7178 case SAA7134_BOARD_ASUS_EUROPA_HYBRID:
7181 /* The Philips EUROPA based hybrid boards have the tuner
7182 connected through the channel decoder. We have to make it
7183 transparent to find it
7185 u8 data[] = { 0x07, 0x02};
7186 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
7187 i2c_transfer(&dev->i2c_adap, &msg, 1);
7189 break;
7191 case SAA7134_BOARD_PHILIPS_TIGER:
7192 case SAA7134_BOARD_PHILIPS_TIGER_S:
7194 u8 data[] = { 0x3c, 0x33, 0x60};
7195 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
7196 if (dev->autodetected && (dev->eedata[0x49] == 0x50)) {
7197 dev->board = SAA7134_BOARD_PHILIPS_TIGER_S;
7198 printk(KERN_INFO "%s: Reconfigured board as %s\n",
7199 dev->name, saa7134_boards[dev->board].name);
7201 if (dev->board == SAA7134_BOARD_PHILIPS_TIGER_S) {
7202 dev->tuner_type = TUNER_PHILIPS_TDA8290;
7204 data[2] = 0x68;
7205 i2c_transfer(&dev->i2c_adap, &msg, 1);
7206 break;
7208 i2c_transfer(&dev->i2c_adap, &msg, 1);
7209 break;
7211 case SAA7134_BOARD_ASUSTeK_TVFM7135:
7212 /* The card below is detected as card=53, but is different */
7213 if (dev->autodetected && (dev->eedata[0x27] == 0x03)) {
7214 dev->board = SAA7134_BOARD_ASUSTeK_P7131_ANALOG;
7215 printk(KERN_INFO "%s: P7131 analog only, using "
7216 "entry of %s\n",
7217 dev->name, saa7134_boards[dev->board].name);
7219 break;
7220 case SAA7134_BOARD_HAUPPAUGE_HVR1150:
7221 case SAA7134_BOARD_HAUPPAUGE_HVR1120:
7222 hauppauge_eeprom(dev, dev->eedata+0x80);
7223 break;
7224 case SAA7134_BOARD_HAUPPAUGE_HVR1110:
7225 hauppauge_eeprom(dev, dev->eedata+0x80);
7226 /* break intentionally omitted */
7227 case SAA7134_BOARD_PINNACLE_PCTV_310i:
7228 case SAA7134_BOARD_KWORLD_DVBT_210:
7229 case SAA7134_BOARD_TEVION_DVBT_220RF:
7230 case SAA7134_BOARD_ASUSTeK_TIGER:
7231 case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
7232 case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA:
7233 case SAA7134_BOARD_MEDION_MD8800_QUADRO:
7234 case SAA7134_BOARD_AVERMEDIA_SUPER_007:
7235 case SAA7134_BOARD_TWINHAN_DTV_DVB_3056:
7236 case SAA7134_BOARD_CREATIX_CTX953:
7238 /* this is a hybrid board, initialize to analog mode
7239 * and configure firmware eeprom address
7241 u8 data[] = { 0x3c, 0x33, 0x60};
7242 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
7243 i2c_transfer(&dev->i2c_adap, &msg, 1);
7244 break;
7246 case SAA7134_BOARD_ASUSTeK_TIGER_3IN1:
7248 u8 data[] = { 0x3c, 0x33, 0x60};
7249 struct i2c_msg msg = {.addr = 0x0b, .flags = 0, .buf = data,
7250 .len = sizeof(data)};
7251 i2c_transfer(&dev->i2c_adap, &msg, 1);
7252 break;
7254 case SAA7134_BOARD_FLYDVB_TRIO:
7256 u8 temp = 0;
7257 int rc;
7258 u8 data[] = { 0x3c, 0x33, 0x62};
7259 struct i2c_msg msg = {.addr=0x09, .flags=0, .buf=data, .len = sizeof(data)};
7260 i2c_transfer(&dev->i2c_adap, &msg, 1);
7263 * send weak up message to pic16C505 chip
7264 * @ LifeView FlyDVB Trio
7266 msg.buf = &temp;
7267 msg.addr = 0x0b;
7268 msg.len = 1;
7269 if (1 != i2c_transfer(&dev->i2c_adap, &msg, 1)) {
7270 printk(KERN_WARNING "%s: send wake up byte to pic16C505"
7271 "(IR chip) failed\n", dev->name);
7272 } else {
7273 msg.flags = I2C_M_RD;
7274 rc = i2c_transfer(&dev->i2c_adap, &msg, 1);
7275 printk(KERN_INFO "%s: probe IR chip @ i2c 0x%02x: %s\n",
7276 dev->name, msg.addr,
7277 (1 == rc) ? "yes" : "no");
7278 if (rc == 1)
7279 dev->has_remote = SAA7134_REMOTE_I2C;
7281 break;
7283 case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331:
7284 case SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS:
7286 /* initialize analog mode */
7287 u8 data[] = { 0x3c, 0x33, 0x6a};
7288 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
7289 i2c_transfer(&dev->i2c_adap, &msg, 1);
7290 break;
7292 case SAA7134_BOARD_CINERGY_HT_PCMCIA:
7293 case SAA7134_BOARD_CINERGY_HT_PCI:
7295 /* initialize analog mode */
7296 u8 data[] = { 0x3c, 0x33, 0x68};
7297 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
7298 i2c_transfer(&dev->i2c_adap, &msg, 1);
7299 break;
7301 case SAA7134_BOARD_VIDEOMATE_DVBT_200:
7302 case SAA7134_BOARD_VIDEOMATE_DVBT_200A:
7303 /* The T200 and the T200A share the same pci id. Consequently,
7304 * we are going to query eeprom to try to find out which one we
7305 * are actually looking at. */
7307 /* Don't do this if the board was specifically selected with an
7308 * insmod option or if we have the default configuration T200*/
7309 if (!dev->autodetected || (dev->eedata[0x41] == 0xd0))
7310 break;
7311 if (dev->eedata[0x41] == 0x02) {
7312 /* Reconfigure board as T200A */
7313 dev->board = SAA7134_BOARD_VIDEOMATE_DVBT_200A;
7314 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
7315 dev->tda9887_conf = saa7134_boards[dev->board].tda9887_conf;
7316 printk(KERN_INFO "%s: Reconfigured board as %s\n",
7317 dev->name, saa7134_boards[dev->board].name);
7318 } else {
7319 printk(KERN_WARNING "%s: Unexpected tuner type info: %x in eeprom\n",
7320 dev->name, dev->eedata[0x41]);
7321 break;
7323 break;
7324 case SAA7134_BOARD_ADS_INSTANT_HDTV_PCI:
7325 case SAA7134_BOARD_KWORLD_ATSC110:
7327 struct i2c_msg msg = { .addr = 0x0a, .flags = 0 };
7328 int i;
7329 static u8 buffer[][2] = {
7330 { 0x10, 0x12 },
7331 { 0x13, 0x04 },
7332 { 0x16, 0x00 },
7333 { 0x14, 0x04 },
7334 { 0x17, 0x00 },
7337 for (i = 0; i < ARRAY_SIZE(buffer); i++) {
7338 msg.buf = &buffer[i][0];
7339 msg.len = ARRAY_SIZE(buffer[0]);
7340 if (i2c_transfer(&dev->i2c_adap, &msg, 1) != 1)
7341 printk(KERN_WARNING
7342 "%s: Unable to enable tuner(%i).\n",
7343 dev->name, i);
7345 break;
7347 } /* switch() */
7349 /* initialize tuner */
7350 if (TUNER_ABSENT != dev->tuner_type) {
7351 int has_demod = (dev->tda9887_conf & TDA9887_PRESENT);
7353 /* Note: radio tuner address is always filled in,
7354 so we do not need to probe for a radio tuner device. */
7355 if (dev->radio_type != UNSET)
7356 v4l2_i2c_new_subdev(&dev->v4l2_dev,
7357 &dev->i2c_adap, "tuner", "tuner",
7358 dev->radio_addr, NULL);
7359 if (has_demod)
7360 v4l2_i2c_new_subdev(&dev->v4l2_dev,
7361 &dev->i2c_adap, "tuner", "tuner",
7362 0, v4l2_i2c_tuner_addrs(ADDRS_DEMOD));
7363 if (dev->tuner_addr == ADDR_UNSET) {
7364 enum v4l2_i2c_tuner_type type =
7365 has_demod ? ADDRS_TV_WITH_DEMOD : ADDRS_TV;
7367 v4l2_i2c_new_subdev(&dev->v4l2_dev,
7368 &dev->i2c_adap, "tuner", "tuner",
7369 0, v4l2_i2c_tuner_addrs(type));
7370 } else {
7371 v4l2_i2c_new_subdev(&dev->v4l2_dev,
7372 &dev->i2c_adap, "tuner", "tuner",
7373 dev->tuner_addr, NULL);
7377 saa7134_tuner_setup(dev);
7379 switch (dev->board) {
7380 case SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM:
7381 case SAA7134_BOARD_AVERMEDIA_CARDBUS_501:
7383 struct v4l2_priv_tun_config tea5767_cfg;
7384 struct tea5767_ctrl ctl;
7386 dev->i2c_client.addr = 0xC0;
7387 /* set TEA5767(analog FM) defines */
7388 memset(&ctl, 0, sizeof(ctl));
7389 ctl.xtal_freq = TEA5767_HIGH_LO_13MHz;
7390 tea5767_cfg.tuner = TUNER_TEA5767;
7391 tea5767_cfg.priv = &ctl;
7392 saa_call_all(dev, tuner, s_config, &tea5767_cfg);
7393 break;
7395 } /* switch() */
7397 return 0;