Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[wrt350n-kernel.git] / drivers / media / video / saa7134 / saa7134-cards.c
blob107bc6f038e670af8699067afd691b70b6ceba5e
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>
26 #include "saa7134-reg.h"
27 #include "saa7134.h"
28 #include <media/v4l2-common.h>
29 #include <media/tveeprom.h>
31 /* commly used strings */
32 static char name_mute[] = "mute";
33 static char name_radio[] = "Radio";
34 static char name_tv[] = "Television";
35 static char name_tv_mono[] = "TV (mono only)";
36 static char name_comp[] = "Composite";
37 static char name_comp1[] = "Composite1";
38 static char name_comp2[] = "Composite2";
39 static char name_comp3[] = "Composite3";
40 static char name_comp4[] = "Composite4";
41 static char name_svideo[] = "S-Video";
43 /* ------------------------------------------------------------------ */
44 /* board config info */
46 struct saa7134_board saa7134_boards[] = {
47 [SAA7134_BOARD_UNKNOWN] = {
48 .name = "UNKNOWN/GENERIC",
49 .audio_clock = 0x00187de7,
50 .tuner_type = TUNER_ABSENT,
51 .radio_type = UNSET,
52 .tuner_addr = ADDR_UNSET,
53 .radio_addr = ADDR_UNSET,
55 .inputs = {{
56 .name = "default",
57 .vmux = 0,
58 .amux = LINE1,
59 }},
61 [SAA7134_BOARD_PROTEUS_PRO] = {
62 /* /me */
63 .name = "Proteus Pro [philips reference design]",
64 .audio_clock = 0x00187de7,
65 .tuner_type = TUNER_PHILIPS_PAL,
66 .radio_type = UNSET,
67 .tuner_addr = ADDR_UNSET,
68 .radio_addr = ADDR_UNSET,
70 .inputs = {{
71 .name = name_comp1,
72 .vmux = 0,
73 .amux = LINE1,
74 },{
75 .name = name_tv,
76 .vmux = 1,
77 .amux = TV,
78 .tv = 1,
79 },{
80 .name = name_tv_mono,
81 .vmux = 1,
82 .amux = LINE2,
83 .tv = 1,
84 }},
85 .radio = {
86 .name = name_radio,
87 .amux = LINE2,
90 [SAA7134_BOARD_FLYVIDEO3000] = {
91 /* "Marco d'Itri" <md@Linux.IT> */
92 .name = "LifeView FlyVIDEO3000",
93 .audio_clock = 0x00200000,
94 .tuner_type = TUNER_PHILIPS_PAL,
95 .radio_type = UNSET,
96 .tuner_addr = ADDR_UNSET,
97 .radio_addr = ADDR_UNSET,
99 .gpiomask = 0xe000,
100 .inputs = {{
101 .name = name_tv,
102 .vmux = 1,
103 .amux = TV,
104 .gpio = 0x8000,
105 .tv = 1,
107 .name = name_tv_mono,
108 .vmux = 1,
109 .amux = LINE2,
110 .gpio = 0x0000,
111 .tv = 1,
113 .name = name_comp1,
114 .vmux = 0,
115 .amux = LINE2,
116 .gpio = 0x4000,
118 .name = name_comp2,
119 .vmux = 3,
120 .amux = LINE2,
121 .gpio = 0x4000,
123 .name = name_svideo,
124 .vmux = 8,
125 .amux = LINE2,
126 .gpio = 0x4000,
128 .radio = {
129 .name = name_radio,
130 .amux = LINE2,
131 .gpio = 0x2000,
133 .mute = {
134 .name = name_mute,
135 .amux = TV,
136 .gpio = 0x8000,
139 [SAA7134_BOARD_FLYVIDEO2000] = {
140 /* "TC Wan" <tcwan@cs.usm.my> */
141 .name = "LifeView/Typhoon FlyVIDEO2000",
142 .audio_clock = 0x00200000,
143 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
144 .radio_type = UNSET,
145 .tuner_addr = ADDR_UNSET,
146 .radio_addr = ADDR_UNSET,
148 .gpiomask = 0xe000,
149 .inputs = {{
150 .name = name_tv,
151 .vmux = 1,
152 .amux = LINE2,
153 .gpio = 0x0000,
154 .tv = 1,
156 .name = name_comp1,
157 .vmux = 0,
158 .amux = LINE2,
159 .gpio = 0x4000,
161 .name = name_comp2,
162 .vmux = 3,
163 .amux = LINE2,
164 .gpio = 0x4000,
166 .name = name_svideo,
167 .vmux = 8,
168 .amux = LINE2,
169 .gpio = 0x4000,
171 .radio = {
172 .name = name_radio,
173 .amux = LINE2,
174 .gpio = 0x2000,
176 .mute = {
177 .name = name_mute,
178 .amux = LINE2,
179 .gpio = 0x8000,
182 [SAA7134_BOARD_FLYTVPLATINUM_MINI] = {
183 /* "Arnaud Quette" <aquette@free.fr> */
184 .name = "LifeView FlyTV Platinum Mini",
185 .audio_clock = 0x00200000,
186 .tuner_type = TUNER_PHILIPS_TDA8290,
187 .radio_type = UNSET,
188 .tuner_addr = ADDR_UNSET,
189 .radio_addr = ADDR_UNSET,
191 .inputs = {{
192 .name = name_tv,
193 .vmux = 1,
194 .amux = TV,
195 .tv = 1,
197 .name = name_comp1, /* Composite signal on S-Video input */
198 .vmux = 0,
199 .amux = LINE2,
201 .name = name_comp2, /* Composite input */
202 .vmux = 3,
203 .amux = LINE2,
205 .name = name_svideo,
206 .vmux = 8,
207 .amux = LINE2,
210 [SAA7134_BOARD_FLYTVPLATINUM_FM] = {
211 /* LifeView FlyTV Platinum FM (LR214WF) */
212 /* "Peter Missel <peter.missel@onlinehome.de> */
213 .name = "LifeView FlyTV Platinum FM / Gold",
214 .audio_clock = 0x00200000,
215 .tuner_type = TUNER_PHILIPS_TDA8290,
216 .radio_type = UNSET,
217 .tuner_addr = ADDR_UNSET,
218 .radio_addr = ADDR_UNSET,
220 .gpiomask = 0x1E000, /* Set GP16 and unused 15,14,13 to Output */
221 .inputs = {{
222 .name = name_tv,
223 .vmux = 1,
224 .amux = TV,
225 .gpio = 0x10000, /* GP16=1 selects TV input */
226 .tv = 1,
228 /* .name = name_tv_mono,
229 .vmux = 1,
230 .amux = LINE2,
231 .gpio = 0x0000,
232 .tv = 1,
234 */ .name = name_comp1, /* Composite signal on S-Video input */
235 .vmux = 0,
236 .amux = LINE2,
237 /* .gpio = 0x4000, */
239 .name = name_comp2, /* Composite input */
240 .vmux = 3,
241 .amux = LINE2,
242 /* .gpio = 0x4000, */
244 .name = name_svideo, /* S-Video signal on S-Video input */
245 .vmux = 8,
246 .amux = LINE2,
247 /* .gpio = 0x4000, */
249 .radio = {
250 .name = name_radio,
251 .amux = TV,
252 .gpio = 0x00000, /* GP16=0 selects FM radio antenna */
254 .mute = {
255 .name = name_mute,
256 .amux = TV,
257 .gpio = 0x10000,
260 [SAA7134_BOARD_EMPRESS] = {
261 /* "Gert Vervoort" <gert.vervoort@philips.com> */
262 .name = "EMPRESS",
263 .audio_clock = 0x00187de7,
264 .tuner_type = TUNER_PHILIPS_PAL,
265 .radio_type = UNSET,
266 .tuner_addr = ADDR_UNSET,
267 .radio_addr = ADDR_UNSET,
269 .inputs = {{
270 .name = name_comp1,
271 .vmux = 0,
272 .amux = LINE1,
274 .name = name_svideo,
275 .vmux = 8,
276 .amux = LINE1,
278 .name = name_tv,
279 .vmux = 1,
280 .amux = LINE2,
281 .tv = 1,
283 .radio = {
284 .name = name_radio,
285 .amux = LINE2,
287 .mpeg = SAA7134_MPEG_EMPRESS,
288 .video_out = CCIR656,
290 [SAA7134_BOARD_MONSTERTV] = {
291 /* "K.Ohta" <alpha292@bremen.or.jp> */
292 .name = "SKNet Monster TV",
293 .audio_clock = 0x00187de7,
294 .tuner_type = TUNER_PHILIPS_NTSC_M,
295 .radio_type = UNSET,
296 .tuner_addr = ADDR_UNSET,
297 .radio_addr = ADDR_UNSET,
299 .inputs = {{
300 .name = name_tv,
301 .vmux = 1,
302 .amux = TV,
303 .tv = 1,
305 .name = name_comp1,
306 .vmux = 0,
307 .amux = LINE1,
309 .name = name_svideo,
310 .vmux = 8,
311 .amux = LINE1,
313 .radio = {
314 .name = name_radio,
315 .amux = LINE2,
318 [SAA7134_BOARD_MD9717] = {
319 .name = "Tevion MD 9717",
320 .audio_clock = 0x00200000,
321 .tuner_type = TUNER_PHILIPS_PAL,
322 .radio_type = UNSET,
323 .tuner_addr = ADDR_UNSET,
324 .radio_addr = ADDR_UNSET,
325 .inputs = {{
326 .name = name_tv,
327 .vmux = 1,
328 .amux = TV,
329 .tv = 1,
331 /* workaround for problems with normal TV sound */
332 .name = name_tv_mono,
333 .vmux = 1,
334 .amux = LINE2,
335 .tv = 1,
337 .name = name_comp1,
338 .vmux = 0,
339 .amux = LINE1,
341 .name = name_comp2,
342 .vmux = 3,
343 .amux = LINE1,
345 .name = name_svideo,
346 .vmux = 8,
347 .amux = LINE1,
349 .radio = {
350 .name = name_radio,
351 .amux = LINE2,
353 .mute = {
354 .name = name_mute,
355 .amux = TV,
358 [SAA7134_BOARD_TVSTATION_RDS] = {
359 /* Typhoon TV Tuner RDS: Art.Nr. 50694 */
360 .name = "KNC One TV-Station RDS / Typhoon TV Tuner RDS",
361 .audio_clock = 0x00200000,
362 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
363 .radio_type = UNSET,
364 .tuner_addr = ADDR_UNSET,
365 .radio_addr = ADDR_UNSET,
366 .tda9887_conf = TDA9887_PRESENT,
367 .inputs = {{
368 .name = name_tv,
369 .vmux = 1,
370 .amux = TV,
371 .tv = 1,
373 .name = name_tv_mono,
374 .vmux = 1,
375 .amux = LINE2,
376 .tv = 1,
379 .name = name_svideo,
380 .vmux = 8,
381 .amux = LINE1,
383 .name = name_comp1,
384 .vmux = 3,
385 .amux = LINE1,
388 .name = "CVid over SVid",
389 .vmux = 0,
390 .amux = LINE1,
392 .radio = {
393 .name = name_radio,
394 .amux = LINE2,
397 [SAA7134_BOARD_TVSTATION_DVR] = {
398 .name = "KNC One TV-Station DVR",
399 .audio_clock = 0x00200000,
400 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
401 .radio_type = UNSET,
402 .tuner_addr = ADDR_UNSET,
403 .radio_addr = ADDR_UNSET,
404 .tda9887_conf = TDA9887_PRESENT,
405 .gpiomask = 0x820000,
406 .inputs = {{
407 .name = name_tv,
408 .vmux = 1,
409 .amux = TV,
410 .tv = 1,
411 .gpio = 0x20000,
413 .name = name_svideo,
414 .vmux = 8,
415 .amux = LINE1,
416 .gpio = 0x20000,
418 .name = name_comp1,
419 .vmux = 3,
420 .amux = LINE1,
421 .gpio = 0x20000,
423 .radio = {
424 .name = name_radio,
425 .amux = LINE2,
426 .gpio = 0x20000,
428 .mpeg = SAA7134_MPEG_EMPRESS,
429 .video_out = CCIR656,
431 [SAA7134_BOARD_CINERGY400] = {
432 .name = "Terratec Cinergy 400 TV",
433 .audio_clock = 0x00200000,
434 .tuner_type = TUNER_PHILIPS_PAL,
435 .radio_type = UNSET,
436 .tuner_addr = ADDR_UNSET,
437 .radio_addr = ADDR_UNSET,
438 .inputs = {{
439 .name = name_tv,
440 .vmux = 1,
441 .amux = TV,
442 .tv = 1,
444 .name = name_comp1,
445 .vmux = 4,
446 .amux = LINE1,
448 .name = name_svideo,
449 .vmux = 8,
450 .amux = LINE1,
452 .name = name_comp2, /* CVideo over SVideo Connector */
453 .vmux = 0,
454 .amux = LINE1,
457 [SAA7134_BOARD_MD5044] = {
458 .name = "Medion 5044",
459 .audio_clock = 0x00187de7, /* was: 0x00200000, */
460 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
461 .radio_type = UNSET,
462 .tuner_addr = ADDR_UNSET,
463 .radio_addr = ADDR_UNSET,
464 .tda9887_conf = TDA9887_PRESENT,
465 .inputs = {{
466 .name = name_tv,
467 .vmux = 1,
468 .amux = TV,
469 .tv = 1,
471 /* workaround for problems with normal TV sound */
472 .name = name_tv_mono,
473 .vmux = 1,
474 .amux = LINE2,
475 .tv = 1,
477 .name = name_comp1,
478 .vmux = 0,
479 .amux = LINE2,
481 .name = name_comp2,
482 .vmux = 3,
483 .amux = LINE2,
485 .name = name_svideo,
486 .vmux = 8,
487 .amux = LINE2,
489 .radio = {
490 .name = name_radio,
491 .amux = LINE2,
494 [SAA7134_BOARD_KWORLD] = {
495 .name = "Kworld/KuroutoShikou SAA7130-TVPCI",
496 .audio_clock = 0x00187de7,
497 .tuner_type = TUNER_PHILIPS_NTSC_M,
498 .radio_type = UNSET,
499 .tuner_addr = ADDR_UNSET,
500 .radio_addr = ADDR_UNSET,
501 .inputs = {{
502 .name = name_svideo,
503 .vmux = 8,
504 .amux = LINE1,
506 .name = name_comp1,
507 .vmux = 3,
508 .amux = LINE1,
510 .name = name_tv,
511 .vmux = 1,
512 .amux = LINE2,
513 .tv = 1,
516 [SAA7134_BOARD_CINERGY600] = {
517 .name = "Terratec Cinergy 600 TV",
518 .audio_clock = 0x00200000,
519 .tuner_type = TUNER_PHILIPS_PAL,
520 .radio_type = UNSET,
521 .tuner_addr = ADDR_UNSET,
522 .radio_addr = ADDR_UNSET,
523 .tda9887_conf = TDA9887_PRESENT,
524 .inputs = {{
525 .name = name_tv,
526 .vmux = 1,
527 .amux = TV,
528 .tv = 1,
530 .name = name_comp1,
531 .vmux = 4,
532 .amux = LINE1,
534 .name = name_svideo,
535 .vmux = 8,
536 .amux = LINE1,
538 .name = name_comp2, /* CVideo over SVideo Connector */
539 .vmux = 0,
540 .amux = LINE1,
542 .radio = {
543 .name = name_radio,
544 .amux = LINE2,
547 [SAA7134_BOARD_MD7134] = {
548 .name = "Medion 7134",
549 .audio_clock = 0x00187de7,
550 .tuner_type = TUNER_PHILIPS_FMD1216ME_MK3,
551 .radio_type = UNSET,
552 .tuner_addr = ADDR_UNSET,
553 .radio_addr = ADDR_UNSET,
554 .tda9887_conf = TDA9887_PRESENT,
555 .mpeg = SAA7134_MPEG_DVB,
556 .inputs = {{
557 .name = name_tv,
558 .vmux = 1,
559 .amux = TV,
560 .tv = 1,
562 .name = name_comp1,
563 .vmux = 0,
564 .amux = LINE1,
566 .name = name_svideo,
567 .vmux = 8,
568 .amux = LINE1,
570 .radio = {
571 .name = name_radio,
572 .amux = LINE2,
574 .mute = {
575 .name = name_mute,
576 .amux = TV,
579 [SAA7134_BOARD_TYPHOON_90031] = {
580 /* aka Typhoon "TV+Radio", Art.Nr 90031 */
581 /* Tom Zoerner <tomzo at users sourceforge net> */
582 .name = "Typhoon TV+Radio 90031",
583 .audio_clock = 0x00200000,
584 .tuner_type = TUNER_PHILIPS_PAL,
585 .radio_type = UNSET,
586 .tuner_addr = ADDR_UNSET,
587 .radio_addr = ADDR_UNSET,
588 .tda9887_conf = TDA9887_PRESENT,
589 .inputs = {{
590 .name = name_tv,
591 .vmux = 1,
592 .amux = TV,
593 .tv = 1,
595 .name = name_comp1,
596 .vmux = 3,
597 .amux = LINE1,
599 .name = name_svideo,
600 .vmux = 8,
601 .amux = LINE1,
603 .radio = {
604 .name = name_radio,
605 .amux = LINE2,
608 [SAA7134_BOARD_ELSA] = {
609 .name = "ELSA EX-VISION 300TV",
610 .audio_clock = 0x00187de7,
611 .tuner_type = TUNER_HITACHI_NTSC,
612 .radio_type = UNSET,
613 .tuner_addr = ADDR_UNSET,
614 .radio_addr = ADDR_UNSET,
615 .inputs = {{
616 .name = name_svideo,
617 .vmux = 8,
618 .amux = LINE1,
620 .name = name_comp1,
621 .vmux = 0,
622 .amux = LINE1,
624 .name = name_tv,
625 .vmux = 4,
626 .amux = LINE2,
627 .tv = 1,
630 [SAA7134_BOARD_ELSA_500TV] = {
631 .name = "ELSA EX-VISION 500TV",
632 .audio_clock = 0x00187de7,
633 .tuner_type = TUNER_HITACHI_NTSC,
634 .radio_type = UNSET,
635 .tuner_addr = ADDR_UNSET,
636 .radio_addr = ADDR_UNSET,
637 .inputs = {{
638 .name = name_svideo,
639 .vmux = 7,
640 .amux = LINE1,
642 .name = name_tv,
643 .vmux = 8,
644 .amux = TV,
645 .tv = 1,
647 .name = name_tv_mono,
648 .vmux = 8,
649 .amux = LINE2,
650 .tv = 1,
653 [SAA7134_BOARD_ELSA_700TV] = {
654 .name = "ELSA EX-VISION 700TV",
655 .audio_clock = 0x00187de7,
656 .tuner_type = TUNER_HITACHI_NTSC,
657 .radio_type = UNSET,
658 .tuner_addr = ADDR_UNSET,
659 .radio_addr = ADDR_UNSET,
660 .inputs = {{
661 .name = name_tv,
662 .vmux = 4,
663 .amux = LINE2,
664 .tv = 1,
666 .name = name_comp1,
667 .vmux = 6,
668 .amux = LINE1,
670 .name = name_svideo,
671 .vmux = 7,
672 .amux = LINE1,
674 .mute = {
675 .name = name_mute,
676 .amux = TV,
679 [SAA7134_BOARD_ASUSTeK_TVFM7134] = {
680 .name = "ASUS TV-FM 7134",
681 .audio_clock = 0x00187de7,
682 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
683 .radio_type = UNSET,
684 .tuner_addr = ADDR_UNSET,
685 .radio_addr = ADDR_UNSET,
686 .tda9887_conf = TDA9887_PRESENT,
687 .inputs = {{
688 .name = name_tv,
689 .vmux = 1,
690 .amux = TV,
691 .tv = 1,
693 .name = name_comp1,
694 .vmux = 4,
695 .amux = LINE2,
697 .name = name_svideo,
698 .vmux = 6,
699 .amux = LINE2,
701 .radio = {
702 .name = name_radio,
703 .amux = LINE1,
706 [SAA7134_BOARD_ASUSTeK_TVFM7135] = {
707 .name = "ASUS TV-FM 7135",
708 .audio_clock = 0x00187de7,
709 .tuner_type = TUNER_PHILIPS_TDA8290,
710 .radio_type = UNSET,
711 .tuner_addr = ADDR_UNSET,
712 .radio_addr = ADDR_UNSET,
713 .gpiomask = 0x200000,
714 .inputs = {{
715 .name = name_tv,
716 .vmux = 1,
717 .amux = TV,
718 .gpio = 0x0000,
719 .tv = 1,
721 .name = name_comp1,
722 .vmux = 4,
723 .amux = LINE2,
724 .gpio = 0x0000,
726 .name = name_svideo,
727 .vmux = 6,
728 .amux = LINE2,
729 .gpio = 0x0000,
731 .radio = {
732 .name = name_radio,
733 .amux = TV,
734 .gpio = 0x200000,
736 .mute = {
737 .name = name_mute,
738 .gpio = 0x0000,
742 [SAA7134_BOARD_VA1000POWER] = {
743 .name = "AOPEN VA1000 POWER",
744 .audio_clock = 0x00187de7,
745 .tuner_type = TUNER_PHILIPS_NTSC,
746 .radio_type = UNSET,
747 .tuner_addr = ADDR_UNSET,
748 .radio_addr = ADDR_UNSET,
749 .inputs = {{
750 .name = name_svideo,
751 .vmux = 8,
752 .amux = LINE1,
754 .name = name_comp1,
755 .vmux = 3,
756 .amux = LINE1,
758 .name = name_tv,
759 .vmux = 1,
760 .amux = LINE2,
761 .tv = 1,
764 [SAA7134_BOARD_10MOONSTVMASTER] = {
765 /* "lilicheng" <llc@linuxfans.org> */
766 .name = "10MOONS PCI TV CAPTURE CARD",
767 .audio_clock = 0x00200000,
768 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
769 .radio_type = UNSET,
770 .tuner_addr = ADDR_UNSET,
771 .radio_addr = ADDR_UNSET,
772 .gpiomask = 0xe000,
773 .inputs = {{
774 .name = name_tv,
775 .vmux = 1,
776 .amux = LINE2,
777 .gpio = 0x0000,
778 .tv = 1,
780 .name = name_comp1,
781 .vmux = 0,
782 .amux = LINE2,
783 .gpio = 0x4000,
785 .name = name_comp2,
786 .vmux = 3,
787 .amux = LINE2,
788 .gpio = 0x4000,
790 .name = name_svideo,
791 .vmux = 8,
792 .amux = LINE2,
793 .gpio = 0x4000,
795 .radio = {
796 .name = name_radio,
797 .amux = LINE2,
798 .gpio = 0x2000,
800 .mute = {
801 .name = name_mute,
802 .amux = LINE2,
803 .gpio = 0x8000,
806 [SAA7134_BOARD_BMK_MPEX_NOTUNER] = {
807 /* "Andrew de Quincey" <adq@lidskialf.net> */
808 .name = "BMK MPEX No Tuner",
809 .audio_clock = 0x200000,
810 .tuner_type = TUNER_ABSENT,
811 .radio_type = UNSET,
812 .tuner_addr = ADDR_UNSET,
813 .radio_addr = ADDR_UNSET,
814 .inputs = {{
815 .name = name_comp1,
816 .vmux = 4,
817 .amux = LINE1,
819 .name = name_comp2,
820 .vmux = 3,
821 .amux = LINE1,
823 .name = name_comp3,
824 .vmux = 0,
825 .amux = LINE1,
827 .name = name_comp4,
828 .vmux = 1,
829 .amux = LINE1,
831 .name = name_svideo,
832 .vmux = 8,
833 .amux = LINE1,
835 .mpeg = SAA7134_MPEG_EMPRESS,
836 .video_out = CCIR656,
838 [SAA7134_BOARD_VIDEOMATE_TV] = {
839 .name = "Compro VideoMate TV",
840 .audio_clock = 0x00187de7,
841 .tuner_type = TUNER_PHILIPS_NTSC_M,
842 .radio_type = UNSET,
843 .tuner_addr = ADDR_UNSET,
844 .radio_addr = ADDR_UNSET,
845 .inputs = {{
846 .name = name_svideo,
847 .vmux = 8,
848 .amux = LINE1,
850 .name = name_comp1,
851 .vmux = 3,
852 .amux = LINE1,
854 .name = name_tv,
855 .vmux = 1,
856 .amux = LINE2,
857 .tv = 1,
860 [SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS] = {
861 .name = "Compro VideoMate TV Gold+",
862 .audio_clock = 0x00187de7,
863 .tuner_type = TUNER_PHILIPS_NTSC_M,
864 .gpiomask = 0x800c0000,
865 .radio_type = UNSET,
866 .tuner_addr = ADDR_UNSET,
867 .radio_addr = ADDR_UNSET,
868 .inputs = {{
869 .name = name_svideo,
870 .vmux = 8,
871 .amux = LINE1,
872 .gpio = 0x06c00012,
874 .name = name_comp1,
875 .vmux = 3,
876 .amux = LINE1,
877 .gpio = 0x0ac20012,
879 .name = name_tv,
880 .vmux = 1,
881 .amux = LINE2,
882 .gpio = 0x08c20012,
883 .tv = 1,
884 }}, /* radio and probably mute is missing */
886 [SAA7134_BOARD_CRONOS_PLUS] = {
888 gpio pins:
889 0 .. 3 BASE_ID
890 4 .. 7 PROTECT_ID
891 8 .. 11 USER_OUT
892 12 .. 13 USER_IN
893 14 .. 15 VIDIN_SEL
895 .name = "Matrox CronosPlus",
896 .tuner_type = TUNER_ABSENT,
897 .radio_type = UNSET,
898 .tuner_addr = ADDR_UNSET,
899 .radio_addr = ADDR_UNSET,
900 .gpiomask = 0xcf00,
901 .inputs = {{
902 .name = name_comp1,
903 .vmux = 0,
904 .gpio = 2 << 14,
906 .name = name_comp2,
907 .vmux = 0,
908 .gpio = 1 << 14,
910 .name = name_comp3,
911 .vmux = 0,
912 .gpio = 0 << 14,
914 .name = name_comp4,
915 .vmux = 0,
916 .gpio = 3 << 14,
918 .name = name_svideo,
919 .vmux = 8,
920 .gpio = 2 << 14,
923 [SAA7134_BOARD_MD2819] = {
924 .name = "AverMedia M156 / Medion 2819",
925 .audio_clock = 0x00187de7,
926 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
927 .radio_type = UNSET,
928 .tuner_addr = ADDR_UNSET,
929 .radio_addr = ADDR_UNSET,
930 .tda9887_conf = TDA9887_PRESENT,
931 <<<<<<< HEAD:drivers/media/video/saa7134/saa7134-cards.c
932 =======
933 .gpiomask = 0x03,
934 >>>>>>> 264e3e889d86e552b4191d69bb60f4f3b383135a:drivers/media/video/saa7134/saa7134-cards.c
935 .inputs = {{
936 .name = name_tv,
937 .vmux = 1,
938 .amux = TV,
939 .tv = 1,
940 <<<<<<< HEAD:drivers/media/video/saa7134/saa7134-cards.c
942 =======
943 .gpio = 0x00,
944 }, {
945 >>>>>>> 264e3e889d86e552b4191d69bb60f4f3b383135a:drivers/media/video/saa7134/saa7134-cards.c
946 .name = name_comp1,
947 <<<<<<< HEAD:drivers/media/video/saa7134/saa7134-cards.c
948 .vmux = 0,
949 .amux = LINE2,
951 .name = name_comp2,
952 =======
953 >>>>>>> 264e3e889d86e552b4191d69bb60f4f3b383135a:drivers/media/video/saa7134/saa7134-cards.c
954 .vmux = 3,
955 <<<<<<< HEAD:drivers/media/video/saa7134/saa7134-cards.c
956 .amux = LINE2,
958 =======
959 .amux = LINE1,
960 .gpio = 0x02,
961 }, {
962 .name = name_comp2,
963 .vmux = 0,
964 .amux = LINE1,
965 .gpio = 0x02,
966 }, {
967 >>>>>>> 264e3e889d86e552b4191d69bb60f4f3b383135a:drivers/media/video/saa7134/saa7134-cards.c
968 .name = name_svideo,
969 .vmux = 8,
970 <<<<<<< HEAD:drivers/media/video/saa7134/saa7134-cards.c
971 .amux = LINE2,
973 =======
974 .amux = LINE1,
975 .gpio = 0x02,
976 } },
977 >>>>>>> 264e3e889d86e552b4191d69bb60f4f3b383135a:drivers/media/video/saa7134/saa7134-cards.c
978 .radio = {
979 .name = name_radio,
980 <<<<<<< HEAD:drivers/media/video/saa7134/saa7134-cards.c
981 .amux = LINE2,
982 =======
983 .amux = LINE1,
984 .gpio = 0x01,
986 .mute = {
987 .name = name_mute,
988 .amux = TV,
989 .gpio = 0x00,
990 >>>>>>> 264e3e889d86e552b4191d69bb60f4f3b383135a:drivers/media/video/saa7134/saa7134-cards.c
993 [SAA7134_BOARD_BMK_MPEX_TUNER] = {
994 /* "Greg Wickham <greg.wickham@grangenet.net> */
995 .name = "BMK MPEX Tuner",
996 .audio_clock = 0x200000,
997 .tuner_type = TUNER_PHILIPS_PAL,
998 .radio_type = UNSET,
999 .tuner_addr = ADDR_UNSET,
1000 .radio_addr = ADDR_UNSET,
1001 .inputs = {{
1002 .name = name_comp1,
1003 .vmux = 1,
1004 .amux = LINE1,
1006 .name = name_svideo,
1007 .vmux = 8,
1008 .amux = LINE1,
1010 .name = name_tv,
1011 .vmux = 3,
1012 .amux = TV,
1013 .tv = 1,
1015 .mpeg = SAA7134_MPEG_EMPRESS,
1016 .video_out = CCIR656,
1018 [SAA7134_BOARD_ASUSTEK_TVFM7133] = {
1019 .name = "ASUS TV-FM 7133",
1020 .audio_clock = 0x00187de7,
1021 /* probably wrong, the 7133 one is the NTSC version ...
1022 * .tuner_type = TUNER_PHILIPS_FM1236_MK3 */
1023 .tuner_type = TUNER_LG_NTSC_NEW_TAPC,
1024 .radio_type = UNSET,
1025 .tuner_addr = ADDR_UNSET,
1026 .radio_addr = ADDR_UNSET,
1027 .tda9887_conf = TDA9887_PRESENT,
1028 .inputs = {{
1029 .name = name_tv,
1030 .vmux = 1,
1031 .amux = TV,
1032 .tv = 1,
1035 .name = name_comp1,
1036 .vmux = 4,
1037 .amux = LINE2,
1039 .name = name_svideo,
1040 .vmux = 6,
1041 .amux = LINE2,
1043 .radio = {
1044 .name = name_radio,
1045 .amux = LINE1,
1048 [SAA7134_BOARD_PINNACLE_PCTV_STEREO] = {
1049 .name = "Pinnacle PCTV Stereo (saa7134)",
1050 .audio_clock = 0x00187de7,
1051 .tuner_type = TUNER_MT2032,
1052 .radio_type = UNSET,
1053 .tuner_addr = ADDR_UNSET,
1054 .radio_addr = ADDR_UNSET,
1055 .tda9887_conf = TDA9887_PRESENT | TDA9887_INTERCARRIER | TDA9887_PORT2_INACTIVE,
1056 .inputs = {{
1057 .name = name_tv,
1058 .vmux = 3,
1059 .amux = TV,
1060 .tv = 1,
1062 .name = name_comp1,
1063 .vmux = 0,
1064 .amux = LINE2,
1066 .name = name_comp2,
1067 .vmux = 1,
1068 .amux = LINE2,
1070 .name = name_svideo,
1071 .vmux = 8,
1072 .amux = LINE2,
1075 [SAA7134_BOARD_MANLI_MTV002] = {
1076 /* Ognjen Nastic <ognjen@logosoft.ba> */
1077 .name = "Manli MuchTV M-TV002/Behold TV 403 FM",
1078 .audio_clock = 0x00200000,
1079 .tuner_type = TUNER_PHILIPS_PAL,
1080 .radio_type = UNSET,
1081 .tuner_addr = ADDR_UNSET,
1082 .radio_addr = ADDR_UNSET,
1083 .inputs = {{
1084 .name = name_svideo,
1085 .vmux = 8,
1086 .amux = LINE1,
1088 .name = name_comp1,
1089 .vmux = 1,
1090 .amux = LINE1,
1092 .name = name_tv,
1093 .vmux = 3,
1094 .amux = LINE2,
1095 .tv = 1,
1097 .radio = {
1098 .name = name_radio,
1099 .amux = LINE2,
1102 [SAA7134_BOARD_MANLI_MTV001] = {
1103 /* Ognjen Nastic <ognjen@logosoft.ba> UNTESTED */
1104 .name = "Manli MuchTV M-TV001/Behold TV 401",
1105 .audio_clock = 0x00200000,
1106 .tuner_type = TUNER_PHILIPS_PAL,
1107 .radio_type = UNSET,
1108 .tuner_addr = ADDR_UNSET,
1109 .radio_addr = ADDR_UNSET,
1110 .inputs = {{
1111 .name = name_svideo,
1112 .vmux = 8,
1113 .amux = LINE1,
1115 .name = name_comp1,
1116 .vmux = 1,
1117 .amux = LINE1,
1119 .name = name_tv,
1120 .vmux = 3,
1121 .amux = LINE2,
1122 .tv = 1,
1124 .mute = {
1125 .name = name_mute,
1126 .amux = LINE1,
1129 [SAA7134_BOARD_TG3000TV] = {
1130 /* TransGear 3000TV */
1131 .name = "Nagase Sangyo TransGear 3000TV",
1132 .audio_clock = 0x00187de7,
1133 .tuner_type = TUNER_PHILIPS_NTSC_M,
1134 .radio_type = UNSET,
1135 .tuner_addr = ADDR_UNSET,
1136 .radio_addr = ADDR_UNSET,
1137 .inputs = {{
1138 .name = name_tv,
1139 .vmux = 1,
1140 .amux = LINE2,
1141 .tv = 1,
1143 .name = name_comp1,
1144 .vmux = 3,
1145 .amux = LINE2,
1147 .name = name_svideo,
1148 .vmux = 8,
1149 .amux = LINE2,
1152 [SAA7134_BOARD_ECS_TVP3XP] = {
1153 .name = "Elitegroup ECS TVP3XP FM1216 Tuner Card(PAL-BG,FM) ",
1154 .audio_clock = 0x187de7, /* xtal 32.1 MHz */
1155 .tuner_type = TUNER_PHILIPS_PAL,
1156 .radio_type = UNSET,
1157 .tuner_addr = ADDR_UNSET,
1158 .radio_addr = ADDR_UNSET,
1159 .inputs = {{
1160 .name = name_tv,
1161 .vmux = 1,
1162 .amux = TV,
1163 .tv = 1,
1165 .name = name_tv_mono,
1166 .vmux = 1,
1167 .amux = LINE2,
1168 .tv = 1,
1170 .name = name_comp1,
1171 .vmux = 3,
1172 .amux = LINE1,
1174 .name = name_svideo,
1175 .vmux = 8,
1176 .amux = LINE1,
1178 .name = "CVid over SVid",
1179 .vmux = 0,
1180 .amux = LINE1,
1182 .radio = {
1183 .name = name_radio,
1184 .amux = LINE2,
1187 [SAA7134_BOARD_ECS_TVP3XP_4CB5] = {
1188 .name = "Elitegroup ECS TVP3XP FM1236 Tuner Card (NTSC,FM)",
1189 .audio_clock = 0x187de7,
1190 .tuner_type = TUNER_PHILIPS_NTSC,
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_4CB6] = {
1223 /* Barry Scott <barry.scott@onelan.co.uk> */
1224 .name = "Elitegroup ECS TVP3XP FM1246 Tuner Card (PAL,FM)",
1225 .audio_clock = 0x187de7,
1226 .tuner_type = TUNER_PHILIPS_PAL_I,
1227 .radio_type = UNSET,
1228 .tuner_addr = ADDR_UNSET,
1229 .radio_addr = ADDR_UNSET,
1230 .inputs = {{
1231 .name = name_tv,
1232 .vmux = 1,
1233 .amux = TV,
1234 .tv = 1,
1236 .name = name_tv_mono,
1237 .vmux = 1,
1238 .amux = LINE2,
1239 .tv = 1,
1241 .name = name_comp1,
1242 .vmux = 3,
1243 .amux = LINE1,
1245 .name = name_svideo,
1246 .vmux = 8,
1247 .amux = LINE1,
1249 .name = "CVid over SVid",
1250 .vmux = 0,
1251 .amux = LINE1,
1253 .radio = {
1254 .name = name_radio,
1255 .amux = LINE2,
1258 [SAA7134_BOARD_AVACSSMARTTV] = {
1259 /* Roman Pszonczenko <romka@kolos.math.uni.lodz.pl> */
1260 .name = "AVACS SmartTV",
1261 .audio_clock = 0x00187de7,
1262 .tuner_type = TUNER_PHILIPS_PAL,
1263 .radio_type = UNSET,
1264 .tuner_addr = ADDR_UNSET,
1265 .radio_addr = ADDR_UNSET,
1266 .inputs = {{
1267 .name = name_tv,
1268 .vmux = 1,
1269 .amux = TV,
1270 .tv = 1,
1272 .name = name_tv_mono,
1273 .vmux = 1,
1274 .amux = LINE2,
1275 .tv = 1,
1277 .name = name_comp1,
1278 .vmux = 0,
1279 .amux = LINE2,
1281 .name = name_comp2,
1282 .vmux = 3,
1283 .amux = LINE2,
1285 .name = name_svideo,
1286 .vmux = 8,
1287 .amux = LINE2,
1289 .radio = {
1290 .name = name_radio,
1291 .amux = LINE2,
1292 .gpio = 0x200000,
1295 [SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER] = {
1296 /* Michael Smith <msmith@cbnco.com> */
1297 .name = "AVerMedia DVD EZMaker",
1298 .audio_clock = 0x00187de7,
1299 .tuner_type = TUNER_ABSENT,
1300 .radio_type = UNSET,
1301 .tuner_addr = ADDR_UNSET,
1302 .radio_addr = ADDR_UNSET,
1303 .inputs = {{
1304 .name = name_comp1,
1305 .vmux = 3,
1307 .name = name_svideo,
1308 .vmux = 8,
1311 [SAA7134_BOARD_NOVAC_PRIMETV7133] = {
1312 /* toshii@netbsd.org */
1313 .name = "Noval Prime TV 7133",
1314 .audio_clock = 0x00200000,
1315 .tuner_type = TUNER_ALPS_TSBH1_NTSC,
1316 .radio_type = UNSET,
1317 .tuner_addr = ADDR_UNSET,
1318 .radio_addr = ADDR_UNSET,
1319 .inputs = {{
1320 .name = name_comp1,
1321 .vmux = 3,
1323 .name = name_tv,
1324 .vmux = 1,
1325 .amux = TV,
1326 .tv = 1,
1328 .name = name_svideo,
1329 .vmux = 8,
1332 [SAA7134_BOARD_AVERMEDIA_STUDIO_305] = {
1333 .name = "AverMedia AverTV Studio 305",
1334 .audio_clock = 0x00187de7,
1335 .tuner_type = TUNER_PHILIPS_FM1256_IH3,
1336 .radio_type = UNSET,
1337 .tuner_addr = ADDR_UNSET,
1338 .radio_addr = ADDR_UNSET,
1339 .tda9887_conf = TDA9887_PRESENT,
1340 .inputs = {{
1341 .name = name_tv,
1342 .vmux = 1,
1343 .amux = LINE2,
1344 .tv = 1,
1346 .name = name_comp1,
1347 .vmux = 0,
1348 .amux = LINE2,
1350 .name = name_comp2,
1351 .vmux = 3,
1352 .amux = LINE2,
1354 .name = name_svideo,
1355 .vmux = 8,
1356 .amux = LINE2,
1358 .radio = {
1359 .name = name_radio,
1360 .amux = LINE2,
1362 .mute = {
1363 .name = name_mute,
1364 .amux = LINE1,
1367 [SAA7134_BOARD_UPMOST_PURPLE_TV] = {
1368 .name = "UPMOST PURPLE TV",
1369 .audio_clock = 0x00187de7,
1370 .tuner_type = TUNER_PHILIPS_FM1236_MK3,
1371 .radio_type = UNSET,
1372 .tuner_addr = ADDR_UNSET,
1373 .radio_addr = ADDR_UNSET,
1374 .tda9887_conf = TDA9887_PRESENT,
1375 .inputs = {{
1376 .name = name_tv,
1377 .vmux = 7,
1378 .amux = TV,
1379 .tv = 1,
1381 .name = name_svideo,
1382 .vmux = 7,
1383 .amux = LINE1,
1386 [SAA7134_BOARD_ITEMS_MTV005] = {
1387 /* Norman Jonas <normanjonas@arcor.de> */
1388 .name = "Items MuchTV Plus / IT-005",
1389 .audio_clock = 0x00187de7,
1390 .tuner_type = TUNER_PHILIPS_PAL,
1391 .radio_type = UNSET,
1392 .tuner_addr = ADDR_UNSET,
1393 .radio_addr = ADDR_UNSET,
1394 .inputs = {{
1395 .name = name_tv,
1396 .vmux = 3,
1397 .amux = TV,
1398 .tv = 1,
1400 .name = name_comp1,
1401 .vmux = 1,
1402 .amux = LINE1,
1404 .name = name_svideo,
1405 .vmux = 8,
1406 .amux = LINE1,
1408 .radio = {
1409 .name = name_radio,
1410 .amux = LINE2,
1413 [SAA7134_BOARD_CINERGY200] = {
1414 .name = "Terratec Cinergy 200 TV",
1415 .audio_clock = 0x00200000,
1416 .tuner_type = TUNER_PHILIPS_PAL,
1417 .radio_type = UNSET,
1418 .tuner_addr = ADDR_UNSET,
1419 .radio_addr = ADDR_UNSET,
1420 .inputs = {{
1421 .name = name_tv,
1422 .vmux = 1,
1423 .amux = LINE2,
1424 .tv = 1,
1426 .name = name_comp1,
1427 .vmux = 4,
1428 .amux = LINE1,
1430 .name = name_svideo,
1431 .vmux = 8,
1432 .amux = LINE1,
1434 .name = name_comp2, /* CVideo over SVideo Connector */
1435 .vmux = 0,
1436 .amux = LINE1,
1438 .mute = {
1439 .name = name_mute,
1440 .amux = LINE2,
1443 [SAA7134_BOARD_VIDEOMATE_TV_PVR] = {
1444 /* Alain St-Denis <alain@topaze.homeip.net> */
1445 .name = "Compro VideoMate TV PVR/FM",
1446 .audio_clock = 0x00187de7,
1447 .tuner_type = TUNER_PHILIPS_NTSC_M,
1448 .radio_type = UNSET,
1449 .tuner_addr = ADDR_UNSET,
1450 .radio_addr = ADDR_UNSET,
1451 .gpiomask = 0x808c0080,
1452 .inputs = {{
1453 .name = name_svideo,
1454 .vmux = 8,
1455 .amux = LINE1,
1456 .gpio = 0x00080,
1458 .name = name_comp1,
1459 .vmux = 3,
1460 .amux = LINE1,
1461 .gpio = 0x00080,
1463 .name = name_tv,
1464 .vmux = 1,
1465 .amux = LINE2_LEFT,
1466 .tv = 1,
1467 .gpio = 0x00080,
1469 .radio = {
1470 .name = name_radio,
1471 .amux = LINE2,
1472 .gpio = 0x80000,
1474 .mute = {
1475 .name = name_mute,
1476 .amux = LINE2,
1477 .gpio = 0x40000,
1480 [SAA7134_BOARD_SABRENT_SBTTVFM] = {
1481 /* Michael Rodriguez-Torrent <mrtorrent@asu.edu> */
1482 .name = "Sabrent SBT-TVFM (saa7130)",
1483 .audio_clock = 0x00187de7,
1484 .tuner_type = TUNER_PHILIPS_NTSC_M,
1485 .radio_type = UNSET,
1486 .tuner_addr = ADDR_UNSET,
1487 .radio_addr = ADDR_UNSET,
1488 .inputs = {{
1489 .name = name_comp1,
1490 .vmux = 1,
1491 .amux = LINE1,
1493 .name = name_tv,
1494 .vmux = 3,
1495 .amux = LINE2,
1496 .tv = 1,
1498 .name = name_svideo,
1499 .vmux = 8,
1500 .amux = LINE1,
1502 .radio = {
1503 .name = name_radio,
1504 .amux = LINE2,
1507 [SAA7134_BOARD_ZOLID_XPERT_TV7134] = {
1508 /* Helge Jensen <helge.jensen@slog.dk> */
1509 .name = ":Zolid Xpert TV7134",
1510 .audio_clock = 0x00187de7,
1511 .tuner_type = TUNER_PHILIPS_NTSC,
1512 .radio_type = UNSET,
1513 .tuner_addr = ADDR_UNSET,
1514 .radio_addr = ADDR_UNSET,
1515 .inputs = {{
1516 .name = name_svideo,
1517 .vmux = 8,
1518 .amux = LINE1,
1520 .name = name_comp1,
1521 .vmux = 3,
1522 .amux = LINE1,
1524 .name = name_tv,
1525 .vmux = 1,
1526 .amux = LINE2,
1527 .tv = 1,
1530 [SAA7134_BOARD_EMPIRE_PCI_TV_RADIO_LE] = {
1531 /* "Matteo Az" <matte.az@nospam.libero.it> ;-) */
1532 .name = "Empire PCI TV-Radio LE",
1533 .audio_clock = 0x00187de7,
1534 .tuner_type = TUNER_PHILIPS_PAL,
1535 .radio_type = UNSET,
1536 .tuner_addr = ADDR_UNSET,
1537 .radio_addr = ADDR_UNSET,
1538 .gpiomask = 0x4000,
1539 .inputs = {{
1540 .name = name_tv_mono,
1541 .vmux = 1,
1542 .amux = LINE2,
1543 .gpio = 0x8000,
1544 .tv = 1,
1546 .name = name_comp1,
1547 .vmux = 3,
1548 .amux = LINE1,
1549 .gpio = 0x8000,
1551 .name = name_svideo,
1552 .vmux = 6,
1553 .amux = LINE1,
1554 .gpio = 0x8000,
1556 .radio = {
1557 .name = name_radio,
1558 .amux = LINE1,
1559 .gpio = 0x8000,
1561 .mute = {
1562 .name = name_mute,
1563 .amux = TV,
1564 .gpio =0x8000,
1567 [SAA7134_BOARD_AVERMEDIA_STUDIO_307] = {
1569 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1570 Lots of thanks to Andrey Zolotarev <zolotarev_andrey@mail.ru>
1572 .name = "Avermedia AVerTV Studio 307",
1573 .audio_clock = 0x00187de7,
1574 .tuner_type = TUNER_PHILIPS_FM1256_IH3,
1575 .radio_type = UNSET,
1576 .tuner_addr = ADDR_UNSET,
1577 .radio_addr = ADDR_UNSET,
1578 .tda9887_conf = TDA9887_PRESENT,
1579 .gpiomask = 0x03,
1580 .inputs = {{
1581 .name = name_tv,
1582 .vmux = 1,
1583 .amux = TV,
1584 .tv = 1,
1585 .gpio = 0x00,
1587 .name = name_comp,
1588 .vmux = 3,
1589 .amux = LINE1,
1590 .gpio = 0x02,
1592 .name = name_svideo,
1593 .vmux = 8,
1594 .amux = LINE1,
1595 .gpio = 0x02,
1597 .radio = {
1598 .name = name_radio,
1599 .amux = LINE1,
1600 .gpio = 0x01,
1602 .mute = {
1603 .name = name_mute,
1604 .amux = LINE1,
1605 .gpio = 0x00,
1608 [SAA7134_BOARD_AVERMEDIA_GO_007_FM] = {
1609 .name = "Avermedia AVerTV GO 007 FM",
1610 .audio_clock = 0x00187de7,
1611 .tuner_type = TUNER_PHILIPS_TDA8290,
1612 .radio_type = UNSET,
1613 .tuner_addr = ADDR_UNSET,
1614 .radio_addr = ADDR_UNSET,
1615 .gpiomask = 0x00300003,
1616 /* .gpiomask = 0x8c240003, */
1617 .inputs = {{
1618 .name = name_tv,
1619 .vmux = 1,
1620 .amux = TV,
1621 .tv = 1,
1622 .gpio = 0x01,
1624 .name = name_comp1,
1625 .vmux = 0,
1626 .amux = LINE1,
1627 .gpio = 0x02,
1629 .name = name_svideo,
1630 .vmux = 6,
1631 .amux = LINE1,
1632 .gpio = 0x02,
1634 .radio = {
1635 .name = name_radio,
1636 .amux = LINE1,
1637 .gpio = 0x00300001,
1639 .mute = {
1640 .name = name_mute,
1641 .amux = TV,
1642 .gpio = 0x01,
1645 [SAA7134_BOARD_AVERMEDIA_CARDBUS] = {
1646 /* Kees.Blom@cwi.nl */
1647 .name = "AVerMedia Cardbus TV/Radio (E500)",
1648 .audio_clock = 0x187de7,
1649 .tuner_type = TUNER_PHILIPS_TDA8290,
1650 .radio_type = UNSET,
1651 .tuner_addr = ADDR_UNSET,
1652 .radio_addr = ADDR_UNSET,
1653 .inputs = {{
1654 .name = name_tv,
1655 .vmux = 1,
1656 .amux = TV,
1657 .tv = 1,
1659 .name = name_comp1,
1660 .vmux = 3,
1661 .amux = LINE2,
1663 .name = name_svideo,
1664 .vmux = 8,
1665 .amux = LINE1,
1667 .radio = {
1668 .name = name_radio,
1669 .amux = LINE1,
1672 [SAA7134_BOARD_CINERGY400_CARDBUS] = {
1673 .name = "Terratec Cinergy 400 mobile",
1674 .audio_clock = 0x187de7,
1675 .tuner_type = TUNER_ALPS_TSBE5_PAL,
1676 .radio_type = UNSET,
1677 .tuner_addr = ADDR_UNSET,
1678 .radio_addr = ADDR_UNSET,
1679 .tda9887_conf = TDA9887_PRESENT,
1680 .inputs = {{
1681 .name = name_tv,
1682 .vmux = 1,
1683 .amux = TV,
1684 .tv = 1,
1686 .name = name_tv_mono,
1687 .vmux = 1,
1688 .amux = LINE2,
1689 .tv = 1,
1691 .name = name_comp1,
1692 .vmux = 3,
1693 .amux = LINE1,
1695 .name = name_svideo,
1696 .vmux = 8,
1697 .amux = LINE1,
1700 [SAA7134_BOARD_CINERGY600_MK3] = {
1701 .name = "Terratec Cinergy 600 TV MK3",
1702 .audio_clock = 0x00200000,
1703 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
1704 .radio_type = UNSET,
1705 .tuner_addr = ADDR_UNSET,
1706 .radio_addr = ADDR_UNSET,
1707 .tda9887_conf = TDA9887_PRESENT,
1708 .inputs = {{
1709 .name = name_tv,
1710 .vmux = 1,
1711 .amux = TV,
1712 .tv = 1,
1714 .name = name_comp1,
1715 .vmux = 4,
1716 .amux = LINE1,
1718 .name = name_svideo,
1719 .vmux = 8,
1720 .amux = LINE1,
1722 .name = name_comp2, /* CVideo over SVideo Connector */
1723 .vmux = 0,
1724 .amux = LINE1,
1726 .radio = {
1727 .name = name_radio,
1728 .amux = LINE2,
1731 [SAA7134_BOARD_VIDEOMATE_GOLD_PLUS] = {
1732 /* Dylan Walkden <dylan_walkden@hotmail.com> */
1733 .name = "Compro VideoMate Gold+ Pal",
1734 .audio_clock = 0x00187de7,
1735 .tuner_type = TUNER_PHILIPS_PAL,
1736 .radio_type = UNSET,
1737 .tuner_addr = ADDR_UNSET,
1738 .radio_addr = ADDR_UNSET,
1739 .gpiomask = 0x1ce780,
1740 .inputs = {{
1741 .name = name_svideo,
1742 .vmux = 0, /* CVideo over SVideo Connector - ok? */
1743 .amux = LINE1,
1744 .gpio = 0x008080,
1746 .name = name_comp1,
1747 .vmux = 3,
1748 .amux = LINE1,
1749 .gpio = 0x008080,
1751 .name = name_tv,
1752 .vmux = 1,
1753 .amux = TV,
1754 .tv = 1,
1755 .gpio = 0x008080,
1757 .radio = {
1758 .name = name_radio,
1759 .amux = LINE2,
1760 .gpio = 0x80000,
1762 .mute = {
1763 .name = name_mute,
1764 .amux = LINE2,
1765 .gpio = 0x0c8000,
1768 [SAA7134_BOARD_PINNACLE_300I_DVBT_PAL] = {
1769 .name = "Pinnacle PCTV 300i DVB-T + PAL",
1770 .audio_clock = 0x00187de7,
1771 .tuner_type = TUNER_MT2032,
1772 .radio_type = UNSET,
1773 .tuner_addr = ADDR_UNSET,
1774 .radio_addr = ADDR_UNSET,
1775 .tda9887_conf = TDA9887_PRESENT | TDA9887_INTERCARRIER | TDA9887_PORT2_INACTIVE,
1776 .mpeg = SAA7134_MPEG_DVB,
1777 .inputs = {{
1778 .name = name_tv,
1779 .vmux = 3,
1780 .amux = TV,
1781 .tv = 1,
1783 .name = name_comp1,
1784 .vmux = 0,
1785 .amux = LINE2,
1787 .name = name_comp2,
1788 .vmux = 1,
1789 .amux = LINE2,
1791 .name = name_svideo,
1792 .vmux = 8,
1793 .amux = LINE2,
1796 [SAA7134_BOARD_PROVIDEO_PV952] = {
1797 /* andreas.kretschmer@web.de */
1798 .name = "ProVideo PV952",
1799 .audio_clock = 0x00187de7,
1800 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
1801 .radio_type = UNSET,
1802 .tuner_addr = ADDR_UNSET,
1803 .radio_addr = ADDR_UNSET,
1804 .tda9887_conf = TDA9887_PRESENT,
1805 .inputs = {{
1806 .name = name_comp1,
1807 .vmux = 0,
1808 .amux = LINE1,
1810 .name = name_tv,
1811 .vmux = 1,
1812 .amux = TV,
1813 .tv = 1,
1815 .name = name_tv_mono,
1816 .vmux = 1,
1817 .amux = LINE2,
1818 .tv = 1,
1820 .radio = {
1821 .name = name_radio,
1822 .amux = LINE2,
1825 [SAA7134_BOARD_AVERMEDIA_305] = {
1826 /* much like the "studio" version but without radio
1827 * and another tuner (sirspiritus@yandex.ru) */
1828 .name = "AverMedia AverTV/305",
1829 .audio_clock = 0x00187de7,
1830 .tuner_type = TUNER_PHILIPS_FQ1216ME,
1831 .radio_type = UNSET,
1832 .tuner_addr = ADDR_UNSET,
1833 .radio_addr = ADDR_UNSET,
1834 .tda9887_conf = TDA9887_PRESENT,
1835 .inputs = {{
1836 .name = name_tv,
1837 .vmux = 1,
1838 .amux = LINE2,
1839 .tv = 1,
1841 .name = name_comp1,
1842 .vmux = 0,
1843 .amux = LINE2,
1845 .name = name_comp2,
1846 .vmux = 3,
1847 .amux = LINE2,
1849 .name = name_svideo,
1850 .vmux = 8,
1851 .amux = LINE2,
1853 .mute = {
1854 .name = name_mute,
1855 .amux = LINE1,
1858 [SAA7134_BOARD_FLYDVBTDUO] = {
1859 /* LifeView FlyDVB-T DUO */
1860 /* "Nico Sabbi <nsabbi@tiscali.it> Hartmut Hackmann hartmut.hackmann@t-online.de*/
1861 .name = "LifeView FlyDVB-T DUO / MSI TV@nywhere Duo",
1862 .audio_clock = 0x00200000,
1863 .tuner_type = TUNER_PHILIPS_TDA8290,
1864 .radio_type = UNSET,
1865 .tuner_addr = ADDR_UNSET,
1866 .radio_addr = ADDR_UNSET,
1867 .gpiomask = 0x00200000,
1868 .mpeg = SAA7134_MPEG_DVB,
1869 .inputs = {{
1870 .name = name_tv,
1871 .vmux = 1,
1872 .amux = TV,
1873 .gpio = 0x200000, /* GPIO21=High for TV input */
1874 .tv = 1,
1876 .name = name_comp1, /* Composite signal on S-Video input */
1877 .vmux = 0,
1878 .amux = LINE2,
1880 .name = name_comp2, /* Composite input */
1881 .vmux = 3,
1882 .amux = LINE2,
1884 .name = name_svideo, /* S-Video signal on S-Video input */
1885 .vmux = 8,
1886 .amux = LINE2,
1888 .radio = {
1889 .name = name_radio,
1890 .amux = TV,
1891 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
1894 [SAA7134_BOARD_PHILIPS_TOUGH] = {
1895 .name = "Philips TOUGH DVB-T reference design",
1896 .tuner_type = TUNER_ABSENT,
1897 .audio_clock = 0x00187de7,
1898 .radio_type = UNSET,
1899 .tuner_addr = ADDR_UNSET,
1900 .radio_addr = ADDR_UNSET,
1901 .mpeg = SAA7134_MPEG_DVB,
1902 .inputs = {{
1903 .name = name_comp1,
1904 .vmux = 0,
1905 .amux = LINE1,
1907 .name = name_svideo,
1908 .vmux = 8,
1909 .amux = LINE1,
1912 [SAA7134_BOARD_AVERMEDIA_307] = {
1914 Davydov Vladimir <vladimir@iqmedia.com>
1916 .name = "Avermedia AVerTV 307",
1917 .audio_clock = 0x00187de7,
1918 .tuner_type = TUNER_PHILIPS_FQ1216ME,
1919 .radio_type = UNSET,
1920 .tuner_addr = ADDR_UNSET,
1921 .radio_addr = ADDR_UNSET,
1922 .tda9887_conf = TDA9887_PRESENT,
1923 .inputs = {{
1924 .name = name_tv,
1925 .vmux = 1,
1926 .amux = TV,
1927 .tv = 1,
1929 .name = name_comp1,
1930 .vmux = 0,
1931 .amux = LINE1,
1933 .name = name_comp2,
1934 .vmux = 3,
1935 .amux = LINE1,
1937 .name = name_svideo,
1938 .vmux = 8,
1939 .amux = LINE1,
1942 [SAA7134_BOARD_ADS_INSTANT_TV] = {
1943 .name = "ADS Tech Instant TV (saa7135)",
1944 .audio_clock = 0x00187de7,
1945 .tuner_type = TUNER_PHILIPS_TDA8290,
1946 .radio_type = UNSET,
1947 .tuner_addr = ADDR_UNSET,
1948 .radio_addr = ADDR_UNSET,
1949 .inputs = {{
1950 .name = name_tv,
1951 .vmux = 1,
1952 .amux = TV,
1953 .tv = 1,
1955 .name = name_comp1,
1956 .vmux = 3,
1957 .amux = LINE2,
1959 .name = name_svideo,
1960 .vmux = 8,
1961 .amux = LINE2,
1964 [SAA7134_BOARD_KWORLD_VSTREAM_XPERT] = {
1965 .name = "Kworld/Tevion V-Stream Xpert TV PVR7134",
1966 .audio_clock = 0x00187de7,
1967 .tuner_type = TUNER_PHILIPS_PAL_I,
1968 .radio_type = UNSET,
1969 .tuner_addr = ADDR_UNSET,
1970 .radio_addr = ADDR_UNSET,
1971 .gpiomask = 0x0700,
1972 .inputs = {{
1973 .name = name_tv,
1974 .vmux = 1,
1975 .amux = TV,
1976 .tv = 1,
1977 .gpio = 0x000,
1979 .name = name_comp1,
1980 .vmux = 3,
1981 .amux = LINE1,
1982 .gpio = 0x200, /* gpio by DScaler */
1984 .name = name_svideo,
1985 .vmux = 0,
1986 .amux = LINE1,
1987 .gpio = 0x200,
1989 .radio = {
1990 .name = name_radio,
1991 .amux = LINE1,
1992 .gpio = 0x100,
1994 .mute = {
1995 .name = name_mute,
1996 .amux = TV,
1997 .gpio = 0x000,
2000 [SAA7134_BOARD_FLYDVBT_DUO_CARDBUS] = {
2001 .name = "LifeView/Typhoon/Genius FlyDVB-T Duo Cardbus",
2002 .audio_clock = 0x00200000,
2003 .tuner_type = TUNER_PHILIPS_TDA8290,
2004 .radio_type = UNSET,
2005 .tuner_addr = ADDR_UNSET,
2006 .radio_addr = ADDR_UNSET,
2007 .mpeg = SAA7134_MPEG_DVB,
2008 .gpiomask = 0x00200000,
2009 .inputs = {{
2010 .name = name_tv,
2011 .vmux = 1,
2012 .amux = TV,
2013 .gpio = 0x200000, /* GPIO21=High for TV input */
2014 .tv = 1,
2016 .name = name_svideo, /* S-Video signal on S-Video input */
2017 .vmux = 8,
2018 .amux = LINE2,
2020 .name = name_comp1, /* Composite signal on S-Video input */
2021 .vmux = 0,
2022 .amux = LINE2,
2024 .name = name_comp2, /* Composite input */
2025 .vmux = 3,
2026 .amux = LINE2,
2028 .radio = {
2029 .name = name_radio,
2030 .amux = TV,
2031 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
2034 [SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII] = {
2035 .name = "Compro VideoMate TV Gold+II",
2036 .audio_clock = 0x002187de7,
2037 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
2038 .radio_type = TUNER_TEA5767,
2039 .tuner_addr = 0x63,
2040 .radio_addr = 0x60,
2041 .gpiomask = 0x8c1880,
2042 .inputs = {{
2043 .name = name_svideo,
2044 .vmux = 0,
2045 .amux = LINE1,
2046 .gpio = 0x800800,
2048 .name = name_comp1,
2049 .vmux = 3,
2050 .amux = LINE1,
2051 .gpio = 0x801000,
2053 .name = name_tv,
2054 .vmux = 1,
2055 .amux = TV,
2056 .tv = 1,
2057 .gpio = 0x800000,
2059 .radio = {
2060 .name = name_radio,
2061 .amux = TV,
2062 .gpio = 0x880000,
2064 .mute = {
2065 .name = name_mute,
2066 .amux = LINE2,
2067 .gpio = 0x840000,
2070 [SAA7134_BOARD_KWORLD_XPERT] = {
2072 FIXME:
2073 - Remote control doesn't initialize properly.
2074 - Audio volume starts muted,
2075 then gradually increases after channel change.
2076 - Overlay scaling problems (application error?)
2077 - Composite S-Video untested.
2078 From: Konrad Rzepecki <hannibal@megapolis.pl>
2080 .name = "Kworld Xpert TV PVR7134",
2081 .audio_clock = 0x00187de7,
2082 .tuner_type = TUNER_TENA_9533_DI,
2083 .radio_type = TUNER_TEA5767,
2084 .tuner_addr = 0x61,
2085 .radio_addr = 0x60,
2086 .gpiomask = 0x0700,
2087 .inputs = {{
2088 .name = name_tv,
2089 .vmux = 1,
2090 .amux = TV,
2091 .tv = 1,
2092 .gpio = 0x000,
2094 .name = name_comp1,
2095 .vmux = 3,
2096 .amux = LINE1,
2097 .gpio = 0x200, /* gpio by DScaler */
2099 .name = name_svideo,
2100 .vmux = 0,
2101 .amux = LINE1,
2102 .gpio = 0x200,
2104 .radio = {
2105 .name = name_radio,
2106 .amux = LINE1,
2107 .gpio = 0x100,
2109 .mute = {
2110 .name = name_mute,
2111 .amux = TV,
2112 .gpio = 0x000,
2115 [SAA7134_BOARD_FLYTV_DIGIMATRIX] = {
2116 .name = "FlyTV mini Asus Digimatrix",
2117 .audio_clock = 0x00200000,
2118 .tuner_type = TUNER_LG_TALN,
2119 .radio_type = UNSET,
2120 .tuner_addr = ADDR_UNSET,
2121 .radio_addr = ADDR_UNSET,
2122 .inputs = {{
2123 .name = name_tv,
2124 .vmux = 1,
2125 .amux = TV,
2126 .tv = 1,
2128 .name = name_tv_mono,
2129 .vmux = 1,
2130 .amux = LINE2,
2131 .tv = 1,
2133 .name = name_comp1,
2134 .vmux = 0,
2135 .amux = LINE2,
2137 .name = name_comp2,
2138 .vmux = 3,
2139 .amux = LINE2,
2141 .name = name_svideo,
2142 .vmux = 8,
2143 .amux = LINE2,
2145 .radio = {
2146 .name = name_radio, /* radio unconfirmed */
2147 .amux = LINE2,
2150 [SAA7134_BOARD_KWORLD_TERMINATOR] = {
2151 /* Kworld V-Stream Studio TV Terminator */
2152 /* "James Webb <jrwebb@qwest.net> */
2153 .name = "V-Stream Studio TV Terminator",
2154 .audio_clock = 0x00187de7,
2155 .tuner_type = TUNER_PHILIPS_TDA8290,
2156 .radio_type = UNSET,
2157 .tuner_addr = ADDR_UNSET,
2158 .radio_addr = ADDR_UNSET,
2159 .gpiomask = 1 << 21,
2160 .inputs = {{
2161 .name = name_tv,
2162 .vmux = 1,
2163 .amux = TV,
2164 .gpio = 0x0000000,
2165 .tv = 1,
2167 .name = name_comp1, /* Composite input */
2168 .vmux = 3,
2169 .amux = LINE2,
2170 .gpio = 0x0000000,
2172 .name = name_svideo, /* S-Video input */
2173 .vmux = 8,
2174 .amux = LINE2,
2175 .gpio = 0x0000000,
2177 .radio = {
2178 .name = name_radio,
2179 .amux = TV,
2180 .gpio = 0x0200000,
2183 [SAA7134_BOARD_YUAN_TUN900] = {
2184 /* FIXME:
2185 * S-Video and composite sources untested.
2186 * Radio not working.
2187 * Remote control not yet implemented.
2188 * From : codemaster@webgeeks.be */
2189 .name = "Yuan TUN-900 (saa7135)",
2190 .audio_clock = 0x00187de7,
2191 .tuner_type = TUNER_PHILIPS_TDA8290,
2192 .radio_type = UNSET,
2193 .tuner_addr= ADDR_UNSET,
2194 .radio_addr= ADDR_UNSET,
2195 .gpiomask = 0x00010003,
2196 .inputs = {{
2197 .name = name_tv,
2198 .vmux = 1,
2199 .amux = TV,
2200 .tv = 1,
2201 .gpio = 0x01,
2203 .name = name_comp1,
2204 .vmux = 0,
2205 .amux = LINE2,
2206 .gpio = 0x02,
2208 .name = name_svideo,
2209 .vmux = 6,
2210 .amux = LINE2,
2211 .gpio = 0x02,
2213 .radio = {
2214 .name = name_radio,
2215 .amux = LINE1,
2216 .gpio = 0x00010003,
2218 .mute = {
2219 .name = name_mute,
2220 .amux = TV,
2221 .gpio = 0x01,
2224 [SAA7134_BOARD_BEHOLD_409FM] = {
2225 /* <http://tuner.beholder.ru>, Sergey <skiv@orel.ru> */
2226 .name = "Beholder BeholdTV 409 FM",
2227 .audio_clock = 0x00187de7,
2228 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
2229 .radio_type = UNSET,
2230 .tuner_addr = ADDR_UNSET,
2231 .radio_addr = ADDR_UNSET,
2232 .tda9887_conf = TDA9887_PRESENT,
2233 .inputs = {{
2234 .name = name_tv,
2235 .vmux = 3,
2236 .amux = TV,
2237 .tv = 1,
2239 .name = name_comp1,
2240 .vmux = 1,
2241 .amux = LINE1,
2243 .name = name_svideo,
2244 .vmux = 8,
2245 .amux = LINE1,
2247 .radio = {
2248 .name = name_radio,
2249 .amux = LINE2,
2252 [SAA7134_BOARD_GOTVIEW_7135] = {
2253 /* Mike Baikov <mike@baikov.com> */
2254 /* Andrey Cvetcov <ays14@yandex.ru> */
2255 .name = "GoTView 7135 PCI",
2256 .audio_clock = 0x00187de7,
2257 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
2258 .radio_type = UNSET,
2259 .tuner_addr = ADDR_UNSET,
2260 .radio_addr = ADDR_UNSET,
2261 .tda9887_conf = TDA9887_PRESENT,
2262 .gpiomask = 0x00200003,
2263 .inputs = {{
2264 .name = name_tv,
2265 .vmux = 1,
2266 .amux = TV,
2267 .tv = 1,
2268 .gpio = 0x00200003,
2270 .name = name_tv_mono,
2271 .vmux = 1,
2272 .amux = LINE2,
2273 .gpio = 0x00200003,
2275 .name = name_comp1,
2276 .vmux = 3,
2277 .amux = LINE1,
2278 .gpio = 0x00200003,
2280 .name = name_svideo,
2281 .vmux = 8,
2282 .amux = LINE1,
2283 .gpio = 0x00200003,
2285 .radio = {
2286 .name = name_radio,
2287 .amux = LINE2,
2288 .gpio = 0x00200003,
2290 .mute = {
2291 .name = name_mute,
2292 .amux = TV,
2293 .gpio = 0x00200003,
2296 [SAA7134_BOARD_PHILIPS_EUROPA] = {
2297 .name = "Philips EUROPA V3 reference design",
2298 .audio_clock = 0x00187de7,
2299 .tuner_type = TUNER_PHILIPS_TD1316,
2300 .radio_type = UNSET,
2301 .tuner_addr = 0x61,
2302 .radio_addr = ADDR_UNSET,
2303 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
2304 .mpeg = SAA7134_MPEG_DVB,
2305 .inputs = {{
2306 .name = name_tv,
2307 .vmux = 3,
2308 .amux = TV,
2309 .tv = 1,
2311 .name = name_comp1,
2312 .vmux = 0,
2313 .amux = LINE2,
2315 .name = name_svideo,
2316 .vmux = 8,
2317 .amux = LINE2,
2320 [SAA7134_BOARD_VIDEOMATE_DVBT_300] = {
2321 .name = "Compro Videomate DVB-T300",
2322 .audio_clock = 0x00187de7,
2323 .tuner_type = TUNER_PHILIPS_TD1316,
2324 .radio_type = UNSET,
2325 .tuner_addr = 0x61,
2326 .radio_addr = ADDR_UNSET,
2327 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
2328 .mpeg = SAA7134_MPEG_DVB,
2329 .inputs = {{
2330 .name = name_tv,
2331 .vmux = 3,
2332 .amux = TV,
2333 .tv = 1,
2335 .name = name_comp1,
2336 .vmux = 1,
2337 .amux = LINE2,
2339 .name = name_svideo,
2340 .vmux = 8,
2341 .amux = LINE2,
2344 [SAA7134_BOARD_VIDEOMATE_DVBT_200] = {
2345 .name = "Compro Videomate DVB-T200",
2346 .tuner_type = TUNER_ABSENT,
2347 .audio_clock = 0x00187de7,
2348 .radio_type = UNSET,
2349 .tuner_addr = ADDR_UNSET,
2350 .radio_addr = ADDR_UNSET,
2351 .mpeg = SAA7134_MPEG_DVB,
2352 .inputs = {{
2353 .name = name_comp1,
2354 .vmux = 0,
2355 .amux = LINE1,
2357 .name = name_svideo,
2358 .vmux = 8,
2359 .amux = LINE1,
2362 [SAA7134_BOARD_RTD_VFG7350] = {
2363 .name = "RTD Embedded Technologies VFG7350",
2364 .audio_clock = 0x00200000,
2365 .tuner_type = TUNER_ABSENT,
2366 .radio_type = UNSET,
2367 .tuner_addr = ADDR_UNSET,
2368 .radio_addr = ADDR_UNSET,
2369 .inputs = {{
2370 .name = "Composite 0",
2371 .vmux = 0,
2372 .amux = LINE1,
2374 .name = "Composite 1",
2375 .vmux = 1,
2376 .amux = LINE2,
2378 .name = "Composite 2",
2379 .vmux = 2,
2380 .amux = LINE1,
2382 .name = "Composite 3",
2383 .vmux = 3,
2384 .amux = LINE2,
2386 .name = "S-Video 0",
2387 .vmux = 8,
2388 .amux = LINE1,
2390 .name = "S-Video 1",
2391 .vmux = 9,
2392 .amux = LINE2,
2394 .mpeg = SAA7134_MPEG_EMPRESS,
2395 .video_out = CCIR656,
2396 .vid_port_opts = ( SET_T_CODE_POLARITY_NON_INVERTED |
2397 SET_CLOCK_NOT_DELAYED |
2398 SET_CLOCK_INVERTED |
2399 SET_VSYNC_OFF ),
2401 [SAA7134_BOARD_RTD_VFG7330] = {
2402 .name = "RTD Embedded Technologies VFG7330",
2403 .audio_clock = 0x00200000,
2404 .tuner_type = TUNER_ABSENT,
2405 .radio_type = UNSET,
2406 .tuner_addr = ADDR_UNSET,
2407 .radio_addr = ADDR_UNSET,
2408 .inputs = {{
2409 .name = "Composite 0",
2410 .vmux = 0,
2411 .amux = LINE1,
2413 .name = "Composite 1",
2414 .vmux = 1,
2415 .amux = LINE2,
2417 .name = "Composite 2",
2418 .vmux = 2,
2419 .amux = LINE1,
2421 .name = "Composite 3",
2422 .vmux = 3,
2423 .amux = LINE2,
2425 .name = "S-Video 0",
2426 .vmux = 8,
2427 .amux = LINE1,
2429 .name = "S-Video 1",
2430 .vmux = 9,
2431 .amux = LINE2,
2434 [SAA7134_BOARD_FLYTVPLATINUM_MINI2] = {
2435 .name = "LifeView FlyTV Platinum Mini2",
2436 .audio_clock = 0x00200000,
2437 .tuner_type = TUNER_PHILIPS_TDA8290,
2438 .radio_type = UNSET,
2439 .tuner_addr = ADDR_UNSET,
2440 .radio_addr = ADDR_UNSET,
2442 .inputs = {{
2443 .name = name_tv,
2444 .vmux = 1,
2445 .amux = TV,
2446 .tv = 1,
2448 .name = name_comp1, /* Composite signal on S-Video input */
2449 .vmux = 0,
2450 .amux = LINE2,
2452 .name = name_comp2, /* Composite input */
2453 .vmux = 3,
2454 .amux = LINE2,
2456 .name = name_svideo,
2457 .vmux = 8,
2458 .amux = LINE2,
2461 [SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180] = {
2462 /* Michael Krufky <mkrufky@m1k.net>
2463 * Uses Alps Electric TDHU2, containing NXT2004 ATSC Decoder
2464 * AFAIK, there is no analog demod, thus,
2465 * no support for analog television.
2467 .name = "AVerMedia AVerTVHD MCE A180",
2468 .audio_clock = 0x00187de7,
2469 .tuner_type = TUNER_ABSENT,
2470 .radio_type = UNSET,
2471 .tuner_addr = ADDR_UNSET,
2472 .radio_addr = ADDR_UNSET,
2473 .mpeg = SAA7134_MPEG_DVB,
2474 .inputs = {{
2475 .name = name_comp1,
2476 .vmux = 3,
2477 .amux = LINE2,
2479 .name = name_svideo,
2480 .vmux = 8,
2481 .amux = LINE2,
2484 [SAA7134_BOARD_MONSTERTV_MOBILE] = {
2485 .name = "SKNet MonsterTV Mobile",
2486 .audio_clock = 0x00187de7,
2487 .tuner_type = TUNER_PHILIPS_TDA8290,
2488 .radio_type = UNSET,
2489 .tuner_addr = ADDR_UNSET,
2490 .radio_addr = ADDR_UNSET,
2492 .inputs = {{
2493 .name = name_tv,
2494 .vmux = 1,
2495 .amux = TV,
2496 .tv = 1,
2498 .name = name_comp1,
2499 .vmux = 3,
2500 .amux = LINE1,
2502 .name = name_svideo,
2503 .vmux = 6,
2504 .amux = LINE1,
2507 [SAA7134_BOARD_PINNACLE_PCTV_110i] = {
2508 .name = "Pinnacle PCTV 40i/50i/110i (saa7133)",
2509 .audio_clock = 0x00187de7,
2510 .tuner_type = TUNER_PHILIPS_TDA8290,
2511 .radio_type = UNSET,
2512 .tuner_addr = ADDR_UNSET,
2513 .radio_addr = ADDR_UNSET,
2514 .gpiomask = 0x080200000,
2515 .inputs = {{
2516 .name = name_tv,
2517 .vmux = 4,
2518 .amux = TV,
2519 .tv = 1,
2521 .name = name_comp1,
2522 .vmux = 1,
2523 .amux = LINE2,
2525 .name = name_comp2,
2526 .vmux = 0,
2527 .amux = LINE2,
2529 .name = name_svideo,
2530 .vmux = 8,
2531 .amux = LINE2,
2533 .radio = {
2534 .name = name_radio,
2535 .amux = LINE1,
2538 [SAA7134_BOARD_ASUSTeK_P7131_DUAL] = {
2539 .name = "ASUSTeK P7131 Dual",
2540 .audio_clock = 0x00187de7,
2541 .tuner_type = TUNER_PHILIPS_TDA8290,
2542 .radio_type = UNSET,
2543 .tuner_addr = ADDR_UNSET,
2544 .radio_addr = ADDR_UNSET,
2545 .gpiomask = 1 << 21,
2546 .mpeg = SAA7134_MPEG_DVB,
2547 .inputs = {{
2548 .name = name_tv,
2549 .vmux = 1,
2550 .amux = TV,
2551 .tv = 1,
2552 .gpio = 0x0000000,
2554 .name = name_comp1,
2555 .vmux = 3,
2556 .amux = LINE2,
2557 .gpio = 0x0200000,
2559 .name = name_comp2,
2560 .vmux = 0,
2561 .amux = LINE2,
2562 .gpio = 0x0200000,
2564 .name = name_svideo,
2565 .vmux = 8,
2566 .amux = LINE2,
2567 .gpio = 0x0200000,
2569 .radio = {
2570 .name = name_radio,
2571 .amux = TV,
2572 .gpio = 0x0200000,
2575 [SAA7134_BOARD_SEDNA_PC_TV_CARDBUS] = {
2576 /* Paul Tom Zalac <pzalac@gmail.com> */
2577 /* Pavel Mihaylov <bin@bash.info> */
2578 .name = "Sedna/MuchTV PC TV Cardbus TV/Radio (ITO25 Rev:2B)",
2579 /* Sedna/MuchTV (OEM) Cardbus TV Tuner */
2580 .audio_clock = 0x00187de7,
2581 .tuner_type = TUNER_PHILIPS_TDA8290,
2582 .radio_type = UNSET,
2583 .tuner_addr = ADDR_UNSET,
2584 .radio_addr = ADDR_UNSET,
2585 .gpiomask = 0xe880c0,
2586 .inputs = {{
2587 .name = name_tv,
2588 .vmux = 3,
2589 .amux = TV,
2590 .tv = 1,
2592 .name = name_comp1,
2593 .vmux = 1,
2594 .amux = LINE1,
2596 .name = name_svideo,
2597 .vmux = 6,
2598 .amux = LINE1,
2600 .radio = {
2601 .name = name_radio,
2602 .amux = LINE2,
2605 [SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV] = {
2606 /* "Cyril Lacoux (Yack)" <clacoux@ifeelgood.org> */
2607 .name = "ASUS Digimatrix TV",
2608 .audio_clock = 0x00200000,
2609 .tuner_type = TUNER_PHILIPS_FQ1216ME,
2610 .tda9887_conf = TDA9887_PRESENT,
2611 .radio_type = UNSET,
2612 .tuner_addr = ADDR_UNSET,
2613 .radio_addr = ADDR_UNSET,
2614 .inputs = {{
2615 .name = name_tv,
2616 .vmux = 1,
2617 .amux = TV,
2618 .tv = 1,
2620 .name = name_comp1,
2621 .vmux = 3,
2622 .amux = LINE1,
2624 .name = name_svideo,
2625 .vmux = 8,
2626 .amux = LINE1,
2629 [SAA7134_BOARD_PHILIPS_TIGER] = {
2630 .name = "Philips Tiger reference design",
2631 .audio_clock = 0x00187de7,
2632 .tuner_type = TUNER_PHILIPS_TDA8290,
2633 .radio_type = UNSET,
2634 .tuner_addr = ADDR_UNSET,
2635 .radio_addr = ADDR_UNSET,
2636 .tuner_config = 0,
2637 .mpeg = SAA7134_MPEG_DVB,
2638 .gpiomask = 0x0200000,
2639 .inputs = {{
2640 .name = name_tv,
2641 .vmux = 1,
2642 .amux = TV,
2643 .tv = 1,
2645 .name = name_comp1,
2646 .vmux = 3,
2647 .amux = LINE1,
2649 .name = name_svideo,
2650 .vmux = 8,
2651 .amux = LINE1,
2653 .radio = {
2654 .name = name_radio,
2655 .amux = TV,
2656 .gpio = 0x0200000,
2659 [SAA7134_BOARD_MSI_TVATANYWHERE_PLUS] = {
2660 .name = "MSI TV@Anywhere plus",
2661 .audio_clock = 0x00187de7,
2662 .tuner_type = TUNER_PHILIPS_TDA8290,
2663 .radio_type = UNSET,
2664 .tuner_addr = ADDR_UNSET,
2665 .radio_addr = ADDR_UNSET,
2666 .gpiomask = 1 << 21,
2667 .inputs = {{
2668 .name = name_tv,
2669 .vmux = 1,
2670 .amux = TV,
2671 .tv = 1,
2673 .name = name_comp1,
2674 .vmux = 3,
2675 .amux = LINE2, /* unconfirmed, taken from Philips driver */
2677 .name = name_comp2,
2678 .vmux = 0, /* untested, Composite over S-Video */
2679 .amux = LINE2,
2681 .name = name_svideo,
2682 .vmux = 8,
2683 .amux = LINE2,
2685 .radio = {
2686 .name = name_radio,
2687 .amux = TV,
2688 .gpio = 0x0200000,
2691 [SAA7134_BOARD_CINERGY250PCI] = {
2692 /* remote-control does not work. The signal about a
2693 key press comes in via gpio, but the key code
2694 doesn't. Neither does it have an i2c remote control
2695 interface. */
2696 .name = "Terratec Cinergy 250 PCI TV",
2697 .audio_clock = 0x00187de7,
2698 .tuner_type = TUNER_PHILIPS_TDA8290,
2699 .radio_type = UNSET,
2700 .tuner_addr = ADDR_UNSET,
2701 .radio_addr = ADDR_UNSET,
2702 .gpiomask = 0x80200000,
2703 .inputs = {{
2704 .name = name_tv,
2705 .vmux = 1,
2706 .amux = TV,
2707 .tv = 1,
2709 .name = name_svideo, /* NOT tested */
2710 .vmux = 8,
2711 .amux = LINE1,
2713 .radio = {
2714 .name = name_radio,
2715 .amux = TV,
2716 .gpio = 0x0200000,
2719 [SAA7134_BOARD_FLYDVB_TRIO] = {
2720 /* LifeView LR319 FlyDVB Trio */
2721 /* Peter Missel <peter.missel@onlinehome.de> */
2722 .name = "LifeView FlyDVB Trio",
2723 .audio_clock = 0x00200000,
2724 .tuner_type = TUNER_PHILIPS_TDA8290,
2725 .radio_type = UNSET,
2726 .tuner_addr = ADDR_UNSET,
2727 .radio_addr = ADDR_UNSET,
2728 .gpiomask = 0x00200000,
2729 .mpeg = SAA7134_MPEG_DVB,
2730 .inputs = {{
2731 .name = name_tv, /* Analog broadcast/cable TV */
2732 .vmux = 1,
2733 .amux = TV,
2734 .gpio = 0x200000, /* GPIO21=High for TV input */
2735 .tv = 1,
2737 .name = name_svideo, /* S-Video signal on S-Video input */
2738 .vmux = 8,
2739 .amux = LINE2,
2741 .name = name_comp1, /* Composite signal on S-Video input */
2742 .vmux = 0,
2743 .amux = LINE2,
2745 .name = name_comp2, /* Composite input */
2746 .vmux = 3,
2747 .amux = LINE2,
2749 .radio = {
2750 .name = name_radio,
2751 .amux = TV,
2752 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
2755 [SAA7134_BOARD_AVERMEDIA_777] = {
2756 .name = "AverTV DVB-T 777",
2757 .audio_clock = 0x00187de7,
2758 .tuner_type = TUNER_ABSENT,
2759 .radio_type = UNSET,
2760 .tuner_addr = ADDR_UNSET,
2761 .radio_addr = ADDR_UNSET,
2762 .mpeg = SAA7134_MPEG_DVB,
2763 .inputs = {{
2764 .name = name_comp1,
2765 .vmux = 1,
2766 .amux = LINE1,
2768 .name = name_svideo,
2769 .vmux = 8,
2770 .amux = LINE1,
2773 [SAA7134_BOARD_FLYDVBT_LR301] = {
2774 /* LifeView FlyDVB-T */
2775 /* Giampiero Giancipoli <gianci@libero.it> */
2776 .name = "LifeView FlyDVB-T / Genius VideoWonder DVB-T",
2777 .audio_clock = 0x00200000,
2778 .tuner_type = TUNER_ABSENT,
2779 .radio_type = UNSET,
2780 .tuner_addr = ADDR_UNSET,
2781 .radio_addr = ADDR_UNSET,
2782 .mpeg = SAA7134_MPEG_DVB,
2783 .inputs = {{
2784 .name = name_comp1, /* Composite input */
2785 .vmux = 3,
2786 .amux = LINE2,
2788 .name = name_svideo, /* S-Video signal on S-Video input */
2789 .vmux = 8,
2790 .amux = LINE2,
2793 [SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331] = {
2794 .name = "ADS Instant TV Duo Cardbus PTV331",
2795 .audio_clock = 0x00200000,
2796 .tuner_type = TUNER_PHILIPS_TDA8290,
2797 .radio_type = UNSET,
2798 .tuner_addr = ADDR_UNSET,
2799 .radio_addr = ADDR_UNSET,
2800 .mpeg = SAA7134_MPEG_DVB,
2801 .gpiomask = 0x00600000, /* Bit 21 0=Radio, Bit 22 0=TV */
2802 .inputs = {{
2803 .name = name_tv,
2804 .vmux = 1,
2805 .amux = TV,
2806 .tv = 1,
2807 .gpio = 0x00200000,
2810 [SAA7134_BOARD_TEVION_DVBT_220RF] = {
2811 .name = "Tevion/KWorld DVB-T 220RF",
2812 .audio_clock = 0x00187de7,
2813 .tuner_type = TUNER_PHILIPS_TDA8290,
2814 .radio_type = UNSET,
2815 .tuner_addr = ADDR_UNSET,
2816 .radio_addr = ADDR_UNSET,
2817 .mpeg = SAA7134_MPEG_DVB,
2818 .gpiomask = 1 << 21,
2819 .inputs = {{
2820 .name = name_tv,
2821 .vmux = 1,
2822 .amux = TV,
2823 .tv = 1,
2825 .name = name_comp1,
2826 .vmux = 3,
2827 .amux = LINE1,
2829 .name = name_comp2,
2830 .vmux = 0,
2831 .amux = LINE1,
2833 .name = name_svideo,
2834 .vmux = 8,
2835 .amux = LINE1,
2837 .radio = {
2838 .name = name_radio,
2839 .amux = TV,
2840 .gpio = 0x0200000,
2843 [SAA7134_BOARD_KWORLD_DVBT_210] = {
2844 .name = "KWorld DVB-T 210",
2845 .audio_clock = 0x00187de7,
2846 .tuner_type = TUNER_PHILIPS_TDA8290,
2847 .radio_type = UNSET,
2848 .tuner_addr = ADDR_UNSET,
2849 .radio_addr = ADDR_UNSET,
2850 .mpeg = SAA7134_MPEG_DVB,
2851 .gpiomask = 1 << 21,
2852 .inputs = {{
2853 .name = name_tv,
2854 .vmux = 1,
2855 .amux = TV,
2856 .tv = 1,
2858 .name = name_comp1,
2859 .vmux = 3,
2860 .amux = LINE1,
2862 .name = name_svideo,
2863 .vmux = 8,
2864 .amux = LINE1,
2866 .radio = {
2867 .name = name_radio,
2868 .amux = TV,
2869 .gpio = 0x0200000,
2872 [SAA7134_BOARD_KWORLD_ATSC110] = {
2873 .name = "Kworld ATSC110/115",
2874 .audio_clock = 0x00187de7,
2875 .tuner_type = TUNER_PHILIPS_TUV1236D,
2876 .radio_type = UNSET,
2877 .tuner_addr = ADDR_UNSET,
2878 .radio_addr = ADDR_UNSET,
2879 .tda9887_conf = TDA9887_PRESENT,
2880 .mpeg = SAA7134_MPEG_DVB,
2881 .inputs = {{
2882 .name = name_tv,
2883 .vmux = 1,
2884 .amux = TV,
2885 .tv = 1,
2887 .name = name_comp1,
2888 .vmux = 3,
2889 .amux = LINE2,
2891 .name = name_svideo,
2892 .vmux = 8,
2893 .amux = LINE2,
2896 [SAA7134_BOARD_AVERMEDIA_A169_B] = {
2897 /* AVerMedia A169 */
2898 /* Rickard Osser <ricky@osser.se> */
2899 /* This card has two saa7134 chips on it,
2900 but only one of them is currently working. */
2901 .name = "AVerMedia A169 B",
2902 .audio_clock = 0x02187de7,
2903 .tuner_type = TUNER_LG_TALN,
2904 .radio_type = UNSET,
2905 .tuner_addr = ADDR_UNSET,
2906 .radio_addr = ADDR_UNSET,
2907 .tda9887_conf = TDA9887_PRESENT,
2908 .gpiomask = 0x0a60000,
2910 [SAA7134_BOARD_AVERMEDIA_A169_B1] = {
2911 /* AVerMedia A169 */
2912 /* Rickard Osser <ricky@osser.se> */
2913 .name = "AVerMedia A169 B1",
2914 .audio_clock = 0x02187de7,
2915 .tuner_type = TUNER_LG_TALN,
2916 .radio_type = UNSET,
2917 .tuner_addr = ADDR_UNSET,
2918 .radio_addr = ADDR_UNSET,
2919 .tda9887_conf = TDA9887_PRESENT,
2920 .gpiomask = 0xca60000,
2921 .inputs = {{
2922 .name = name_tv,
2923 .vmux = 4,
2924 .amux = TV,
2925 .tv = 1,
2926 .gpio = 0x04a61000,
2928 .name = name_comp2, /* Composite SVIDEO (B/W if signal is carried with SVIDEO) */
2929 .vmux = 1,
2930 .amux = LINE2,
2932 .name = name_svideo,
2933 .vmux = 9, /* 9 is correct as S-VIDEO1 according to a169.inf! */
2934 .amux = LINE1,
2937 [SAA7134_BOARD_MD7134_BRIDGE_2] = {
2938 /* This card has two saa7134 chips on it,
2939 but only one of them is currently working.
2940 The programming for the primary decoder is
2941 in SAA7134_BOARD_MD7134 */
2942 .name = "Medion 7134 Bridge #2",
2943 .audio_clock = 0x00187de7,
2944 .radio_type = UNSET,
2945 .tuner_addr = ADDR_UNSET,
2946 .radio_addr = ADDR_UNSET,
2948 [SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS] = {
2949 .name = "LifeView FlyDVB-T Hybrid Cardbus/MSI TV @nywhere A/D NB",
2950 .audio_clock = 0x00200000,
2951 .tuner_type = TUNER_PHILIPS_TDA8290,
2952 .radio_type = UNSET,
2953 .tuner_addr = ADDR_UNSET,
2954 .radio_addr = ADDR_UNSET,
2955 .mpeg = SAA7134_MPEG_DVB,
2956 .gpiomask = 0x00600000, /* Bit 21 0=Radio, Bit 22 0=TV */
2957 .inputs = {{
2958 .name = name_tv,
2959 .vmux = 1,
2960 .amux = TV,
2961 .gpio = 0x200000, /* GPIO21=High for TV input */
2962 .tv = 1,
2964 .name = name_svideo, /* S-Video signal on S-Video input */
2965 .vmux = 8,
2966 .amux = LINE2,
2968 .name = name_comp1, /* Composite signal on S-Video input */
2969 .vmux = 0,
2970 .amux = LINE2,
2972 .name = name_comp2, /* Composite input */
2973 .vmux = 3,
2974 .amux = LINE2,
2976 .radio = {
2977 .name = name_radio,
2978 .amux = TV,
2979 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
2982 [SAA7134_BOARD_FLYVIDEO3000_NTSC] = {
2983 /* "Zac Bowling" <zac@zacbowling.com> */
2984 .name = "LifeView FlyVIDEO3000 (NTSC)",
2985 .audio_clock = 0x00200000,
2986 .tuner_type = TUNER_PHILIPS_NTSC,
2987 .radio_type = UNSET,
2988 .tuner_addr = ADDR_UNSET,
2989 .radio_addr = ADDR_UNSET,
2991 .gpiomask = 0xe000,
2992 .inputs = {{
2993 .name = name_tv,
2994 .vmux = 1,
2995 .amux = TV,
2996 .gpio = 0x8000,
2997 .tv = 1,
2999 .name = name_tv_mono,
3000 .vmux = 1,
3001 .amux = LINE2,
3002 .gpio = 0x0000,
3003 .tv = 1,
3005 .name = name_comp1,
3006 .vmux = 0,
3007 .amux = LINE2,
3008 .gpio = 0x4000,
3010 .name = name_comp2,
3011 .vmux = 3,
3012 .amux = LINE2,
3013 .gpio = 0x4000,
3015 .name = name_svideo,
3016 .vmux = 8,
3017 .amux = LINE2,
3018 .gpio = 0x4000,
3020 .radio = {
3021 .name = name_radio,
3022 .amux = LINE2,
3023 .gpio = 0x2000,
3025 .mute = {
3026 .name = name_mute,
3027 .amux = TV,
3028 .gpio = 0x8000,
3031 [SAA7134_BOARD_MEDION_MD8800_QUADRO] = {
3032 .name = "Medion Md8800 Quadro",
3033 .audio_clock = 0x00187de7,
3034 .tuner_type = TUNER_PHILIPS_TDA8290,
3035 .radio_type = UNSET,
3036 .tuner_addr = ADDR_UNSET,
3037 .radio_addr = ADDR_UNSET,
3038 .mpeg = SAA7134_MPEG_DVB,
3039 .inputs = {{
3040 .name = name_tv,
3041 .vmux = 1,
3042 .amux = TV,
3043 .tv = 1,
3045 .name = name_comp1,
3046 .vmux = 0,
3047 .amux = LINE1,
3049 .name = name_svideo,
3050 .vmux = 8,
3051 .amux = LINE1,
3054 [SAA7134_BOARD_FLYDVBS_LR300] = {
3055 /* LifeView FlyDVB-s */
3056 /* Igor M. Liplianin <liplianin@tut.by> */
3057 .name = "LifeView FlyDVB-S /Acorp TV134DS",
3058 .audio_clock = 0x00200000,
3059 .tuner_type = TUNER_ABSENT,
3060 .radio_type = UNSET,
3061 .tuner_addr = ADDR_UNSET,
3062 .radio_addr = ADDR_UNSET,
3063 .mpeg = SAA7134_MPEG_DVB,
3064 .inputs = {{
3065 .name = name_comp1, /* Composite input */
3066 .vmux = 3,
3067 .amux = LINE1,
3069 .name = name_svideo, /* S-Video signal on S-Video input */
3070 .vmux = 8,
3071 .amux = LINE1,
3074 [SAA7134_BOARD_PROTEUS_2309] = {
3075 .name = "Proteus Pro 2309",
3076 .audio_clock = 0x00187de7,
3077 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3078 .radio_type = UNSET,
3079 .tuner_addr = ADDR_UNSET,
3080 .radio_addr = ADDR_UNSET,
3081 .tda9887_conf = TDA9887_PRESENT,
3082 .inputs = {{
3083 .name = name_tv,
3084 .vmux = 1,
3085 .amux = LINE2,
3086 .tv = 1,
3088 .name = name_comp1,
3089 .vmux = 0,
3090 .amux = LINE2,
3092 .name = name_comp2,
3093 .vmux = 3,
3094 .amux = LINE2,
3096 .name = name_svideo,
3097 .vmux = 8,
3098 .amux = LINE2,
3100 .mute = {
3101 .name = name_mute,
3102 .amux = LINE1,
3105 [SAA7134_BOARD_AVERMEDIA_A16AR] = {
3106 /* Petr Baudis <pasky@ucw.cz> */
3107 .name = "AVerMedia TV Hybrid A16AR",
3108 .audio_clock = 0x187de7,
3109 .tuner_type = TUNER_PHILIPS_TD1316, /* untested */
3110 .radio_type = TUNER_TEA5767, /* untested */
3111 .tuner_addr = ADDR_UNSET,
3112 .radio_addr = ADDR_UNSET,
3113 .tda9887_conf = TDA9887_PRESENT,
3114 .mpeg = SAA7134_MPEG_DVB,
3115 .inputs = {{
3116 .name = name_tv,
3117 .vmux = 1,
3118 .amux = TV,
3119 .tv = 1,
3121 .name = name_comp1,
3122 .vmux = 3,
3123 .amux = LINE2,
3125 .name = name_svideo,
3126 .vmux = 8,
3127 .amux = LINE1,
3129 .radio = {
3130 .name = name_radio,
3131 .amux = LINE1,
3134 [SAA7134_BOARD_ASUS_EUROPA2_HYBRID] = {
3135 .name = "Asus Europa2 OEM",
3136 .audio_clock = 0x00187de7,
3137 .tuner_type = TUNER_PHILIPS_FMD1216ME_MK3,
3138 .radio_type = UNSET,
3139 .tuner_addr = ADDR_UNSET,
3140 .radio_addr = ADDR_UNSET,
3141 .tda9887_conf = TDA9887_PRESENT| TDA9887_PORT1_ACTIVE | TDA9887_PORT2_ACTIVE,
3142 .mpeg = SAA7134_MPEG_DVB,
3143 .inputs = {{
3144 .name = name_tv,
3145 .vmux = 3,
3146 .amux = TV,
3147 .tv = 1,
3149 .name = name_comp1,
3150 .vmux = 4,
3151 .amux = LINE2,
3153 .name = name_svideo,
3154 .vmux = 8,
3155 .amux = LINE2,
3157 .radio = {
3158 .name = name_radio,
3159 .amux = LINE1,
3162 [SAA7134_BOARD_PINNACLE_PCTV_310i] = {
3163 .name = "Pinnacle PCTV 310i",
3164 .audio_clock = 0x00187de7,
3165 .tuner_type = TUNER_PHILIPS_TDA8290,
3166 .radio_type = UNSET,
3167 .tuner_addr = ADDR_UNSET,
3168 .radio_addr = ADDR_UNSET,
3169 .tuner_config = 1,
3170 .mpeg = SAA7134_MPEG_DVB,
3171 .gpiomask = 0x000200000,
3172 .inputs = {{
3173 .name = name_tv,
3174 .vmux = 4,
3175 .amux = TV,
3176 .tv = 1,
3178 .name = name_comp1,
3179 .vmux = 1,
3180 .amux = LINE2,
3182 .name = name_comp2,
3183 .vmux = 0,
3184 .amux = LINE2,
3186 .name = name_svideo,
3187 .vmux = 8,
3188 .amux = LINE2,
3190 .radio = {
3191 .name = name_radio,
3192 .amux = TV,
3193 .gpio = 0x0200000,
3196 [SAA7134_BOARD_AVERMEDIA_STUDIO_507] = {
3197 /* Mikhail Fedotov <mo_fedotov@mail.ru> */
3198 .name = "Avermedia AVerTV Studio 507",
3199 .audio_clock = 0x00187de7,
3200 .tuner_type = TUNER_PHILIPS_FM1256_IH3,
3201 .radio_type = UNSET,
3202 .tuner_addr = ADDR_UNSET,
3203 .radio_addr = ADDR_UNSET,
3204 .tda9887_conf = TDA9887_PRESENT,
3205 .gpiomask = 0x03,
3206 .inputs = {{
3207 .name = name_tv,
3208 .vmux = 1,
3209 .amux = TV,
3210 .tv = 1,
3211 .gpio = 0x00,
3213 .name = name_comp1,
3214 .vmux = 0,
3215 .amux = LINE2,
3216 .gpio = 0x00,
3218 .name = name_comp2,
3219 .vmux = 3,
3220 .amux = LINE2,
3221 .gpio = 0x00,
3223 .name = name_svideo,
3224 .vmux = 8,
3225 .amux = LINE2,
3226 .gpio = 0x00,
3228 .radio = {
3229 .name = name_radio,
3230 .amux = LINE2,
3231 .gpio = 0x01,
3233 .mute = {
3234 .name = name_mute,
3235 .amux = LINE1,
3236 .gpio = 0x00,
3239 [SAA7134_BOARD_VIDEOMATE_DVBT_200A] = {
3240 /* Francis Barber <fedora@barber-family.id.au> */
3241 .name = "Compro Videomate DVB-T200A",
3242 .audio_clock = 0x00187de7,
3243 .tuner_type = TUNER_ABSENT,
3244 .radio_type = UNSET,
3245 .tuner_addr = ADDR_UNSET,
3246 .radio_addr = ADDR_UNSET,
3247 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
3248 .mpeg = SAA7134_MPEG_DVB,
3249 .inputs = {{
3250 .name = name_tv,
3251 .vmux = 3,
3252 .amux = TV,
3253 .tv = 1,
3255 .name = name_comp1,
3256 .vmux = 1,
3257 .amux = LINE2,
3259 .name = name_svideo,
3260 .vmux = 8,
3261 .amux = LINE2,
3264 [SAA7134_BOARD_HAUPPAUGE_HVR1110] = {
3265 /* Thomas Genty <tomlohave@gmail.com> */
3266 .name = "Hauppauge WinTV-HVR1110 DVB-T/Hybrid",
3267 .audio_clock = 0x00187de7,
3268 .tuner_type = TUNER_PHILIPS_TDA8290,
3269 .radio_type = UNSET,
3270 .tuner_addr = ADDR_UNSET,
3271 .radio_addr = ADDR_UNSET,
3272 .tuner_config = 1,
3273 .mpeg = SAA7134_MPEG_DVB,
3274 .inputs = {{
3275 .name = name_tv,
3276 .vmux = 1,
3277 .amux = TV,
3278 .tv = 1,
3280 .name = name_comp1,
3281 .vmux = 3,
3282 .amux = LINE2, /* FIXME: audio doesn't work on svideo/composite */
3284 .name = name_svideo,
3285 .vmux = 8,
3286 .amux = LINE2, /* FIXME: audio doesn't work on svideo/composite */
3288 .radio = {
3289 .name = name_radio,
3290 .amux = TV,
3293 [SAA7134_BOARD_CINERGY_HT_PCMCIA] = {
3294 .name = "Terratec Cinergy HT PCMCIA",
3295 .audio_clock = 0x00187de7,
3296 .tuner_type = TUNER_PHILIPS_TDA8290,
3297 .radio_type = UNSET,
3298 .tuner_addr = ADDR_UNSET,
3299 .radio_addr = ADDR_UNSET,
3300 .mpeg = SAA7134_MPEG_DVB,
3301 .inputs = {{
3302 .name = name_tv,
3303 .vmux = 1,
3304 .amux = TV,
3305 .tv = 1,
3307 .name = name_comp1,
3308 .vmux = 0,
3309 .amux = LINE1,
3311 .name = name_svideo,
3312 .vmux = 6,
3313 .amux = LINE1,
3316 [SAA7134_BOARD_ENCORE_ENLTV] = {
3317 /* Steven Walter <stevenrwalter@gmail.com>
3318 Juan Pablo Sormani <sorman@gmail.com> */
3319 .name = "Encore ENLTV",
3320 .audio_clock = 0x00200000,
3321 .tuner_type = TUNER_TNF_5335MF,
3322 .radio_type = UNSET,
3323 .tuner_addr = ADDR_UNSET,
3324 .radio_addr = ADDR_UNSET,
3325 .inputs = {{
3326 .name = name_tv,
3327 .vmux = 1,
3328 .amux = 3,
3329 .tv = 1,
3331 .name = name_tv_mono,
3332 .vmux = 7,
3333 .amux = 4,
3334 .tv = 1,
3336 .name = name_comp1,
3337 .vmux = 3,
3338 .amux = 2,
3340 .name = name_svideo,
3341 .vmux = 0,
3342 .amux = 2,
3344 .radio = {
3345 .name = name_radio,
3346 .amux = LINE2,
3347 /* .gpio = 0x00300001,*/
3348 .gpio = 0x20000,
3351 .mute = {
3352 .name = name_mute,
3353 .amux = 0,
3356 [SAA7134_BOARD_ENCORE_ENLTV_FM] = {
3357 /* Juan Pablo Sormani <sorman@gmail.com> */
3358 .name = "Encore ENLTV-FM",
3359 .audio_clock = 0x00200000,
3360 .tuner_type = TUNER_PHILIPS_ATSC,
3361 .radio_type = UNSET,
3362 .tuner_addr = ADDR_UNSET,
3363 .radio_addr = ADDR_UNSET,
3364 .inputs = {{
3365 .name = name_tv,
3366 .vmux = 1,
3367 .amux = 3,
3368 .tv = 1,
3370 .name = name_tv_mono,
3371 .vmux = 7,
3372 .amux = 4,
3373 .tv = 1,
3375 .name = name_comp1,
3376 .vmux = 3,
3377 .amux = 2,
3379 .name = name_svideo,
3380 .vmux = 0,
3381 .amux = 2,
3383 .radio = {
3384 .name = name_radio,
3385 .amux = LINE2,
3386 .gpio = 0x20000,
3389 .mute = {
3390 .name = name_mute,
3391 .amux = 0,
3394 [SAA7134_BOARD_CINERGY_HT_PCI] = {
3395 .name = "Terratec Cinergy HT PCI",
3396 .audio_clock = 0x00187de7,
3397 .tuner_type = TUNER_PHILIPS_TDA8290,
3398 .radio_type = UNSET,
3399 .tuner_addr = ADDR_UNSET,
3400 .radio_addr = ADDR_UNSET,
3401 .mpeg = SAA7134_MPEG_DVB,
3402 .inputs = {{
3403 .name = name_tv,
3404 .vmux = 1,
3405 .amux = TV,
3406 .tv = 1,
3408 .name = name_comp1,
3409 .vmux = 0,
3410 .amux = LINE1,
3412 .name = name_svideo,
3413 .vmux = 6,
3414 .amux = LINE1,
3417 [SAA7134_BOARD_PHILIPS_TIGER_S] = {
3418 .name = "Philips Tiger - S Reference design",
3419 .audio_clock = 0x00187de7,
3420 .tuner_type = TUNER_PHILIPS_TDA8290,
3421 .radio_type = UNSET,
3422 .tuner_addr = ADDR_UNSET,
3423 .radio_addr = ADDR_UNSET,
3424 .tuner_config = 2,
3425 .mpeg = SAA7134_MPEG_DVB,
3426 .gpiomask = 0x0200000,
3427 .inputs = {{
3428 .name = name_tv,
3429 .vmux = 1,
3430 .amux = TV,
3431 .tv = 1,
3433 .name = name_comp1,
3434 .vmux = 3,
3435 .amux = LINE1,
3437 .name = name_svideo,
3438 .vmux = 8,
3439 .amux = LINE1,
3441 .radio = {
3442 .name = name_radio,
3443 .amux = TV,
3444 .gpio = 0x0200000,
3447 [SAA7134_BOARD_AVERMEDIA_M102] = {
3448 .name = "Avermedia M102",
3449 .audio_clock = 0x00187de7,
3450 .tuner_type = TUNER_PHILIPS_TDA8290,
3451 .radio_type = UNSET,
3452 .tuner_addr = ADDR_UNSET,
3453 .radio_addr = ADDR_UNSET,
3454 .gpiomask = 1<<21,
3455 .inputs = {{
3456 .name = name_tv,
3457 .vmux = 1,
3458 .amux = TV,
3459 .tv = 1,
3461 .name = name_comp1,
3462 .vmux = 0,
3463 .amux = LINE2,
3465 .name = name_svideo,
3466 .vmux = 6,
3467 .amux = LINE2,
3470 [SAA7134_BOARD_ASUS_P7131_4871] = {
3471 .name = "ASUS P7131 4871",
3472 .audio_clock = 0x00187de7,
3473 .tuner_type = TUNER_PHILIPS_TDA8290,
3474 .radio_type = UNSET,
3475 .tuner_addr = ADDR_UNSET,
3476 .radio_addr = ADDR_UNSET,
3477 .tuner_config = 2,
3478 .mpeg = SAA7134_MPEG_DVB,
3479 .gpiomask = 0x0200000,
3480 .inputs = {{
3481 .name = name_tv,
3482 .vmux = 1,
3483 .amux = TV,
3484 .tv = 1,
3485 .gpio = 0x0200000,
3488 [SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA] = {
3489 .name = "ASUSTeK P7131 Hybrid",
3490 .audio_clock = 0x00187de7,
3491 .tuner_type = TUNER_PHILIPS_TDA8290,
3492 .radio_type = UNSET,
3493 .tuner_addr = ADDR_UNSET,
3494 .radio_addr = ADDR_UNSET,
3495 .tuner_config = 2,
3496 .gpiomask = 1 << 21,
3497 .mpeg = SAA7134_MPEG_DVB,
3498 .inputs = {{
3499 .name = name_tv,
3500 .vmux = 1,
3501 .amux = TV,
3502 .tv = 1,
3503 .gpio = 0x0000000,
3505 .name = name_comp1,
3506 .vmux = 3,
3507 .amux = LINE2,
3508 .gpio = 0x0200000,
3510 .name = name_comp2,
3511 .vmux = 0,
3512 .amux = LINE2,
3513 .gpio = 0x0200000,
3515 .name = name_svideo,
3516 .vmux = 8,
3517 .amux = LINE2,
3518 .gpio = 0x0200000,
3520 .radio = {
3521 .name = name_radio,
3522 .amux = TV,
3523 .gpio = 0x0200000,
3526 [SAA7134_BOARD_SABRENT_TV_PCB05] = {
3527 .name = "Sabrent PCMCIA TV-PCB05",
3528 .audio_clock = 0x00187de7,
3529 .tuner_type = TUNER_PHILIPS_TDA8290,
3530 .radio_type = UNSET,
3531 .tuner_addr = ADDR_UNSET,
3532 .radio_addr = ADDR_UNSET,
3533 .inputs = {{
3534 .name = name_tv,
3535 .vmux = 1,
3536 .amux = TV,
3537 .tv = 1,
3539 .name = name_comp1,
3540 .vmux = 3,
3541 .amux = LINE1,
3543 .name = name_comp2,
3544 .vmux = 0,
3545 .amux = LINE1,
3547 .name = name_svideo,
3548 .vmux = 8,
3549 .amux = LINE1,
3551 .mute = {
3552 .name = name_mute,
3553 .amux = TV,
3556 [SAA7134_BOARD_10MOONSTVMASTER3] = {
3557 /* Tony Wan <aloha_cn@hotmail.com> */
3558 .name = "10MOONS TM300 TV Card",
3559 .audio_clock = 0x00200000,
3560 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
3561 .radio_type = UNSET,
3562 .tuner_addr = ADDR_UNSET,
3563 .radio_addr = ADDR_UNSET,
3564 .gpiomask = 0x7000,
3565 .inputs = {{
3566 .name = name_tv,
3567 .vmux = 1,
3568 .amux = LINE2,
3569 .gpio = 0x0000,
3570 .tv = 1,
3572 .name = name_comp1,
3573 .vmux = 3,
3574 .amux = LINE1,
3575 .gpio = 0x2000,
3577 .name = name_svideo,
3578 .vmux = 8,
3579 .amux = LINE1,
3580 .gpio = 0x2000,
3582 .mute = {
3583 .name = name_mute,
3584 .amux = LINE2,
3585 .gpio = 0x3000,
3588 [SAA7134_BOARD_AVERMEDIA_SUPER_007] = {
3589 .name = "Avermedia Super 007",
3590 .audio_clock = 0x00187de7,
3591 .tuner_type = TUNER_PHILIPS_TDA8290,
3592 .radio_type = UNSET,
3593 .tuner_addr = ADDR_UNSET,
3594 .radio_addr = ADDR_UNSET,
3595 .tuner_config = 0,
3596 .mpeg = SAA7134_MPEG_DVB,
3597 .inputs = {{
3598 .name = name_tv, /* FIXME: analog tv untested */
3599 .vmux = 1,
3600 .amux = TV,
3601 .tv = 1,
3604 [SAA7134_BOARD_BEHOLD_401] = {
3605 .name = "Beholder BeholdTV 401",
3606 .audio_clock = 0x00187de7,
3607 .tuner_type = TUNER_PHILIPS_FQ1216ME,
3608 .radio_type = UNSET,
3609 .tuner_addr = ADDR_UNSET,
3610 .radio_addr = ADDR_UNSET,
3611 .inputs = {{
3612 .name = name_svideo,
3613 .vmux = 8,
3614 .amux = LINE1,
3616 .name = name_comp1,
3617 .vmux = 1,
3618 .amux = LINE1,
3620 .name = name_tv,
3621 .vmux = 3,
3622 .amux = LINE2,
3623 .tv = 1,
3625 .mute = {
3626 .name = name_mute,
3627 .amux = LINE1,
3630 [SAA7134_BOARD_BEHOLD_403] = {
3631 .name = "Beholder BeholdTV 403",
3632 .audio_clock = 0x00187de7,
3633 .tuner_type = TUNER_PHILIPS_FQ1216ME,
3634 .radio_type = UNSET,
3635 .tuner_addr = ADDR_UNSET,
3636 .radio_addr = ADDR_UNSET,
3637 .inputs = {{
3638 .name = name_svideo,
3639 .vmux = 8,
3640 .amux = LINE1,
3642 .name = name_comp1,
3643 .vmux = 1,
3644 .amux = LINE1,
3646 .name = name_tv,
3647 .vmux = 3,
3648 .amux = LINE2,
3649 .tv = 1,
3652 [SAA7134_BOARD_BEHOLD_403FM] = {
3653 .name = "Beholder BeholdTV 403 FM",
3654 .audio_clock = 0x00187de7,
3655 .tuner_type = TUNER_PHILIPS_FQ1216ME,
3656 .radio_type = UNSET,
3657 .tuner_addr = ADDR_UNSET,
3658 .radio_addr = ADDR_UNSET,
3659 .inputs = {{
3660 .name = name_svideo,
3661 .vmux = 8,
3662 .amux = LINE1,
3664 .name = name_comp1,
3665 .vmux = 1,
3666 .amux = LINE1,
3668 .name = name_tv,
3669 .vmux = 3,
3670 .amux = LINE2,
3671 .tv = 1,
3673 .radio = {
3674 .name = name_radio,
3675 .amux = LINE2,
3678 [SAA7134_BOARD_BEHOLD_405] = {
3679 .name = "Beholder BeholdTV 405",
3680 .audio_clock = 0x00187de7,
3681 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3682 .radio_type = UNSET,
3683 .tuner_addr = ADDR_UNSET,
3684 .radio_addr = ADDR_UNSET,
3685 .tda9887_conf = TDA9887_PRESENT,
3686 .inputs = {{
3687 .name = name_svideo,
3688 .vmux = 8,
3689 .amux = LINE1,
3691 .name = name_comp1,
3692 .vmux = 3,
3693 .amux = LINE1,
3695 .name = name_tv,
3696 .vmux = 3,
3697 .amux = LINE2,
3698 .tv = 1,
3701 [SAA7134_BOARD_BEHOLD_405FM] = {
3702 /* Sergey <skiv@orel.ru> */
3703 .name = "Beholder BeholdTV 405 FM",
3704 .audio_clock = 0x00187de7,
3705 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3706 .radio_type = UNSET,
3707 .tuner_addr = ADDR_UNSET,
3708 .radio_addr = ADDR_UNSET,
3709 .tda9887_conf = TDA9887_PRESENT,
3710 .inputs = {{
3711 .name = name_svideo,
3712 .vmux = 8,
3713 .amux = LINE1,
3715 .name = name_comp1,
3716 .vmux = 3,
3717 .amux = LINE1,
3719 .name = name_tv,
3720 .vmux = 3,
3721 .amux = LINE2,
3722 .tv = 1,
3724 .radio = {
3725 .name = name_radio,
3726 .amux = LINE2,
3729 [SAA7134_BOARD_BEHOLD_407] = {
3730 .name = "Beholder BeholdTV 407",
3731 .audio_clock = 0x00187de7,
3732 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3733 .radio_type = UNSET,
3734 .tuner_addr = ADDR_UNSET,
3735 .radio_addr = ADDR_UNSET,
3736 .tda9887_conf = TDA9887_PRESENT,
3737 .gpiomask = 0xc0c000,
3738 .inputs = {{
3739 .name = name_svideo,
3740 .vmux = 8,
3741 .amux = LINE1,
3742 .gpio = 0xc0c000,
3744 .name = name_comp1,
3745 .vmux = 1,
3746 .amux = LINE1,
3747 .gpio = 0xc0c000,
3749 .name = name_tv,
3750 .vmux = 3,
3751 .amux = TV,
3752 .tv = 1,
3753 .gpio = 0xc0c000,
3756 [SAA7134_BOARD_BEHOLD_407FM] = {
3757 .name = "Beholder BeholdTV 407 FM",
3758 .audio_clock = 0x00187de7,
3759 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3760 .radio_type = UNSET,
3761 .tuner_addr = ADDR_UNSET,
3762 .radio_addr = ADDR_UNSET,
3763 .tda9887_conf = TDA9887_PRESENT,
3764 .gpiomask = 0xc0c000,
3765 .inputs = {{
3766 .name = name_svideo,
3767 .vmux = 8,
3768 .amux = LINE1,
3769 .gpio = 0xc0c000,
3771 .name = name_comp1,
3772 .vmux = 1,
3773 .amux = LINE1,
3774 .gpio = 0xc0c000,
3776 .name = name_tv,
3777 .vmux = 3,
3778 .amux = TV,
3779 .tv = 1,
3780 .gpio = 0xc0c000,
3782 .radio = {
3783 .name = name_radio,
3784 .amux = LINE2,
3785 .gpio = 0xc0c000,
3788 [SAA7134_BOARD_BEHOLD_409] = {
3789 .name = "Beholder BeholdTV 409",
3790 .audio_clock = 0x00187de7,
3791 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3792 .radio_type = UNSET,
3793 .tuner_addr = ADDR_UNSET,
3794 .radio_addr = ADDR_UNSET,
3795 .tda9887_conf = TDA9887_PRESENT,
3796 .inputs = {{
3797 .name = name_tv,
3798 .vmux = 3,
3799 .amux = TV,
3800 .tv = 1,
3802 .name = name_comp1,
3803 .vmux = 1,
3804 .amux = LINE1,
3806 .name = name_svideo,
3807 .vmux = 8,
3808 .amux = LINE1,
3811 [SAA7134_BOARD_BEHOLD_505FM] = {
3812 .name = "Beholder BeholdTV 505 FM/RDS",
3813 .audio_clock = 0x00200000,
3814 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3815 .radio_type = UNSET,
3816 .tuner_addr = ADDR_UNSET,
3817 .radio_addr = ADDR_UNSET,
3818 .tda9887_conf = TDA9887_PRESENT,
3819 .inputs = {{
3820 .name = name_tv,
3821 .vmux = 3,
3822 .amux = LINE2,
3823 .tv = 1,
3825 .name = name_comp1,
3826 .vmux = 1,
3827 .amux = LINE1,
3829 .name = name_svideo,
3830 .vmux = 8,
3831 .amux = LINE1,
3833 .mute = {
3834 .name = name_mute,
3835 .amux = LINE1,
3837 .radio = {
3838 .name = name_radio,
3839 .amux = LINE2,
3842 [SAA7134_BOARD_BEHOLD_507_9FM] = {
3843 .name = "Beholder BeholdTV 507 FM/RDS / BeholdTV 509 FM",
3844 .audio_clock = 0x00187de7,
3845 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3846 .radio_type = UNSET,
3847 .tuner_addr = ADDR_UNSET,
3848 .radio_addr = ADDR_UNSET,
3849 .tda9887_conf = TDA9887_PRESENT,
3850 .inputs = {{
3851 .name = name_tv,
3852 .vmux = 3,
3853 .amux = TV,
3854 .tv = 1,
3856 .name = name_comp1,
3857 .vmux = 1,
3858 .amux = LINE1,
3860 .name = name_svideo,
3861 .vmux = 8,
3862 .amux = LINE1,
3864 .radio = {
3865 .name = name_radio,
3866 .amux = LINE2,
3869 [SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM] = {
3870 .name = "Beholder BeholdTV Columbus TVFM",
3871 .audio_clock = 0x00187de7,
3872 .tuner_type = TUNER_ALPS_TSBE5_PAL,
3873 .radio_type = UNSET,
3874 .tuner_addr = ADDR_UNSET,
3875 .radio_addr = ADDR_UNSET,
3876 .tda9887_conf = TDA9887_PRESENT,
3877 .inputs = {{
3878 .name = name_tv,
3879 .vmux = 3,
3880 .amux = TV,
3881 .tv = 1,
3883 .name = name_comp1,
3884 .vmux = 1,
3885 .amux = LINE1,
3887 .name = name_svideo,
3888 .vmux = 8,
3889 .amux = LINE1,
3891 .radio = {
3892 .name = name_radio,
3893 .amux = LINE2,
3896 [SAA7134_BOARD_BEHOLD_607_9FM] = {
3897 /* Andrey Melnikoff <temnota@kmv.ru> */
3898 .name = "Beholder BeholdTV 607 / BeholdTV 609",
3899 .audio_clock = 0x00187de7,
3900 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3901 .radio_type = UNSET,
3902 .tuner_addr = ADDR_UNSET,
3903 .radio_addr = ADDR_UNSET,
3904 .tda9887_conf = TDA9887_PRESENT,
3905 .inputs = {{
3906 .name = name_tv,
3907 .vmux = 3,
3908 .amux = TV,
3909 .tv = 1,
3911 .name = name_comp1,
3912 .vmux = 1,
3913 .amux = LINE1,
3915 .name = name_svideo,
3916 .vmux = 8,
3917 .amux = LINE1,
3919 .radio = {
3920 .name = name_radio,
3921 .amux = LINE2,
3924 [SAA7134_BOARD_BEHOLD_M6] = {
3925 /* Igor Kuznetsov <igk@igk.ru> */
3926 /* Andrey Melnikoff <temnota@kmv.ru> */
3927 .name = "Beholder BeholdTV M6 / BeholdTV M6 Extra",
3928 .audio_clock = 0x00187de7,
3929 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3930 .radio_type = UNSET,
3931 .tuner_addr = ADDR_UNSET,
3932 .radio_addr = ADDR_UNSET,
3933 .tda9887_conf = TDA9887_PRESENT,
3934 .inputs = {{
3935 .name = name_tv,
3936 .vmux = 3,
3937 .amux = TV,
3938 .tv = 1,
3940 .name = name_comp1,
3941 .vmux = 1,
3942 .amux = LINE1,
3944 .name = name_svideo,
3945 .vmux = 8,
3946 .amux = LINE1,
3948 .radio = {
3949 .name = name_radio,
3950 .amux = LINE2,
3952 .mpeg = SAA7134_MPEG_EMPRESS,
3954 <<<<<<< HEAD:drivers/media/video/saa7134/saa7134-cards.c
3955 =======
3956 [SAA7134_BOARD_TWINHAN_DTV_DVB_3056] = {
3957 .name = "Twinhan Hybrid DTV-DVB 3056 PCI",
3958 .audio_clock = 0x00187de7,
3959 .tuner_type = TUNER_PHILIPS_TDA8290,
3960 .radio_type = UNSET,
3961 .tuner_addr = ADDR_UNSET,
3962 .radio_addr = ADDR_UNSET,
3963 .tuner_config = 2,
3964 .mpeg = SAA7134_MPEG_DVB,
3965 .gpiomask = 0x0200000,
3966 .inputs = {{
3967 .name = name_tv,
3968 .vmux = 1,
3969 .amux = TV,
3970 .tv = 1,
3971 }, {
3972 .name = name_comp1,
3973 .vmux = 3,
3974 .amux = LINE1,
3975 }, {
3976 .name = name_svideo,
3977 .vmux = 8, /* untested */
3978 .amux = LINE1,
3979 } },
3980 .radio = {
3981 .name = name_radio,
3982 .amux = TV,
3983 .gpio = 0x0200000,
3986 [SAA7134_BOARD_GENIUS_TVGO_A11MCE] = {
3987 /* Adrian Pardini <pardo.bsso@gmail.com> */
3988 .name = "Genius TVGO AM11MCE",
3989 .audio_clock = 0x00200000,
3990 .tuner_type = TUNER_TNF_5335MF,
3991 .radio_type = UNSET,
3992 .tuner_addr = ADDR_UNSET,
3993 .radio_addr = ADDR_UNSET,
3994 .gpiomask = 0xf000,
3995 .inputs = {{
3996 .name = name_tv_mono,
3997 .vmux = 1,
3998 .amux = LINE2,
3999 .gpio = 0x0000,
4000 .tv = 1,
4001 }, {
4002 .name = name_comp1,
4003 .vmux = 3,
4004 .amux = LINE1,
4005 .gpio = 0x2000,
4006 .tv = 1
4007 }, {
4008 .name = name_svideo,
4009 .vmux = 8,
4010 .amux = LINE1,
4011 .gpio = 0x2000,
4012 } },
4013 .radio = {
4014 .name = name_radio,
4015 .amux = LINE2,
4016 .gpio = 0x1000,
4018 .mute = {
4019 .name = name_mute,
4020 .amux = LINE2,
4021 .gpio = 0x6000,
4024 >>>>>>> 264e3e889d86e552b4191d69bb60f4f3b383135a:drivers/media/video/saa7134/saa7134-cards.c
4027 const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards);
4029 /* ------------------------------------------------------------------ */
4030 /* PCI ids + subsystem IDs */
4032 struct pci_device_id saa7134_pci_tbl[] = {
4034 .vendor = PCI_VENDOR_ID_PHILIPS,
4035 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4036 .subvendor = PCI_VENDOR_ID_PHILIPS,
4037 .subdevice = 0x2001,
4038 .driver_data = SAA7134_BOARD_PROTEUS_PRO,
4040 .vendor = PCI_VENDOR_ID_PHILIPS,
4041 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4042 .subvendor = PCI_VENDOR_ID_PHILIPS,
4043 .subdevice = 0x2001,
4044 .driver_data = SAA7134_BOARD_PROTEUS_PRO,
4046 .vendor = PCI_VENDOR_ID_PHILIPS,
4047 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4048 .subvendor = PCI_VENDOR_ID_PHILIPS,
4049 .subdevice = 0x6752,
4050 .driver_data = SAA7134_BOARD_EMPRESS,
4052 .vendor = PCI_VENDOR_ID_PHILIPS,
4053 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4054 .subvendor = 0x1131,
4055 .subdevice = 0x4e85,
4056 .driver_data = SAA7134_BOARD_MONSTERTV,
4058 .vendor = PCI_VENDOR_ID_PHILIPS,
4059 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4060 .subvendor = 0x153b,
4061 .subdevice = 0x1142,
4062 .driver_data = SAA7134_BOARD_CINERGY400,
4064 .vendor = PCI_VENDOR_ID_PHILIPS,
4065 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4066 .subvendor = 0x153b,
4067 .subdevice = 0x1143,
4068 .driver_data = SAA7134_BOARD_CINERGY600,
4070 .vendor = PCI_VENDOR_ID_PHILIPS,
4071 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4072 .subvendor = 0x153b,
4073 .subdevice = 0x1158,
4074 .driver_data = SAA7134_BOARD_CINERGY600_MK3,
4076 .vendor = PCI_VENDOR_ID_PHILIPS,
4077 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4078 .subvendor = 0x153b,
4079 .subdevice = 0x1162,
4080 .driver_data = SAA7134_BOARD_CINERGY400_CARDBUS,
4082 .vendor = PCI_VENDOR_ID_PHILIPS,
4083 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4084 .subvendor = 0x5169,
4085 .subdevice = 0x0138,
4086 .driver_data = SAA7134_BOARD_FLYVIDEO3000_NTSC,
4088 .vendor = PCI_VENDOR_ID_PHILIPS,
4089 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4090 .subvendor = 0x5168,
4091 .subdevice = 0x0138,
4092 .driver_data = SAA7134_BOARD_FLYVIDEO3000,
4094 .vendor = PCI_VENDOR_ID_PHILIPS,
4095 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4096 .subvendor = 0x4e42, /* "Typhoon PCI Capture TV Card" Art.No. 50673 */
4097 .subdevice = 0x0138,
4098 .driver_data = SAA7134_BOARD_FLYVIDEO3000,
4100 .vendor = PCI_VENDOR_ID_PHILIPS,
4101 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4102 .subvendor = 0x5168,
4103 .subdevice = 0x0138,
4104 .driver_data = SAA7134_BOARD_FLYVIDEO2000,
4106 .vendor = PCI_VENDOR_ID_PHILIPS,
4107 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4108 .subvendor = 0x4e42, /* Typhoon */
4109 .subdevice = 0x0138, /* LifeView FlyTV Prime30 OEM */
4110 .driver_data = SAA7134_BOARD_FLYVIDEO2000,
4112 .vendor = PCI_VENDOR_ID_PHILIPS,
4113 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4114 .subvendor = 0x5168,
4115 .subdevice = 0x0212, /* minipci, LR212 */
4116 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
4118 .vendor = PCI_VENDOR_ID_PHILIPS,
4119 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4120 .subvendor = 0x14c0,
4121 .subdevice = 0x1212, /* minipci, LR1212 */
4122 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI2,
4124 .vendor = PCI_VENDOR_ID_PHILIPS,
4125 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4126 .subvendor = 0x4e42,
4127 .subdevice = 0x0212, /* OEM minipci, LR212 */
4128 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
4130 .vendor = PCI_VENDOR_ID_PHILIPS,
4131 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4132 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
4133 .subdevice = 0x0214, /* Standard PCI, LR214 Rev E and earlier (SAA7135) */
4134 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
4136 .vendor = PCI_VENDOR_ID_PHILIPS,
4137 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4138 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
4139 .subdevice = 0x5214, /* Standard PCI, LR214 Rev F onwards (SAA7131) */
4140 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
4142 .vendor = PCI_VENDOR_ID_PHILIPS,
4143 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4144 .subvendor = 0x1489, /* KYE */
4145 .subdevice = 0x0214, /* Genius VideoWonder ProTV */
4146 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM, /* is an LR214WF actually */
4148 .vendor = PCI_VENDOR_ID_PHILIPS,
4149 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4150 .subvendor = 0x16be,
4151 .subdevice = 0x0003,
4152 .driver_data = SAA7134_BOARD_MD7134,
4154 .vendor = PCI_VENDOR_ID_PHILIPS,
4155 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4156 .subvendor = 0x1048,
4157 .subdevice = 0x226b,
4158 .driver_data = SAA7134_BOARD_ELSA,
4160 .vendor = PCI_VENDOR_ID_PHILIPS,
4161 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4162 .subvendor = 0x1048,
4163 .subdevice = 0x226a,
4164 .driver_data = SAA7134_BOARD_ELSA_500TV,
4166 .vendor = PCI_VENDOR_ID_PHILIPS,
4167 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4168 .subvendor = 0x1048,
4169 .subdevice = 0x226c,
4170 .driver_data = SAA7134_BOARD_ELSA_700TV,
4172 .vendor = PCI_VENDOR_ID_PHILIPS,
4173 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4174 .subvendor = PCI_VENDOR_ID_ASUSTEK,
4175 .subdevice = 0x4842,
4176 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
4178 .vendor = PCI_VENDOR_ID_PHILIPS,
4179 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4180 .subvendor = PCI_VENDOR_ID_ASUSTEK,
4181 .subdevice = 0x4845,
4182 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7135,
4184 .vendor = PCI_VENDOR_ID_PHILIPS,
4185 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4186 .subvendor = PCI_VENDOR_ID_ASUSTEK,
4187 .subdevice = 0x4830,
4188 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
4190 .vendor = PCI_VENDOR_ID_PHILIPS,
4191 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4192 .subvendor = PCI_VENDOR_ID_ASUSTEK,
4193 .subdevice = 0x4843,
4194 .driver_data = SAA7134_BOARD_ASUSTEK_TVFM7133,
4196 .vendor = PCI_VENDOR_ID_PHILIPS,
4197 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4198 .subvendor = PCI_VENDOR_ID_ASUSTEK,
4199 .subdevice = 0x4840,
4200 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
4202 .vendor = PCI_VENDOR_ID_PHILIPS,
4203 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4204 .subvendor = PCI_VENDOR_ID_PHILIPS,
4205 .subdevice = 0xfe01,
4206 .driver_data = SAA7134_BOARD_TVSTATION_RDS,
4208 .vendor = PCI_VENDOR_ID_PHILIPS,
4209 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4210 .subvendor = 0x1894,
4211 .subdevice = 0xfe01,
4212 .driver_data = SAA7134_BOARD_TVSTATION_RDS,
4214 .vendor = PCI_VENDOR_ID_PHILIPS,
4215 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4216 .subvendor = 0x1894,
4217 .subdevice = 0xa006,
4218 .driver_data = SAA7134_BOARD_TVSTATION_DVR,
4220 .vendor = PCI_VENDOR_ID_PHILIPS,
4221 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4222 .subvendor = 0x1131,
4223 .subdevice = 0x7133,
4224 .driver_data = SAA7134_BOARD_VA1000POWER,
4226 .vendor = PCI_VENDOR_ID_PHILIPS,
4227 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4228 .subvendor = PCI_VENDOR_ID_PHILIPS,
4229 .subdevice = 0x2001,
4230 .driver_data = SAA7134_BOARD_10MOONSTVMASTER,
4232 .vendor = PCI_VENDOR_ID_PHILIPS,
4233 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4234 .subvendor = 0x185b,
4235 .subdevice = 0xc100,
4236 .driver_data = SAA7134_BOARD_VIDEOMATE_TV,
4238 .vendor = PCI_VENDOR_ID_PHILIPS,
4239 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4240 .subvendor = 0x185b,
4241 .subdevice = 0xc100,
4242 .driver_data = SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS,
4244 .vendor = PCI_VENDOR_ID_PHILIPS,
4245 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4246 .subvendor = PCI_VENDOR_ID_MATROX,
4247 .subdevice = 0x48d0,
4248 .driver_data = SAA7134_BOARD_CRONOS_PLUS,
4250 .vendor = PCI_VENDOR_ID_PHILIPS,
4251 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4252 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4253 .subdevice = 0xa70b,
4254 .driver_data = SAA7134_BOARD_MD2819,
4256 .vendor = PCI_VENDOR_ID_PHILIPS,
4257 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4258 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4259 .subdevice = 0x2115,
4260 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_305,
4262 .vendor = PCI_VENDOR_ID_PHILIPS,
4263 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4264 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4265 .subdevice = 0x2108,
4266 .driver_data = SAA7134_BOARD_AVERMEDIA_305,
4268 .vendor = PCI_VENDOR_ID_PHILIPS,
4269 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4270 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4271 .subdevice = 0x10ff,
4272 .driver_data = SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER,
4274 /* AVerMedia CardBus */
4275 .vendor = PCI_VENDOR_ID_PHILIPS,
4276 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4277 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4278 .subdevice = 0xd6ee,
4279 .driver_data = SAA7134_BOARD_AVERMEDIA_CARDBUS,
4281 /* TransGear 3000TV */
4282 .vendor = PCI_VENDOR_ID_PHILIPS,
4283 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4284 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4285 .subdevice = 0x050c,
4286 .driver_data = SAA7134_BOARD_TG3000TV,
4288 .vendor = PCI_VENDOR_ID_PHILIPS,
4289 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4290 .subvendor = 0x11bd,
4291 .subdevice = 0x002b,
4292 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_STEREO,
4294 .vendor = PCI_VENDOR_ID_PHILIPS,
4295 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4296 .subvendor = 0x11bd,
4297 .subdevice = 0x002d,
4298 .driver_data = SAA7134_BOARD_PINNACLE_300I_DVBT_PAL,
4300 .vendor = PCI_VENDOR_ID_PHILIPS,
4301 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4302 .subvendor = 0x1019,
4303 .subdevice = 0x4cb4,
4304 .driver_data = SAA7134_BOARD_ECS_TVP3XP,
4306 .vendor = PCI_VENDOR_ID_PHILIPS,
4307 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4308 .subvendor = 0x1019,
4309 .subdevice = 0x4cb5,
4310 .driver_data = SAA7134_BOARD_ECS_TVP3XP_4CB5,
4312 .vendor = PCI_VENDOR_ID_PHILIPS,
4313 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4314 .subvendor = 0x1019,
4315 .subdevice = 0x4cb6,
4316 .driver_data = SAA7134_BOARD_ECS_TVP3XP_4CB6,
4318 .vendor = PCI_VENDOR_ID_PHILIPS,
4319 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4320 .subvendor = 0x12ab,
4321 .subdevice = 0x0800,
4322 .driver_data = SAA7134_BOARD_UPMOST_PURPLE_TV,
4324 .vendor = PCI_VENDOR_ID_PHILIPS,
4325 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4326 .subvendor = 0x153b,
4327 .subdevice = 0x1152,
4328 .driver_data = SAA7134_BOARD_CINERGY200,
4330 .vendor = PCI_VENDOR_ID_PHILIPS,
4331 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4332 .subvendor = 0x185b,
4333 .subdevice = 0xc100,
4334 .driver_data = SAA7134_BOARD_VIDEOMATE_TV_PVR,
4336 .vendor = PCI_VENDOR_ID_PHILIPS,
4337 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4338 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4339 .subdevice = 0x9715,
4340 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_307,
4342 .vendor = PCI_VENDOR_ID_PHILIPS,
4343 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4344 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4345 .subdevice = 0xa70a,
4346 .driver_data = SAA7134_BOARD_AVERMEDIA_307,
4348 .vendor = PCI_VENDOR_ID_PHILIPS,
4349 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4350 .subvendor = 0x185b,
4351 .subdevice = 0xc200,
4352 .driver_data = SAA7134_BOARD_VIDEOMATE_GOLD_PLUS,
4354 .vendor = PCI_VENDOR_ID_PHILIPS,
4355 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4356 .subvendor = 0x1540,
4357 .subdevice = 0x9524,
4358 .driver_data = SAA7134_BOARD_PROVIDEO_PV952,
4361 .vendor = PCI_VENDOR_ID_PHILIPS,
4362 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4363 .subvendor = 0x5168,
4364 .subdevice = 0x0502, /* Cardbus version */
4365 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
4367 .vendor = PCI_VENDOR_ID_PHILIPS,
4368 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4369 .subvendor = 0x5168,
4370 .subdevice = 0x0306, /* PCI version */
4371 .driver_data = SAA7134_BOARD_FLYDVBTDUO,
4373 .vendor = PCI_VENDOR_ID_PHILIPS,
4374 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4375 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4376 .subdevice = 0xf31f,
4377 .driver_data = SAA7134_BOARD_AVERMEDIA_GO_007_FM,
4380 .vendor = PCI_VENDOR_ID_PHILIPS,
4381 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4382 .subvendor = PCI_VENDOR_ID_PHILIPS,
4383 .subdevice = 0x2004,
4384 .driver_data = SAA7134_BOARD_PHILIPS_TOUGH,
4386 .vendor = PCI_VENDOR_ID_PHILIPS,
4387 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4388 .subvendor = 0x1421,
4389 .subdevice = 0x0350, /* PCI version */
4390 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
4392 .vendor = PCI_VENDOR_ID_PHILIPS,
4393 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4394 .subvendor = 0x1421,
4395 .subdevice = 0x0351, /* PCI version, new revision */
4396 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
4398 .vendor = PCI_VENDOR_ID_PHILIPS,
4399 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4400 .subvendor = 0x1421,
4401 .subdevice = 0x0370, /* cardbus version */
4402 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
4404 .vendor = PCI_VENDOR_ID_PHILIPS,
4405 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4406 .subvendor = 0x1421,
4407 .subdevice = 0x1370, /* cardbus version */
4408 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
4411 .vendor = PCI_VENDOR_ID_PHILIPS,
4412 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4413 .subvendor = 0x4e42, /* Typhoon */
4414 .subdevice = 0x0502, /* LifeView LR502 OEM */
4415 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
4417 .vendor = PCI_VENDOR_ID_PHILIPS,
4418 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4419 .subvendor = 0x1043,
4420 .subdevice = 0x0210, /* mini pci NTSC version */
4421 .driver_data = SAA7134_BOARD_FLYTV_DIGIMATRIX,
4423 .vendor = PCI_VENDOR_ID_PHILIPS,
4424 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4425 .subvendor = 0x1043,
4426 .subdevice = 0x0210, /* mini pci PAL/SECAM version */
4427 .driver_data = SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV,
4430 .vendor = PCI_VENDOR_ID_PHILIPS,
4431 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4432 .subvendor = 0x0000, /* It shouldn't break anything, since subdevice id seems unique */
4433 .subdevice = 0x4091,
4434 .driver_data = SAA7134_BOARD_BEHOLD_409FM,
4436 .vendor = PCI_VENDOR_ID_PHILIPS,
4437 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4438 .subvendor = 0x5456, /* GoTView */
4439 .subdevice = 0x7135,
4440 .driver_data = SAA7134_BOARD_GOTVIEW_7135,
4442 .vendor = PCI_VENDOR_ID_PHILIPS,
4443 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4444 .subvendor = PCI_VENDOR_ID_PHILIPS,
4445 .subdevice = 0x2004,
4446 .driver_data = SAA7134_BOARD_PHILIPS_EUROPA,
4448 .vendor = PCI_VENDOR_ID_PHILIPS,
4449 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4450 .subvendor = 0x185b,
4451 .subdevice = 0xc900,
4452 .driver_data = SAA7134_BOARD_VIDEOMATE_DVBT_300,
4454 .vendor = PCI_VENDOR_ID_PHILIPS,
4455 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4456 .subvendor = 0x185b,
4457 .subdevice = 0xc901,
4458 .driver_data = SAA7134_BOARD_VIDEOMATE_DVBT_200,
4460 .vendor = PCI_VENDOR_ID_PHILIPS,
4461 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4462 .subvendor = 0x1435,
4463 .subdevice = 0x7350,
4464 .driver_data = SAA7134_BOARD_RTD_VFG7350,
4466 .vendor = PCI_VENDOR_ID_PHILIPS,
4467 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4468 .subvendor = 0x1435,
4469 .subdevice = 0x7330,
4470 .driver_data = SAA7134_BOARD_RTD_VFG7330,
4472 .vendor = PCI_VENDOR_ID_PHILIPS,
4473 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4474 .subvendor = 0x1461,
4475 .subdevice = 0x1044,
4476 .driver_data = SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180,
4478 .vendor = PCI_VENDOR_ID_PHILIPS,
4479 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4480 .subvendor = 0x1131,
4481 .subdevice = 0x4ee9,
4482 .driver_data = SAA7134_BOARD_MONSTERTV_MOBILE,
4484 .vendor = PCI_VENDOR_ID_PHILIPS,
4485 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4486 .subvendor = 0x11bd,
4487 .subdevice = 0x002e,
4488 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_110i,
4490 .vendor = PCI_VENDOR_ID_PHILIPS,
4491 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4492 .subvendor = 0x1043,
4493 .subdevice = 0x4862,
4494 .driver_data = SAA7134_BOARD_ASUSTeK_P7131_DUAL,
4496 .vendor = PCI_VENDOR_ID_PHILIPS,
4497 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4498 .subvendor = PCI_VENDOR_ID_PHILIPS,
4499 .subdevice = 0x2018,
4500 .driver_data = SAA7134_BOARD_PHILIPS_TIGER,
4502 .vendor = PCI_VENDOR_ID_PHILIPS,
4503 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4504 .subvendor = 0x1462,
4505 .subdevice = 0x6231, /* tda8275a, ks003 IR */
4506 .driver_data = SAA7134_BOARD_MSI_TVATANYWHERE_PLUS,
4508 .vendor = PCI_VENDOR_ID_PHILIPS,
4509 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4510 .subvendor = 0x1462,
4511 .subdevice = 0x8624, /* tda8275, ks003 IR */
4512 .driver_data = SAA7134_BOARD_MSI_TVATANYWHERE_PLUS,
4514 .vendor = PCI_VENDOR_ID_PHILIPS,
4515 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4516 .subvendor = 0x153b,
4517 .subdevice = 0x1160,
4518 .driver_data = SAA7134_BOARD_CINERGY250PCI,
4520 .vendor = PCI_VENDOR_ID_PHILIPS,
4521 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA 7131E */
4522 .subvendor = 0x5168,
4523 .subdevice = 0x0319,
4524 .driver_data = SAA7134_BOARD_FLYDVB_TRIO,
4526 .vendor = PCI_VENDOR_ID_PHILIPS,
4527 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4528 .subvendor = 0x1461,
4529 .subdevice = 0x2c05,
4530 .driver_data = SAA7134_BOARD_AVERMEDIA_777,
4532 .vendor = PCI_VENDOR_ID_PHILIPS,
4533 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4534 .subvendor = 0x5168,
4535 .subdevice = 0x0301,
4536 .driver_data = SAA7134_BOARD_FLYDVBT_LR301,
4538 .vendor = PCI_VENDOR_ID_PHILIPS,
4539 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4540 .subvendor = 0x0331,
4541 .subdevice = 0x1421,
4542 .driver_data = SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331,
4544 .vendor = PCI_VENDOR_ID_PHILIPS,
4545 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4546 .subvendor = 0x17de,
4547 .subdevice = 0x7201,
4548 .driver_data = SAA7134_BOARD_TEVION_DVBT_220RF,
4550 .vendor = PCI_VENDOR_ID_PHILIPS,
4551 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4552 .subvendor = 0x17de,
4553 .subdevice = 0x7250,
4554 .driver_data = SAA7134_BOARD_KWORLD_DVBT_210,
4556 .vendor = PCI_VENDOR_ID_PHILIPS,
4557 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA7135HL */
4558 .subvendor = 0x17de,
4559 .subdevice = 0x7350,
4560 .driver_data = SAA7134_BOARD_KWORLD_ATSC110,
4562 .vendor = PCI_VENDOR_ID_PHILIPS,
4563 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA7135HL */
4564 .subvendor = 0x17de,
4565 .subdevice = 0x7352,
4566 .driver_data = SAA7134_BOARD_KWORLD_ATSC110, /* ATSC 115 */
4568 .vendor = PCI_VENDOR_ID_PHILIPS,
4569 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4570 .subvendor = 0x1461,
4571 .subdevice = 0x7360,
4572 .driver_data = SAA7134_BOARD_AVERMEDIA_A169_B,
4574 .vendor = PCI_VENDOR_ID_PHILIPS,
4575 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4576 .subvendor = 0x1461,
4577 .subdevice = 0x6360,
4578 .driver_data = SAA7134_BOARD_AVERMEDIA_A169_B1,
4580 .vendor = PCI_VENDOR_ID_PHILIPS,
4581 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4582 .subvendor = 0x16be,
4583 .subdevice = 0x0005,
4584 .driver_data = SAA7134_BOARD_MD7134_BRIDGE_2,
4586 .vendor = PCI_VENDOR_ID_PHILIPS,
4587 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4588 .subvendor = 0x5168,
4589 .subdevice = 0x0300,
4590 .driver_data = SAA7134_BOARD_FLYDVBS_LR300,
4592 .vendor = PCI_VENDOR_ID_PHILIPS,
4593 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4594 .subvendor = 0x4e42,
4595 .subdevice = 0x0300,/* LR300 */
4596 .driver_data = SAA7134_BOARD_FLYDVBS_LR300,
4598 .vendor = PCI_VENDOR_ID_PHILIPS,
4599 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4600 .subvendor = 0x1489,
4601 .subdevice = 0x0301,
4602 .driver_data = SAA7134_BOARD_FLYDVBT_LR301,
4604 .vendor = PCI_VENDOR_ID_PHILIPS,
4605 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4606 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
4607 .subdevice = 0x0304,
4608 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
4610 .vendor = PCI_VENDOR_ID_PHILIPS,
4611 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4612 .subvendor = 0x5168,
4613 .subdevice = 0x3306,
4614 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
4616 .vendor = PCI_VENDOR_ID_PHILIPS,
4617 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4618 .subvendor = 0x5168,
4619 .subdevice = 0x3502, /* whats the difference to 0x3306 ?*/
4620 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
4622 .vendor = PCI_VENDOR_ID_PHILIPS,
4623 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4624 <<<<<<< HEAD:drivers/media/video/saa7134/saa7134-cards.c
4625 =======
4626 .subvendor = 0x5168,
4627 .subdevice = 0x3307, /* FlyDVB-T Hybrid Mini PCI */
4628 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
4629 }, {
4630 .vendor = PCI_VENDOR_ID_PHILIPS,
4631 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4632 >>>>>>> 264e3e889d86e552b4191d69bb60f4f3b383135a:drivers/media/video/saa7134/saa7134-cards.c
4633 .subvendor = 0x16be,
4634 .subdevice = 0x0007,
4635 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
4637 .vendor = PCI_VENDOR_ID_PHILIPS,
4638 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4639 .subvendor = 0x16be,
4640 .subdevice = 0x0008,
4641 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
4643 .vendor = PCI_VENDOR_ID_PHILIPS,
4644 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4645 <<<<<<< HEAD:drivers/media/video/saa7134/saa7134-cards.c
4646 =======
4647 .subvendor = 0x16be,
4648 .subdevice = 0x000d, /* triple CTX948_V1.1.1 */
4649 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
4650 }, {
4651 .vendor = PCI_VENDOR_ID_PHILIPS,
4652 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4653 >>>>>>> 264e3e889d86e552b4191d69bb60f4f3b383135a:drivers/media/video/saa7134/saa7134-cards.c
4654 .subvendor = 0x1461,
4655 .subdevice = 0x2c05,
4656 .driver_data = SAA7134_BOARD_AVERMEDIA_777,
4658 .vendor = PCI_VENDOR_ID_PHILIPS,
4659 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4660 .subvendor = 0x1489,
4661 .subdevice = 0x0502, /* Cardbus version */
4662 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
4664 .vendor = PCI_VENDOR_ID_PHILIPS,
4665 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4666 .subvendor = 0x0919, /* Philips Proteus PRO 2309 */
4667 .subdevice = 0x2003,
4668 .driver_data = SAA7134_BOARD_PROTEUS_2309,
4670 .vendor = PCI_VENDOR_ID_PHILIPS,
4671 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4672 .subvendor = 0x1461,
4673 .subdevice = 0x2c00,
4674 .driver_data = SAA7134_BOARD_AVERMEDIA_A16AR,
4676 .vendor = PCI_VENDOR_ID_PHILIPS,
4677 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4678 .subvendor = 0x1043,
4679 .subdevice = 0x4860,
4680 .driver_data = SAA7134_BOARD_ASUS_EUROPA2_HYBRID,
4682 .vendor = PCI_VENDOR_ID_PHILIPS,
4683 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4684 .subvendor = 0x11bd,
4685 .subdevice = 0x002f,
4686 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_310i,
4688 .vendor = PCI_VENDOR_ID_PHILIPS,
4689 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4690 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4691 .subdevice = 0x9715,
4692 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_507,
4694 .vendor = PCI_VENDOR_ID_PHILIPS,
4695 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4696 .subvendor = 0x1043,
4697 .subdevice = 0x4876,
4698 .driver_data = SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA,
4700 .vendor = PCI_VENDOR_ID_PHILIPS,
4701 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4702 .subvendor = 0x0070,
4703 .subdevice = 0x6700,
4704 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
4706 .vendor = PCI_VENDOR_ID_PHILIPS,
4707 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4708 .subvendor = 0x0070,
4709 .subdevice = 0x6701,
4710 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
4712 .vendor = PCI_VENDOR_ID_PHILIPS,
4713 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4714 .subvendor = 0x0070,
4715 .subdevice = 0x6702,
4716 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
4718 .vendor = PCI_VENDOR_ID_PHILIPS,
4719 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4720 .subvendor = 0x0070,
4721 .subdevice = 0x6703,
4722 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
4724 .vendor = PCI_VENDOR_ID_PHILIPS,
4725 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4726 .subvendor = 0x0070,
4727 .subdevice = 0x6704,
4728 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
4730 .vendor = PCI_VENDOR_ID_PHILIPS,
4731 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4732 .subvendor = 0x0070,
4733 .subdevice = 0x6705,
4734 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
4736 .vendor = PCI_VENDOR_ID_PHILIPS,
4737 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4738 .subvendor = 0x153b,
4739 .subdevice = 0x1172,
4740 .driver_data = SAA7134_BOARD_CINERGY_HT_PCMCIA,
4742 .vendor = PCI_VENDOR_ID_PHILIPS,
4743 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4744 .subvendor = PCI_VENDOR_ID_PHILIPS,
4745 .subdevice = 0x2342,
4746 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
4748 .vendor = PCI_VENDOR_ID_PHILIPS,
4749 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4750 .subvendor = 0x1131,
4751 .subdevice = 0x2341,
4752 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
4754 .vendor = PCI_VENDOR_ID_PHILIPS,
4755 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4756 .subvendor = 0x3016,
4757 .subdevice = 0x2344,
4758 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
4760 .vendor = PCI_VENDOR_ID_PHILIPS,
4761 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4762 .subvendor = 0x1131,
4763 .subdevice = 0x230f,
4764 .driver_data = SAA7134_BOARD_ENCORE_ENLTV_FM,
4766 .vendor = PCI_VENDOR_ID_PHILIPS,
4767 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4768 .subvendor = 0x153b,
4769 .subdevice = 0x1175,
4770 .driver_data = SAA7134_BOARD_CINERGY_HT_PCI,
4772 .vendor = PCI_VENDOR_ID_PHILIPS,
4773 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4774 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4775 .subdevice = 0xf31e,
4776 .driver_data = SAA7134_BOARD_AVERMEDIA_M102,
4778 .vendor = PCI_VENDOR_ID_PHILIPS,
4779 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4780 .subvendor = 0x4E42, /* MSI */
4781 .subdevice = 0x0306, /* TV@nywhere DUO */
4782 .driver_data = SAA7134_BOARD_FLYDVBTDUO,
4784 .vendor = PCI_VENDOR_ID_PHILIPS,
4785 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4786 .subvendor = 0x1043,
4787 .subdevice = 0x4871,
4788 .driver_data = SAA7134_BOARD_ASUS_P7131_4871,
4790 .vendor = PCI_VENDOR_ID_PHILIPS,
4791 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4792 .subvendor = 0x1043,
4793 .subdevice = 0x4857,
4794 .driver_data = SAA7134_BOARD_ASUSTeK_P7131_DUAL,
4796 .vendor = PCI_VENDOR_ID_PHILIPS,
4797 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4798 .subvendor = 0x0919, /* SinoVideo PCI 2309 Proteus (7134) */
4799 .subdevice = 0x2003, /* OEM cardbus */
4800 .driver_data = SAA7134_BOARD_SABRENT_TV_PCB05,
4802 .vendor = PCI_VENDOR_ID_PHILIPS,
4803 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4804 .subvendor = PCI_VENDOR_ID_PHILIPS,
4805 .subdevice = 0x2304,
4806 .driver_data = SAA7134_BOARD_10MOONSTVMASTER3,
4808 .vendor = PCI_VENDOR_ID_PHILIPS,
4809 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4810 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4811 .subdevice = 0xf01d, /* AVerTV DVB-T Super 007 */
4812 .driver_data = SAA7134_BOARD_AVERMEDIA_SUPER_007,
4814 .vendor = PCI_VENDOR_ID_PHILIPS,
4815 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4816 .subvendor = 0x0000,
4817 .subdevice = 0x4016,
4818 .driver_data = SAA7134_BOARD_BEHOLD_401,
4820 .vendor = PCI_VENDOR_ID_PHILIPS,
4821 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4822 .subvendor = 0x0000,
4823 .subdevice = 0x4036,
4824 .driver_data = SAA7134_BOARD_BEHOLD_403,
4826 .vendor = PCI_VENDOR_ID_PHILIPS,
4827 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4828 .subvendor = 0x0000,
4829 .subdevice = 0x4037,
4830 .driver_data = SAA7134_BOARD_BEHOLD_403FM,
4832 .vendor = PCI_VENDOR_ID_PHILIPS,
4833 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4834 .subvendor = 0x0000,
4835 .subdevice = 0x4050,
4836 .driver_data = SAA7134_BOARD_BEHOLD_405,
4838 .vendor = PCI_VENDOR_ID_PHILIPS,
4839 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4840 .subvendor = 0x0000,
4841 .subdevice = 0x4051,
4842 .driver_data = SAA7134_BOARD_BEHOLD_405FM,
4844 .vendor = PCI_VENDOR_ID_PHILIPS,
4845 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4846 .subvendor = 0x0000,
4847 .subdevice = 0x4070,
4848 .driver_data = SAA7134_BOARD_BEHOLD_407,
4850 .vendor = PCI_VENDOR_ID_PHILIPS,
4851 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4852 .subvendor = 0x0000,
4853 .subdevice = 0x4071,
4854 .driver_data = SAA7134_BOARD_BEHOLD_407FM,
4856 .vendor = PCI_VENDOR_ID_PHILIPS,
4857 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4858 .subvendor = 0x0000,
4859 .subdevice = 0x4090,
4860 .driver_data = SAA7134_BOARD_BEHOLD_409,
4862 .vendor = PCI_VENDOR_ID_PHILIPS,
4863 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4864 .subvendor = 0x0000,
4865 .subdevice = 0x5051,
4866 .driver_data = SAA7134_BOARD_BEHOLD_505FM,
4868 .vendor = PCI_VENDOR_ID_PHILIPS,
4869 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4870 .subvendor = 0x0000,
4871 .subdevice = 0x505B,
4872 .driver_data = SAA7134_BOARD_BEHOLD_505FM,
4874 .vendor = PCI_VENDOR_ID_PHILIPS,
4875 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4876 .subvendor = 0x5ace,
4877 .subdevice = 0x5050,
4878 .driver_data = SAA7134_BOARD_BEHOLD_505FM,
4880 .vendor = PCI_VENDOR_ID_PHILIPS,
4881 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4882 .subvendor = 0x0000,
4883 .subdevice = 0x5071,
4884 .driver_data = SAA7134_BOARD_BEHOLD_507_9FM,
4886 .vendor = PCI_VENDOR_ID_PHILIPS,
4887 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4888 .subvendor = 0x0000,
4889 .subdevice = 0x507B,
4890 .driver_data = SAA7134_BOARD_BEHOLD_507_9FM,
4892 .vendor = PCI_VENDOR_ID_PHILIPS,
4893 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4894 .subvendor = 0x5ace,
4895 .subdevice = 0x5070,
4896 .driver_data = SAA7134_BOARD_BEHOLD_507_9FM,
4898 .vendor = PCI_VENDOR_ID_PHILIPS,
4899 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4900 .subvendor = 0x5ace,
4901 .subdevice = 0x5090,
4902 .driver_data = SAA7134_BOARD_BEHOLD_507_9FM,
4904 .vendor = PCI_VENDOR_ID_PHILIPS,
4905 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4906 .subvendor = 0x0000,
4907 .subdevice = 0x5201,
4908 .driver_data = SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM,
4910 .vendor = PCI_VENDOR_ID_PHILIPS,
4911 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4912 .subvendor = 0x5ace,
4913 .subdevice = 0x6070,
4914 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
4916 .vendor = PCI_VENDOR_ID_PHILIPS,
4917 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4918 .subvendor = 0x5ace,
4919 .subdevice = 0x6071,
4920 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
4922 .vendor = PCI_VENDOR_ID_PHILIPS,
4923 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4924 .subvendor = 0x5ace,
4925 .subdevice = 0x6072,
4926 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
4928 .vendor = PCI_VENDOR_ID_PHILIPS,
4929 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4930 .subvendor = 0x5ace,
4931 .subdevice = 0x6073,
4932 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
4934 .vendor = PCI_VENDOR_ID_PHILIPS,
4935 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4936 .subvendor = 0x5ace,
4937 .subdevice = 0x6090,
4938 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
4940 .vendor = PCI_VENDOR_ID_PHILIPS,
4941 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4942 .subvendor = 0x5ace,
4943 .subdevice = 0x6091,
4944 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
4946 .vendor = PCI_VENDOR_ID_PHILIPS,
4947 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4948 .subvendor = 0x5ace,
4949 .subdevice = 0x6092,
4950 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
4952 .vendor = PCI_VENDOR_ID_PHILIPS,
4953 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4954 .subvendor = 0x5ace,
4955 .subdevice = 0x6093,
4956 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
4958 .vendor = PCI_VENDOR_ID_PHILIPS,
4959 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4960 .subvendor = 0x5ace,
4961 .subdevice = 0x6190,
4962 .driver_data = SAA7134_BOARD_BEHOLD_M6,
4964 .vendor = PCI_VENDOR_ID_PHILIPS,
4965 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4966 .subvendor = 0x5ace,
4967 .subdevice = 0x6193,
4968 .driver_data = SAA7134_BOARD_BEHOLD_M6,
4970 .vendor = PCI_VENDOR_ID_PHILIPS,
4971 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4972 .subvendor = 0x4e42,
4973 .subdevice = 0x3502,
4974 <<<<<<< HEAD:drivers/media/video/saa7134/saa7134-cards.c
4975 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS
4976 =======
4977 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
4978 }, {
4979 .vendor = PCI_VENDOR_ID_PHILIPS,
4980 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4981 .subvendor = 0x1822, /*Twinhan Technology Co. Ltd*/
4982 .subdevice = 0x0022,
4983 .driver_data = SAA7134_BOARD_TWINHAN_DTV_DVB_3056,
4984 >>>>>>> 264e3e889d86e552b4191d69bb60f4f3b383135a:drivers/media/video/saa7134/saa7134-cards.c
4986 /* --- boards without eeprom + subsystem ID --- */
4987 .vendor = PCI_VENDOR_ID_PHILIPS,
4988 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4989 .subvendor = PCI_VENDOR_ID_PHILIPS,
4990 .subdevice = 0,
4991 .driver_data = SAA7134_BOARD_NOAUTO,
4993 .vendor = PCI_VENDOR_ID_PHILIPS,
4994 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4995 .subvendor = PCI_VENDOR_ID_PHILIPS,
4996 .subdevice = 0,
4997 .driver_data = SAA7134_BOARD_NOAUTO,
4999 /* --- default catch --- */
5000 .vendor = PCI_VENDOR_ID_PHILIPS,
5001 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5002 .subvendor = PCI_ANY_ID,
5003 .subdevice = PCI_ANY_ID,
5004 .driver_data = SAA7134_BOARD_UNKNOWN,
5006 .vendor = PCI_VENDOR_ID_PHILIPS,
5007 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5008 .subvendor = PCI_ANY_ID,
5009 .subdevice = PCI_ANY_ID,
5010 .driver_data = SAA7134_BOARD_UNKNOWN,
5012 .vendor = PCI_VENDOR_ID_PHILIPS,
5013 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5014 .subvendor = PCI_ANY_ID,
5015 .subdevice = PCI_ANY_ID,
5016 .driver_data = SAA7134_BOARD_UNKNOWN,
5018 .vendor = PCI_VENDOR_ID_PHILIPS,
5019 .device = PCI_DEVICE_ID_PHILIPS_SAA7135,
5020 .subvendor = PCI_ANY_ID,
5021 .subdevice = PCI_ANY_ID,
5022 .driver_data = SAA7134_BOARD_UNKNOWN,
5024 /* --- end of list --- */
5027 MODULE_DEVICE_TABLE(pci, saa7134_pci_tbl);
5029 /* ----------------------------------------------------------- */
5030 /* flyvideo tweaks */
5033 static void board_flyvideo(struct saa7134_dev *dev)
5035 printk("%s: there are different flyvideo cards with different tuners\n"
5036 "%s: out there, you might have to use the tuner=<nr> insmod\n"
5037 "%s: option to override the default value.\n",
5038 dev->name, dev->name, dev->name);
5041 /* ----------------------------------------------------------- */
5043 static void hauppauge_eeprom(struct saa7134_dev *dev, u8 *eeprom_data)
5045 struct tveeprom tv;
5047 tveeprom_hauppauge_analog(&dev->i2c_client, &tv, eeprom_data);
5049 /* Make sure we support the board model */
5050 switch (tv.model) {
5051 case 67019: /* WinTV-HVR1110 (Retail, IR Blaster, hybrid, FM, SVid/Comp, 3.5mm audio in) */
5052 case 67109: /* WinTV-HVR1000 (Retail, IR Receive, analog, no FM, SVid/Comp, 3.5mm audio in) */
5053 case 67559: /* WinTV-HVR1110 (OEM, no IR, hybrid, FM, SVid/Comp, RCA aud) */
5054 case 67569: /* WinTV-HVR1110 (OEM, no IR, hybrid, FM) */
5055 case 67579: /* WinTV-HVR1110 (OEM, no IR, hybrid, no FM) */
5056 case 67589: /* WinTV-HVR1110 (OEM, no IR, hybrid, no FM, SVid/Comp, RCA aud) */
5057 case 67599: /* WinTV-HVR1110 (OEM, no IR, hybrid, no FM, SVid/Comp, RCA aud) */
5058 break;
5059 default:
5060 printk(KERN_WARNING "%s: warning: "
5061 "unknown hauppauge model #%d\n", dev->name, tv.model);
5062 break;
5065 printk(KERN_INFO "%s: hauppauge eeprom: model=%d\n",
5066 dev->name, tv.model);
5069 /* ----------------------------------------------------------- */
5071 int saa7134_board_init1(struct saa7134_dev *dev)
5073 /* Always print gpio, often manufacturers encode tuner type and other info. */
5074 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0);
5075 dev->gpio_value = saa_readl(SAA7134_GPIO_GPSTATUS0 >> 2);
5076 printk(KERN_INFO "%s: board init: gpio is %x\n", dev->name, dev->gpio_value);
5078 switch (dev->board) {
5079 case SAA7134_BOARD_FLYVIDEO2000:
5080 case SAA7134_BOARD_FLYVIDEO3000:
5081 case SAA7134_BOARD_FLYVIDEO3000_NTSC:
5082 dev->has_remote = SAA7134_REMOTE_GPIO;
5083 board_flyvideo(dev);
5084 break;
5085 case SAA7134_BOARD_FLYTVPLATINUM_MINI2:
5086 case SAA7134_BOARD_FLYTVPLATINUM_FM:
5087 case SAA7134_BOARD_CINERGY400:
5088 case SAA7134_BOARD_CINERGY600:
5089 case SAA7134_BOARD_CINERGY600_MK3:
5090 case SAA7134_BOARD_ECS_TVP3XP:
5091 case SAA7134_BOARD_ECS_TVP3XP_4CB5:
5092 case SAA7134_BOARD_ECS_TVP3XP_4CB6:
5093 case SAA7134_BOARD_MD2819:
5094 case SAA7134_BOARD_KWORLD_VSTREAM_XPERT:
5095 case SAA7134_BOARD_KWORLD_XPERT:
5096 case SAA7134_BOARD_AVERMEDIA_STUDIO_305:
5097 case SAA7134_BOARD_AVERMEDIA_305:
5098 case SAA7134_BOARD_AVERMEDIA_STUDIO_307:
5099 case SAA7134_BOARD_AVERMEDIA_307:
5100 case SAA7134_BOARD_AVERMEDIA_STUDIO_507:
5101 case SAA7134_BOARD_AVERMEDIA_GO_007_FM:
5102 case SAA7134_BOARD_AVERMEDIA_777:
5103 /* case SAA7134_BOARD_SABRENT_SBTTVFM: */ /* not finished yet */
5104 case SAA7134_BOARD_VIDEOMATE_TV_PVR:
5105 case SAA7134_BOARD_VIDEOMATE_GOLD_PLUS:
5106 case SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII:
5107 case SAA7134_BOARD_VIDEOMATE_DVBT_300:
5108 case SAA7134_BOARD_VIDEOMATE_DVBT_200:
5109 case SAA7134_BOARD_VIDEOMATE_DVBT_200A:
5110 case SAA7134_BOARD_MANLI_MTV001:
5111 case SAA7134_BOARD_MANLI_MTV002:
5112 case SAA7134_BOARD_BEHOLD_409FM:
5113 case SAA7134_BOARD_AVACSSMARTTV:
5114 case SAA7134_BOARD_GOTVIEW_7135:
5115 case SAA7134_BOARD_KWORLD_TERMINATOR:
5116 case SAA7134_BOARD_SEDNA_PC_TV_CARDBUS:
5117 case SAA7134_BOARD_FLYDVBT_LR301:
5118 case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
5119 case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA:
5120 case SAA7134_BOARD_FLYDVBTDUO:
5121 case SAA7134_BOARD_PROTEUS_2309:
5122 case SAA7134_BOARD_AVERMEDIA_A16AR:
5123 case SAA7134_BOARD_ENCORE_ENLTV:
5124 case SAA7134_BOARD_ENCORE_ENLTV_FM:
5125 case SAA7134_BOARD_10MOONSTVMASTER3:
5126 case SAA7134_BOARD_BEHOLD_401:
5127 case SAA7134_BOARD_BEHOLD_403:
5128 case SAA7134_BOARD_BEHOLD_403FM:
5129 case SAA7134_BOARD_BEHOLD_405:
5130 case SAA7134_BOARD_BEHOLD_405FM:
5131 case SAA7134_BOARD_BEHOLD_407:
5132 case SAA7134_BOARD_BEHOLD_407FM:
5133 case SAA7134_BOARD_BEHOLD_409:
5134 case SAA7134_BOARD_BEHOLD_505FM:
5135 case SAA7134_BOARD_BEHOLD_507_9FM:
5136 <<<<<<< HEAD:drivers/media/video/saa7134/saa7134-cards.c
5137 =======
5138 case SAA7134_BOARD_GENIUS_TVGO_A11MCE:
5139 >>>>>>> 264e3e889d86e552b4191d69bb60f4f3b383135a:drivers/media/video/saa7134/saa7134-cards.c
5140 dev->has_remote = SAA7134_REMOTE_GPIO;
5141 break;
5142 case SAA7134_BOARD_FLYDVBS_LR300:
5143 saa_writeb(SAA7134_GPIO_GPMODE3, 0x80);
5144 saa_writeb(SAA7134_GPIO_GPSTATUS2, 0x40);
5145 dev->has_remote = SAA7134_REMOTE_GPIO;
5146 break;
5147 case SAA7134_BOARD_MD5044:
5148 printk("%s: seems there are two different versions of the MD5044\n"
5149 "%s: (with the same ID) out there. If sound doesn't work for\n"
5150 "%s: you try the audio_clock_override=0x200000 insmod option.\n",
5151 dev->name,dev->name,dev->name);
5152 break;
5153 case SAA7134_BOARD_CINERGY400_CARDBUS:
5154 /* power-up tuner chip */
5155 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000);
5156 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000000);
5157 break;
5158 case SAA7134_BOARD_PINNACLE_300I_DVBT_PAL:
5159 /* this turns the remote control chip off to work around a bug in it */
5160 saa_writeb(SAA7134_GPIO_GPMODE1, 0x80);
5161 saa_writeb(SAA7134_GPIO_GPSTATUS1, 0x80);
5162 break;
5163 case SAA7134_BOARD_MONSTERTV_MOBILE:
5164 /* power-up tuner chip */
5165 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000);
5166 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000004);
5167 break;
5168 case SAA7134_BOARD_FLYDVBT_DUO_CARDBUS:
5169 /* turn the fan on */
5170 saa_writeb(SAA7134_GPIO_GPMODE3, 0x08);
5171 saa_writeb(SAA7134_GPIO_GPSTATUS3, 0x06);
5172 break;
5173 case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331:
5174 case SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS:
5175 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x08000000, 0x08000000);
5176 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x08000000, 0x00000000);
5177 break;
5178 case SAA7134_BOARD_AVERMEDIA_CARDBUS:
5179 case SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM:
5180 /* power-up tuner chip */
5181 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0xffffffff, 0xffffffff);
5182 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0xffffffff);
5183 msleep(1);
5184 break;
5185 case SAA7134_BOARD_RTD_VFG7350:
5188 * Make sure Production Test Register at offset 0x1D1 is cleared
5189 * to take chip out of test mode. Clearing bit 4 (TST_EN_AOUT)
5190 * prevents pin 105 from remaining low; keeping pin 105 low
5191 * continually resets the SAA6752 chip.
5194 saa_writeb (SAA7134_PRODUCTION_TEST_MODE, 0x00);
5195 break;
5196 /* i2c remotes */
5197 case SAA7134_BOARD_PINNACLE_PCTV_110i:
5198 case SAA7134_BOARD_PINNACLE_PCTV_310i:
5199 case SAA7134_BOARD_UPMOST_PURPLE_TV:
5200 case SAA7134_BOARD_HAUPPAUGE_HVR1110:
5201 case SAA7134_BOARD_BEHOLD_607_9FM:
5202 case SAA7134_BOARD_BEHOLD_M6:
5203 dev->has_remote = SAA7134_REMOTE_I2C;
5204 break;
5205 case SAA7134_BOARD_AVERMEDIA_A169_B:
5206 case SAA7134_BOARD_MD7134_BRIDGE_2:
5207 printk("%s: %s: dual saa713x broadcast decoders\n"
5208 "%s: Sorry, none of the inputs to this chip are supported yet.\n"
5209 "%s: Dual decoder functionality is disabled for now, use the other chip.\n",
5210 dev->name,card(dev).name,dev->name,dev->name);
5211 break;
5212 case SAA7134_BOARD_AVERMEDIA_M102:
5213 /* enable tuner */
5214 dev->has_remote = SAA7134_REMOTE_GPIO;
5215 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x8c040007, 0x8c040007);
5216 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x0c0007cd, 0x0c0007cd);
5217 break;
5219 return 0;
5222 /* stuff which needs working i2c */
5223 int saa7134_board_init2(struct saa7134_dev *dev)
5225 unsigned char buf;
5226 int board;
5227 struct tuner_setup tun_setup;
5228 tun_setup.config = 0;
5229 tun_setup.tuner_callback = saa7134_tuner_callback;
5231 switch (dev->board) {
5232 case SAA7134_BOARD_BMK_MPEX_NOTUNER:
5233 case SAA7134_BOARD_BMK_MPEX_TUNER:
5234 dev->i2c_client.addr = 0x60;
5235 board = (i2c_master_recv(&dev->i2c_client,&buf,0) < 0)
5236 ? SAA7134_BOARD_BMK_MPEX_NOTUNER
5237 : SAA7134_BOARD_BMK_MPEX_TUNER;
5238 if (board == dev->board)
5239 break;
5240 dev->board = board;
5241 printk("%s: board type fixup: %s\n", dev->name,
5242 saa7134_boards[dev->board].name);
5243 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
5245 if (TUNER_ABSENT != dev->tuner_type) {
5246 tun_setup.mode_mask = T_RADIO | T_ANALOG_TV | T_DIGITAL_TV;
5247 tun_setup.type = dev->tuner_type;
5248 tun_setup.addr = ADDR_UNSET;
5250 saa7134_i2c_call_clients (dev, TUNER_SET_TYPE_ADDR, &tun_setup);
5252 break;
5253 case SAA7134_BOARD_MD7134:
5255 u8 subaddr;
5256 u8 data[3];
5257 int ret, tuner_t;
5259 struct i2c_msg msg[] = {{.addr=0x50, .flags=0, .buf=&subaddr, .len = 1},
5260 {.addr=0x50, .flags=I2C_M_RD, .buf=data, .len = 3}};
5261 subaddr= 0x14;
5262 tuner_t = 0;
5263 ret = i2c_transfer(&dev->i2c_adap, msg, 2);
5264 if (ret != 2) {
5265 printk(KERN_ERR "EEPROM read failure\n");
5266 } else if ((data[0] != 0) && (data[0] != 0xff)) {
5267 /* old config structure */
5268 subaddr = data[0] + 2;
5269 msg[1].len = 2;
5270 i2c_transfer(&dev->i2c_adap, msg, 2);
5271 tuner_t = (data[0] << 8) + data[1];
5272 switch (tuner_t){
5273 case 0x0103:
5274 dev->tuner_type = TUNER_PHILIPS_PAL;
5275 break;
5276 case 0x010C:
5277 dev->tuner_type = TUNER_PHILIPS_FM1216ME_MK3;
5278 break;
5279 default:
5280 printk(KERN_ERR "%s Cant determine tuner type %x from EEPROM\n", dev->name, tuner_t);
5282 } else if ((data[1] != 0) && (data[1] != 0xff)) {
5283 /* new config structure */
5284 subaddr = data[1] + 1;
5285 msg[1].len = 1;
5286 i2c_transfer(&dev->i2c_adap, msg, 2);
5287 subaddr = data[0] + 1;
5288 msg[1].len = 2;
5289 i2c_transfer(&dev->i2c_adap, msg, 2);
5290 tuner_t = (data[1] << 8) + data[0];
5291 switch (tuner_t) {
5292 case 0x0005:
5293 dev->tuner_type = TUNER_PHILIPS_FM1216ME_MK3;
5294 break;
5295 case 0x001d:
5296 dev->tuner_type = TUNER_PHILIPS_FMD1216ME_MK3;
5297 printk(KERN_INFO "%s Board has DVB-T\n", dev->name);
5298 break;
5299 default:
5300 printk(KERN_ERR "%s Cant determine tuner type %x from EEPROM\n", dev->name, tuner_t);
5302 } else {
5303 printk(KERN_ERR "%s unexpected config structure\n", dev->name);
5306 printk(KERN_INFO "%s Tuner type is %d\n", dev->name, dev->tuner_type);
5307 if (dev->tuner_type == TUNER_PHILIPS_FMD1216ME_MK3) {
5308 struct v4l2_priv_tun_config tda9887_cfg;
5310 tda9887_cfg.tuner = TUNER_TDA9887;
5311 tda9887_cfg.priv = &dev->tda9887_conf;
5313 dev->tda9887_conf = TDA9887_PRESENT |
5314 TDA9887_PORT1_ACTIVE |
5315 TDA9887_PORT2_ACTIVE;
5317 saa7134_i2c_call_clients(dev, TUNER_SET_CONFIG,
5318 &tda9887_cfg);
5321 tun_setup.mode_mask = T_RADIO | T_ANALOG_TV | T_DIGITAL_TV;
5322 tun_setup.type = dev->tuner_type;
5323 tun_setup.addr = ADDR_UNSET;
5325 saa7134_i2c_call_clients (dev, TUNER_SET_TYPE_ADDR,&tun_setup);
5327 break;
5328 case SAA7134_BOARD_PHILIPS_EUROPA:
5329 case SAA7134_BOARD_VIDEOMATE_DVBT_300:
5330 case SAA7134_BOARD_ASUS_EUROPA2_HYBRID:
5331 /* The Philips EUROPA based hybrid boards have the tuner connected through
5332 * the channel decoder. We have to make it transparent to find it
5335 u8 data[] = { 0x07, 0x02};
5336 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
5337 i2c_transfer(&dev->i2c_adap, &msg, 1);
5339 tun_setup.mode_mask = T_ANALOG_TV | T_DIGITAL_TV;
5340 tun_setup.type = dev->tuner_type;
5341 tun_setup.addr = dev->tuner_addr;
5343 saa7134_i2c_call_clients (dev, TUNER_SET_TYPE_ADDR,&tun_setup);
5345 break;
5346 case SAA7134_BOARD_PHILIPS_TIGER:
5347 case SAA7134_BOARD_PHILIPS_TIGER_S:
5349 u8 data[] = { 0x3c, 0x33, 0x60};
5350 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
5351 if(dev->autodetected && (dev->eedata[0x49] == 0x50)) {
5352 dev->board = SAA7134_BOARD_PHILIPS_TIGER_S;
5353 printk(KERN_INFO "%s: Reconfigured board as %s\n",
5354 dev->name, saa7134_boards[dev->board].name);
5356 if(dev->board == SAA7134_BOARD_PHILIPS_TIGER_S) {
5357 tun_setup.mode_mask = T_ANALOG_TV | T_DIGITAL_TV;
5358 tun_setup.type = TUNER_PHILIPS_TDA8290;
5359 tun_setup.addr = 0x4b;
5360 tun_setup.config = 2;
5362 saa7134_i2c_call_clients (dev, TUNER_SET_TYPE_ADDR,&tun_setup);
5363 data[2] = 0x68;
5365 i2c_transfer(&dev->i2c_adap, &msg, 1);
5367 break;
5368 case SAA7134_BOARD_HAUPPAUGE_HVR1110:
5369 hauppauge_eeprom(dev, dev->eedata+0x80);
5370 /* break intentionally omitted */
5371 case SAA7134_BOARD_PINNACLE_PCTV_310i:
5372 case SAA7134_BOARD_KWORLD_DVBT_210:
5373 case SAA7134_BOARD_TEVION_DVBT_220RF:
5374 case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
5375 case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA:
5376 case SAA7134_BOARD_MEDION_MD8800_QUADRO:
5377 <<<<<<< HEAD:drivers/media/video/saa7134/saa7134-cards.c
5378 case SAA7134_BOARD_AVERMEDIA_SUPER_007:
5379 =======
5380 case SAA7134_BOARD_AVERMEDIA_SUPER_007:
5381 case SAA7134_BOARD_TWINHAN_DTV_DVB_3056:
5382 >>>>>>> 264e3e889d86e552b4191d69bb60f4f3b383135a:drivers/media/video/saa7134/saa7134-cards.c
5383 /* this is a hybrid board, initialize to analog mode
5384 * and configure firmware eeprom address
5387 u8 data[] = { 0x3c, 0x33, 0x60};
5388 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
5389 i2c_transfer(&dev->i2c_adap, &msg, 1);
5391 break;
5392 case SAA7134_BOARD_FLYDVB_TRIO:
5394 u8 data[] = { 0x3c, 0x33, 0x62};
5395 struct i2c_msg msg = {.addr=0x09, .flags=0, .buf=data, .len = sizeof(data)};
5396 i2c_transfer(&dev->i2c_adap, &msg, 1);
5398 break;
5399 case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331:
5400 case SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS:
5401 /* initialize analog mode */
5403 u8 data[] = { 0x3c, 0x33, 0x6a};
5404 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
5405 i2c_transfer(&dev->i2c_adap, &msg, 1);
5407 break;
5408 case SAA7134_BOARD_CINERGY_HT_PCMCIA:
5409 case SAA7134_BOARD_CINERGY_HT_PCI:
5410 /* initialize analog mode */
5412 u8 data[] = { 0x3c, 0x33, 0x68};
5413 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
5414 i2c_transfer(&dev->i2c_adap, &msg, 1);
5416 break;
5417 case SAA7134_BOARD_KWORLD_ATSC110:
5419 /* enable tuner */
5420 int i;
5421 static const u8 buffer [] = { 0x10,0x12,0x13,0x04,0x16,0x00,0x14,0x04,0x017,0x00 };
5422 dev->i2c_client.addr = 0x0a;
5423 for (i = 0; i < 5; i++)
5424 if (2 != i2c_master_send(&dev->i2c_client,&buffer[i*2],2))
5425 printk(KERN_WARNING "%s: Unable to enable tuner(%i).\n",
5426 dev->name, i);
5428 break;
5429 case SAA7134_BOARD_VIDEOMATE_DVBT_200:
5430 case SAA7134_BOARD_VIDEOMATE_DVBT_200A:
5431 /* The T200 and the T200A share the same pci id. Consequently,
5432 * we are going to query eeprom to try to find out which one we
5433 * are actually looking at. */
5435 /* Don't do this if the board was specifically selected with an
5436 * insmod option or if we have the default configuration T200*/
5437 if(!dev->autodetected || (dev->eedata[0x41] == 0xd0))
5438 break;
5439 if(dev->eedata[0x41] == 0x02) {
5440 /* Reconfigure board as T200A */
5441 dev->board = SAA7134_BOARD_VIDEOMATE_DVBT_200A;
5442 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
5443 dev->tda9887_conf = saa7134_boards[dev->board].tda9887_conf;
5444 printk(KERN_INFO "%s: Reconfigured board as %s\n",
5445 dev->name, saa7134_boards[dev->board].name);
5446 } else {
5447 printk(KERN_WARNING "%s: Unexpected tuner type info: %x in eeprom\n",
5448 dev->name, dev->eedata[0x41]);
5449 break;
5451 break;
5453 return 0;
5456 /* ----------------------------------------------------------- */
5458 * Local variables:
5459 * c-basic-offset: 8
5460 * End: