[ARM] pxa: Gumstix Verdex PCMCIA support
[linux-2.6/verdex.git] / drivers / media / video / saa7134 / saa7134-cards.c
blob71145bff94fa6533caba864a41d4704629b531bd
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 .gpiomask = 0x0800100, /* GPIO 21 is an INPUT */
3432 .inputs = {{
3433 .name = name_tv,
3434 .vmux = 1,
3435 .amux = TV,
3436 .tv = 1,
3437 .gpio = 0x0000100,
3438 }, {
3439 .name = name_comp1,
3440 .vmux = 3,
3441 .amux = LINE1,
3442 }, {
3443 .name = name_svideo,
3444 .vmux = 8,
3445 .amux = LINE1,
3446 } },
3447 .radio = {
3448 .name = name_radio,
3449 .amux = TV,
3450 .gpio = 0x0800100, /* GPIO 23 HI for FM */
3453 [SAA7134_BOARD_HAUPPAUGE_HVR1120] = {
3454 .name = "Hauppauge WinTV-HVR1120 DVB-T/Hybrid",
3455 .audio_clock = 0x00187de7,
3456 .tuner_type = TUNER_PHILIPS_TDA8290,
3457 .radio_type = UNSET,
3458 .tuner_addr = ADDR_UNSET,
3459 .radio_addr = ADDR_UNSET,
3460 .tuner_config = 3,
3461 .mpeg = SAA7134_MPEG_DVB,
3462 .ts_type = SAA7134_MPEG_TS_SERIAL,
3463 .gpiomask = 0x0800100, /* GPIO 21 is an INPUT */
3464 .inputs = {{
3465 .name = name_tv,
3466 .vmux = 1,
3467 .amux = TV,
3468 .tv = 1,
3469 .gpio = 0x0000100,
3470 }, {
3471 .name = name_comp1,
3472 .vmux = 3,
3473 .amux = LINE1,
3474 }, {
3475 .name = name_svideo,
3476 .vmux = 8,
3477 .amux = LINE1,
3478 } },
3479 .radio = {
3480 .name = name_radio,
3481 .amux = TV,
3482 .gpio = 0x0800100, /* GPIO 23 HI for FM */
3485 [SAA7134_BOARD_CINERGY_HT_PCMCIA] = {
3486 .name = "Terratec Cinergy HT PCMCIA",
3487 .audio_clock = 0x00187de7,
3488 .tuner_type = TUNER_PHILIPS_TDA8290,
3489 .radio_type = UNSET,
3490 .tuner_addr = ADDR_UNSET,
3491 .radio_addr = ADDR_UNSET,
3492 .mpeg = SAA7134_MPEG_DVB,
3493 .inputs = {{
3494 .name = name_tv,
3495 .vmux = 1,
3496 .amux = TV,
3497 .tv = 1,
3499 .name = name_comp1,
3500 .vmux = 0,
3501 .amux = LINE1,
3503 .name = name_svideo,
3504 .vmux = 6,
3505 .amux = LINE1,
3508 [SAA7134_BOARD_ENCORE_ENLTV] = {
3509 /* Steven Walter <stevenrwalter@gmail.com>
3510 Juan Pablo Sormani <sorman@gmail.com> */
3511 .name = "Encore ENLTV",
3512 .audio_clock = 0x00200000,
3513 .tuner_type = TUNER_TNF_5335MF,
3514 .radio_type = UNSET,
3515 .tuner_addr = ADDR_UNSET,
3516 .radio_addr = ADDR_UNSET,
3517 .inputs = {{
3518 .name = name_tv,
3519 .vmux = 1,
3520 .amux = 3,
3521 .tv = 1,
3523 .name = name_tv_mono,
3524 .vmux = 7,
3525 .amux = 4,
3526 .tv = 1,
3528 .name = name_comp1,
3529 .vmux = 3,
3530 .amux = 2,
3532 .name = name_svideo,
3533 .vmux = 0,
3534 .amux = 2,
3536 .radio = {
3537 .name = name_radio,
3538 .amux = LINE2,
3539 /* .gpio = 0x00300001,*/
3540 .gpio = 0x20000,
3543 .mute = {
3544 .name = name_mute,
3545 .amux = 0,
3548 [SAA7134_BOARD_ENCORE_ENLTV_FM] = {
3549 /* Juan Pablo Sormani <sorman@gmail.com> */
3550 .name = "Encore ENLTV-FM",
3551 .audio_clock = 0x00200000,
3552 .tuner_type = TUNER_PHILIPS_FCV1236D,
3553 .radio_type = UNSET,
3554 .tuner_addr = ADDR_UNSET,
3555 .radio_addr = ADDR_UNSET,
3556 .inputs = {{
3557 .name = name_tv,
3558 .vmux = 1,
3559 .amux = 3,
3560 .tv = 1,
3562 .name = name_tv_mono,
3563 .vmux = 7,
3564 .amux = 4,
3565 .tv = 1,
3567 .name = name_comp1,
3568 .vmux = 3,
3569 .amux = 2,
3571 .name = name_svideo,
3572 .vmux = 0,
3573 .amux = 2,
3575 .radio = {
3576 .name = name_radio,
3577 .amux = LINE2,
3578 .gpio = 0x20000,
3581 .mute = {
3582 .name = name_mute,
3583 .amux = 0,
3586 [SAA7134_BOARD_ENCORE_ENLTV_FM53] = {
3587 .name = "Encore ENLTV-FM v5.3",
3588 .audio_clock = 0x00200000,
3589 .tuner_type = TUNER_TNF_5335MF,
3590 .radio_type = UNSET,
3591 .tuner_addr = ADDR_UNSET,
3592 .radio_addr = ADDR_UNSET,
3593 .gpiomask = 0x7000,
3594 .inputs = { {
3595 .name = name_tv,
3596 .vmux = 1,
3597 .amux = 1,
3598 .tv = 1,
3599 .gpio = 0x50000,
3600 }, {
3601 .name = name_comp1,
3602 .vmux = 3,
3603 .amux = 2,
3604 .gpio = 0x2000,
3605 }, {
3606 .name = name_svideo,
3607 .vmux = 8,
3608 .amux = 2,
3609 .gpio = 0x2000,
3610 } },
3611 .radio = {
3612 .name = name_radio,
3613 .vmux = 1,
3614 .amux = 1,
3616 .mute = {
3617 .name = name_mute,
3618 .gpio = 0xf000,
3619 .amux = 0,
3622 [SAA7134_BOARD_CINERGY_HT_PCI] = {
3623 .name = "Terratec Cinergy HT PCI",
3624 .audio_clock = 0x00187de7,
3625 .tuner_type = TUNER_PHILIPS_TDA8290,
3626 .radio_type = UNSET,
3627 .tuner_addr = ADDR_UNSET,
3628 .radio_addr = ADDR_UNSET,
3629 .mpeg = SAA7134_MPEG_DVB,
3630 .inputs = {{
3631 .name = name_tv,
3632 .vmux = 1,
3633 .amux = TV,
3634 .tv = 1,
3636 .name = name_comp1,
3637 .vmux = 0,
3638 .amux = LINE1,
3640 .name = name_svideo,
3641 .vmux = 6,
3642 .amux = LINE1,
3645 [SAA7134_BOARD_PHILIPS_TIGER_S] = {
3646 .name = "Philips Tiger - S Reference design",
3647 .audio_clock = 0x00187de7,
3648 .tuner_type = TUNER_PHILIPS_TDA8290,
3649 .radio_type = UNSET,
3650 .tuner_addr = ADDR_UNSET,
3651 .radio_addr = ADDR_UNSET,
3652 .tuner_config = 2,
3653 .mpeg = SAA7134_MPEG_DVB,
3654 .gpiomask = 0x0200000,
3655 .inputs = {{
3656 .name = name_tv,
3657 .vmux = 1,
3658 .amux = TV,
3659 .tv = 1,
3661 .name = name_comp1,
3662 .vmux = 3,
3663 .amux = LINE1,
3665 .name = name_svideo,
3666 .vmux = 8,
3667 .amux = LINE1,
3669 .radio = {
3670 .name = name_radio,
3671 .amux = TV,
3672 .gpio = 0x0200000,
3675 [SAA7134_BOARD_AVERMEDIA_M102] = {
3676 .name = "Avermedia M102",
3677 .audio_clock = 0x00187de7,
3678 .tuner_type = TUNER_PHILIPS_TDA8290,
3679 .radio_type = UNSET,
3680 .tuner_addr = ADDR_UNSET,
3681 .radio_addr = ADDR_UNSET,
3682 .gpiomask = 1<<21,
3683 .inputs = {{
3684 .name = name_tv,
3685 .vmux = 1,
3686 .amux = TV,
3687 .tv = 1,
3689 .name = name_comp1,
3690 .vmux = 0,
3691 .amux = LINE2,
3693 .name = name_svideo,
3694 .vmux = 6,
3695 .amux = LINE2,
3698 [SAA7134_BOARD_ASUS_P7131_4871] = {
3699 .name = "ASUS P7131 4871",
3700 .audio_clock = 0x00187de7,
3701 .tuner_type = TUNER_PHILIPS_TDA8290,
3702 .radio_type = UNSET,
3703 .tuner_addr = ADDR_UNSET,
3704 .radio_addr = ADDR_UNSET,
3705 .tuner_config = 2,
3706 .mpeg = SAA7134_MPEG_DVB,
3707 .gpiomask = 0x0200000,
3708 .inputs = {{
3709 .name = name_tv,
3710 .vmux = 1,
3711 .amux = TV,
3712 .tv = 1,
3713 .gpio = 0x0200000,
3716 [SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA] = {
3717 .name = "ASUSTeK P7131 Hybrid",
3718 .audio_clock = 0x00187de7,
3719 .tuner_type = TUNER_PHILIPS_TDA8290,
3720 .radio_type = UNSET,
3721 .tuner_addr = ADDR_UNSET,
3722 .radio_addr = ADDR_UNSET,
3723 .tuner_config = 2,
3724 .gpiomask = 1 << 21,
3725 .mpeg = SAA7134_MPEG_DVB,
3726 .inputs = {{
3727 .name = name_tv,
3728 .vmux = 1,
3729 .amux = TV,
3730 .tv = 1,
3731 .gpio = 0x0000000,
3733 .name = name_comp1,
3734 .vmux = 3,
3735 .amux = LINE2,
3736 .gpio = 0x0200000,
3738 .name = name_comp2,
3739 .vmux = 0,
3740 .amux = LINE2,
3741 .gpio = 0x0200000,
3743 .name = name_svideo,
3744 .vmux = 8,
3745 .amux = LINE2,
3746 .gpio = 0x0200000,
3748 .radio = {
3749 .name = name_radio,
3750 .amux = TV,
3751 .gpio = 0x0200000,
3754 [SAA7134_BOARD_ASUSTeK_P7131_ANALOG] = {
3755 .name = "ASUSTeK P7131 Analog",
3756 .audio_clock = 0x00187de7,
3757 .tuner_type = TUNER_PHILIPS_TDA8290,
3758 .radio_type = UNSET,
3759 .tuner_addr = ADDR_UNSET,
3760 .radio_addr = ADDR_UNSET,
3761 .gpiomask = 1 << 21,
3762 .inputs = {{
3763 .name = name_tv,
3764 .vmux = 1,
3765 .amux = TV,
3766 .tv = 1,
3767 .gpio = 0x0000000,
3768 }, {
3769 .name = name_comp1,
3770 .vmux = 3,
3771 .amux = LINE2,
3772 }, {
3773 .name = name_comp2,
3774 .vmux = 0,
3775 .amux = LINE2,
3776 }, {
3777 .name = name_svideo,
3778 .vmux = 8,
3779 .amux = LINE2,
3780 } },
3781 .radio = {
3782 .name = name_radio,
3783 .amux = TV,
3784 .gpio = 0x0200000,
3787 [SAA7134_BOARD_SABRENT_TV_PCB05] = {
3788 .name = "Sabrent PCMCIA TV-PCB05",
3789 .audio_clock = 0x00187de7,
3790 .tuner_type = TUNER_PHILIPS_TDA8290,
3791 .radio_type = UNSET,
3792 .tuner_addr = ADDR_UNSET,
3793 .radio_addr = ADDR_UNSET,
3794 .inputs = {{
3795 .name = name_tv,
3796 .vmux = 1,
3797 .amux = TV,
3798 .tv = 1,
3800 .name = name_comp1,
3801 .vmux = 3,
3802 .amux = LINE1,
3804 .name = name_comp2,
3805 .vmux = 0,
3806 .amux = LINE1,
3808 .name = name_svideo,
3809 .vmux = 8,
3810 .amux = LINE1,
3812 .mute = {
3813 .name = name_mute,
3814 .amux = TV,
3817 [SAA7134_BOARD_10MOONSTVMASTER3] = {
3818 /* Tony Wan <aloha_cn@hotmail.com> */
3819 .name = "10MOONS TM300 TV Card",
3820 .audio_clock = 0x00200000,
3821 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
3822 .radio_type = UNSET,
3823 .tuner_addr = ADDR_UNSET,
3824 .radio_addr = ADDR_UNSET,
3825 .gpiomask = 0x7000,
3826 .inputs = {{
3827 .name = name_tv,
3828 .vmux = 1,
3829 .amux = LINE2,
3830 .gpio = 0x0000,
3831 .tv = 1,
3833 .name = name_comp1,
3834 .vmux = 3,
3835 .amux = LINE1,
3836 .gpio = 0x2000,
3838 .name = name_svideo,
3839 .vmux = 8,
3840 .amux = LINE1,
3841 .gpio = 0x2000,
3843 .mute = {
3844 .name = name_mute,
3845 .amux = LINE2,
3846 .gpio = 0x3000,
3849 [SAA7134_BOARD_AVERMEDIA_SUPER_007] = {
3850 .name = "Avermedia Super 007",
3851 .audio_clock = 0x00187de7,
3852 .tuner_type = TUNER_PHILIPS_TDA8290,
3853 .radio_type = UNSET,
3854 .tuner_addr = ADDR_UNSET,
3855 .radio_addr = ADDR_UNSET,
3856 .tuner_config = 0,
3857 .mpeg = SAA7134_MPEG_DVB,
3858 .inputs = {{
3859 .name = name_tv, /* FIXME: analog tv untested */
3860 .vmux = 1,
3861 .amux = TV,
3862 .tv = 1,
3865 [SAA7134_BOARD_AVERMEDIA_M135A] = {
3866 .name = "Avermedia PCI pure analog (M135A)",
3867 .audio_clock = 0x00187de7,
3868 .tuner_type = TUNER_PHILIPS_TDA8290,
3869 .radio_type = UNSET,
3870 .tuner_addr = ADDR_UNSET,
3871 .radio_addr = ADDR_UNSET,
3872 .tuner_config = 2,
3873 .gpiomask = 0x020200000,
3874 .inputs = {{
3875 .name = name_tv,
3876 .vmux = 1,
3877 .amux = TV,
3878 .tv = 1,
3879 }, {
3880 .name = name_comp1,
3881 .vmux = 3,
3882 .amux = LINE1,
3883 }, {
3884 .name = name_svideo,
3885 .vmux = 8,
3886 .amux = LINE1,
3887 } },
3888 .radio = {
3889 .name = name_radio,
3890 .amux = TV,
3891 .gpio = 0x00200000,
3893 .mute = {
3894 .name = name_mute,
3895 .amux = TV,
3896 .gpio = 0x01,
3899 [SAA7134_BOARD_BEHOLD_401] = {
3900 /* Beholder Intl. Ltd. 2008 */
3901 /*Dmitry Belimov <d.belimov@gmail.com> */
3902 .name = "Beholder BeholdTV 401",
3903 .audio_clock = 0x00187de7,
3904 .tuner_type = TUNER_PHILIPS_FQ1216ME,
3905 .radio_type = UNSET,
3906 .tuner_addr = ADDR_UNSET,
3907 .radio_addr = ADDR_UNSET,
3908 .gpiomask = 0x00008000,
3909 .inputs = {{
3910 .name = name_svideo,
3911 .vmux = 8,
3912 .amux = LINE1,
3914 .name = name_comp1,
3915 .vmux = 1,
3916 .amux = LINE1,
3918 .name = name_tv,
3919 .vmux = 3,
3920 .amux = LINE2,
3921 .tv = 1,
3923 .mute = {
3924 .name = name_mute,
3925 .amux = LINE1,
3928 [SAA7134_BOARD_BEHOLD_403] = {
3929 /* Beholder Intl. Ltd. 2008 */
3930 /*Dmitry Belimov <d.belimov@gmail.com> */
3931 .name = "Beholder BeholdTV 403",
3932 .audio_clock = 0x00187de7,
3933 .tuner_type = TUNER_PHILIPS_FQ1216ME,
3934 .radio_type = UNSET,
3935 .tuner_addr = ADDR_UNSET,
3936 .radio_addr = ADDR_UNSET,
3937 .gpiomask = 0x00008000,
3938 .inputs = {{
3939 .name = name_svideo,
3940 .vmux = 8,
3941 .amux = LINE1,
3943 .name = name_comp1,
3944 .vmux = 1,
3945 .amux = LINE1,
3947 .name = name_tv,
3948 .vmux = 3,
3949 .amux = LINE2,
3950 .tv = 1,
3953 [SAA7134_BOARD_BEHOLD_403FM] = {
3954 /* Beholder Intl. Ltd. 2008 */
3955 /*Dmitry Belimov <d.belimov@gmail.com> */
3956 .name = "Beholder BeholdTV 403 FM",
3957 .audio_clock = 0x00187de7,
3958 .tuner_type = TUNER_PHILIPS_FQ1216ME,
3959 .radio_type = UNSET,
3960 .tuner_addr = ADDR_UNSET,
3961 .radio_addr = ADDR_UNSET,
3962 .gpiomask = 0x00008000,
3963 .inputs = {{
3964 .name = name_svideo,
3965 .vmux = 8,
3966 .amux = LINE1,
3968 .name = name_comp1,
3969 .vmux = 1,
3970 .amux = LINE1,
3972 .name = name_tv,
3973 .vmux = 3,
3974 .amux = LINE2,
3975 .tv = 1,
3977 .radio = {
3978 .name = name_radio,
3979 .amux = LINE2,
3982 [SAA7134_BOARD_BEHOLD_405] = {
3983 /* Beholder Intl. Ltd. 2008 */
3984 /*Dmitry Belimov <d.belimov@gmail.com> */
3985 .name = "Beholder BeholdTV 405",
3986 .audio_clock = 0x00187de7,
3987 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3988 .radio_type = UNSET,
3989 .tuner_addr = ADDR_UNSET,
3990 .radio_addr = ADDR_UNSET,
3991 .tda9887_conf = TDA9887_PRESENT,
3992 .gpiomask = 0x00008000,
3993 .inputs = {{
3994 .name = name_svideo,
3995 .vmux = 8,
3996 .amux = LINE1,
3998 .name = name_comp1,
3999 .vmux = 3,
4000 .amux = LINE1,
4002 .name = name_tv,
4003 .vmux = 3,
4004 .amux = LINE2,
4005 .tv = 1,
4008 [SAA7134_BOARD_BEHOLD_405FM] = {
4009 /* Sergey <skiv@orel.ru> */
4010 /* Beholder Intl. Ltd. 2008 */
4011 /*Dmitry Belimov <d.belimov@gmail.com> */
4012 .name = "Beholder BeholdTV 405 FM",
4013 .audio_clock = 0x00187de7,
4014 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4015 .radio_type = UNSET,
4016 .tuner_addr = ADDR_UNSET,
4017 .radio_addr = ADDR_UNSET,
4018 .tda9887_conf = TDA9887_PRESENT,
4019 .gpiomask = 0x00008000,
4020 .inputs = {{
4021 .name = name_svideo,
4022 .vmux = 8,
4023 .amux = LINE1,
4025 .name = name_comp1,
4026 .vmux = 3,
4027 .amux = LINE1,
4029 .name = name_tv,
4030 .vmux = 3,
4031 .amux = LINE2,
4032 .tv = 1,
4034 .radio = {
4035 .name = name_radio,
4036 .amux = LINE2,
4039 [SAA7134_BOARD_BEHOLD_407] = {
4040 /* Beholder Intl. Ltd. 2008 */
4041 /*Dmitry Belimov <d.belimov@gmail.com> */
4042 .name = "Beholder BeholdTV 407",
4043 .audio_clock = 0x00187de7,
4044 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4045 .radio_type = UNSET,
4046 .tuner_addr = ADDR_UNSET,
4047 .radio_addr = ADDR_UNSET,
4048 .tda9887_conf = TDA9887_PRESENT,
4049 .gpiomask = 0x00008000,
4050 .inputs = {{
4051 .name = name_svideo,
4052 .vmux = 8,
4053 .amux = LINE1,
4054 .gpio = 0xc0c000,
4056 .name = name_comp1,
4057 .vmux = 1,
4058 .amux = LINE1,
4059 .gpio = 0xc0c000,
4061 .name = name_tv,
4062 .vmux = 3,
4063 .amux = TV,
4064 .tv = 1,
4065 .gpio = 0xc0c000,
4068 [SAA7134_BOARD_BEHOLD_407FM] = {
4069 /* Beholder Intl. Ltd. 2008 */
4070 /*Dmitry Belimov <d.belimov@gmail.com> */
4071 .name = "Beholder BeholdTV 407 FM",
4072 .audio_clock = 0x00187de7,
4073 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4074 .radio_type = UNSET,
4075 .tuner_addr = ADDR_UNSET,
4076 .radio_addr = ADDR_UNSET,
4077 .tda9887_conf = TDA9887_PRESENT,
4078 .gpiomask = 0x00008000,
4079 .inputs = {{
4080 .name = name_svideo,
4081 .vmux = 8,
4082 .amux = LINE1,
4083 .gpio = 0xc0c000,
4085 .name = name_comp1,
4086 .vmux = 1,
4087 .amux = LINE1,
4088 .gpio = 0xc0c000,
4090 .name = name_tv,
4091 .vmux = 3,
4092 .amux = TV,
4093 .tv = 1,
4094 .gpio = 0xc0c000,
4096 .radio = {
4097 .name = name_radio,
4098 .amux = LINE2,
4099 .gpio = 0xc0c000,
4102 [SAA7134_BOARD_BEHOLD_409] = {
4103 /* Beholder Intl. Ltd. 2008 */
4104 /*Dmitry Belimov <d.belimov@gmail.com> */
4105 .name = "Beholder BeholdTV 409",
4106 .audio_clock = 0x00187de7,
4107 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4108 .radio_type = UNSET,
4109 .tuner_addr = ADDR_UNSET,
4110 .radio_addr = ADDR_UNSET,
4111 .tda9887_conf = TDA9887_PRESENT,
4112 .gpiomask = 0x00008000,
4113 .inputs = {{
4114 .name = name_tv,
4115 .vmux = 3,
4116 .amux = TV,
4117 .tv = 1,
4119 .name = name_comp1,
4120 .vmux = 1,
4121 .amux = LINE1,
4123 .name = name_svideo,
4124 .vmux = 8,
4125 .amux = LINE1,
4128 [SAA7134_BOARD_BEHOLD_505FM] = {
4129 /* Beholder Intl. Ltd. 2008 */
4130 /*Dmitry Belimov <d.belimov@gmail.com> */
4131 .name = "Beholder BeholdTV 505 FM",
4132 .audio_clock = 0x00200000,
4133 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4134 .radio_type = UNSET,
4135 .tuner_addr = ADDR_UNSET,
4136 .radio_addr = ADDR_UNSET,
4137 .tda9887_conf = TDA9887_PRESENT,
4138 .gpiomask = 0x00008000,
4139 .inputs = {{
4140 .name = name_tv,
4141 .vmux = 3,
4142 .amux = LINE2,
4143 .tv = 1,
4144 }, {
4145 .name = name_comp1,
4146 .vmux = 1,
4147 .amux = LINE1,
4148 }, {
4149 .name = name_svideo,
4150 .vmux = 8,
4151 .amux = LINE1,
4152 } },
4153 .mute = {
4154 .name = name_mute,
4155 .amux = LINE1,
4157 .radio = {
4158 .name = name_radio,
4159 .amux = LINE2,
4162 [SAA7134_BOARD_BEHOLD_505RDS] = {
4163 /* Beholder Intl. Ltd. 2008 */
4164 /*Dmitry Belimov <d.belimov@gmail.com> */
4165 .name = "Beholder BeholdTV 505 RDS",
4166 .audio_clock = 0x00200000,
4167 .tuner_type = TUNER_PHILIPS_FM1216MK5,
4168 .radio_type = UNSET,
4169 .tuner_addr = ADDR_UNSET,
4170 .radio_addr = ADDR_UNSET,
4171 .rds_addr = 0x10,
4172 .tda9887_conf = TDA9887_PRESENT,
4173 .gpiomask = 0x00008000,
4174 .inputs = {{
4175 .name = name_tv,
4176 .vmux = 3,
4177 .amux = LINE2,
4178 .tv = 1,
4180 .name = name_comp1,
4181 .vmux = 1,
4182 .amux = LINE1,
4184 .name = name_svideo,
4185 .vmux = 8,
4186 .amux = LINE1,
4188 .mute = {
4189 .name = name_mute,
4190 .amux = LINE1,
4192 .radio = {
4193 .name = name_radio,
4194 .amux = LINE2,
4197 [SAA7134_BOARD_BEHOLD_507_9FM] = {
4198 /* Beholder Intl. Ltd. 2008 */
4199 /*Dmitry Belimov <d.belimov@gmail.com> */
4200 .name = "Beholder BeholdTV 507 FM / BeholdTV 509 FM",
4201 .audio_clock = 0x00187de7,
4202 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4203 .radio_type = UNSET,
4204 .tuner_addr = ADDR_UNSET,
4205 .radio_addr = ADDR_UNSET,
4206 .tda9887_conf = TDA9887_PRESENT,
4207 .gpiomask = 0x00008000,
4208 .inputs = {{
4209 .name = name_tv,
4210 .vmux = 3,
4211 .amux = TV,
4212 .tv = 1,
4214 .name = name_comp1,
4215 .vmux = 1,
4216 .amux = LINE1,
4218 .name = name_svideo,
4219 .vmux = 8,
4220 .amux = LINE1,
4222 .radio = {
4223 .name = name_radio,
4224 .amux = LINE2,
4227 [SAA7134_BOARD_BEHOLD_507RDS_MK5] = {
4228 /* Beholder Intl. Ltd. 2008 */
4229 /*Dmitry Belimov <d.belimov@gmail.com> */
4230 .name = "Beholder BeholdTV 507 RDS",
4231 .audio_clock = 0x00187de7,
4232 .tuner_type = TUNER_PHILIPS_FM1216MK5,
4233 .radio_type = UNSET,
4234 .tuner_addr = ADDR_UNSET,
4235 .radio_addr = ADDR_UNSET,
4236 .rds_addr = 0x10,
4237 .tda9887_conf = TDA9887_PRESENT,
4238 .gpiomask = 0x00008000,
4239 .inputs = {{
4240 .name = name_tv,
4241 .vmux = 3,
4242 .amux = TV,
4243 .tv = 1,
4244 }, {
4245 .name = name_comp1,
4246 .vmux = 1,
4247 .amux = LINE1,
4248 }, {
4249 .name = name_svideo,
4250 .vmux = 8,
4251 .amux = LINE1,
4252 } },
4253 .radio = {
4254 .name = name_radio,
4255 .amux = LINE2,
4258 [SAA7134_BOARD_BEHOLD_507RDS_MK3] = {
4259 /* Beholder Intl. Ltd. 2008 */
4260 /*Dmitry Belimov <d.belimov@gmail.com> */
4261 .name = "Beholder BeholdTV 507 RDS",
4262 .audio_clock = 0x00187de7,
4263 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4264 .radio_type = UNSET,
4265 .tuner_addr = ADDR_UNSET,
4266 .radio_addr = ADDR_UNSET,
4267 .rds_addr = 0x10,
4268 .tda9887_conf = TDA9887_PRESENT,
4269 .gpiomask = 0x00008000,
4270 .inputs = {{
4271 .name = name_tv,
4272 .vmux = 3,
4273 .amux = TV,
4274 .tv = 1,
4275 }, {
4276 .name = name_comp1,
4277 .vmux = 1,
4278 .amux = LINE1,
4279 }, {
4280 .name = name_svideo,
4281 .vmux = 8,
4282 .amux = LINE1,
4283 } },
4284 .radio = {
4285 .name = name_radio,
4286 .amux = LINE2,
4289 [SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM] = {
4290 /* Beholder Intl. Ltd. 2008 */
4291 /*Dmitry Belimov <d.belimov@gmail.com> */
4292 .name = "Beholder BeholdTV Columbus TVFM",
4293 .audio_clock = 0x00187de7,
4294 .tuner_type = TUNER_ALPS_TSBE5_PAL,
4295 .radio_type = UNSET,
4296 .tuner_addr = ADDR_UNSET,
4297 .radio_addr = ADDR_UNSET,
4298 .tda9887_conf = TDA9887_PRESENT,
4299 .gpiomask = 0x000A8004,
4300 .inputs = {{
4301 .name = name_tv,
4302 .vmux = 3,
4303 .amux = TV,
4304 .tv = 1,
4305 .gpio = 0x000A8004,
4306 }, {
4307 .name = name_comp1,
4308 .vmux = 1,
4309 .amux = LINE1,
4310 .gpio = 0x000A8000,
4311 }, {
4312 .name = name_svideo,
4313 .vmux = 8,
4314 .amux = LINE1,
4315 .gpio = 0x000A8000,
4316 } },
4317 .radio = {
4318 .name = name_radio,
4319 .amux = LINE2,
4320 .gpio = 0x000A8000,
4323 [SAA7134_BOARD_BEHOLD_607FM_MK3] = {
4324 /* Andrey Melnikoff <temnota@kmv.ru> */
4325 .name = "Beholder BeholdTV 607 FM",
4326 .audio_clock = 0x00187de7,
4327 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4328 .radio_type = UNSET,
4329 .tuner_addr = ADDR_UNSET,
4330 .radio_addr = ADDR_UNSET,
4331 .tda9887_conf = TDA9887_PRESENT,
4332 .inputs = {{
4333 .name = name_tv,
4334 .vmux = 3,
4335 .amux = TV,
4336 .tv = 1,
4337 }, {
4338 .name = name_comp1,
4339 .vmux = 1,
4340 .amux = LINE1,
4341 }, {
4342 .name = name_svideo,
4343 .vmux = 8,
4344 .amux = LINE1,
4345 } },
4346 .radio = {
4347 .name = name_radio,
4348 .amux = LINE2,
4351 [SAA7134_BOARD_BEHOLD_609FM_MK3] = {
4352 /* Andrey Melnikoff <temnota@kmv.ru> */
4353 .name = "Beholder BeholdTV 609 FM",
4354 .audio_clock = 0x00187de7,
4355 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4356 .radio_type = UNSET,
4357 .tuner_addr = ADDR_UNSET,
4358 .radio_addr = ADDR_UNSET,
4359 .tda9887_conf = TDA9887_PRESENT,
4360 .inputs = {{
4361 .name = name_tv,
4362 .vmux = 3,
4363 .amux = TV,
4364 .tv = 1,
4365 }, {
4366 .name = name_comp1,
4367 .vmux = 1,
4368 .amux = LINE1,
4369 }, {
4370 .name = name_svideo,
4371 .vmux = 8,
4372 .amux = LINE1,
4373 } },
4374 .radio = {
4375 .name = name_radio,
4376 .amux = LINE2,
4379 [SAA7134_BOARD_BEHOLD_607FM_MK5] = {
4380 /* Andrey Melnikoff <temnota@kmv.ru> */
4381 .name = "Beholder BeholdTV 607 FM",
4382 .audio_clock = 0x00187de7,
4383 .tuner_type = TUNER_PHILIPS_FM1216MK5,
4384 .radio_type = UNSET,
4385 .tuner_addr = ADDR_UNSET,
4386 .radio_addr = ADDR_UNSET,
4387 .tda9887_conf = TDA9887_PRESENT,
4388 .inputs = {{
4389 .name = name_tv,
4390 .vmux = 3,
4391 .amux = TV,
4392 .tv = 1,
4393 }, {
4394 .name = name_comp1,
4395 .vmux = 1,
4396 .amux = LINE1,
4397 }, {
4398 .name = name_svideo,
4399 .vmux = 8,
4400 .amux = LINE1,
4401 } },
4402 .radio = {
4403 .name = name_radio,
4404 .amux = LINE2,
4407 [SAA7134_BOARD_BEHOLD_609FM_MK5] = {
4408 /* Andrey Melnikoff <temnota@kmv.ru> */
4409 .name = "Beholder BeholdTV 609 FM",
4410 .audio_clock = 0x00187de7,
4411 .tuner_type = TUNER_PHILIPS_FM1216MK5,
4412 .radio_type = UNSET,
4413 .tuner_addr = ADDR_UNSET,
4414 .radio_addr = ADDR_UNSET,
4415 .tda9887_conf = TDA9887_PRESENT,
4416 .inputs = {{
4417 .name = name_tv,
4418 .vmux = 3,
4419 .amux = TV,
4420 .tv = 1,
4421 }, {
4422 .name = name_comp1,
4423 .vmux = 1,
4424 .amux = LINE1,
4425 }, {
4426 .name = name_svideo,
4427 .vmux = 8,
4428 .amux = LINE1,
4429 } },
4430 .radio = {
4431 .name = name_radio,
4432 .amux = LINE2,
4435 [SAA7134_BOARD_BEHOLD_607RDS_MK3] = {
4436 /* Andrey Melnikoff <temnota@kmv.ru> */
4437 .name = "Beholder BeholdTV 607 RDS",
4438 .audio_clock = 0x00187de7,
4439 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4440 .radio_type = UNSET,
4441 .tuner_addr = ADDR_UNSET,
4442 .radio_addr = ADDR_UNSET,
4443 .rds_addr = 0x10,
4444 .tda9887_conf = TDA9887_PRESENT,
4445 .inputs = {{
4446 .name = name_tv,
4447 .vmux = 3,
4448 .amux = TV,
4449 .tv = 1,
4450 }, {
4451 .name = name_comp1,
4452 .vmux = 1,
4453 .amux = LINE1,
4454 }, {
4455 .name = name_svideo,
4456 .vmux = 8,
4457 .amux = LINE1,
4458 } },
4459 .radio = {
4460 .name = name_radio,
4461 .amux = LINE2,
4464 [SAA7134_BOARD_BEHOLD_609RDS_MK3] = {
4465 /* Andrey Melnikoff <temnota@kmv.ru> */
4466 .name = "Beholder BeholdTV 609 RDS",
4467 .audio_clock = 0x00187de7,
4468 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4469 .radio_type = UNSET,
4470 .tuner_addr = ADDR_UNSET,
4471 .radio_addr = ADDR_UNSET,
4472 .rds_addr = 0x10,
4473 .tda9887_conf = TDA9887_PRESENT,
4474 .inputs = {{
4475 .name = name_tv,
4476 .vmux = 3,
4477 .amux = TV,
4478 .tv = 1,
4479 }, {
4480 .name = name_comp1,
4481 .vmux = 1,
4482 .amux = LINE1,
4483 }, {
4484 .name = name_svideo,
4485 .vmux = 8,
4486 .amux = LINE1,
4487 } },
4488 .radio = {
4489 .name = name_radio,
4490 .amux = LINE2,
4493 [SAA7134_BOARD_BEHOLD_607RDS_MK5] = {
4494 /* Andrey Melnikoff <temnota@kmv.ru> */
4495 .name = "Beholder BeholdTV 607 RDS",
4496 .audio_clock = 0x00187de7,
4497 .tuner_type = TUNER_PHILIPS_FM1216MK5,
4498 .radio_type = UNSET,
4499 .tuner_addr = ADDR_UNSET,
4500 .radio_addr = ADDR_UNSET,
4501 .rds_addr = 0x10,
4502 .tda9887_conf = TDA9887_PRESENT,
4503 .inputs = {{
4504 .name = name_tv,
4505 .vmux = 3,
4506 .amux = TV,
4507 .tv = 1,
4508 }, {
4509 .name = name_comp1,
4510 .vmux = 1,
4511 .amux = LINE1,
4512 }, {
4513 .name = name_svideo,
4514 .vmux = 8,
4515 .amux = LINE1,
4516 } },
4517 .radio = {
4518 .name = name_radio,
4519 .amux = LINE2,
4522 [SAA7134_BOARD_BEHOLD_609RDS_MK5] = {
4523 /* Andrey Melnikoff <temnota@kmv.ru> */
4524 .name = "Beholder BeholdTV 609 RDS",
4525 .audio_clock = 0x00187de7,
4526 .tuner_type = TUNER_PHILIPS_FM1216MK5,
4527 .radio_type = UNSET,
4528 .tuner_addr = ADDR_UNSET,
4529 .radio_addr = ADDR_UNSET,
4530 .rds_addr = 0x10,
4531 .tda9887_conf = TDA9887_PRESENT,
4532 .inputs = {{
4533 .name = name_tv,
4534 .vmux = 3,
4535 .amux = TV,
4536 .tv = 1,
4538 .name = name_comp1,
4539 .vmux = 1,
4540 .amux = LINE1,
4542 .name = name_svideo,
4543 .vmux = 8,
4544 .amux = LINE1,
4546 .radio = {
4547 .name = name_radio,
4548 .amux = LINE2,
4551 [SAA7134_BOARD_BEHOLD_M6] = {
4552 /* Igor Kuznetsov <igk@igk.ru> */
4553 /* Andrey Melnikoff <temnota@kmv.ru> */
4554 /* Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> */
4555 /* Alexey Osipov <lion-simba@pridelands.ru> */
4556 .name = "Beholder BeholdTV M6",
4557 .audio_clock = 0x00187de7,
4558 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4559 .radio_type = UNSET,
4560 .tuner_addr = ADDR_UNSET,
4561 .radio_addr = ADDR_UNSET,
4562 .empress_addr = 0x20,
4563 .tda9887_conf = TDA9887_PRESENT,
4564 .inputs = { {
4565 .name = name_tv,
4566 .vmux = 3,
4567 .amux = TV,
4568 .tv = 1,
4569 }, {
4570 .name = name_comp1,
4571 .vmux = 1,
4572 .amux = LINE1,
4573 }, {
4574 .name = name_svideo,
4575 .vmux = 8,
4576 .amux = LINE1,
4577 } },
4578 .radio = {
4579 .name = name_radio,
4580 .amux = LINE2,
4582 .mpeg = SAA7134_MPEG_EMPRESS,
4583 .video_out = CCIR656,
4584 .vid_port_opts = (SET_T_CODE_POLARITY_NON_INVERTED |
4585 SET_CLOCK_NOT_DELAYED |
4586 SET_CLOCK_INVERTED |
4587 SET_VSYNC_OFF),
4589 [SAA7134_BOARD_BEHOLD_M63] = {
4590 /* Igor Kuznetsov <igk@igk.ru> */
4591 /* Andrey Melnikoff <temnota@kmv.ru> */
4592 /* Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> */
4593 .name = "Beholder BeholdTV M63",
4594 .audio_clock = 0x00187de7,
4595 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4596 .radio_type = UNSET,
4597 .tuner_addr = ADDR_UNSET,
4598 .radio_addr = ADDR_UNSET,
4599 .empress_addr = 0x20,
4600 .tda9887_conf = TDA9887_PRESENT,
4601 .inputs = { {
4602 .name = name_tv,
4603 .vmux = 3,
4604 .amux = TV,
4605 .tv = 1,
4606 }, {
4607 .name = name_comp1,
4608 .vmux = 1,
4609 .amux = LINE1,
4610 }, {
4611 .name = name_svideo,
4612 .vmux = 8,
4613 .amux = LINE1,
4614 } },
4615 .radio = {
4616 .name = name_radio,
4617 .amux = LINE2,
4619 .mpeg = SAA7134_MPEG_EMPRESS,
4620 .video_out = CCIR656,
4621 .vid_port_opts = (SET_T_CODE_POLARITY_NON_INVERTED |
4622 SET_CLOCK_NOT_DELAYED |
4623 SET_CLOCK_INVERTED |
4624 SET_VSYNC_OFF),
4626 [SAA7134_BOARD_BEHOLD_M6_EXTRA] = {
4627 /* Igor Kuznetsov <igk@igk.ru> */
4628 /* Andrey Melnikoff <temnota@kmv.ru> */
4629 /* Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> */
4630 /* Alexey Osipov <lion-simba@pridelands.ru> */
4631 .name = "Beholder BeholdTV M6 Extra",
4632 .audio_clock = 0x00187de7,
4633 .tuner_type = TUNER_PHILIPS_FM1216MK5,
4634 .radio_type = UNSET,
4635 .tuner_addr = ADDR_UNSET,
4636 .radio_addr = ADDR_UNSET,
4637 .rds_addr = 0x10,
4638 .empress_addr = 0x20,
4639 .tda9887_conf = TDA9887_PRESENT,
4640 .inputs = { {
4641 .name = name_tv,
4642 .vmux = 3,
4643 .amux = TV,
4644 .tv = 1,
4645 }, {
4646 .name = name_comp1,
4647 .vmux = 1,
4648 .amux = LINE1,
4649 }, {
4650 .name = name_svideo,
4651 .vmux = 8,
4652 .amux = LINE1,
4653 } },
4654 .radio = {
4655 .name = name_radio,
4656 .amux = LINE2,
4658 .mpeg = SAA7134_MPEG_EMPRESS,
4659 .video_out = CCIR656,
4660 .vid_port_opts = (SET_T_CODE_POLARITY_NON_INVERTED |
4661 SET_CLOCK_NOT_DELAYED |
4662 SET_CLOCK_INVERTED |
4663 SET_VSYNC_OFF),
4665 [SAA7134_BOARD_TWINHAN_DTV_DVB_3056] = {
4666 .name = "Twinhan Hybrid DTV-DVB 3056 PCI",
4667 .audio_clock = 0x00187de7,
4668 .tuner_type = TUNER_PHILIPS_TDA8290,
4669 .radio_type = UNSET,
4670 .tuner_addr = ADDR_UNSET,
4671 .radio_addr = ADDR_UNSET,
4672 .tuner_config = 2,
4673 .mpeg = SAA7134_MPEG_DVB,
4674 .gpiomask = 0x0200000,
4675 .inputs = {{
4676 .name = name_tv,
4677 .vmux = 1,
4678 .amux = TV,
4679 .tv = 1,
4680 }, {
4681 .name = name_comp1,
4682 .vmux = 3,
4683 .amux = LINE1,
4684 }, {
4685 .name = name_svideo,
4686 .vmux = 8, /* untested */
4687 .amux = LINE1,
4688 } },
4689 .radio = {
4690 .name = name_radio,
4691 .amux = TV,
4692 .gpio = 0x0200000,
4695 [SAA7134_BOARD_GENIUS_TVGO_A11MCE] = {
4696 /* Adrian Pardini <pardo.bsso@gmail.com> */
4697 .name = "Genius TVGO AM11MCE",
4698 .audio_clock = 0x00200000,
4699 .tuner_type = TUNER_TNF_5335MF,
4700 .radio_type = UNSET,
4701 .tuner_addr = ADDR_UNSET,
4702 .radio_addr = ADDR_UNSET,
4703 .gpiomask = 0xf000,
4704 .inputs = {{
4705 .name = name_tv_mono,
4706 .vmux = 1,
4707 .amux = LINE2,
4708 .gpio = 0x0000,
4709 .tv = 1,
4710 }, {
4711 .name = name_comp1,
4712 .vmux = 3,
4713 .amux = LINE1,
4714 .gpio = 0x2000,
4715 .tv = 1
4716 }, {
4717 .name = name_svideo,
4718 .vmux = 8,
4719 .amux = LINE1,
4720 .gpio = 0x2000,
4721 } },
4722 .radio = {
4723 .name = name_radio,
4724 .amux = LINE2,
4725 .gpio = 0x1000,
4727 .mute = {
4728 .name = name_mute,
4729 .amux = LINE2,
4730 .gpio = 0x6000,
4733 [SAA7134_BOARD_PHILIPS_SNAKE] = {
4734 .name = "NXP Snake DVB-S reference design",
4735 .audio_clock = 0x00200000,
4736 .tuner_type = TUNER_ABSENT,
4737 .radio_type = UNSET,
4738 .tuner_addr = ADDR_UNSET,
4739 .radio_addr = ADDR_UNSET,
4740 .mpeg = SAA7134_MPEG_DVB,
4741 .inputs = {{
4742 .name = name_comp1,
4743 .vmux = 3,
4744 .amux = LINE1,
4745 }, {
4746 .name = name_svideo,
4747 .vmux = 8,
4748 .amux = LINE1,
4749 } },
4751 [SAA7134_BOARD_CREATIX_CTX953] = {
4752 .name = "Medion/Creatix CTX953 Hybrid",
4753 .audio_clock = 0x00187de7,
4754 .tuner_type = TUNER_PHILIPS_TDA8290,
4755 .radio_type = UNSET,
4756 .tuner_addr = ADDR_UNSET,
4757 .radio_addr = ADDR_UNSET,
4758 .tuner_config = 0,
4759 .mpeg = SAA7134_MPEG_DVB,
4760 .inputs = {{
4761 .name = name_tv,
4762 .vmux = 1,
4763 .amux = TV,
4764 .tv = 1,
4765 }, {
4766 .name = name_comp1,
4767 .vmux = 0,
4768 .amux = LINE1,
4769 }, {
4770 .name = name_svideo,
4771 .vmux = 8,
4772 .amux = LINE1,
4773 } },
4775 [SAA7134_BOARD_MSI_TVANYWHERE_AD11] = {
4776 .name = "MSI TV@nywhere A/D v1.1",
4777 .audio_clock = 0x00187de7,
4778 .tuner_type = TUNER_PHILIPS_TDA8290,
4779 .radio_type = UNSET,
4780 .tuner_addr = ADDR_UNSET,
4781 .radio_addr = ADDR_UNSET,
4782 .tuner_config = 2,
4783 .mpeg = SAA7134_MPEG_DVB,
4784 .gpiomask = 0x0200000,
4785 .inputs = { {
4786 .name = name_tv,
4787 .vmux = 1,
4788 .amux = TV,
4789 .tv = 1,
4790 }, {
4791 .name = name_comp1,
4792 .vmux = 3,
4793 .amux = LINE1,
4794 }, {
4795 .name = name_svideo,
4796 .vmux = 8,
4797 .amux = LINE1,
4798 } },
4799 .radio = {
4800 .name = name_radio,
4801 .amux = TV,
4802 .gpio = 0x0200000,
4805 [SAA7134_BOARD_AVERMEDIA_CARDBUS_506] = {
4806 .name = "AVerMedia Cardbus TV/Radio (E506R)",
4807 .audio_clock = 0x187de7,
4808 .tuner_type = TUNER_XC2028,
4809 .radio_type = UNSET,
4810 .tuner_addr = ADDR_UNSET,
4811 .radio_addr = ADDR_UNSET,
4812 .mpeg = SAA7134_MPEG_DVB,
4813 .inputs = {{
4814 .name = name_tv,
4815 .vmux = 1,
4816 .amux = TV,
4817 .tv = 1,
4818 }, {
4819 .name = name_comp1,
4820 .vmux = 3,
4821 .amux = LINE1,
4822 }, {
4823 .name = name_svideo,
4824 .vmux = 8,
4825 .amux = LINE2,
4826 } },
4827 .radio = {
4828 .name = name_radio,
4829 .amux = TV,
4832 [SAA7134_BOARD_AVERMEDIA_A16D] = {
4833 .name = "AVerMedia Hybrid TV/Radio (A16D)",
4834 .audio_clock = 0x187de7,
4835 .tuner_type = TUNER_XC2028,
4836 .radio_type = UNSET,
4837 .tuner_addr = ADDR_UNSET,
4838 .radio_addr = ADDR_UNSET,
4839 .mpeg = SAA7134_MPEG_DVB,
4840 .inputs = {{
4841 .name = name_tv,
4842 .vmux = 1,
4843 .amux = TV,
4844 .tv = 1,
4845 }, {
4846 .name = name_svideo,
4847 .vmux = 8,
4848 .amux = LINE1,
4849 }, {
4850 .name = name_comp,
4851 .vmux = 0,
4852 .amux = LINE1,
4853 } },
4854 .radio = {
4855 .name = name_radio,
4856 .amux = TV,
4859 [SAA7134_BOARD_AVERMEDIA_M115] = {
4860 .name = "Avermedia M115",
4861 .audio_clock = 0x187de7,
4862 .tuner_type = TUNER_XC2028,
4863 .radio_type = UNSET,
4864 .tuner_addr = ADDR_UNSET,
4865 .radio_addr = ADDR_UNSET,
4866 .inputs = {{
4867 .name = name_tv,
4868 .vmux = 1,
4869 .amux = TV,
4870 .tv = 1,
4871 }, {
4872 .name = name_comp1,
4873 .vmux = 3,
4874 .amux = LINE1,
4875 }, {
4876 .name = name_svideo,
4877 .vmux = 8,
4878 .amux = LINE2,
4879 } },
4881 [SAA7134_BOARD_VIDEOMATE_T750] = {
4882 /* John Newbigin <jn@it.swin.edu.au> */
4883 .name = "Compro VideoMate T750",
4884 .audio_clock = 0x00187de7,
4885 .tuner_type = TUNER_XC2028,
4886 .radio_type = UNSET,
4887 .tuner_addr = ADDR_UNSET,
4888 .radio_addr = ADDR_UNSET,
4889 .inputs = {{
4890 .name = name_tv,
4891 .vmux = 3,
4892 .amux = TV,
4893 .tv = 1,
4894 }, {
4895 .name = name_comp1,
4896 .vmux = 1,
4897 .amux = LINE2,
4898 }, {
4899 .name = name_svideo,
4900 .vmux = 8,
4901 .amux = LINE2,
4902 } },
4903 .radio = {
4904 .name = name_radio,
4905 .amux = TV,
4908 [SAA7134_BOARD_AVERMEDIA_A700_PRO] = {
4909 /* Matthias Schwarzott <zzam@gentoo.org> */
4910 .name = "Avermedia DVB-S Pro A700",
4911 .audio_clock = 0x00187de7,
4912 .tuner_type = TUNER_ABSENT,
4913 .radio_type = UNSET,
4914 .tuner_addr = ADDR_UNSET,
4915 .radio_addr = ADDR_UNSET,
4916 .mpeg = SAA7134_MPEG_DVB,
4917 .inputs = { {
4918 .name = name_comp,
4919 .vmux = 1,
4920 .amux = LINE1,
4921 }, {
4922 .name = name_svideo,
4923 .vmux = 6,
4924 .amux = LINE1,
4925 } },
4927 [SAA7134_BOARD_AVERMEDIA_A700_HYBRID] = {
4928 /* Matthias Schwarzott <zzam@gentoo.org> */
4929 .name = "Avermedia DVB-S Hybrid+FM A700",
4930 .audio_clock = 0x00187de7,
4931 .tuner_type = TUNER_XC2028,
4932 .radio_type = UNSET,
4933 .tuner_addr = ADDR_UNSET,
4934 .radio_addr = ADDR_UNSET,
4935 .mpeg = SAA7134_MPEG_DVB,
4936 .inputs = { {
4937 .name = name_tv,
4938 .vmux = 4,
4939 .amux = TV,
4940 .tv = 1,
4941 }, {
4942 .name = name_comp,
4943 .vmux = 1,
4944 .amux = LINE1,
4945 }, {
4946 .name = name_svideo,
4947 .vmux = 6,
4948 .amux = LINE1,
4949 } },
4950 .radio = {
4951 .name = name_radio,
4952 .amux = TV,
4955 [SAA7134_BOARD_BEHOLD_H6] = {
4956 /* Igor Kuznetsov <igk@igk.ru> */
4957 .name = "Beholder BeholdTV H6",
4958 .audio_clock = 0x00187de7,
4959 .tuner_type = TUNER_PHILIPS_FMD1216MEX_MK3,
4960 .radio_type = UNSET,
4961 .tuner_addr = ADDR_UNSET,
4962 .radio_addr = ADDR_UNSET,
4963 .tda9887_conf = TDA9887_PRESENT,
4964 .mpeg = SAA7134_MPEG_DVB,
4965 .inputs = {{
4966 .name = name_tv,
4967 .vmux = 3,
4968 .amux = TV,
4969 .tv = 1,
4970 }, {
4971 .name = name_comp1,
4972 .vmux = 1,
4973 .amux = LINE1,
4974 }, {
4975 .name = name_svideo,
4976 .vmux = 8,
4977 .amux = LINE1,
4978 } },
4979 .radio = {
4980 .name = name_radio,
4981 .amux = LINE2,
4984 [SAA7134_BOARD_ASUSTeK_TIGER_3IN1] = {
4985 .name = "Asus Tiger 3in1",
4986 .audio_clock = 0x00187de7,
4987 .tuner_type = TUNER_PHILIPS_TDA8290,
4988 .radio_type = UNSET,
4989 .tuner_addr = ADDR_UNSET,
4990 .radio_addr = ADDR_UNSET,
4991 .tuner_config = 2,
4992 .gpiomask = 1 << 21,
4993 .mpeg = SAA7134_MPEG_DVB,
4994 .inputs = {{
4995 .name = name_tv,
4996 .vmux = 1,
4997 .amux = TV,
4998 .tv = 1,
4999 }, {
5000 .name = name_comp,
5001 .vmux = 0,
5002 .amux = LINE2,
5003 }, {
5004 .name = name_svideo,
5005 .vmux = 8,
5006 .amux = LINE2,
5007 } },
5008 .radio = {
5009 .name = name_radio,
5010 .amux = TV,
5011 .gpio = 0x0200000,
5014 [SAA7134_BOARD_REAL_ANGEL_220] = {
5015 .name = "Zogis Real Angel 220",
5016 .audio_clock = 0x00187de7,
5017 .tuner_type = TUNER_TNF_5335MF,
5018 .radio_type = UNSET,
5019 .tuner_addr = ADDR_UNSET,
5020 .radio_addr = ADDR_UNSET,
5021 .gpiomask = 0x801a8087,
5022 .inputs = { {
5023 .name = name_tv,
5024 .vmux = 3,
5025 .amux = LINE2,
5026 .tv = 1,
5027 .gpio = 0x624000,
5028 }, {
5029 .name = name_comp1,
5030 .vmux = 1,
5031 .amux = LINE1,
5032 .gpio = 0x624000,
5033 }, {
5034 .name = name_svideo,
5035 .vmux = 1,
5036 .amux = LINE1,
5037 .gpio = 0x624000,
5038 } },
5039 .radio = {
5040 .name = name_radio,
5041 .amux = LINE2,
5042 .gpio = 0x624001,
5044 .mute = {
5045 .name = name_mute,
5046 .amux = TV,
5049 [SAA7134_BOARD_ADS_INSTANT_HDTV_PCI] = {
5050 .name = "ADS Tech Instant HDTV",
5051 .audio_clock = 0x00187de7,
5052 .tuner_type = TUNER_PHILIPS_TUV1236D,
5053 .radio_type = UNSET,
5054 .tuner_addr = ADDR_UNSET,
5055 .radio_addr = ADDR_UNSET,
5056 .tda9887_conf = TDA9887_PRESENT,
5057 .mpeg = SAA7134_MPEG_DVB,
5058 .inputs = { {
5059 .name = name_tv,
5060 .vmux = 1,
5061 .amux = TV,
5062 .tv = 1,
5063 }, {
5064 .name = name_comp,
5065 .vmux = 4,
5066 .amux = LINE1,
5067 }, {
5068 .name = name_svideo,
5069 .vmux = 8,
5070 .amux = LINE1,
5071 } },
5073 [SAA7134_BOARD_ASUSTeK_TIGER] = {
5074 .name = "Asus Tiger Rev:1.00",
5075 .audio_clock = 0x00187de7,
5076 .tuner_type = TUNER_PHILIPS_TDA8290,
5077 .radio_type = UNSET,
5078 .tuner_addr = ADDR_UNSET,
5079 .radio_addr = ADDR_UNSET,
5080 .tuner_config = 0,
5081 .mpeg = SAA7134_MPEG_DVB,
5082 .gpiomask = 0x0200000,
5083 .inputs = { {
5084 .name = name_tv,
5085 .vmux = 1,
5086 .amux = TV,
5087 .tv = 1,
5088 }, {
5089 .name = name_comp1,
5090 .vmux = 3,
5091 .amux = LINE2,
5092 }, {
5093 .name = name_comp2,
5094 .vmux = 0,
5095 .amux = LINE2,
5096 }, {
5097 .name = name_svideo,
5098 .vmux = 8,
5099 .amux = LINE2,
5100 } },
5101 .radio = {
5102 .name = name_radio,
5103 .amux = TV,
5104 .gpio = 0x0200000,
5107 [SAA7134_BOARD_KWORLD_PLUS_TV_ANALOG] = {
5108 .name = "Kworld Plus TV Analog Lite PCI",
5109 .audio_clock = 0x00187de7,
5110 .tuner_type = TUNER_YMEC_TVF_5533MF,
5111 .radio_type = TUNER_TEA5767,
5112 .tuner_addr = ADDR_UNSET,
5113 .radio_addr = 0x60,
5114 .gpiomask = 0x80000700,
5115 .inputs = { {
5116 .name = name_tv,
5117 .vmux = 1,
5118 .amux = LINE2,
5119 .tv = 1,
5120 .gpio = 0x100,
5121 }, {
5122 .name = name_comp1,
5123 .vmux = 3,
5124 .amux = LINE1,
5125 .gpio = 0x200,
5126 }, {
5127 .name = name_svideo,
5128 .vmux = 8,
5129 .amux = LINE1,
5130 .gpio = 0x200,
5131 } },
5132 .radio = {
5133 .name = name_radio,
5134 .vmux = 1,
5135 .amux = LINE1,
5136 .gpio = 0x100,
5138 .mute = {
5139 .name = name_mute,
5140 .vmux = 8,
5141 .amux = 2,
5144 [SAA7134_BOARD_AVERMEDIA_GO_007_FM_PLUS] = {
5145 .name = "Avermedia AVerTV GO 007 FM Plus",
5146 .audio_clock = 0x00187de7,
5147 .tuner_type = TUNER_PHILIPS_TDA8290,
5148 .radio_type = UNSET,
5149 .tuner_addr = ADDR_UNSET,
5150 .radio_addr = ADDR_UNSET,
5151 .gpiomask = 0x00300003,
5152 /* .gpiomask = 0x8c240003, */
5153 .inputs = { {
5154 .name = name_tv,
5155 .vmux = 1,
5156 .amux = TV,
5157 .tv = 1,
5158 .gpio = 0x01,
5159 }, {
5160 .name = name_svideo,
5161 .vmux = 6,
5162 .amux = LINE1,
5163 .gpio = 0x02,
5164 } },
5165 .radio = {
5166 .name = name_radio,
5167 .amux = TV,
5168 .gpio = 0x00300001,
5170 .mute = {
5171 .name = name_mute,
5172 .amux = TV,
5173 .gpio = 0x01,
5176 [SAA7134_BOARD_AVERMEDIA_STUDIO_507UA] = {
5177 /* Andy Shevchenko <andy@smile.org.ua> */
5178 .name = "Avermedia AVerTV Studio 507UA",
5179 .audio_clock = 0x00187de7,
5180 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, /* Should be MK5 */
5181 .radio_type = UNSET,
5182 .tuner_addr = ADDR_UNSET,
5183 .radio_addr = ADDR_UNSET,
5184 .tda9887_conf = TDA9887_PRESENT,
5185 .gpiomask = 0x03,
5186 .inputs = { {
5187 .name = name_tv,
5188 .vmux = 1,
5189 .amux = TV,
5190 .tv = 1,
5191 .gpio = 0x00,
5192 }, {
5193 .name = name_comp1,
5194 .vmux = 3,
5195 .amux = LINE1,
5196 .gpio = 0x00,
5197 }, {
5198 .name = name_svideo,
5199 .vmux = 8,
5200 .amux = LINE1,
5201 .gpio = 0x00,
5202 } },
5203 .radio = {
5204 .name = name_radio,
5205 .amux = LINE2,
5206 .gpio = 0x01,
5208 .mute = {
5209 .name = name_mute,
5210 .amux = LINE1,
5211 .gpio = 0x00,
5214 [SAA7134_BOARD_VIDEOMATE_S350] = {
5215 /* Jan D. Louw <jd.louw@mweb.co.za */
5216 .name = "Compro VideoMate S350/S300",
5217 .audio_clock = 0x00187de7,
5218 .tuner_type = TUNER_ABSENT,
5219 .radio_type = UNSET,
5220 .tuner_addr = ADDR_UNSET,
5221 .radio_addr = ADDR_UNSET,
5222 .mpeg = SAA7134_MPEG_DVB,
5223 .inputs = { {
5224 .name = name_comp1,
5225 .vmux = 0,
5226 .amux = LINE1,
5227 }, {
5228 .name = name_svideo,
5229 .vmux = 8, /* Not tested */
5230 .amux = LINE1
5231 } },
5233 [SAA7134_BOARD_BEHOLD_X7] = {
5234 /* Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> */
5235 .name = "Beholder BeholdTV X7",
5236 .audio_clock = 0x00187de7,
5237 .tuner_type = TUNER_XC5000,
5238 .radio_type = UNSET,
5239 .tuner_addr = ADDR_UNSET,
5240 .radio_addr = ADDR_UNSET,
5241 .inputs = { {
5242 .name = name_tv,
5243 .vmux = 2,
5244 .amux = TV,
5245 .tv = 1,
5246 }, {
5247 .name = name_comp1,
5248 .vmux = 0,
5249 .amux = LINE1,
5250 }, {
5251 .name = name_svideo,
5252 .vmux = 9,
5253 .amux = LINE1,
5254 } },
5255 .radio = {
5256 .name = name_radio,
5257 .amux = TV,
5260 [SAA7134_BOARD_ZOLID_HYBRID_PCI] = {
5261 .name = "Zolid Hybrid TV Tuner PCI",
5262 .audio_clock = 0x00187de7,
5263 .tuner_type = TUNER_PHILIPS_TDA8290,
5264 .radio_type = UNSET,
5265 .tuner_addr = ADDR_UNSET,
5266 .radio_addr = ADDR_UNSET,
5267 .tuner_config = 0,
5268 .mpeg = SAA7134_MPEG_DVB,
5269 .ts_type = SAA7134_MPEG_TS_PARALLEL,
5270 .inputs = {{
5271 .name = name_tv,
5272 .vmux = 1,
5273 .amux = TV,
5274 .tv = 1,
5275 } },
5276 .radio = { /* untested */
5277 .name = name_radio,
5278 .amux = TV,
5284 const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards);
5286 /* ------------------------------------------------------------------ */
5287 /* PCI ids + subsystem IDs */
5289 struct pci_device_id saa7134_pci_tbl[] = {
5291 .vendor = PCI_VENDOR_ID_PHILIPS,
5292 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5293 .subvendor = PCI_VENDOR_ID_PHILIPS,
5294 .subdevice = 0x2001,
5295 .driver_data = SAA7134_BOARD_PROTEUS_PRO,
5297 .vendor = PCI_VENDOR_ID_PHILIPS,
5298 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5299 .subvendor = PCI_VENDOR_ID_PHILIPS,
5300 .subdevice = 0x2001,
5301 .driver_data = SAA7134_BOARD_PROTEUS_PRO,
5303 .vendor = PCI_VENDOR_ID_PHILIPS,
5304 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5305 .subvendor = PCI_VENDOR_ID_PHILIPS,
5306 .subdevice = 0x6752,
5307 .driver_data = SAA7134_BOARD_EMPRESS,
5309 .vendor = PCI_VENDOR_ID_PHILIPS,
5310 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5311 .subvendor = 0x1131,
5312 .subdevice = 0x4e85,
5313 .driver_data = SAA7134_BOARD_MONSTERTV,
5315 .vendor = PCI_VENDOR_ID_PHILIPS,
5316 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5317 .subvendor = 0x153b,
5318 .subdevice = 0x1142,
5319 .driver_data = SAA7134_BOARD_CINERGY400,
5321 .vendor = PCI_VENDOR_ID_PHILIPS,
5322 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5323 .subvendor = 0x153b,
5324 .subdevice = 0x1143,
5325 .driver_data = SAA7134_BOARD_CINERGY600,
5327 .vendor = PCI_VENDOR_ID_PHILIPS,
5328 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5329 .subvendor = 0x153b,
5330 .subdevice = 0x1158,
5331 .driver_data = SAA7134_BOARD_CINERGY600_MK3,
5333 .vendor = PCI_VENDOR_ID_PHILIPS,
5334 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5335 .subvendor = 0x153b,
5336 .subdevice = 0x1162,
5337 .driver_data = SAA7134_BOARD_CINERGY400_CARDBUS,
5339 .vendor = PCI_VENDOR_ID_PHILIPS,
5340 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5341 .subvendor = 0x5169,
5342 .subdevice = 0x0138,
5343 .driver_data = SAA7134_BOARD_FLYVIDEO3000_NTSC,
5345 .vendor = PCI_VENDOR_ID_PHILIPS,
5346 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5347 .subvendor = 0x5168,
5348 .subdevice = 0x0138,
5349 .driver_data = SAA7134_BOARD_FLYVIDEO3000,
5351 .vendor = PCI_VENDOR_ID_PHILIPS,
5352 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5353 .subvendor = 0x4e42, /* "Typhoon PCI Capture TV Card" Art.No. 50673 */
5354 .subdevice = 0x0138,
5355 .driver_data = SAA7134_BOARD_FLYVIDEO3000,
5357 .vendor = PCI_VENDOR_ID_PHILIPS,
5358 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5359 .subvendor = 0x5168,
5360 .subdevice = 0x0138,
5361 .driver_data = SAA7134_BOARD_FLYVIDEO2000,
5363 .vendor = PCI_VENDOR_ID_PHILIPS,
5364 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5365 .subvendor = 0x4e42, /* Typhoon */
5366 .subdevice = 0x0138, /* LifeView FlyTV Prime30 OEM */
5367 .driver_data = SAA7134_BOARD_FLYVIDEO2000,
5369 .vendor = PCI_VENDOR_ID_PHILIPS,
5370 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5371 .subvendor = 0x5168,
5372 .subdevice = 0x0212, /* minipci, LR212 */
5373 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
5375 .vendor = PCI_VENDOR_ID_PHILIPS,
5376 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5377 .subvendor = 0x14c0,
5378 .subdevice = 0x1212, /* minipci, LR1212 */
5379 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI2,
5381 .vendor = PCI_VENDOR_ID_PHILIPS,
5382 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5383 .subvendor = 0x4e42,
5384 .subdevice = 0x0212, /* OEM minipci, LR212 */
5385 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
5387 .vendor = PCI_VENDOR_ID_PHILIPS,
5388 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5389 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
5390 .subdevice = 0x0214, /* Standard PCI, LR214 Rev E and earlier (SAA7135) */
5391 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
5393 .vendor = PCI_VENDOR_ID_PHILIPS,
5394 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5395 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
5396 .subdevice = 0x5214, /* Standard PCI, LR214 Rev F onwards (SAA7131) */
5397 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
5399 .vendor = PCI_VENDOR_ID_PHILIPS,
5400 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5401 .subvendor = 0x1489, /* KYE */
5402 .subdevice = 0x0214, /* Genius VideoWonder ProTV */
5403 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM, /* is an LR214WF actually */
5405 .vendor = PCI_VENDOR_ID_PHILIPS,
5406 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5407 .subvendor = 0x16be,
5408 .subdevice = 0x0003,
5409 .driver_data = SAA7134_BOARD_MD7134,
5411 .vendor = PCI_VENDOR_ID_PHILIPS,
5412 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5413 .subvendor = 0x16be, /* CTX946 analog TV, HW mpeg, DVB-T */
5414 .subdevice = 0x5000, /* only analog TV and DVB-T for now */
5415 .driver_data = SAA7134_BOARD_MD7134,
5416 }, {
5417 .vendor = PCI_VENDOR_ID_PHILIPS,
5418 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5419 .subvendor = 0x1048,
5420 .subdevice = 0x226b,
5421 .driver_data = SAA7134_BOARD_ELSA,
5423 .vendor = PCI_VENDOR_ID_PHILIPS,
5424 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5425 .subvendor = 0x1048,
5426 .subdevice = 0x226a,
5427 .driver_data = SAA7134_BOARD_ELSA_500TV,
5429 .vendor = PCI_VENDOR_ID_PHILIPS,
5430 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5431 .subvendor = 0x1048,
5432 .subdevice = 0x226c,
5433 .driver_data = SAA7134_BOARD_ELSA_700TV,
5435 .vendor = PCI_VENDOR_ID_PHILIPS,
5436 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5437 .subvendor = PCI_VENDOR_ID_ASUSTEK,
5438 .subdevice = 0x4842,
5439 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
5441 .vendor = PCI_VENDOR_ID_PHILIPS,
5442 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5443 .subvendor = PCI_VENDOR_ID_ASUSTEK,
5444 .subdevice = 0x4845,
5445 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7135,
5447 .vendor = PCI_VENDOR_ID_PHILIPS,
5448 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5449 .subvendor = PCI_VENDOR_ID_ASUSTEK,
5450 .subdevice = 0x4830,
5451 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
5453 .vendor = PCI_VENDOR_ID_PHILIPS,
5454 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5455 .subvendor = PCI_VENDOR_ID_ASUSTEK,
5456 .subdevice = 0x4843,
5457 .driver_data = SAA7134_BOARD_ASUSTEK_TVFM7133,
5459 .vendor = PCI_VENDOR_ID_PHILIPS,
5460 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5461 .subvendor = PCI_VENDOR_ID_ASUSTEK,
5462 .subdevice = 0x4840,
5463 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
5465 .vendor = PCI_VENDOR_ID_PHILIPS,
5466 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5467 .subvendor = PCI_VENDOR_ID_PHILIPS,
5468 .subdevice = 0xfe01,
5469 .driver_data = SAA7134_BOARD_TVSTATION_RDS,
5471 .vendor = PCI_VENDOR_ID_PHILIPS,
5472 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5473 .subvendor = 0x1894,
5474 .subdevice = 0xfe01,
5475 .driver_data = SAA7134_BOARD_TVSTATION_RDS,
5477 .vendor = PCI_VENDOR_ID_PHILIPS,
5478 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5479 .subvendor = 0x1894,
5480 .subdevice = 0xa006,
5481 .driver_data = SAA7134_BOARD_TVSTATION_DVR,
5483 .vendor = PCI_VENDOR_ID_PHILIPS,
5484 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5485 .subvendor = 0x1131,
5486 .subdevice = 0x7133,
5487 .driver_data = SAA7134_BOARD_VA1000POWER,
5489 .vendor = PCI_VENDOR_ID_PHILIPS,
5490 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5491 .subvendor = PCI_VENDOR_ID_PHILIPS,
5492 .subdevice = 0x2001,
5493 .driver_data = SAA7134_BOARD_10MOONSTVMASTER,
5495 .vendor = PCI_VENDOR_ID_PHILIPS,
5496 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5497 .subvendor = 0x185b,
5498 .subdevice = 0xc100,
5499 .driver_data = SAA7134_BOARD_VIDEOMATE_TV,
5501 .vendor = PCI_VENDOR_ID_PHILIPS,
5502 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5503 .subvendor = 0x185b,
5504 .subdevice = 0xc100,
5505 .driver_data = SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS,
5507 .vendor = PCI_VENDOR_ID_PHILIPS,
5508 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5509 .subvendor = PCI_VENDOR_ID_MATROX,
5510 .subdevice = 0x48d0,
5511 .driver_data = SAA7134_BOARD_CRONOS_PLUS,
5513 .vendor = PCI_VENDOR_ID_PHILIPS,
5514 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5515 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5516 .subdevice = 0xa70b,
5517 .driver_data = SAA7134_BOARD_MD2819,
5519 .vendor = PCI_VENDOR_ID_PHILIPS,
5520 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5521 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5522 .subdevice = 0xa7a1,
5523 .driver_data = SAA7134_BOARD_AVERMEDIA_A700_PRO,
5524 }, {
5525 .vendor = PCI_VENDOR_ID_PHILIPS,
5526 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5527 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5528 .subdevice = 0xa7a2,
5529 .driver_data = SAA7134_BOARD_AVERMEDIA_A700_HYBRID,
5530 }, {
5531 .vendor = PCI_VENDOR_ID_PHILIPS,
5532 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5533 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5534 .subdevice = 0x2115,
5535 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_305,
5537 .vendor = PCI_VENDOR_ID_PHILIPS,
5538 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5539 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5540 .subdevice = 0xa115,
5541 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_505,
5542 }, {
5543 .vendor = PCI_VENDOR_ID_PHILIPS,
5544 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5545 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5546 .subdevice = 0x2108,
5547 .driver_data = SAA7134_BOARD_AVERMEDIA_305,
5549 .vendor = PCI_VENDOR_ID_PHILIPS,
5550 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5551 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5552 .subdevice = 0x10ff,
5553 .driver_data = SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER,
5555 /* AVerMedia CardBus */
5556 .vendor = PCI_VENDOR_ID_PHILIPS,
5557 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5558 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5559 .subdevice = 0xd6ee,
5560 .driver_data = SAA7134_BOARD_AVERMEDIA_CARDBUS,
5562 /* AVerMedia CardBus */
5563 .vendor = PCI_VENDOR_ID_PHILIPS,
5564 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5565 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5566 .subdevice = 0xb7e9,
5567 .driver_data = SAA7134_BOARD_AVERMEDIA_CARDBUS_501,
5568 }, {
5569 /* TransGear 3000TV */
5570 .vendor = PCI_VENDOR_ID_PHILIPS,
5571 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5572 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5573 .subdevice = 0x050c,
5574 .driver_data = SAA7134_BOARD_TG3000TV,
5576 .vendor = PCI_VENDOR_ID_PHILIPS,
5577 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5578 .subvendor = 0x11bd,
5579 .subdevice = 0x002b,
5580 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_STEREO,
5582 .vendor = PCI_VENDOR_ID_PHILIPS,
5583 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5584 .subvendor = 0x11bd,
5585 .subdevice = 0x002d,
5586 .driver_data = SAA7134_BOARD_PINNACLE_300I_DVBT_PAL,
5588 .vendor = PCI_VENDOR_ID_PHILIPS,
5589 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5590 .subvendor = 0x1019,
5591 .subdevice = 0x4cb4,
5592 .driver_data = SAA7134_BOARD_ECS_TVP3XP,
5594 .vendor = PCI_VENDOR_ID_PHILIPS,
5595 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5596 .subvendor = 0x1019,
5597 .subdevice = 0x4cb5,
5598 .driver_data = SAA7134_BOARD_ECS_TVP3XP_4CB5,
5600 .vendor = PCI_VENDOR_ID_PHILIPS,
5601 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5602 .subvendor = 0x1019,
5603 .subdevice = 0x4cb6,
5604 .driver_data = SAA7134_BOARD_ECS_TVP3XP_4CB6,
5606 .vendor = PCI_VENDOR_ID_PHILIPS,
5607 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5608 .subvendor = 0x12ab,
5609 .subdevice = 0x0800,
5610 .driver_data = SAA7134_BOARD_UPMOST_PURPLE_TV,
5612 .vendor = PCI_VENDOR_ID_PHILIPS,
5613 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5614 .subvendor = 0x153b,
5615 .subdevice = 0x1152,
5616 .driver_data = SAA7134_BOARD_CINERGY200,
5618 .vendor = PCI_VENDOR_ID_PHILIPS,
5619 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5620 .subvendor = 0x185b,
5621 .subdevice = 0xc100,
5622 .driver_data = SAA7134_BOARD_VIDEOMATE_TV_PVR,
5624 .vendor = PCI_VENDOR_ID_PHILIPS,
5625 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5626 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5627 .subdevice = 0x9715,
5628 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_307,
5630 .vendor = PCI_VENDOR_ID_PHILIPS,
5631 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5632 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5633 .subdevice = 0xa70a,
5634 .driver_data = SAA7134_BOARD_AVERMEDIA_307,
5636 .vendor = PCI_VENDOR_ID_PHILIPS,
5637 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5638 .subvendor = 0x185b,
5639 .subdevice = 0xc200,
5640 .driver_data = SAA7134_BOARD_VIDEOMATE_GOLD_PLUS,
5642 .vendor = PCI_VENDOR_ID_PHILIPS,
5643 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5644 .subvendor = 0x1540,
5645 .subdevice = 0x9524,
5646 .driver_data = SAA7134_BOARD_PROVIDEO_PV952,
5649 .vendor = PCI_VENDOR_ID_PHILIPS,
5650 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5651 .subvendor = 0x5168,
5652 .subdevice = 0x0502, /* Cardbus version */
5653 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
5655 .vendor = PCI_VENDOR_ID_PHILIPS,
5656 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5657 .subvendor = 0x5168,
5658 .subdevice = 0x0306, /* PCI version */
5659 .driver_data = SAA7134_BOARD_FLYDVBTDUO,
5661 .vendor = PCI_VENDOR_ID_PHILIPS,
5662 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5663 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5664 .subdevice = 0xf31f,
5665 .driver_data = SAA7134_BOARD_AVERMEDIA_GO_007_FM,
5668 .vendor = PCI_VENDOR_ID_PHILIPS,
5669 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5670 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5671 .subdevice = 0xf11d,
5672 .driver_data = SAA7134_BOARD_AVERMEDIA_M135A,
5673 }, {
5674 .vendor = PCI_VENDOR_ID_PHILIPS,
5675 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5676 .subvendor = PCI_VENDOR_ID_PHILIPS,
5677 .subdevice = 0x2004,
5678 .driver_data = SAA7134_BOARD_PHILIPS_TOUGH,
5680 .vendor = PCI_VENDOR_ID_PHILIPS,
5681 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5682 .subvendor = 0x1421,
5683 .subdevice = 0x0350, /* PCI version */
5684 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
5686 .vendor = PCI_VENDOR_ID_PHILIPS,
5687 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5688 .subvendor = 0x1421,
5689 .subdevice = 0x0351, /* PCI version, new revision */
5690 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
5692 .vendor = PCI_VENDOR_ID_PHILIPS,
5693 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5694 .subvendor = 0x1421,
5695 .subdevice = 0x0370, /* cardbus version */
5696 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
5698 .vendor = PCI_VENDOR_ID_PHILIPS,
5699 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5700 .subvendor = 0x1421,
5701 .subdevice = 0x1370, /* cardbus version */
5702 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
5705 .vendor = PCI_VENDOR_ID_PHILIPS,
5706 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5707 .subvendor = 0x4e42, /* Typhoon */
5708 .subdevice = 0x0502, /* LifeView LR502 OEM */
5709 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
5711 .vendor = PCI_VENDOR_ID_PHILIPS,
5712 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5713 .subvendor = 0x1043,
5714 .subdevice = 0x0210, /* mini pci NTSC version */
5715 .driver_data = SAA7134_BOARD_FLYTV_DIGIMATRIX,
5717 .vendor = PCI_VENDOR_ID_PHILIPS,
5718 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5719 .subvendor = 0x1043,
5720 .subdevice = 0x0210, /* mini pci PAL/SECAM version */
5721 .driver_data = SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV,
5724 .vendor = PCI_VENDOR_ID_PHILIPS,
5725 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5726 .subvendor = 0x0000, /* It shouldn't break anything, since subdevice id seems unique */
5727 .subdevice = 0x4091,
5728 .driver_data = SAA7134_BOARD_BEHOLD_409FM,
5730 .vendor = PCI_VENDOR_ID_PHILIPS,
5731 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5732 .subvendor = 0x5456, /* GoTView */
5733 .subdevice = 0x7135,
5734 .driver_data = SAA7134_BOARD_GOTVIEW_7135,
5736 .vendor = PCI_VENDOR_ID_PHILIPS,
5737 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5738 .subvendor = PCI_VENDOR_ID_PHILIPS,
5739 .subdevice = 0x2004,
5740 .driver_data = SAA7134_BOARD_PHILIPS_EUROPA,
5742 .vendor = PCI_VENDOR_ID_PHILIPS,
5743 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5744 .subvendor = 0x185b,
5745 .subdevice = 0xc900,
5746 .driver_data = SAA7134_BOARD_VIDEOMATE_DVBT_300,
5748 .vendor = PCI_VENDOR_ID_PHILIPS,
5749 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5750 .subvendor = 0x185b,
5751 .subdevice = 0xc901,
5752 .driver_data = SAA7134_BOARD_VIDEOMATE_DVBT_200,
5754 .vendor = PCI_VENDOR_ID_PHILIPS,
5755 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5756 .subvendor = 0x1435,
5757 .subdevice = 0x7350,
5758 .driver_data = SAA7134_BOARD_RTD_VFG7350,
5760 .vendor = PCI_VENDOR_ID_PHILIPS,
5761 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5762 .subvendor = 0x1435,
5763 .subdevice = 0x7330,
5764 .driver_data = SAA7134_BOARD_RTD_VFG7330,
5766 .vendor = PCI_VENDOR_ID_PHILIPS,
5767 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5768 .subvendor = 0x1461,
5769 .subdevice = 0x1044,
5770 .driver_data = SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180,
5772 .vendor = PCI_VENDOR_ID_PHILIPS,
5773 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5774 .subvendor = 0x1131,
5775 .subdevice = 0x4ee9,
5776 .driver_data = SAA7134_BOARD_MONSTERTV_MOBILE,
5778 .vendor = PCI_VENDOR_ID_PHILIPS,
5779 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5780 .subvendor = 0x11bd,
5781 .subdevice = 0x002e,
5782 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_110i,
5784 .vendor = PCI_VENDOR_ID_PHILIPS,
5785 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5786 .subvendor = 0x1043,
5787 .subdevice = 0x4862,
5788 .driver_data = SAA7134_BOARD_ASUSTeK_P7131_DUAL,
5790 .vendor = PCI_VENDOR_ID_PHILIPS,
5791 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5792 .subvendor = PCI_VENDOR_ID_PHILIPS,
5793 .subdevice = 0x2018,
5794 .driver_data = SAA7134_BOARD_PHILIPS_TIGER,
5796 .vendor = PCI_VENDOR_ID_PHILIPS,
5797 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5798 .subvendor = 0x1462,
5799 .subdevice = 0x6231, /* tda8275a, ks003 IR */
5800 .driver_data = SAA7134_BOARD_MSI_TVATANYWHERE_PLUS,
5802 .vendor = PCI_VENDOR_ID_PHILIPS,
5803 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5804 .subvendor = 0x1462,
5805 .subdevice = 0x8624, /* tda8275, ks003 IR */
5806 .driver_data = SAA7134_BOARD_MSI_TVATANYWHERE_PLUS,
5808 .vendor = PCI_VENDOR_ID_PHILIPS,
5809 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5810 .subvendor = 0x153b,
5811 .subdevice = 0x1160,
5812 .driver_data = SAA7134_BOARD_CINERGY250PCI,
5814 .vendor = PCI_VENDOR_ID_PHILIPS,
5815 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA 7131E */
5816 .subvendor = 0x5168,
5817 .subdevice = 0x0319,
5818 .driver_data = SAA7134_BOARD_FLYDVB_TRIO,
5820 .vendor = PCI_VENDOR_ID_PHILIPS,
5821 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5822 .subvendor = 0x1461,
5823 .subdevice = 0x2c05,
5824 .driver_data = SAA7134_BOARD_AVERMEDIA_777,
5826 .vendor = PCI_VENDOR_ID_PHILIPS,
5827 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5828 .subvendor = 0x5168,
5829 .subdevice = 0x0301,
5830 .driver_data = SAA7134_BOARD_FLYDVBT_LR301,
5832 .vendor = PCI_VENDOR_ID_PHILIPS,
5833 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5834 .subvendor = 0x0331,
5835 .subdevice = 0x1421,
5836 .driver_data = SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331,
5838 .vendor = PCI_VENDOR_ID_PHILIPS,
5839 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5840 .subvendor = 0x17de,
5841 .subdevice = 0x7201,
5842 .driver_data = SAA7134_BOARD_TEVION_DVBT_220RF,
5844 .vendor = PCI_VENDOR_ID_PHILIPS,
5845 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5846 .subvendor = 0x17de,
5847 .subdevice = 0x7250,
5848 .driver_data = SAA7134_BOARD_KWORLD_DVBT_210,
5850 .vendor = PCI_VENDOR_ID_PHILIPS,
5851 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA7135HL */
5852 .subvendor = 0x17de,
5853 .subdevice = 0x7350,
5854 .driver_data = SAA7134_BOARD_KWORLD_ATSC110,
5856 .vendor = PCI_VENDOR_ID_PHILIPS,
5857 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA7135HL */
5858 .subvendor = 0x17de,
5859 .subdevice = 0x7352,
5860 .driver_data = SAA7134_BOARD_KWORLD_ATSC110, /* ATSC 115 */
5862 .vendor = PCI_VENDOR_ID_PHILIPS,
5863 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5864 .subvendor = 0x1461,
5865 .subdevice = 0x7360,
5866 .driver_data = SAA7134_BOARD_AVERMEDIA_A169_B,
5868 .vendor = PCI_VENDOR_ID_PHILIPS,
5869 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5870 .subvendor = 0x1461,
5871 .subdevice = 0x6360,
5872 .driver_data = SAA7134_BOARD_AVERMEDIA_A169_B1,
5874 .vendor = PCI_VENDOR_ID_PHILIPS,
5875 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5876 .subvendor = 0x16be,
5877 .subdevice = 0x0005,
5878 .driver_data = SAA7134_BOARD_MD7134_BRIDGE_2,
5880 .vendor = PCI_VENDOR_ID_PHILIPS,
5881 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5882 .subvendor = 0x5168,
5883 .subdevice = 0x0300,
5884 .driver_data = SAA7134_BOARD_FLYDVBS_LR300,
5886 .vendor = PCI_VENDOR_ID_PHILIPS,
5887 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5888 .subvendor = 0x4e42,
5889 .subdevice = 0x0300,/* LR300 */
5890 .driver_data = SAA7134_BOARD_FLYDVBS_LR300,
5892 .vendor = PCI_VENDOR_ID_PHILIPS,
5893 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5894 .subvendor = 0x1489,
5895 .subdevice = 0x0301,
5896 .driver_data = SAA7134_BOARD_FLYDVBT_LR301,
5898 .vendor = PCI_VENDOR_ID_PHILIPS,
5899 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5900 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
5901 .subdevice = 0x0304,
5902 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
5904 .vendor = PCI_VENDOR_ID_PHILIPS,
5905 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5906 .subvendor = 0x5168,
5907 .subdevice = 0x3306,
5908 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
5910 .vendor = PCI_VENDOR_ID_PHILIPS,
5911 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5912 .subvendor = 0x5168,
5913 .subdevice = 0x3502, /* whats the difference to 0x3306 ?*/
5914 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
5916 .vendor = PCI_VENDOR_ID_PHILIPS,
5917 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5918 .subvendor = 0x5168,
5919 .subdevice = 0x3307, /* FlyDVB-T Hybrid Mini PCI */
5920 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
5921 }, {
5922 .vendor = PCI_VENDOR_ID_PHILIPS,
5923 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5924 .subvendor = 0x16be,
5925 .subdevice = 0x0007,
5926 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
5928 .vendor = PCI_VENDOR_ID_PHILIPS,
5929 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5930 .subvendor = 0x16be,
5931 .subdevice = 0x0008,
5932 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
5934 .vendor = PCI_VENDOR_ID_PHILIPS,
5935 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5936 .subvendor = 0x16be,
5937 .subdevice = 0x000d, /* triple CTX948_V1.1.1 */
5938 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
5939 }, {
5940 .vendor = PCI_VENDOR_ID_PHILIPS,
5941 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5942 .subvendor = 0x1461,
5943 .subdevice = 0x2c05,
5944 .driver_data = SAA7134_BOARD_AVERMEDIA_777,
5946 .vendor = PCI_VENDOR_ID_PHILIPS,
5947 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5948 .subvendor = 0x1489,
5949 .subdevice = 0x0502, /* Cardbus version */
5950 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
5952 .vendor = PCI_VENDOR_ID_PHILIPS,
5953 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5954 .subvendor = 0x0919, /* Philips Proteus PRO 2309 */
5955 .subdevice = 0x2003,
5956 .driver_data = SAA7134_BOARD_PROTEUS_2309,
5958 .vendor = PCI_VENDOR_ID_PHILIPS,
5959 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5960 .subvendor = 0x1461,
5961 .subdevice = 0x2c00,
5962 .driver_data = SAA7134_BOARD_AVERMEDIA_A16AR,
5964 .vendor = PCI_VENDOR_ID_PHILIPS,
5965 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5966 .subvendor = 0x1043,
5967 .subdevice = 0x4860,
5968 .driver_data = SAA7134_BOARD_ASUS_EUROPA2_HYBRID,
5970 .vendor = PCI_VENDOR_ID_PHILIPS,
5971 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5972 .subvendor = 0x11bd,
5973 .subdevice = 0x002f,
5974 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_310i,
5976 .vendor = PCI_VENDOR_ID_PHILIPS,
5977 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5978 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5979 .subdevice = 0x9715,
5980 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_507,
5982 .vendor = PCI_VENDOR_ID_PHILIPS,
5983 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5984 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5985 .subdevice = 0xa11b,
5986 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_507UA,
5987 }, {
5988 .vendor = PCI_VENDOR_ID_PHILIPS,
5989 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5990 .subvendor = 0x1043,
5991 .subdevice = 0x4876,
5992 .driver_data = SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA,
5994 .vendor = PCI_VENDOR_ID_PHILIPS,
5995 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5996 .subvendor = 0x0070,
5997 .subdevice = 0x6700,
5998 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
6000 .vendor = PCI_VENDOR_ID_PHILIPS,
6001 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6002 .subvendor = 0x0070,
6003 .subdevice = 0x6701,
6004 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
6006 .vendor = PCI_VENDOR_ID_PHILIPS,
6007 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6008 .subvendor = 0x0070,
6009 .subdevice = 0x6702,
6010 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
6012 .vendor = PCI_VENDOR_ID_PHILIPS,
6013 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6014 .subvendor = 0x0070,
6015 .subdevice = 0x6703,
6016 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
6018 .vendor = PCI_VENDOR_ID_PHILIPS,
6019 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6020 .subvendor = 0x0070,
6021 .subdevice = 0x6704,
6022 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
6024 .vendor = PCI_VENDOR_ID_PHILIPS,
6025 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6026 .subvendor = 0x0070,
6027 .subdevice = 0x6705,
6028 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
6030 .vendor = PCI_VENDOR_ID_PHILIPS,
6031 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6032 .subvendor = 0x0070,
6033 .subdevice = 0x6706,
6034 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1150,
6036 .vendor = PCI_VENDOR_ID_PHILIPS,
6037 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6038 .subvendor = 0x0070,
6039 .subdevice = 0x6707,
6040 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1120,
6042 .vendor = PCI_VENDOR_ID_PHILIPS,
6043 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6044 .subvendor = 0x0070,
6045 .subdevice = 0x6708,
6046 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1150,
6048 .vendor = PCI_VENDOR_ID_PHILIPS,
6049 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6050 .subvendor = 0x0070,
6051 .subdevice = 0x6709,
6052 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1120,
6054 .vendor = PCI_VENDOR_ID_PHILIPS,
6055 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6056 .subvendor = 0x0070,
6057 .subdevice = 0x670a,
6058 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1120,
6060 .vendor = PCI_VENDOR_ID_PHILIPS,
6061 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6062 .subvendor = 0x153b,
6063 .subdevice = 0x1172,
6064 .driver_data = SAA7134_BOARD_CINERGY_HT_PCMCIA,
6066 .vendor = PCI_VENDOR_ID_PHILIPS,
6067 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6068 .subvendor = PCI_VENDOR_ID_PHILIPS,
6069 .subdevice = 0x2342,
6070 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
6072 .vendor = PCI_VENDOR_ID_PHILIPS,
6073 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6074 .subvendor = 0x1131,
6075 .subdevice = 0x2341,
6076 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
6078 .vendor = PCI_VENDOR_ID_PHILIPS,
6079 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6080 .subvendor = 0x3016,
6081 .subdevice = 0x2344,
6082 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
6084 .vendor = PCI_VENDOR_ID_PHILIPS,
6085 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6086 .subvendor = 0x1131,
6087 .subdevice = 0x230f,
6088 .driver_data = SAA7134_BOARD_ENCORE_ENLTV_FM,
6090 .vendor = PCI_VENDOR_ID_PHILIPS,
6091 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6092 .subvendor = 0x1a7f,
6093 .subdevice = 0x2008,
6094 .driver_data = SAA7134_BOARD_ENCORE_ENLTV_FM53,
6095 }, {
6096 .vendor = PCI_VENDOR_ID_PHILIPS,
6097 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6098 .subvendor = 0x153b,
6099 .subdevice = 0x1175,
6100 .driver_data = SAA7134_BOARD_CINERGY_HT_PCI,
6102 .vendor = PCI_VENDOR_ID_PHILIPS,
6103 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6104 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6105 .subdevice = 0xf31e,
6106 .driver_data = SAA7134_BOARD_AVERMEDIA_M102,
6108 .vendor = PCI_VENDOR_ID_PHILIPS,
6109 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6110 .subvendor = 0x4E42, /* MSI */
6111 .subdevice = 0x0306, /* TV@nywhere DUO */
6112 .driver_data = SAA7134_BOARD_FLYDVBTDUO,
6114 .vendor = PCI_VENDOR_ID_PHILIPS,
6115 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6116 .subvendor = 0x1043,
6117 .subdevice = 0x4871,
6118 .driver_data = SAA7134_BOARD_ASUS_P7131_4871,
6120 .vendor = PCI_VENDOR_ID_PHILIPS,
6121 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6122 .subvendor = 0x1043,
6123 .subdevice = 0x4857, /* REV:1.00 */
6124 .driver_data = SAA7134_BOARD_ASUSTeK_TIGER,
6126 .vendor = PCI_VENDOR_ID_PHILIPS,
6127 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6128 .subvendor = 0x0919, /* SinoVideo PCI 2309 Proteus (7134) */
6129 .subdevice = 0x2003, /* OEM cardbus */
6130 .driver_data = SAA7134_BOARD_SABRENT_TV_PCB05,
6132 .vendor = PCI_VENDOR_ID_PHILIPS,
6133 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6134 .subvendor = PCI_VENDOR_ID_PHILIPS,
6135 .subdevice = 0x2304,
6136 .driver_data = SAA7134_BOARD_10MOONSTVMASTER3,
6138 .vendor = PCI_VENDOR_ID_PHILIPS,
6139 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6140 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6141 .subdevice = 0xf01d, /* AVerTV DVB-T Super 007 */
6142 .driver_data = SAA7134_BOARD_AVERMEDIA_SUPER_007,
6144 .vendor = PCI_VENDOR_ID_PHILIPS,
6145 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6146 .subvendor = 0x0000,
6147 .subdevice = 0x4016,
6148 .driver_data = SAA7134_BOARD_BEHOLD_401,
6150 .vendor = PCI_VENDOR_ID_PHILIPS,
6151 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6152 .subvendor = 0x0000,
6153 .subdevice = 0x4036,
6154 .driver_data = SAA7134_BOARD_BEHOLD_403,
6156 .vendor = PCI_VENDOR_ID_PHILIPS,
6157 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6158 .subvendor = 0x0000,
6159 .subdevice = 0x4037,
6160 .driver_data = SAA7134_BOARD_BEHOLD_403FM,
6162 .vendor = PCI_VENDOR_ID_PHILIPS,
6163 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6164 .subvendor = 0x0000,
6165 .subdevice = 0x4050,
6166 .driver_data = SAA7134_BOARD_BEHOLD_405,
6168 .vendor = PCI_VENDOR_ID_PHILIPS,
6169 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6170 .subvendor = 0x0000,
6171 .subdevice = 0x4051,
6172 .driver_data = SAA7134_BOARD_BEHOLD_405FM,
6174 .vendor = PCI_VENDOR_ID_PHILIPS,
6175 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6176 .subvendor = 0x0000,
6177 .subdevice = 0x4070,
6178 .driver_data = SAA7134_BOARD_BEHOLD_407,
6180 .vendor = PCI_VENDOR_ID_PHILIPS,
6181 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6182 .subvendor = 0x0000,
6183 .subdevice = 0x4071,
6184 .driver_data = SAA7134_BOARD_BEHOLD_407FM,
6186 .vendor = PCI_VENDOR_ID_PHILIPS,
6187 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6188 .subvendor = 0x0000,
6189 .subdevice = 0x4090,
6190 .driver_data = SAA7134_BOARD_BEHOLD_409,
6192 .vendor = PCI_VENDOR_ID_PHILIPS,
6193 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6194 .subvendor = 0x0000,
6195 .subdevice = 0x505B,
6196 .driver_data = SAA7134_BOARD_BEHOLD_505RDS,
6198 .vendor = PCI_VENDOR_ID_PHILIPS,
6199 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6200 .subvendor = 0x5ace,
6201 .subdevice = 0x5050,
6202 .driver_data = SAA7134_BOARD_BEHOLD_505FM,
6204 .vendor = PCI_VENDOR_ID_PHILIPS,
6205 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6206 .subvendor = 0x0000,
6207 .subdevice = 0x5071,
6208 .driver_data = SAA7134_BOARD_BEHOLD_507RDS_MK3,
6210 .vendor = PCI_VENDOR_ID_PHILIPS,
6211 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6212 .subvendor = 0x0000,
6213 .subdevice = 0x507B,
6214 .driver_data = SAA7134_BOARD_BEHOLD_507RDS_MK5,
6216 .vendor = PCI_VENDOR_ID_PHILIPS,
6217 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6218 .subvendor = 0x5ace,
6219 .subdevice = 0x5070,
6220 .driver_data = SAA7134_BOARD_BEHOLD_507_9FM,
6222 .vendor = PCI_VENDOR_ID_PHILIPS,
6223 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6224 .subvendor = 0x5ace,
6225 .subdevice = 0x5090,
6226 .driver_data = SAA7134_BOARD_BEHOLD_507_9FM,
6228 .vendor = PCI_VENDOR_ID_PHILIPS,
6229 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6230 .subvendor = 0x0000,
6231 .subdevice = 0x5201,
6232 .driver_data = SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM,
6234 .vendor = PCI_VENDOR_ID_PHILIPS,
6235 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6236 .subvendor = 0x5ace,
6237 .subdevice = 0x6070,
6238 .driver_data = SAA7134_BOARD_BEHOLD_607FM_MK3,
6240 .vendor = PCI_VENDOR_ID_PHILIPS,
6241 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6242 .subvendor = 0x5ace,
6243 .subdevice = 0x6071,
6244 .driver_data = SAA7134_BOARD_BEHOLD_607FM_MK5,
6246 .vendor = PCI_VENDOR_ID_PHILIPS,
6247 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6248 .subvendor = 0x5ace,
6249 .subdevice = 0x6072,
6250 .driver_data = SAA7134_BOARD_BEHOLD_607RDS_MK3,
6252 .vendor = PCI_VENDOR_ID_PHILIPS,
6253 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6254 .subvendor = 0x5ace,
6255 .subdevice = 0x6073,
6256 .driver_data = SAA7134_BOARD_BEHOLD_607RDS_MK5,
6258 .vendor = PCI_VENDOR_ID_PHILIPS,
6259 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6260 .subvendor = 0x5ace,
6261 .subdevice = 0x6090,
6262 .driver_data = SAA7134_BOARD_BEHOLD_609FM_MK3,
6264 .vendor = PCI_VENDOR_ID_PHILIPS,
6265 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6266 .subvendor = 0x5ace,
6267 .subdevice = 0x6091,
6268 .driver_data = SAA7134_BOARD_BEHOLD_609FM_MK5,
6270 .vendor = PCI_VENDOR_ID_PHILIPS,
6271 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6272 .subvendor = 0x5ace,
6273 .subdevice = 0x6092,
6274 .driver_data = SAA7134_BOARD_BEHOLD_609RDS_MK3,
6276 .vendor = PCI_VENDOR_ID_PHILIPS,
6277 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6278 .subvendor = 0x5ace,
6279 .subdevice = 0x6093,
6280 .driver_data = SAA7134_BOARD_BEHOLD_609RDS_MK5,
6282 .vendor = PCI_VENDOR_ID_PHILIPS,
6283 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6284 .subvendor = 0x5ace,
6285 .subdevice = 0x6190,
6286 .driver_data = SAA7134_BOARD_BEHOLD_M6,
6288 .vendor = PCI_VENDOR_ID_PHILIPS,
6289 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6290 .subvendor = 0x5ace,
6291 .subdevice = 0x6193,
6292 .driver_data = SAA7134_BOARD_BEHOLD_M6_EXTRA,
6293 }, {
6294 .vendor = PCI_VENDOR_ID_PHILIPS,
6295 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6296 .subvendor = 0x5ace,
6297 .subdevice = 0x6191,
6298 .driver_data = SAA7134_BOARD_BEHOLD_M63,
6300 .vendor = PCI_VENDOR_ID_PHILIPS,
6301 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6302 .subvendor = 0x4e42,
6303 .subdevice = 0x3502,
6304 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
6305 }, {
6306 .vendor = PCI_VENDOR_ID_PHILIPS,
6307 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6308 .subvendor = 0x1822, /*Twinhan Technology Co. Ltd*/
6309 .subdevice = 0x0022,
6310 .driver_data = SAA7134_BOARD_TWINHAN_DTV_DVB_3056,
6311 }, {
6312 .vendor = PCI_VENDOR_ID_PHILIPS,
6313 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6314 .subvendor = 0x16be,
6315 .subdevice = 0x0010, /* Medion version CTX953_V.1.4.3 */
6316 .driver_data = SAA7134_BOARD_CREATIX_CTX953,
6317 }, {
6318 .vendor = PCI_VENDOR_ID_PHILIPS,
6319 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6320 .subvendor = 0x1462, /* MSI */
6321 .subdevice = 0x8625, /* TV@nywhere A/D v1.1 */
6322 .driver_data = SAA7134_BOARD_MSI_TVANYWHERE_AD11,
6324 .vendor = PCI_VENDOR_ID_PHILIPS,
6325 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6326 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6327 .subdevice = 0xf436,
6328 .driver_data = SAA7134_BOARD_AVERMEDIA_CARDBUS_506,
6329 }, {
6330 .vendor = PCI_VENDOR_ID_PHILIPS,
6331 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6332 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6333 .subdevice = 0xf936,
6334 .driver_data = SAA7134_BOARD_AVERMEDIA_A16D,
6335 }, {
6336 .vendor = PCI_VENDOR_ID_PHILIPS,
6337 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6338 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6339 .subdevice = 0xa836,
6340 .driver_data = SAA7134_BOARD_AVERMEDIA_M115,
6341 }, {
6342 .vendor = PCI_VENDOR_ID_PHILIPS,
6343 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6344 .subvendor = 0x185b,
6345 .subdevice = 0xc900,
6346 .driver_data = SAA7134_BOARD_VIDEOMATE_T750,
6347 }, {
6348 .vendor = PCI_VENDOR_ID_PHILIPS,
6349 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA7135HL */
6350 .subvendor = 0x1421,
6351 .subdevice = 0x0380,
6352 .driver_data = SAA7134_BOARD_ADS_INSTANT_HDTV_PCI,
6353 }, {
6354 .vendor = PCI_VENDOR_ID_PHILIPS,
6355 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6356 .subvendor = 0x5169,
6357 .subdevice = 0x1502,
6358 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
6359 }, {
6360 .vendor = PCI_VENDOR_ID_PHILIPS,
6361 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6362 .subvendor = 0x5ace,
6363 .subdevice = 0x6290,
6364 .driver_data = SAA7134_BOARD_BEHOLD_H6,
6365 }, {
6366 .vendor = PCI_VENDOR_ID_PHILIPS,
6367 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6368 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6369 .subdevice = 0xf636,
6370 .driver_data = SAA7134_BOARD_AVERMEDIA_M103,
6371 }, {
6372 .vendor = PCI_VENDOR_ID_PHILIPS,
6373 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6374 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6375 .subdevice = 0xf736,
6376 .driver_data = SAA7134_BOARD_AVERMEDIA_M103,
6377 }, {
6378 .vendor = PCI_VENDOR_ID_PHILIPS,
6379 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6380 .subvendor = 0x1043,
6381 .subdevice = 0x4878, /* REV:1.02G */
6382 .driver_data = SAA7134_BOARD_ASUSTeK_TIGER_3IN1,
6383 }, {
6384 .vendor = PCI_VENDOR_ID_PHILIPS,
6385 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6386 .subvendor = 0x17de,
6387 .subdevice = 0x7128,
6388 .driver_data = SAA7134_BOARD_KWORLD_PLUS_TV_ANALOG,
6389 }, {
6390 .vendor = PCI_VENDOR_ID_PHILIPS,
6391 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6392 .subvendor = 0x1461, /* Avermedia Technologies Inc */
6393 .subdevice = 0xf31d,
6394 .driver_data = SAA7134_BOARD_AVERMEDIA_GO_007_FM_PLUS,
6395 }, {
6396 .vendor = PCI_VENDOR_ID_PHILIPS,
6397 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6398 .subvendor = 0x185b,
6399 .subdevice = 0xc900,
6400 .driver_data = SAA7134_BOARD_VIDEOMATE_S350,
6401 }, {
6402 .vendor = PCI_VENDOR_ID_PHILIPS,
6403 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6404 .subvendor = 0x5ace, /* Beholder Intl. Ltd. */
6405 .subdevice = 0x7595,
6406 .driver_data = SAA7134_BOARD_BEHOLD_X7,
6407 }, {
6408 .vendor = PCI_VENDOR_ID_PHILIPS,
6409 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6410 .subvendor = 0x19d1, /* RoverMedia */
6411 .subdevice = 0x0138, /* LifeView FlyTV Prime30 OEM */
6412 .driver_data = SAA7134_BOARD_ROVERMEDIA_LINK_PRO_FM,
6413 }, {
6414 .vendor = PCI_VENDOR_ID_PHILIPS,
6415 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6416 .subvendor = PCI_VENDOR_ID_PHILIPS,
6417 .subdevice = 0x2004,
6418 .driver_data = SAA7134_BOARD_ZOLID_HYBRID_PCI,
6419 }, {
6420 /* --- boards without eeprom + subsystem ID --- */
6421 .vendor = PCI_VENDOR_ID_PHILIPS,
6422 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6423 .subvendor = PCI_VENDOR_ID_PHILIPS,
6424 .subdevice = 0,
6425 .driver_data = SAA7134_BOARD_NOAUTO,
6427 .vendor = PCI_VENDOR_ID_PHILIPS,
6428 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6429 .subvendor = PCI_VENDOR_ID_PHILIPS,
6430 .subdevice = 0,
6431 .driver_data = SAA7134_BOARD_NOAUTO,
6433 /* --- default catch --- */
6434 .vendor = PCI_VENDOR_ID_PHILIPS,
6435 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
6436 .subvendor = PCI_ANY_ID,
6437 .subdevice = PCI_ANY_ID,
6438 .driver_data = SAA7134_BOARD_UNKNOWN,
6440 .vendor = PCI_VENDOR_ID_PHILIPS,
6441 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
6442 .subvendor = PCI_ANY_ID,
6443 .subdevice = PCI_ANY_ID,
6444 .driver_data = SAA7134_BOARD_UNKNOWN,
6446 .vendor = PCI_VENDOR_ID_PHILIPS,
6447 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
6448 .subvendor = PCI_ANY_ID,
6449 .subdevice = PCI_ANY_ID,
6450 .driver_data = SAA7134_BOARD_UNKNOWN,
6452 .vendor = PCI_VENDOR_ID_PHILIPS,
6453 .device = PCI_DEVICE_ID_PHILIPS_SAA7135,
6454 .subvendor = PCI_ANY_ID,
6455 .subdevice = PCI_ANY_ID,
6456 .driver_data = SAA7134_BOARD_UNKNOWN,
6458 /* --- end of list --- */
6461 MODULE_DEVICE_TABLE(pci, saa7134_pci_tbl);
6463 /* ----------------------------------------------------------- */
6464 /* flyvideo tweaks */
6467 static void board_flyvideo(struct saa7134_dev *dev)
6469 printk("%s: there are different flyvideo cards with different tuners\n"
6470 "%s: out there, you might have to use the tuner=<nr> insmod\n"
6471 "%s: option to override the default value.\n",
6472 dev->name, dev->name, dev->name);
6475 static int saa7134_xc2028_callback(struct saa7134_dev *dev,
6476 int command, int arg)
6478 switch (command) {
6479 case XC2028_TUNER_RESET:
6480 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00008000, 0x00000000);
6481 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00008000, 0x00008000);
6482 switch (dev->board) {
6483 case SAA7134_BOARD_AVERMEDIA_CARDBUS_506:
6484 case SAA7134_BOARD_AVERMEDIA_M103:
6485 saa7134_set_gpio(dev, 23, 0);
6486 msleep(10);
6487 saa7134_set_gpio(dev, 23, 1);
6488 break;
6489 case SAA7134_BOARD_AVERMEDIA_A16D:
6490 saa7134_set_gpio(dev, 21, 0);
6491 msleep(10);
6492 saa7134_set_gpio(dev, 21, 1);
6493 break;
6494 case SAA7134_BOARD_AVERMEDIA_A700_HYBRID:
6495 saa7134_set_gpio(dev, 18, 0);
6496 msleep(10);
6497 saa7134_set_gpio(dev, 18, 1);
6498 break;
6500 return 0;
6502 return -EINVAL;
6505 static int saa7134_xc5000_callback(struct saa7134_dev *dev,
6506 int command, int arg)
6508 switch (dev->board) {
6509 case SAA7134_BOARD_BEHOLD_X7:
6510 if (command == XC5000_TUNER_RESET) {
6511 /* Down and UP pheripherial RESET pin for reset all chips */
6512 saa_writeb(SAA7134_SPECIAL_MODE, 0x00);
6513 msleep(10);
6514 saa_writeb(SAA7134_SPECIAL_MODE, 0x01);
6515 msleep(10);
6517 break;
6518 default:
6519 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x06e20000, 0x06e20000);
6520 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x06a20000, 0x06a20000);
6521 saa_andorl(SAA7133_ANALOG_IO_SELECT >> 2, 0x02, 0x02);
6522 saa_andorl(SAA7134_ANALOG_IN_CTRL1 >> 2, 0x81, 0x81);
6523 saa_andorl(SAA7134_AUDIO_CLOCK0 >> 2, 0x03187de7, 0x03187de7);
6524 saa_andorl(SAA7134_AUDIO_PLL_CTRL >> 2, 0x03, 0x03);
6525 saa_andorl(SAA7134_AUDIO_CLOCKS_PER_FIELD0 >> 2,
6526 0x0001e000, 0x0001e000);
6527 break;
6529 return 0;
6532 static int saa7134_tda8290_827x_callback(struct saa7134_dev *dev,
6533 int command, int arg)
6535 u8 sync_control;
6537 switch (command) {
6538 case 0: /* switch LNA gain through GPIO 22*/
6539 saa7134_set_gpio(dev, 22, arg) ;
6540 break;
6541 case 1: /* vsync output at GPIO22. 50 / 60Hz */
6542 saa_andorb(SAA7134_VIDEO_PORT_CTRL3, 0x80, 0x80);
6543 saa_andorb(SAA7134_VIDEO_PORT_CTRL6, 0x0f, 0x03);
6544 if (arg == 1)
6545 sync_control = 11;
6546 else
6547 sync_control = 17;
6548 saa_writeb(SAA7134_VGATE_START, sync_control);
6549 saa_writeb(SAA7134_VGATE_STOP, sync_control + 1);
6550 saa_andorb(SAA7134_MISC_VGATE_MSB, 0x03, 0x00);
6551 break;
6552 default:
6553 return -EINVAL;
6556 return 0;
6559 static inline int saa7134_tda18271_hvr11x0_toggle_agc(struct saa7134_dev *dev,
6560 enum tda18271_mode mode)
6562 /* toggle AGC switch through GPIO 26 */
6563 switch (mode) {
6564 case TDA18271_ANALOG:
6565 saa7134_set_gpio(dev, 26, 0);
6566 break;
6567 case TDA18271_DIGITAL:
6568 saa7134_set_gpio(dev, 26, 1);
6569 break;
6570 default:
6571 return -EINVAL;
6573 return 0;
6576 static int saa7134_tda8290_18271_callback(struct saa7134_dev *dev,
6577 int command, int arg)
6579 int ret = 0;
6581 switch (command) {
6582 case TDA18271_CALLBACK_CMD_AGC_ENABLE: /* 0 */
6583 switch (dev->board) {
6584 case SAA7134_BOARD_HAUPPAUGE_HVR1150:
6585 case SAA7134_BOARD_HAUPPAUGE_HVR1120:
6586 ret = saa7134_tda18271_hvr11x0_toggle_agc(dev, arg);
6587 break;
6588 default:
6589 break;
6591 break;
6592 default:
6593 ret = -EINVAL;
6594 break;
6596 return ret;
6599 static int saa7134_tda8290_callback(struct saa7134_dev *dev,
6600 int command, int arg)
6602 int ret;
6604 switch (dev->board) {
6605 case SAA7134_BOARD_HAUPPAUGE_HVR1150:
6606 case SAA7134_BOARD_HAUPPAUGE_HVR1120:
6607 /* tda8290 + tda18271 */
6608 ret = saa7134_tda8290_18271_callback(dev, command, arg);
6609 break;
6610 default:
6611 /* tda8290 + tda827x */
6612 ret = saa7134_tda8290_827x_callback(dev, command, arg);
6613 break;
6615 return ret;
6618 int saa7134_tuner_callback(void *priv, int component, int command, int arg)
6620 struct saa7134_dev *dev = priv;
6621 if (dev != NULL) {
6622 switch (dev->tuner_type) {
6623 case TUNER_PHILIPS_TDA8290:
6624 return saa7134_tda8290_callback(dev, command, arg);
6625 case TUNER_XC2028:
6626 return saa7134_xc2028_callback(dev, command, arg);
6627 case TUNER_XC5000:
6628 return saa7134_xc5000_callback(dev, command, arg);
6630 } else {
6631 printk(KERN_ERR "saa7134: Error - device struct undefined.\n");
6632 return -EINVAL;
6634 return -EINVAL;
6636 EXPORT_SYMBOL(saa7134_tuner_callback);
6638 /* ----------------------------------------------------------- */
6640 static void hauppauge_eeprom(struct saa7134_dev *dev, u8 *eeprom_data)
6642 struct tveeprom tv;
6644 tveeprom_hauppauge_analog(&dev->i2c_client, &tv, eeprom_data);
6646 /* Make sure we support the board model */
6647 switch (tv.model) {
6648 case 67019: /* WinTV-HVR1110 (Retail, IR Blaster, hybrid, FM, SVid/Comp, 3.5mm audio in) */
6649 case 67109: /* WinTV-HVR1000 (Retail, IR Receive, analog, no FM, SVid/Comp, 3.5mm audio in) */
6650 case 67201: /* WinTV-HVR1150 (Retail, IR Receive, hybrid, FM, SVid/Comp, 3.5mm audio in) */
6651 case 67301: /* WinTV-HVR1000 (Retail, IR Receive, analog, no FM, SVid/Comp, 3.5mm audio in) */
6652 case 67209: /* WinTV-HVR1110 (Retail, IR Receive, hybrid, FM, SVid/Comp, 3.5mm audio in) */
6653 case 67559: /* WinTV-HVR1110 (OEM, no IR, hybrid, FM, SVid/Comp, RCA aud) */
6654 case 67569: /* WinTV-HVR1110 (OEM, no IR, hybrid, FM) */
6655 case 67579: /* WinTV-HVR1110 (OEM, no IR, hybrid, no FM) */
6656 case 67589: /* WinTV-HVR1110 (OEM, no IR, hybrid, no FM, SVid/Comp, RCA aud) */
6657 case 67599: /* WinTV-HVR1110 (OEM, no IR, hybrid, no FM, SVid/Comp, RCA aud) */
6658 case 67651: /* WinTV-HVR1150 (OEM, no IR, hybrid, FM, SVid/Comp, RCA aud) */
6659 case 67659: /* WinTV-HVR1110 (OEM, no IR, hybrid, FM, SVid/Comp, RCA aud) */
6660 break;
6661 default:
6662 printk(KERN_WARNING "%s: warning: "
6663 "unknown hauppauge model #%d\n", dev->name, tv.model);
6664 break;
6667 printk(KERN_INFO "%s: hauppauge eeprom: model=%d\n",
6668 dev->name, tv.model);
6671 /* ----------------------------------------------------------- */
6673 int saa7134_board_init1(struct saa7134_dev *dev)
6675 /* Always print gpio, often manufacturers encode tuner type and other info. */
6676 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0);
6677 dev->gpio_value = saa_readl(SAA7134_GPIO_GPSTATUS0 >> 2);
6678 printk(KERN_INFO "%s: board init: gpio is %x\n", dev->name, dev->gpio_value);
6680 switch (dev->board) {
6681 case SAA7134_BOARD_FLYVIDEO2000:
6682 case SAA7134_BOARD_FLYVIDEO3000:
6683 case SAA7134_BOARD_FLYVIDEO3000_NTSC:
6684 dev->has_remote = SAA7134_REMOTE_GPIO;
6685 board_flyvideo(dev);
6686 break;
6687 case SAA7134_BOARD_FLYTVPLATINUM_MINI2:
6688 case SAA7134_BOARD_FLYTVPLATINUM_FM:
6689 case SAA7134_BOARD_CINERGY400:
6690 case SAA7134_BOARD_CINERGY600:
6691 case SAA7134_BOARD_CINERGY600_MK3:
6692 case SAA7134_BOARD_ECS_TVP3XP:
6693 case SAA7134_BOARD_ECS_TVP3XP_4CB5:
6694 case SAA7134_BOARD_ECS_TVP3XP_4CB6:
6695 case SAA7134_BOARD_MD2819:
6696 case SAA7134_BOARD_KWORLD_VSTREAM_XPERT:
6697 case SAA7134_BOARD_KWORLD_XPERT:
6698 case SAA7134_BOARD_AVERMEDIA_STUDIO_305:
6699 case SAA7134_BOARD_AVERMEDIA_STUDIO_505:
6700 case SAA7134_BOARD_AVERMEDIA_305:
6701 case SAA7134_BOARD_AVERMEDIA_STUDIO_307:
6702 case SAA7134_BOARD_AVERMEDIA_307:
6703 case SAA7134_BOARD_AVERMEDIA_STUDIO_507:
6704 case SAA7134_BOARD_AVERMEDIA_GO_007_FM:
6705 case SAA7134_BOARD_AVERMEDIA_777:
6706 case SAA7134_BOARD_AVERMEDIA_M135A:
6707 /* case SAA7134_BOARD_SABRENT_SBTTVFM: */ /* not finished yet */
6708 case SAA7134_BOARD_VIDEOMATE_TV_PVR:
6709 case SAA7134_BOARD_VIDEOMATE_GOLD_PLUS:
6710 case SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII:
6711 case SAA7134_BOARD_VIDEOMATE_DVBT_300:
6712 case SAA7134_BOARD_VIDEOMATE_DVBT_200:
6713 case SAA7134_BOARD_VIDEOMATE_DVBT_200A:
6714 case SAA7134_BOARD_MANLI_MTV001:
6715 case SAA7134_BOARD_MANLI_MTV002:
6716 case SAA7134_BOARD_BEHOLD_409FM:
6717 case SAA7134_BOARD_AVACSSMARTTV:
6718 case SAA7134_BOARD_GOTVIEW_7135:
6719 case SAA7134_BOARD_KWORLD_TERMINATOR:
6720 case SAA7134_BOARD_SEDNA_PC_TV_CARDBUS:
6721 case SAA7134_BOARD_FLYDVBT_LR301:
6722 case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
6723 case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA:
6724 case SAA7134_BOARD_ASUSTeK_P7131_ANALOG:
6725 case SAA7134_BOARD_FLYDVBTDUO:
6726 case SAA7134_BOARD_PROTEUS_2309:
6727 case SAA7134_BOARD_AVERMEDIA_A16AR:
6728 case SAA7134_BOARD_ENCORE_ENLTV:
6729 case SAA7134_BOARD_ENCORE_ENLTV_FM:
6730 case SAA7134_BOARD_ENCORE_ENLTV_FM53:
6731 case SAA7134_BOARD_10MOONSTVMASTER3:
6732 case SAA7134_BOARD_BEHOLD_401:
6733 case SAA7134_BOARD_BEHOLD_403:
6734 case SAA7134_BOARD_BEHOLD_403FM:
6735 case SAA7134_BOARD_BEHOLD_405:
6736 case SAA7134_BOARD_BEHOLD_405FM:
6737 case SAA7134_BOARD_BEHOLD_407:
6738 case SAA7134_BOARD_BEHOLD_407FM:
6739 case SAA7134_BOARD_BEHOLD_409:
6740 case SAA7134_BOARD_BEHOLD_505FM:
6741 case SAA7134_BOARD_BEHOLD_505RDS:
6742 case SAA7134_BOARD_BEHOLD_507_9FM:
6743 case SAA7134_BOARD_BEHOLD_507RDS_MK3:
6744 case SAA7134_BOARD_BEHOLD_507RDS_MK5:
6745 case SAA7134_BOARD_GENIUS_TVGO_A11MCE:
6746 case SAA7134_BOARD_REAL_ANGEL_220:
6747 case SAA7134_BOARD_KWORLD_PLUS_TV_ANALOG:
6748 case SAA7134_BOARD_AVERMEDIA_GO_007_FM_PLUS:
6749 case SAA7134_BOARD_ROVERMEDIA_LINK_PRO_FM:
6750 dev->has_remote = SAA7134_REMOTE_GPIO;
6751 break;
6752 case SAA7134_BOARD_FLYDVBS_LR300:
6753 saa_writeb(SAA7134_GPIO_GPMODE3, 0x80);
6754 saa_writeb(SAA7134_GPIO_GPSTATUS2, 0x40);
6755 dev->has_remote = SAA7134_REMOTE_GPIO;
6756 break;
6757 case SAA7134_BOARD_MD5044:
6758 printk("%s: seems there are two different versions of the MD5044\n"
6759 "%s: (with the same ID) out there. If sound doesn't work for\n"
6760 "%s: you try the audio_clock_override=0x200000 insmod option.\n",
6761 dev->name,dev->name,dev->name);
6762 break;
6763 case SAA7134_BOARD_CINERGY400_CARDBUS:
6764 /* power-up tuner chip */
6765 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000);
6766 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000000);
6767 break;
6768 case SAA7134_BOARD_PINNACLE_300I_DVBT_PAL:
6769 /* this turns the remote control chip off to work around a bug in it */
6770 saa_writeb(SAA7134_GPIO_GPMODE1, 0x80);
6771 saa_writeb(SAA7134_GPIO_GPSTATUS1, 0x80);
6772 break;
6773 case SAA7134_BOARD_MONSTERTV_MOBILE:
6774 /* power-up tuner chip */
6775 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000);
6776 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000004);
6777 break;
6778 case SAA7134_BOARD_FLYDVBT_DUO_CARDBUS:
6779 /* turn the fan on */
6780 saa_writeb(SAA7134_GPIO_GPMODE3, 0x08);
6781 saa_writeb(SAA7134_GPIO_GPSTATUS3, 0x06);
6782 break;
6783 case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331:
6784 case SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS:
6785 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x08000000, 0x08000000);
6786 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x08000000, 0x00000000);
6787 break;
6788 case SAA7134_BOARD_AVERMEDIA_CARDBUS:
6789 case SAA7134_BOARD_AVERMEDIA_M115:
6790 /* power-down tuner chip */
6791 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0xffffffff, 0);
6792 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0);
6793 msleep(10);
6794 /* power-up tuner chip */
6795 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0xffffffff, 0xffffffff);
6796 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0xffffffff);
6797 msleep(10);
6798 break;
6799 case SAA7134_BOARD_AVERMEDIA_CARDBUS_501:
6800 /* power-down tuner chip */
6801 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x08400000, 0x08400000);
6802 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x08400000, 0);
6803 msleep(10);
6804 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x08400000, 0x08400000);
6805 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x08400000, 0x08400000);
6806 msleep(10);
6807 dev->has_remote = SAA7134_REMOTE_I2C;
6808 break;
6809 case SAA7134_BOARD_AVERMEDIA_CARDBUS_506:
6810 saa7134_set_gpio(dev, 23, 0);
6811 msleep(10);
6812 saa7134_set_gpio(dev, 23, 1);
6813 dev->has_remote = SAA7134_REMOTE_I2C;
6814 break;
6815 case SAA7134_BOARD_AVERMEDIA_M103:
6816 saa7134_set_gpio(dev, 23, 0);
6817 msleep(10);
6818 saa7134_set_gpio(dev, 23, 1);
6819 break;
6820 case SAA7134_BOARD_AVERMEDIA_A16D:
6821 saa7134_set_gpio(dev, 21, 0);
6822 msleep(10);
6823 saa7134_set_gpio(dev, 21, 1);
6824 msleep(1);
6825 dev->has_remote = SAA7134_REMOTE_GPIO;
6826 break;
6827 case SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM:
6828 /* power-down tuner chip */
6829 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x000A8004, 0x000A8004);
6830 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x000A8004, 0);
6831 msleep(10);
6832 /* power-up tuner chip */
6833 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x000A8004, 0x000A8004);
6834 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x000A8004, 0x000A8004);
6835 msleep(10);
6836 /* remote via GPIO */
6837 dev->has_remote = SAA7134_REMOTE_GPIO;
6838 break;
6839 case SAA7134_BOARD_RTD_VFG7350:
6842 * Make sure Production Test Register at offset 0x1D1 is cleared
6843 * to take chip out of test mode. Clearing bit 4 (TST_EN_AOUT)
6844 * prevents pin 105 from remaining low; keeping pin 105 low
6845 * continually resets the SAA6752 chip.
6848 saa_writeb (SAA7134_PRODUCTION_TEST_MODE, 0x00);
6849 break;
6850 case SAA7134_BOARD_HAUPPAUGE_HVR1150:
6851 case SAA7134_BOARD_HAUPPAUGE_HVR1120:
6852 /* GPIO 26 high for digital, low for analog */
6853 saa7134_set_gpio(dev, 26, 0);
6854 msleep(1);
6856 saa7134_set_gpio(dev, 22, 0);
6857 msleep(10);
6858 saa7134_set_gpio(dev, 22, 1);
6859 break;
6860 /* i2c remotes */
6861 case SAA7134_BOARD_PINNACLE_PCTV_110i:
6862 case SAA7134_BOARD_PINNACLE_PCTV_310i:
6863 case SAA7134_BOARD_UPMOST_PURPLE_TV:
6864 case SAA7134_BOARD_MSI_TVATANYWHERE_PLUS:
6865 case SAA7134_BOARD_HAUPPAUGE_HVR1110:
6866 case SAA7134_BOARD_BEHOLD_607FM_MK3:
6867 case SAA7134_BOARD_BEHOLD_607FM_MK5:
6868 case SAA7134_BOARD_BEHOLD_609FM_MK3:
6869 case SAA7134_BOARD_BEHOLD_609FM_MK5:
6870 case SAA7134_BOARD_BEHOLD_607RDS_MK3:
6871 case SAA7134_BOARD_BEHOLD_607RDS_MK5:
6872 case SAA7134_BOARD_BEHOLD_609RDS_MK3:
6873 case SAA7134_BOARD_BEHOLD_609RDS_MK5:
6874 case SAA7134_BOARD_BEHOLD_M6:
6875 case SAA7134_BOARD_BEHOLD_M63:
6876 case SAA7134_BOARD_BEHOLD_M6_EXTRA:
6877 case SAA7134_BOARD_BEHOLD_H6:
6878 case SAA7134_BOARD_BEHOLD_X7:
6879 dev->has_remote = SAA7134_REMOTE_I2C;
6880 break;
6881 case SAA7134_BOARD_AVERMEDIA_A169_B:
6882 printk("%s: %s: dual saa713x broadcast decoders\n"
6883 "%s: Sorry, none of the inputs to this chip are supported yet.\n"
6884 "%s: Dual decoder functionality is disabled for now, use the other chip.\n",
6885 dev->name,card(dev).name,dev->name,dev->name);
6886 break;
6887 case SAA7134_BOARD_AVERMEDIA_M102:
6888 /* enable tuner */
6889 dev->has_remote = SAA7134_REMOTE_GPIO;
6890 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x8c040007, 0x8c040007);
6891 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x0c0007cd, 0x0c0007cd);
6892 break;
6893 case SAA7134_BOARD_AVERMEDIA_A700_HYBRID:
6894 case SAA7134_BOARD_AVERMEDIA_A700_PRO:
6895 /* write windows gpio values */
6896 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x80040100, 0x80040100);
6897 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x80040100, 0x00040100);
6898 break;
6899 case SAA7134_BOARD_VIDEOMATE_S350:
6900 dev->has_remote = SAA7134_REMOTE_GPIO;
6901 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00008000, 0x00008000);
6902 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00008000, 0x00008000);
6903 break;
6905 return 0;
6908 static void saa7134_tuner_setup(struct saa7134_dev *dev)
6910 struct tuner_setup tun_setup;
6911 unsigned int mode_mask = T_RADIO |
6912 T_ANALOG_TV |
6913 T_DIGITAL_TV;
6915 memset(&tun_setup, 0, sizeof(tun_setup));
6916 tun_setup.tuner_callback = saa7134_tuner_callback;
6918 if (saa7134_boards[dev->board].radio_type != UNSET) {
6919 tun_setup.type = saa7134_boards[dev->board].radio_type;
6920 tun_setup.addr = saa7134_boards[dev->board].radio_addr;
6922 tun_setup.mode_mask = T_RADIO;
6924 saa_call_all(dev, tuner, s_type_addr, &tun_setup);
6925 mode_mask &= ~T_RADIO;
6928 if ((dev->tuner_type != TUNER_ABSENT) && (dev->tuner_type != UNSET)) {
6929 tun_setup.type = dev->tuner_type;
6930 tun_setup.addr = dev->tuner_addr;
6931 tun_setup.config = saa7134_boards[dev->board].tuner_config;
6932 tun_setup.tuner_callback = saa7134_tuner_callback;
6934 tun_setup.mode_mask = mode_mask;
6936 saa_call_all(dev, tuner, s_type_addr, &tun_setup);
6939 if (dev->tda9887_conf) {
6940 struct v4l2_priv_tun_config tda9887_cfg;
6942 tda9887_cfg.tuner = TUNER_TDA9887;
6943 tda9887_cfg.priv = &dev->tda9887_conf;
6945 saa_call_all(dev, tuner, s_config, &tda9887_cfg);
6948 if (dev->tuner_type == TUNER_XC2028) {
6949 struct v4l2_priv_tun_config xc2028_cfg;
6950 struct xc2028_ctrl ctl;
6952 memset(&xc2028_cfg, 0, sizeof(xc2028_cfg));
6953 memset(&ctl, 0, sizeof(ctl));
6955 ctl.fname = XC2028_DEFAULT_FIRMWARE;
6956 ctl.max_len = 64;
6958 switch (dev->board) {
6959 case SAA7134_BOARD_AVERMEDIA_A16D:
6960 case SAA7134_BOARD_AVERMEDIA_CARDBUS_506:
6961 case SAA7134_BOARD_AVERMEDIA_M103:
6962 case SAA7134_BOARD_AVERMEDIA_A700_HYBRID:
6963 ctl.demod = XC3028_FE_ZARLINK456;
6964 break;
6965 default:
6966 ctl.demod = XC3028_FE_OREN538;
6967 ctl.mts = 1;
6970 xc2028_cfg.tuner = TUNER_XC2028;
6971 xc2028_cfg.priv = &ctl;
6973 saa_call_all(dev, tuner, s_config, &xc2028_cfg);
6977 /* stuff which needs working i2c */
6978 int saa7134_board_init2(struct saa7134_dev *dev)
6980 unsigned char buf;
6981 int board;
6983 /* Put here the code that enables the chips that are needed
6984 for analog mode and doesn't depend on the tuner attachment.
6985 It is also a good idea to get tuner type from eeprom, etc before
6986 initializing tuner, since we can avoid loading tuner driver
6987 on devices that has TUNER_ABSENT
6989 switch (dev->board) {
6990 case SAA7134_BOARD_BMK_MPEX_NOTUNER:
6991 case SAA7134_BOARD_BMK_MPEX_TUNER:
6992 /* Checks if the device has a tuner at 0x60 addr
6993 If the device doesn't have a tuner, TUNER_ABSENT
6994 will be used at tuner_type, avoiding loading tuner
6995 without needing it
6997 dev->i2c_client.addr = 0x60;
6998 board = (i2c_master_recv(&dev->i2c_client, &buf, 0) < 0)
6999 ? SAA7134_BOARD_BMK_MPEX_NOTUNER
7000 : SAA7134_BOARD_BMK_MPEX_TUNER;
7001 if (board == dev->board)
7002 break;
7003 dev->board = board;
7004 printk("%s: board type fixup: %s\n", dev->name,
7005 saa7134_boards[dev->board].name);
7006 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
7008 break;
7009 case SAA7134_BOARD_MD7134:
7011 u8 subaddr;
7012 u8 data[3];
7013 int ret, tuner_t;
7014 struct i2c_msg msg[] = {{.addr=0x50, .flags=0, .buf=&subaddr, .len = 1},
7015 {.addr=0x50, .flags=I2C_M_RD, .buf=data, .len = 3}};
7017 subaddr= 0x14;
7018 tuner_t = 0;
7020 /* Retrieve device data from eeprom, checking for the
7021 proper tuner_type.
7023 ret = i2c_transfer(&dev->i2c_adap, msg, 2);
7024 if (ret != 2) {
7025 printk(KERN_ERR "EEPROM read failure\n");
7026 } else if ((data[0] != 0) && (data[0] != 0xff)) {
7027 /* old config structure */
7028 subaddr = data[0] + 2;
7029 msg[1].len = 2;
7030 i2c_transfer(&dev->i2c_adap, msg, 2);
7031 tuner_t = (data[0] << 8) + data[1];
7032 switch (tuner_t){
7033 case 0x0103:
7034 dev->tuner_type = TUNER_PHILIPS_PAL;
7035 break;
7036 case 0x010C:
7037 dev->tuner_type = TUNER_PHILIPS_FM1216ME_MK3;
7038 break;
7039 default:
7040 printk(KERN_ERR "%s Cant determine tuner type %x from EEPROM\n", dev->name, tuner_t);
7042 } else if ((data[1] != 0) && (data[1] != 0xff)) {
7043 /* new config structure */
7044 subaddr = data[1] + 1;
7045 msg[1].len = 1;
7046 i2c_transfer(&dev->i2c_adap, msg, 2);
7047 subaddr = data[0] + 1;
7048 msg[1].len = 2;
7049 i2c_transfer(&dev->i2c_adap, msg, 2);
7050 tuner_t = (data[1] << 8) + data[0];
7051 switch (tuner_t) {
7052 case 0x0005:
7053 dev->tuner_type = TUNER_PHILIPS_FM1216ME_MK3;
7054 break;
7055 case 0x001d:
7056 dev->tuner_type = TUNER_PHILIPS_FMD1216ME_MK3;
7057 printk(KERN_INFO "%s Board has DVB-T\n", dev->name);
7058 break;
7059 default:
7060 printk(KERN_ERR "%s Cant determine tuner type %x from EEPROM\n", dev->name, tuner_t);
7062 } else {
7063 printk(KERN_ERR "%s unexpected config structure\n", dev->name);
7066 printk(KERN_INFO "%s Tuner type is %d\n", dev->name, dev->tuner_type);
7067 break;
7069 case SAA7134_BOARD_PHILIPS_EUROPA:
7070 if (dev->autodetected && (dev->eedata[0x41] == 0x1c)) {
7071 /* Reconfigure board as Snake reference design */
7072 dev->board = SAA7134_BOARD_PHILIPS_SNAKE;
7073 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
7074 printk(KERN_INFO "%s: Reconfigured board as %s\n",
7075 dev->name, saa7134_boards[dev->board].name);
7076 break;
7078 /* break intentionally omitted */
7079 case SAA7134_BOARD_VIDEOMATE_DVBT_300:
7080 case SAA7134_BOARD_ASUS_EUROPA2_HYBRID:
7083 /* The Philips EUROPA based hybrid boards have the tuner
7084 connected through the channel decoder. We have to make it
7085 transparent to find it
7087 u8 data[] = { 0x07, 0x02};
7088 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
7089 i2c_transfer(&dev->i2c_adap, &msg, 1);
7091 break;
7093 case SAA7134_BOARD_PHILIPS_TIGER:
7094 case SAA7134_BOARD_PHILIPS_TIGER_S:
7096 u8 data[] = { 0x3c, 0x33, 0x60};
7097 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
7098 if (dev->autodetected && (dev->eedata[0x49] == 0x50)) {
7099 dev->board = SAA7134_BOARD_PHILIPS_TIGER_S;
7100 printk(KERN_INFO "%s: Reconfigured board as %s\n",
7101 dev->name, saa7134_boards[dev->board].name);
7103 if (dev->board == SAA7134_BOARD_PHILIPS_TIGER_S) {
7104 dev->tuner_type = TUNER_PHILIPS_TDA8290;
7106 data[2] = 0x68;
7107 i2c_transfer(&dev->i2c_adap, &msg, 1);
7108 break;
7110 i2c_transfer(&dev->i2c_adap, &msg, 1);
7111 break;
7113 case SAA7134_BOARD_ASUSTeK_TVFM7135:
7114 /* The card below is detected as card=53, but is different */
7115 if (dev->autodetected && (dev->eedata[0x27] == 0x03)) {
7116 dev->board = SAA7134_BOARD_ASUSTeK_P7131_ANALOG;
7117 printk(KERN_INFO "%s: P7131 analog only, using "
7118 "entry of %s\n",
7119 dev->name, saa7134_boards[dev->board].name);
7121 break;
7122 case SAA7134_BOARD_HAUPPAUGE_HVR1150:
7123 case SAA7134_BOARD_HAUPPAUGE_HVR1120:
7124 hauppauge_eeprom(dev, dev->eedata+0x80);
7125 break;
7126 case SAA7134_BOARD_HAUPPAUGE_HVR1110:
7127 hauppauge_eeprom(dev, dev->eedata+0x80);
7128 /* break intentionally omitted */
7129 case SAA7134_BOARD_PINNACLE_PCTV_310i:
7130 case SAA7134_BOARD_KWORLD_DVBT_210:
7131 case SAA7134_BOARD_TEVION_DVBT_220RF:
7132 case SAA7134_BOARD_ASUSTeK_TIGER:
7133 case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
7134 case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA:
7135 case SAA7134_BOARD_MEDION_MD8800_QUADRO:
7136 case SAA7134_BOARD_AVERMEDIA_SUPER_007:
7137 case SAA7134_BOARD_TWINHAN_DTV_DVB_3056:
7138 case SAA7134_BOARD_CREATIX_CTX953:
7140 /* this is a hybrid board, initialize to analog mode
7141 * and configure firmware eeprom address
7143 u8 data[] = { 0x3c, 0x33, 0x60};
7144 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
7145 i2c_transfer(&dev->i2c_adap, &msg, 1);
7146 break;
7148 case SAA7134_BOARD_ASUSTeK_TIGER_3IN1:
7150 u8 data[] = { 0x3c, 0x33, 0x60};
7151 struct i2c_msg msg = {.addr = 0x0b, .flags = 0, .buf = data,
7152 .len = sizeof(data)};
7153 i2c_transfer(&dev->i2c_adap, &msg, 1);
7154 break;
7156 case SAA7134_BOARD_FLYDVB_TRIO:
7158 u8 data[] = { 0x3c, 0x33, 0x62};
7159 struct i2c_msg msg = {.addr=0x09, .flags=0, .buf=data, .len = sizeof(data)};
7160 i2c_transfer(&dev->i2c_adap, &msg, 1);
7161 break;
7163 case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331:
7164 case SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS:
7166 /* initialize analog mode */
7167 u8 data[] = { 0x3c, 0x33, 0x6a};
7168 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
7169 i2c_transfer(&dev->i2c_adap, &msg, 1);
7170 break;
7172 case SAA7134_BOARD_CINERGY_HT_PCMCIA:
7173 case SAA7134_BOARD_CINERGY_HT_PCI:
7175 /* initialize analog mode */
7176 u8 data[] = { 0x3c, 0x33, 0x68};
7177 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
7178 i2c_transfer(&dev->i2c_adap, &msg, 1);
7179 break;
7181 case SAA7134_BOARD_VIDEOMATE_DVBT_200:
7182 case SAA7134_BOARD_VIDEOMATE_DVBT_200A:
7183 /* The T200 and the T200A share the same pci id. Consequently,
7184 * we are going to query eeprom to try to find out which one we
7185 * are actually looking at. */
7187 /* Don't do this if the board was specifically selected with an
7188 * insmod option or if we have the default configuration T200*/
7189 if (!dev->autodetected || (dev->eedata[0x41] == 0xd0))
7190 break;
7191 if (dev->eedata[0x41] == 0x02) {
7192 /* Reconfigure board as T200A */
7193 dev->board = SAA7134_BOARD_VIDEOMATE_DVBT_200A;
7194 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
7195 dev->tda9887_conf = saa7134_boards[dev->board].tda9887_conf;
7196 printk(KERN_INFO "%s: Reconfigured board as %s\n",
7197 dev->name, saa7134_boards[dev->board].name);
7198 } else {
7199 printk(KERN_WARNING "%s: Unexpected tuner type info: %x in eeprom\n",
7200 dev->name, dev->eedata[0x41]);
7201 break;
7203 break;
7204 case SAA7134_BOARD_ADS_INSTANT_HDTV_PCI:
7205 case SAA7134_BOARD_KWORLD_ATSC110:
7207 struct i2c_msg msg = { .addr = 0x0a, .flags = 0 };
7208 int i;
7209 static u8 buffer[][2] = {
7210 { 0x10, 0x12 },
7211 { 0x13, 0x04 },
7212 { 0x16, 0x00 },
7213 { 0x14, 0x04 },
7214 { 0x17, 0x00 },
7217 for (i = 0; i < ARRAY_SIZE(buffer); i++) {
7218 msg.buf = &buffer[i][0];
7219 msg.len = ARRAY_SIZE(buffer[0]);
7220 if (i2c_transfer(&dev->i2c_adap, &msg, 1) != 1)
7221 printk(KERN_WARNING
7222 "%s: Unable to enable tuner(%i).\n",
7223 dev->name, i);
7225 break;
7227 } /* switch() */
7229 /* initialize tuner */
7230 if (TUNER_ABSENT != dev->tuner_type) {
7231 int has_demod = (dev->tda9887_conf & TDA9887_PRESENT);
7233 /* Note: radio tuner address is always filled in,
7234 so we do not need to probe for a radio tuner device. */
7235 if (dev->radio_type != UNSET)
7236 v4l2_i2c_new_subdev(&dev->v4l2_dev,
7237 &dev->i2c_adap, "tuner", "tuner",
7238 dev->radio_addr, NULL);
7239 if (has_demod)
7240 v4l2_i2c_new_subdev(&dev->v4l2_dev,
7241 &dev->i2c_adap, "tuner", "tuner",
7242 0, v4l2_i2c_tuner_addrs(ADDRS_DEMOD));
7243 if (dev->tuner_addr == ADDR_UNSET) {
7244 enum v4l2_i2c_tuner_type type =
7245 has_demod ? ADDRS_TV_WITH_DEMOD : ADDRS_TV;
7247 v4l2_i2c_new_subdev(&dev->v4l2_dev,
7248 &dev->i2c_adap, "tuner", "tuner",
7249 0, v4l2_i2c_tuner_addrs(type));
7250 } else {
7251 v4l2_i2c_new_subdev(&dev->v4l2_dev,
7252 &dev->i2c_adap, "tuner", "tuner",
7253 dev->tuner_addr, NULL);
7257 saa7134_tuner_setup(dev);
7259 switch (dev->board) {
7260 case SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM:
7261 case SAA7134_BOARD_AVERMEDIA_CARDBUS_501:
7263 struct v4l2_priv_tun_config tea5767_cfg;
7264 struct tea5767_ctrl ctl;
7266 dev->i2c_client.addr = 0xC0;
7267 /* set TEA5767(analog FM) defines */
7268 memset(&ctl, 0, sizeof(ctl));
7269 ctl.xtal_freq = TEA5767_HIGH_LO_13MHz;
7270 tea5767_cfg.tuner = TUNER_TEA5767;
7271 tea5767_cfg.priv = &ctl;
7272 saa_call_all(dev, tuner, s_config, &tea5767_cfg);
7273 break;
7275 } /* switch() */
7277 return 0;