V4L/DVB (8021): Beholder's cards description
[linux-2.6.git] / drivers / media / video / saa7134 / saa7134-cards.c
1 /*
2  *
3  * device driver for philips saa7134 based TV cards
4  * card-specific stuff.
5  *
6  * (c) 2001-04 Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]
7  *
8  *  This program is free software; you can redistribute it and/or modify
9  *  it under the terms of the GNU General Public License as published by
10  *  the Free Software Foundation; either version 2 of the License, or
11  *  (at your option) any later version.
12  *
13  *  This program is distributed in the hope that it will be useful,
14  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  *  GNU General Public License for more details.
17  *
18  *  You should have received a copy of the GNU General Public License
19  *  along with this program; if not, write to the Free Software
20  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21  */
22
23 #include <linux/init.h>
24 #include <linux/module.h>
25 #include <linux/i2c.h>
26 #include <linux/i2c-algo-bit.h>
27
28 #include "saa7134-reg.h"
29 #include "saa7134.h"
30 #include "tuner-xc2028.h"
31 #include <media/v4l2-common.h>
32 #include <media/tveeprom.h>
33 #include "tea5767.h"
34
35 /* commly used strings */
36 static char name_mute[]    = "mute";
37 static char name_radio[]   = "Radio";
38 static char name_tv[]      = "Television";
39 static char name_tv_mono[] = "TV (mono only)";
40 static char name_comp[]    = "Composite";
41 static char name_comp1[]   = "Composite1";
42 static char name_comp2[]   = "Composite2";
43 static char name_comp3[]   = "Composite3";
44 static char name_comp4[]   = "Composite4";
45 static char name_svideo[]  = "S-Video";
46
47 /* ------------------------------------------------------------------ */
48 /* board config info                                                  */
49
50 /* If radio_type !=UNSET, radio_addr should be specified
51  */
52
53 struct saa7134_board saa7134_boards[] = {
54         [SAA7134_BOARD_UNKNOWN] = {
55                 .name           = "UNKNOWN/GENERIC",
56                 .audio_clock    = 0x00187de7,
57                 .tuner_type     = TUNER_ABSENT,
58                 .radio_type     = UNSET,
59                 .tuner_addr     = ADDR_UNSET,
60                 .radio_addr     = ADDR_UNSET,
61
62                 .inputs         = {{
63                         .name = "default",
64                         .vmux = 0,
65                         .amux = LINE1,
66                 }},
67         },
68         [SAA7134_BOARD_PROTEUS_PRO] = {
69                 /* /me */
70                 .name           = "Proteus Pro [philips reference design]",
71                 .audio_clock    = 0x00187de7,
72                 .tuner_type     = TUNER_PHILIPS_PAL,
73                 .radio_type     = UNSET,
74                 .tuner_addr     = ADDR_UNSET,
75                 .radio_addr     = ADDR_UNSET,
76
77                 .inputs         = {{
78                         .name = name_comp1,
79                         .vmux = 0,
80                         .amux = LINE1,
81                 },{
82                         .name = name_tv,
83                         .vmux = 1,
84                         .amux = TV,
85                         .tv   = 1,
86                 },{
87                         .name = name_tv_mono,
88                         .vmux = 1,
89                         .amux = LINE2,
90                         .tv   = 1,
91                 }},
92                 .radio = {
93                         .name = name_radio,
94                         .amux = LINE2,
95                 },
96         },
97         [SAA7134_BOARD_FLYVIDEO3000] = {
98                 /* "Marco d'Itri" <md@Linux.IT> */
99                 .name           = "LifeView FlyVIDEO3000",
100                 .audio_clock    = 0x00200000,
101                 .tuner_type     = TUNER_PHILIPS_PAL,
102                 .radio_type     = UNSET,
103                 .tuner_addr     = ADDR_UNSET,
104                 .radio_addr     = ADDR_UNSET,
105
106                 .gpiomask       = 0xe000,
107                 .inputs         = {{
108                         .name = name_tv,
109                         .vmux = 1,
110                         .amux = TV,
111                         .gpio = 0x8000,
112                         .tv   = 1,
113                 },{
114                         .name = name_tv_mono,
115                         .vmux = 1,
116                         .amux = LINE2,
117                         .gpio = 0x0000,
118                         .tv   = 1,
119                 },{
120                         .name = name_comp1,
121                         .vmux = 0,
122                         .amux = LINE2,
123                         .gpio = 0x4000,
124                 },{
125                         .name = name_comp2,
126                         .vmux = 3,
127                         .amux = LINE2,
128                         .gpio = 0x4000,
129                 },{
130                         .name = name_svideo,
131                         .vmux = 8,
132                         .amux = LINE2,
133                         .gpio = 0x4000,
134                 }},
135                 .radio = {
136                         .name = name_radio,
137                         .amux = LINE2,
138                         .gpio = 0x2000,
139                 },
140                 .mute = {
141                         .name = name_mute,
142                         .amux = TV,
143                         .gpio = 0x8000,
144                 },
145         },
146         [SAA7134_BOARD_FLYVIDEO2000] = {
147                 /* "TC Wan" <tcwan@cs.usm.my> */
148                 .name           = "LifeView/Typhoon FlyVIDEO2000",
149                 .audio_clock    = 0x00200000,
150                 .tuner_type     = TUNER_LG_PAL_NEW_TAPC,
151                 .radio_type     = UNSET,
152                 .tuner_addr     = ADDR_UNSET,
153                 .radio_addr     = ADDR_UNSET,
154
155                 .gpiomask       = 0xe000,
156                 .inputs         = {{
157                         .name = name_tv,
158                         .vmux = 1,
159                         .amux = LINE2,
160                         .gpio = 0x0000,
161                         .tv   = 1,
162                 },{
163                         .name = name_comp1,
164                         .vmux = 0,
165                         .amux = LINE2,
166                         .gpio = 0x4000,
167                 },{
168                         .name = name_comp2,
169                         .vmux = 3,
170                         .amux = LINE2,
171                         .gpio = 0x4000,
172                 },{
173                         .name = name_svideo,
174                         .vmux = 8,
175                         .amux = LINE2,
176                         .gpio = 0x4000,
177                 }},
178                 .radio = {
179                         .name = name_radio,
180                         .amux = LINE2,
181                         .gpio = 0x2000,
182                 },
183                 .mute = {
184                         .name = name_mute,
185                         .amux = LINE2,
186                         .gpio = 0x8000,
187                 },
188         },
189         [SAA7134_BOARD_FLYTVPLATINUM_MINI] = {
190                 /* "Arnaud Quette" <aquette@free.fr> */
191                 .name           = "LifeView FlyTV Platinum Mini",
192                 .audio_clock    = 0x00200000,
193                 .tuner_type     = TUNER_PHILIPS_TDA8290,
194                 .radio_type     = UNSET,
195                 .tuner_addr     = ADDR_UNSET,
196                 .radio_addr     = ADDR_UNSET,
197
198                 .inputs         = {{
199                         .name = name_tv,
200                         .vmux = 1,
201                         .amux = TV,
202                         .tv   = 1,
203                 },{
204                         .name = name_comp1,     /* Composite signal on S-Video input */
205                         .vmux = 0,
206                         .amux = LINE2,
207                 },{
208                         .name = name_comp2,     /* Composite input */
209                         .vmux = 3,
210                         .amux = LINE2,
211                 },{
212                         .name = name_svideo,
213                         .vmux = 8,
214                         .amux = LINE2,
215                 }},
216         },
217         [SAA7134_BOARD_FLYTVPLATINUM_FM] = {
218                 /* LifeView FlyTV Platinum FM (LR214WF) */
219                 /* "Peter Missel <peter.missel@onlinehome.de> */
220                 .name           = "LifeView FlyTV Platinum FM / Gold",
221                 .audio_clock    = 0x00200000,
222                 .tuner_type     = TUNER_PHILIPS_TDA8290,
223                 .radio_type     = UNSET,
224                 .tuner_addr     = ADDR_UNSET,
225                 .radio_addr     = ADDR_UNSET,
226
227                 .gpiomask       = 0x1E000,      /* Set GP16 and unused 15,14,13 to Output */
228                 .inputs         = {{
229                         .name = name_tv,
230                         .vmux = 1,
231                         .amux = TV,
232                         .gpio = 0x10000,        /* GP16=1 selects TV input */
233                         .tv   = 1,
234                 },{
235 /*                      .name = name_tv_mono,
236                         .vmux = 1,
237                         .amux = LINE2,
238                         .gpio = 0x0000,
239                         .tv   = 1,
240                 },{
241 */                      .name = name_comp1,     /* Composite signal on S-Video input */
242                         .vmux = 0,
243                         .amux = LINE2,
244 /*                      .gpio = 0x4000,         */
245                 },{
246                         .name = name_comp2,     /* Composite input */
247                         .vmux = 3,
248                         .amux = LINE2,
249 /*                      .gpio = 0x4000,         */
250                 },{
251                         .name = name_svideo,    /* S-Video signal on S-Video input */
252                         .vmux = 8,
253                         .amux = LINE2,
254 /*                      .gpio = 0x4000,         */
255                 }},
256                 .radio = {
257                         .name = name_radio,
258                         .amux = TV,
259                         .gpio = 0x00000,        /* GP16=0 selects FM radio antenna */
260                 },
261                 .mute = {
262                         .name = name_mute,
263                         .amux = TV,
264                         .gpio = 0x10000,
265                 },
266         },
267         [SAA7134_BOARD_EMPRESS] = {
268                 /* "Gert Vervoort" <gert.vervoort@philips.com> */
269                 .name           = "EMPRESS",
270                 .audio_clock    = 0x00187de7,
271                 .tuner_type     = TUNER_PHILIPS_PAL,
272                 .radio_type     = UNSET,
273                 .tuner_addr     = ADDR_UNSET,
274                 .radio_addr     = ADDR_UNSET,
275
276                 .inputs         = {{
277                         .name = name_comp1,
278                         .vmux = 0,
279                         .amux = LINE1,
280                 },{
281                         .name = name_svideo,
282                         .vmux = 8,
283                         .amux = LINE1,
284                 },{
285                         .name = name_tv,
286                         .vmux = 1,
287                         .amux = LINE2,
288                         .tv   = 1,
289                 }},
290                 .radio = {
291                         .name = name_radio,
292                         .amux = LINE2,
293                 },
294                 .mpeg      = SAA7134_MPEG_EMPRESS,
295                 .video_out = CCIR656,
296         },
297         [SAA7134_BOARD_MONSTERTV] = {
298                 /* "K.Ohta" <alpha292@bremen.or.jp> */
299                 .name           = "SKNet Monster TV",
300                 .audio_clock    = 0x00187de7,
301                 .tuner_type     = TUNER_PHILIPS_NTSC_M,
302                 .radio_type     = UNSET,
303                 .tuner_addr     = ADDR_UNSET,
304                 .radio_addr     = ADDR_UNSET,
305
306                 .inputs         = {{
307                         .name = name_tv,
308                         .vmux = 1,
309                         .amux = TV,
310                         .tv   = 1,
311                 },{
312                         .name = name_comp1,
313                         .vmux = 0,
314                         .amux = LINE1,
315                 },{
316                         .name = name_svideo,
317                         .vmux = 8,
318                         .amux = LINE1,
319                 }},
320                 .radio = {
321                         .name = name_radio,
322                         .amux = LINE2,
323                 },
324         },
325         [SAA7134_BOARD_MD9717] = {
326                 .name           = "Tevion MD 9717",
327                 .audio_clock    = 0x00200000,
328                 .tuner_type     = TUNER_PHILIPS_PAL,
329                 .radio_type     = UNSET,
330                 .tuner_addr     = ADDR_UNSET,
331                 .radio_addr     = ADDR_UNSET,
332                 .inputs         = {{
333                         .name = name_tv,
334                         .vmux = 1,
335                         .amux = TV,
336                         .tv   = 1,
337                 },{
338                         /* workaround for problems with normal TV sound */
339                         .name = name_tv_mono,
340                         .vmux = 1,
341                         .amux = LINE2,
342                         .tv   = 1,
343                 },{
344                         .name = name_comp1,
345                         .vmux = 0,
346                         .amux = LINE1,
347                 },{
348                         .name = name_comp2,
349                         .vmux = 3,
350                         .amux = LINE1,
351                 },{
352                         .name = name_svideo,
353                         .vmux = 8,
354                         .amux = LINE1,
355                 }},
356                 .radio = {
357                         .name = name_radio,
358                         .amux = LINE2,
359                 },
360                .mute = {
361                        .name = name_mute,
362                        .amux = TV,
363                },
364         },
365         [SAA7134_BOARD_TVSTATION_RDS] = {
366                 /* Typhoon TV Tuner RDS: Art.Nr. 50694 */
367                 .name           = "KNC One TV-Station RDS / Typhoon TV Tuner RDS",
368                 .audio_clock    = 0x00200000,
369                 .tuner_type     = TUNER_PHILIPS_FM1216ME_MK3,
370                 .radio_type     = UNSET,
371                 .tuner_addr     = ADDR_UNSET,
372                 .radio_addr     = ADDR_UNSET,
373                 .tda9887_conf   = TDA9887_PRESENT,
374                 .inputs         = {{
375                         .name = name_tv,
376                         .vmux = 1,
377                         .amux = TV,
378                         .tv   = 1,
379                 },{
380                         .name = name_tv_mono,
381                         .vmux = 1,
382                         .amux   = LINE2,
383                         .tv   = 1,
384                 },{
385
386                         .name = name_svideo,
387                         .vmux = 8,
388                         .amux = LINE1,
389                 },{
390                         .name = name_comp1,
391                         .vmux = 3,
392                         .amux = LINE1,
393                 },{
394
395                         .name = "CVid over SVid",
396                         .vmux = 0,
397                         .amux = LINE1,
398                 }},
399                 .radio = {
400                         .name = name_radio,
401                         .amux = LINE2,
402                 },
403         },
404         [SAA7134_BOARD_TVSTATION_DVR] = {
405                 .name           = "KNC One TV-Station DVR",
406                 .audio_clock    = 0x00200000,
407                 .tuner_type     = TUNER_PHILIPS_FM1216ME_MK3,
408                 .radio_type     = UNSET,
409                 .tuner_addr     = ADDR_UNSET,
410                 .radio_addr     = ADDR_UNSET,
411                 .tda9887_conf   = TDA9887_PRESENT,
412                 .gpiomask       = 0x820000,
413                 .inputs         = {{
414                         .name = name_tv,
415                         .vmux = 1,
416                         .amux = TV,
417                         .tv   = 1,
418                         .gpio = 0x20000,
419                 },{
420                         .name = name_svideo,
421                         .vmux = 8,
422                         .amux = LINE1,
423                         .gpio = 0x20000,
424                 },{
425                         .name = name_comp1,
426                         .vmux = 3,
427                         .amux = LINE1,
428                         .gpio = 0x20000,
429                 }},
430                 .radio          = {
431                         .name = name_radio,
432                         .amux = LINE2,
433                         .gpio = 0x20000,
434                 },
435                 .mpeg           = SAA7134_MPEG_EMPRESS,
436                 .video_out      = CCIR656,
437         },
438         [SAA7134_BOARD_CINERGY400] = {
439                 .name           = "Terratec Cinergy 400 TV",
440                 .audio_clock    = 0x00200000,
441                 .tuner_type     = TUNER_PHILIPS_PAL,
442                 .radio_type     = UNSET,
443                 .tuner_addr     = ADDR_UNSET,
444                 .radio_addr     = ADDR_UNSET,
445                 .inputs         = {{
446                         .name = name_tv,
447                         .vmux = 1,
448                         .amux = TV,
449                         .tv   = 1,
450                 },{
451                         .name = name_comp1,
452                         .vmux = 4,
453                         .amux = LINE1,
454                 },{
455                         .name = name_svideo,
456                         .vmux = 8,
457                         .amux = LINE1,
458                 },{
459                         .name = name_comp2, /* CVideo over SVideo Connector */
460                         .vmux = 0,
461                         .amux = LINE1,
462                 }}
463         },
464         [SAA7134_BOARD_MD5044] = {
465                 .name           = "Medion 5044",
466                 .audio_clock    = 0x00187de7, /* was: 0x00200000, */
467                 .tuner_type     = TUNER_PHILIPS_FM1216ME_MK3,
468                 .radio_type     = UNSET,
469                 .tuner_addr     = ADDR_UNSET,
470                 .radio_addr     = ADDR_UNSET,
471                 .tda9887_conf   = TDA9887_PRESENT,
472                 .inputs         = {{
473                         .name = name_tv,
474                         .vmux = 1,
475                         .amux = TV,
476                         .tv   = 1,
477                 },{
478                         /* workaround for problems with normal TV sound */
479                         .name = name_tv_mono,
480                         .vmux = 1,
481                         .amux = LINE2,
482                         .tv   = 1,
483                 },{
484                         .name = name_comp1,
485                         .vmux = 0,
486                         .amux = LINE2,
487                 },{
488                         .name = name_comp2,
489                         .vmux = 3,
490                         .amux = LINE2,
491                 },{
492                         .name = name_svideo,
493                         .vmux = 8,
494                         .amux = LINE2,
495                 }},
496                 .radio = {
497                         .name = name_radio,
498                         .amux = LINE2,
499                 },
500         },
501         [SAA7134_BOARD_KWORLD] = {
502                 .name           = "Kworld/KuroutoShikou SAA7130-TVPCI",
503                 .audio_clock    = 0x00187de7,
504                 .tuner_type     = TUNER_PHILIPS_NTSC_M,
505                 .radio_type     = UNSET,
506                 .tuner_addr     = ADDR_UNSET,
507                 .radio_addr     = ADDR_UNSET,
508                 .inputs         = {{
509                         .name = name_svideo,
510                         .vmux = 8,
511                         .amux = LINE1,
512                 },{
513                         .name = name_comp1,
514                         .vmux = 3,
515                         .amux = LINE1,
516                 },{
517                         .name = name_tv,
518                         .vmux = 1,
519                         .amux = LINE2,
520                         .tv   = 1,
521                 }},
522         },
523         [SAA7134_BOARD_CINERGY600] = {
524                 .name           = "Terratec Cinergy 600 TV",
525                 .audio_clock    = 0x00200000,
526                 .tuner_type     = TUNER_PHILIPS_PAL,
527                 .radio_type     = UNSET,
528                 .tuner_addr     = ADDR_UNSET,
529                 .radio_addr     = ADDR_UNSET,
530                 .tda9887_conf   = TDA9887_PRESENT,
531                 .inputs         = {{
532                         .name = name_tv,
533                         .vmux = 1,
534                         .amux = TV,
535                         .tv   = 1,
536                 },{
537                         .name = name_comp1,
538                         .vmux = 4,
539                         .amux = LINE1,
540                 },{
541                         .name = name_svideo,
542                         .vmux = 8,
543                         .amux = LINE1,
544                 },{
545                         .name = name_comp2, /* CVideo over SVideo Connector */
546                         .vmux = 0,
547                         .amux = LINE1,
548                 }},
549                 .radio = {
550                         .name = name_radio,
551                         .amux = LINE2,
552                 },
553         },
554         [SAA7134_BOARD_MD7134] = {
555                 .name           = "Medion 7134",
556                 .audio_clock    = 0x00187de7,
557                 .tuner_type     = TUNER_PHILIPS_FMD1216ME_MK3,
558                 .radio_type     = UNSET,
559                 .tuner_addr     = ADDR_UNSET,
560                 .radio_addr     = ADDR_UNSET,
561                 .tda9887_conf   = TDA9887_PRESENT,
562                 .mpeg           = SAA7134_MPEG_DVB,
563                 .inputs = {{
564                         .name   = name_tv,
565                         .vmux   = 1,
566                         .amux   = TV,
567                         .tv     = 1,
568                 },{
569                         .name   = name_comp1,
570                         .vmux   = 0,
571                         .amux   = LINE1,
572                 },{
573                         .name   = name_svideo,
574                         .vmux   = 8,
575                         .amux   = LINE1,
576                 }},
577                 .radio = {
578                         .name   = name_radio,
579                         .amux   = LINE2,
580                },
581                .mute = {
582                        .name = name_mute,
583                        .amux = TV,
584                 },
585         },
586         [SAA7134_BOARD_TYPHOON_90031] = {
587                 /* aka Typhoon "TV+Radio", Art.Nr 90031 */
588                 /* Tom Zoerner <tomzo at users sourceforge net> */
589                 .name           = "Typhoon TV+Radio 90031",
590                 .audio_clock    = 0x00200000,
591                 .tuner_type     = TUNER_PHILIPS_PAL,
592                 .radio_type     = UNSET,
593                 .tuner_addr     = ADDR_UNSET,
594                 .radio_addr     = ADDR_UNSET,
595                 .tda9887_conf   = TDA9887_PRESENT,
596                 .inputs         = {{
597                         .name   = name_tv,
598                         .vmux   = 1,
599                         .amux   = TV,
600                         .tv     = 1,
601                 },{
602                         .name   = name_comp1,
603                         .vmux   = 3,
604                         .amux   = LINE1,
605                 },{
606                         .name   = name_svideo,
607                         .vmux   = 8,
608                         .amux   = LINE1,
609                 }},
610                 .radio = {
611                         .name   = name_radio,
612                         .amux   = LINE2,
613                 },
614         },
615         [SAA7134_BOARD_ELSA] = {
616                 .name           = "ELSA EX-VISION 300TV",
617                 .audio_clock    = 0x00187de7,
618                 .tuner_type     = TUNER_HITACHI_NTSC,
619                 .radio_type     = UNSET,
620                 .tuner_addr     = ADDR_UNSET,
621                 .radio_addr     = ADDR_UNSET,
622                 .inputs         = {{
623                         .name = name_svideo,
624                         .vmux = 8,
625                         .amux = LINE1,
626                 },{
627                         .name   = name_comp1,
628                         .vmux   = 0,
629                         .amux   = LINE1,
630                 },{
631                         .name = name_tv,
632                         .vmux = 4,
633                         .amux = LINE2,
634                         .tv   = 1,
635                 }},
636         },
637         [SAA7134_BOARD_ELSA_500TV] = {
638                 .name           = "ELSA EX-VISION 500TV",
639                 .audio_clock    = 0x00187de7,
640                 .tuner_type     = TUNER_HITACHI_NTSC,
641                 .radio_type     = UNSET,
642                 .tuner_addr     = ADDR_UNSET,
643                 .radio_addr     = ADDR_UNSET,
644                 .inputs         = {{
645                         .name = name_svideo,
646                         .vmux = 7,
647                         .amux = LINE1,
648                 },{
649                         .name = name_tv,
650                         .vmux = 8,
651                         .amux = TV,
652                         .tv   = 1,
653                 },{
654                         .name = name_tv_mono,
655                         .vmux = 8,
656                         .amux = LINE2,
657                         .tv   = 1,
658                 }},
659         },
660         [SAA7134_BOARD_ELSA_700TV] = {
661                 .name           = "ELSA EX-VISION 700TV",
662                 .audio_clock    = 0x00187de7,
663                 .tuner_type     = TUNER_HITACHI_NTSC,
664                 .radio_type     = UNSET,
665                 .tuner_addr     = ADDR_UNSET,
666                 .radio_addr     = ADDR_UNSET,
667                 .inputs         = {{
668                         .name = name_tv,
669                         .vmux = 4,
670                         .amux = LINE2,
671                         .tv   = 1,
672                 },{
673                         .name = name_comp1,
674                         .vmux = 6,
675                         .amux = LINE1,
676                 },{
677                         .name = name_svideo,
678                         .vmux = 7,
679                         .amux = LINE1,
680                 }},
681                 .mute           = {
682                         .name = name_mute,
683                         .amux = TV,
684                 },
685         },
686         [SAA7134_BOARD_ASUSTeK_TVFM7134] = {
687                 .name           = "ASUS TV-FM 7134",
688                 .audio_clock    = 0x00187de7,
689                 .tuner_type     = TUNER_PHILIPS_FM1216ME_MK3,
690                 .radio_type     = UNSET,
691                 .tuner_addr     = ADDR_UNSET,
692                 .radio_addr     = ADDR_UNSET,
693                 .tda9887_conf   = TDA9887_PRESENT,
694                 .inputs         = {{
695                         .name = name_tv,
696                         .vmux = 1,
697                         .amux = TV,
698                         .tv   = 1,
699                 },{
700                         .name = name_comp1,
701                         .vmux = 4,
702                         .amux = LINE2,
703                 },{
704                         .name = name_svideo,
705                         .vmux = 6,
706                         .amux = LINE2,
707                 }},
708                 .radio = {
709                         .name = name_radio,
710                         .amux = LINE1,
711                 },
712         },
713         [SAA7134_BOARD_ASUSTeK_TVFM7135] = {
714                 .name           = "ASUS TV-FM 7135",
715                 .audio_clock    = 0x00187de7,
716                 .tuner_type     = TUNER_PHILIPS_TDA8290,
717                 .radio_type     = UNSET,
718                 .tuner_addr     = ADDR_UNSET,
719                 .radio_addr     = ADDR_UNSET,
720                 .gpiomask       = 0x200000,
721                 .inputs         = {{
722                         .name = name_tv,
723                         .vmux = 1,
724                         .amux = TV,
725                         .gpio = 0x0000,
726                         .tv   = 1,
727                 },{
728                         .name = name_comp1,
729                         .vmux = 4,
730                         .amux = LINE2,
731                         .gpio = 0x0000,
732                 },{
733                         .name = name_svideo,
734                         .vmux = 6,
735                         .amux = LINE2,
736                         .gpio = 0x0000,
737                 }},
738                 .radio = {
739                         .name = name_radio,
740                         .amux = TV,
741                         .gpio = 0x200000,
742                 },
743                 .mute  = {
744                         .name = name_mute,
745                         .gpio = 0x0000,
746                 },
747
748         },
749         [SAA7134_BOARD_VA1000POWER] = {
750                 .name           = "AOPEN VA1000 POWER",
751                 .audio_clock    = 0x00187de7,
752                 .tuner_type     = TUNER_PHILIPS_NTSC,
753                 .radio_type     = UNSET,
754                 .tuner_addr     = ADDR_UNSET,
755                 .radio_addr     = ADDR_UNSET,
756                 .inputs         = {{
757                         .name = name_svideo,
758                         .vmux = 8,
759                         .amux = LINE1,
760                 },{
761                         .name = name_comp1,
762                         .vmux = 3,
763                         .amux = LINE1,
764                 },{
765                         .name = name_tv,
766                         .vmux = 1,
767                         .amux = LINE2,
768                         .tv   = 1,
769                 }},
770         },
771         [SAA7134_BOARD_10MOONSTVMASTER] = {
772                 /* "lilicheng" <llc@linuxfans.org> */
773                 .name           = "10MOONS PCI TV CAPTURE CARD",
774                 .audio_clock    = 0x00200000,
775                 .tuner_type     = TUNER_LG_PAL_NEW_TAPC,
776                 .radio_type     = UNSET,
777                 .tuner_addr     = ADDR_UNSET,
778                 .radio_addr     = ADDR_UNSET,
779                 .gpiomask       = 0xe000,
780                 .inputs         = {{
781                         .name = name_tv,
782                         .vmux = 1,
783                         .amux = LINE2,
784                         .gpio = 0x0000,
785                         .tv   = 1,
786                 },{
787                         .name = name_comp1,
788                         .vmux = 0,
789                         .amux = LINE2,
790                         .gpio = 0x4000,
791                 },{
792                         .name = name_comp2,
793                         .vmux = 3,
794                         .amux = LINE2,
795                         .gpio = 0x4000,
796                 },{
797                         .name = name_svideo,
798                         .vmux = 8,
799                         .amux = LINE2,
800                         .gpio = 0x4000,
801                 }},
802                 .radio = {
803                         .name = name_radio,
804                         .amux = LINE2,
805                         .gpio = 0x2000,
806                 },
807                 .mute = {
808                         .name = name_mute,
809                         .amux = LINE2,
810                         .gpio = 0x8000,
811                 },
812         },
813         [SAA7134_BOARD_BMK_MPEX_NOTUNER] = {
814                 /* "Andrew de Quincey" <adq@lidskialf.net> */
815                 .name           = "BMK MPEX No Tuner",
816                 .audio_clock    = 0x200000,
817                 .tuner_type     = TUNER_ABSENT,
818                 .radio_type     = UNSET,
819                 .tuner_addr     = ADDR_UNSET,
820                 .radio_addr     = ADDR_UNSET,
821                 .inputs         = {{
822                         .name = name_comp1,
823                         .vmux = 4,
824                         .amux = LINE1,
825                 },{
826                         .name = name_comp2,
827                         .vmux = 3,
828                         .amux = LINE1,
829                 },{
830                         .name = name_comp3,
831                         .vmux = 0,
832                         .amux = LINE1,
833                 },{
834                         .name = name_comp4,
835                         .vmux = 1,
836                         .amux = LINE1,
837                 },{
838                         .name = name_svideo,
839                         .vmux = 8,
840                         .amux = LINE1,
841                 }},
842                 .mpeg      = SAA7134_MPEG_EMPRESS,
843                 .video_out = CCIR656,
844         },
845         [SAA7134_BOARD_VIDEOMATE_TV] = {
846                 .name           = "Compro VideoMate TV",
847                 .audio_clock    = 0x00187de7,
848                 .tuner_type     = TUNER_PHILIPS_NTSC_M,
849                 .radio_type     = UNSET,
850                 .tuner_addr     = ADDR_UNSET,
851                 .radio_addr     = ADDR_UNSET,
852                 .inputs         = {{
853                         .name = name_svideo,
854                         .vmux = 8,
855                         .amux = LINE1,
856                 },{
857                         .name = name_comp1,
858                         .vmux = 3,
859                         .amux = LINE1,
860                 },{
861                         .name = name_tv,
862                         .vmux = 1,
863                         .amux = LINE2,
864                         .tv   = 1,
865                 }},
866         },
867         [SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS] = {
868                 .name           = "Compro VideoMate TV Gold+",
869                 .audio_clock    = 0x00187de7,
870                 .tuner_type     = TUNER_PHILIPS_NTSC_M,
871                 .gpiomask       = 0x800c0000,
872                 .radio_type     = UNSET,
873                 .tuner_addr     = ADDR_UNSET,
874                 .radio_addr     = ADDR_UNSET,
875                 .inputs         = {{
876                         .name = name_svideo,
877                         .vmux = 8,
878                         .amux = LINE1,
879                         .gpio = 0x06c00012,
880                 },{
881                         .name = name_comp1,
882                         .vmux = 3,
883                         .amux = LINE1,
884                         .gpio = 0x0ac20012,
885                 },{
886                         .name = name_tv,
887                         .vmux = 1,
888                         .amux = LINE2,
889                         .gpio = 0x08c20012,
890                         .tv   = 1,
891                 }},                             /* radio and probably mute is missing */
892         },
893         [SAA7134_BOARD_CRONOS_PLUS] = {
894                 /*
895                 gpio pins:
896                         0  .. 3   BASE_ID
897                         4  .. 7   PROTECT_ID
898                         8  .. 11  USER_OUT
899                         12 .. 13  USER_IN
900                         14 .. 15  VIDIN_SEL
901                 */
902                 .name           = "Matrox CronosPlus",
903                 .tuner_type     = TUNER_ABSENT,
904                 .radio_type     = UNSET,
905                 .tuner_addr     = ADDR_UNSET,
906                 .radio_addr     = ADDR_UNSET,
907                 .gpiomask       = 0xcf00,
908                 .inputs         = {{
909                         .name = name_comp1,
910                         .vmux = 0,
911                         .gpio = 2 << 14,
912                 },{
913                         .name = name_comp2,
914                         .vmux = 0,
915                         .gpio = 1 << 14,
916                 },{
917                         .name = name_comp3,
918                         .vmux = 0,
919                         .gpio = 0 << 14,
920                 },{
921                         .name = name_comp4,
922                         .vmux = 0,
923                         .gpio = 3 << 14,
924                 },{
925                         .name = name_svideo,
926                         .vmux = 8,
927                         .gpio = 2 << 14,
928                 }},
929         },
930         [SAA7134_BOARD_MD2819] = {
931                 .name           = "AverMedia M156 / Medion 2819",
932                 .audio_clock    = 0x00187de7,
933                 .tuner_type     = TUNER_PHILIPS_FM1216ME_MK3,
934                 .radio_type     = UNSET,
935                 .tuner_addr     = ADDR_UNSET,
936                 .radio_addr     = ADDR_UNSET,
937                 .tda9887_conf   = TDA9887_PRESENT,
938                 .gpiomask       = 0x03,
939                 .inputs         = {{
940                         .name = name_tv,
941                         .vmux = 1,
942                         .amux = TV,
943                         .tv   = 1,
944                         .gpio = 0x00,
945                 }, {
946                         .name = name_comp1,
947                         .vmux = 3,
948                         .amux = LINE1,
949                         .gpio = 0x02,
950                 }, {
951                         .name = name_comp2,
952                         .vmux = 0,
953                         .amux = LINE1,
954                         .gpio = 0x02,
955                 }, {
956                         .name = name_svideo,
957                         .vmux = 8,
958                         .amux = LINE1,
959                         .gpio = 0x02,
960                 } },
961                 .radio = {
962                         .name = name_radio,
963                         .amux = LINE1,
964                         .gpio = 0x01,
965                 },
966                 .mute  = {
967                         .name = name_mute,
968                         .amux = TV,
969                         .gpio = 0x00,
970                 },
971         },
972         [SAA7134_BOARD_BMK_MPEX_TUNER] = {
973                 /* "Greg Wickham <greg.wickham@grangenet.net> */
974                 .name           = "BMK MPEX Tuner",
975                 .audio_clock    = 0x200000,
976                 .tuner_type     = TUNER_PHILIPS_PAL,
977                 .radio_type     = UNSET,
978                 .tuner_addr     = ADDR_UNSET,
979                 .radio_addr     = ADDR_UNSET,
980                 .inputs         = {{
981                         .name = name_comp1,
982                         .vmux = 1,
983                         .amux = LINE1,
984                 },{
985                         .name = name_svideo,
986                         .vmux = 8,
987                         .amux = LINE1,
988                 },{
989                         .name = name_tv,
990                         .vmux = 3,
991                         .amux = TV,
992                         .tv   = 1,
993                 }},
994                 .mpeg      = SAA7134_MPEG_EMPRESS,
995                 .video_out = CCIR656,
996         },
997         [SAA7134_BOARD_ASUSTEK_TVFM7133] = {
998                 .name           = "ASUS TV-FM 7133",
999                 .audio_clock    = 0x00187de7,
1000                 /* probably wrong, the 7133 one is the NTSC version ...
1001                 * .tuner_type  = TUNER_PHILIPS_FM1236_MK3 */
1002                 .tuner_type     = TUNER_LG_NTSC_NEW_TAPC,
1003                 .radio_type     = UNSET,
1004                 .tuner_addr     = ADDR_UNSET,
1005                 .radio_addr     = ADDR_UNSET,
1006                 .tda9887_conf   = TDA9887_PRESENT,
1007                 .inputs         = {{
1008                         .name = name_tv,
1009                         .vmux = 1,
1010                         .amux = TV,
1011                         .tv   = 1,
1012
1013                 },{
1014                         .name = name_comp1,
1015                         .vmux = 4,
1016                         .amux = LINE2,
1017                 },{
1018                         .name = name_svideo,
1019                         .vmux = 6,
1020                         .amux = LINE2,
1021                 }},
1022                 .radio = {
1023                         .name = name_radio,
1024                         .amux = LINE1,
1025                 },
1026         },
1027         [SAA7134_BOARD_PINNACLE_PCTV_STEREO] = {
1028                 .name           = "Pinnacle PCTV Stereo (saa7134)",
1029                 .audio_clock    = 0x00187de7,
1030                 .tuner_type     = TUNER_MT2032,
1031                 .radio_type     = UNSET,
1032                 .tuner_addr     = ADDR_UNSET,
1033                 .radio_addr     = ADDR_UNSET,
1034                 .tda9887_conf   = TDA9887_PRESENT | TDA9887_INTERCARRIER | TDA9887_PORT2_INACTIVE,
1035                 .inputs         = {{
1036                         .name = name_tv,
1037                         .vmux = 3,
1038                         .amux = TV,
1039                         .tv   = 1,
1040                 },{
1041                         .name = name_comp1,
1042                         .vmux = 0,
1043                         .amux = LINE2,
1044                 },{
1045                         .name = name_comp2,
1046                         .vmux = 1,
1047                         .amux = LINE2,
1048                 },{
1049                         .name = name_svideo,
1050                         .vmux = 8,
1051                         .amux = LINE2,
1052                 }},
1053         },
1054         [SAA7134_BOARD_MANLI_MTV002] = {
1055                 /* Ognjen Nastic <ognjen@logosoft.ba> */
1056                 .name           = "Manli MuchTV M-TV002",
1057                 .audio_clock    = 0x00200000,
1058                 .tuner_type     = TUNER_PHILIPS_PAL,
1059                 .radio_type     = UNSET,
1060                 .tuner_addr     = ADDR_UNSET,
1061                 .radio_addr     = ADDR_UNSET,
1062                 .inputs         = {{
1063                         .name = name_svideo,
1064                         .vmux = 8,
1065                         .amux = LINE1,
1066                 },{
1067                         .name   = name_comp1,
1068                         .vmux   = 1,
1069                         .amux   = LINE1,
1070                 },{
1071                         .name = name_tv,
1072                         .vmux = 3,
1073                         .amux = LINE2,
1074                         .tv   = 1,
1075                 }},
1076                 .radio = {
1077                         .name = name_radio,
1078                         .amux = LINE2,
1079                 },
1080         },
1081         [SAA7134_BOARD_MANLI_MTV001] = {
1082                 /* Ognjen Nastic <ognjen@logosoft.ba> UNTESTED */
1083                 .name           = "Manli MuchTV M-TV001",
1084                 .audio_clock    = 0x00200000,
1085                 .tuner_type     = TUNER_PHILIPS_PAL,
1086                 .radio_type     = UNSET,
1087                 .tuner_addr     = ADDR_UNSET,
1088                 .radio_addr     = ADDR_UNSET,
1089                 .inputs         = {{
1090                         .name = name_svideo,
1091                         .vmux = 8,
1092                         .amux = LINE1,
1093                 },{
1094                         .name = name_comp1,
1095                         .vmux = 1,
1096                         .amux = LINE1,
1097                 },{
1098                         .name = name_tv,
1099                         .vmux = 3,
1100                         .amux = LINE2,
1101                         .tv   = 1,
1102                 }},
1103                 .mute = {
1104                         .name = name_mute,
1105                         .amux = LINE1,
1106                 },
1107         },
1108         [SAA7134_BOARD_TG3000TV] = {
1109                 /* TransGear 3000TV */
1110                 .name           = "Nagase Sangyo TransGear 3000TV",
1111                 .audio_clock    = 0x00187de7,
1112                 .tuner_type     = TUNER_PHILIPS_NTSC_M,
1113                 .radio_type     = UNSET,
1114                 .tuner_addr     = ADDR_UNSET,
1115                 .radio_addr     = ADDR_UNSET,
1116                 .inputs         = {{
1117                         .name = name_tv,
1118                         .vmux = 1,
1119                         .amux = LINE2,
1120                         .tv   = 1,
1121                 },{
1122                         .name = name_comp1,
1123                         .vmux = 3,
1124                         .amux = LINE2,
1125                 },{
1126                         .name = name_svideo,
1127                         .vmux = 8,
1128                         .amux = LINE2,
1129                 }},
1130         },
1131         [SAA7134_BOARD_ECS_TVP3XP] = {
1132                 .name           = "Elitegroup ECS TVP3XP FM1216 Tuner Card(PAL-BG,FM) ",
1133                 .audio_clock    = 0x187de7,  /* xtal 32.1 MHz */
1134                 .tuner_type     = TUNER_PHILIPS_PAL,
1135                 .radio_type     = UNSET,
1136                 .tuner_addr     = ADDR_UNSET,
1137                 .radio_addr     = ADDR_UNSET,
1138                 .inputs         = {{
1139                         .name   = name_tv,
1140                         .vmux   = 1,
1141                         .amux   = TV,
1142                         .tv     = 1,
1143                 },{
1144                         .name   = name_tv_mono,
1145                         .vmux   = 1,
1146                         .amux   = LINE2,
1147                         .tv     = 1,
1148                 },{
1149                         .name   = name_comp1,
1150                         .vmux   = 3,
1151                         .amux   = LINE1,
1152                 },{
1153                         .name   = name_svideo,
1154                         .vmux   = 8,
1155                         .amux   = LINE1,
1156                 },{
1157                         .name   = "CVid over SVid",
1158                         .vmux   = 0,
1159                         .amux   = LINE1,
1160                 }},
1161                 .radio = {
1162                         .name   = name_radio,
1163                         .amux   = LINE2,
1164                 },
1165         },
1166         [SAA7134_BOARD_ECS_TVP3XP_4CB5] = {
1167                 .name           = "Elitegroup ECS TVP3XP FM1236 Tuner Card (NTSC,FM)",
1168                 .audio_clock    = 0x187de7,
1169                 .tuner_type     = TUNER_PHILIPS_NTSC,
1170                 .radio_type     = UNSET,
1171                 .tuner_addr     = ADDR_UNSET,
1172                 .radio_addr     = ADDR_UNSET,
1173                 .inputs         = {{
1174                         .name   = name_tv,
1175                         .vmux   = 1,
1176                         .amux   = TV,
1177                         .tv     = 1,
1178                 },{
1179                         .name   = name_tv_mono,
1180                         .vmux   = 1,
1181                         .amux   = LINE2,
1182                         .tv     = 1,
1183                 },{
1184                         .name   = name_comp1,
1185                         .vmux   = 3,
1186                         .amux   = LINE1,
1187                 },{
1188                         .name   = name_svideo,
1189                         .vmux   = 8,
1190                         .amux   = LINE1,
1191                 },{
1192                         .name   = "CVid over SVid",
1193                         .vmux   = 0,
1194                         .amux   = LINE1,
1195                 }},
1196                 .radio = {
1197                         .name   = name_radio,
1198                         .amux   = LINE2,
1199                 },
1200         },
1201     [SAA7134_BOARD_ECS_TVP3XP_4CB6] = {
1202                 /* Barry Scott <barry.scott@onelan.co.uk> */
1203                 .name           = "Elitegroup ECS TVP3XP FM1246 Tuner Card (PAL,FM)",
1204                 .audio_clock    = 0x187de7,
1205                 .tuner_type     = TUNER_PHILIPS_PAL_I,
1206                 .radio_type     = UNSET,
1207                 .tuner_addr     = ADDR_UNSET,
1208                 .radio_addr     = ADDR_UNSET,
1209                 .inputs         = {{
1210                         .name   = name_tv,
1211                         .vmux   = 1,
1212                         .amux   = TV,
1213                         .tv     = 1,
1214                 },{
1215                         .name   = name_tv_mono,
1216                         .vmux   = 1,
1217                         .amux   = LINE2,
1218                         .tv     = 1,
1219                 },{
1220                         .name   = name_comp1,
1221                         .vmux   = 3,
1222                         .amux   = LINE1,
1223                 },{
1224                         .name   = name_svideo,
1225                         .vmux   = 8,
1226                         .amux   = LINE1,
1227                 },{
1228                         .name   = "CVid over SVid",
1229                         .vmux   = 0,
1230                         .amux   = LINE1,
1231                 }},
1232                 .radio = {
1233                         .name   = name_radio,
1234                         .amux   = LINE2,
1235                 },
1236         },
1237         [SAA7134_BOARD_AVACSSMARTTV] = {
1238                 /* Roman Pszonczenko <romka@kolos.math.uni.lodz.pl> */
1239                 .name           = "AVACS SmartTV",
1240                 .audio_clock    = 0x00187de7,
1241                 .tuner_type     = TUNER_PHILIPS_PAL,
1242                 .radio_type     = UNSET,
1243                 .tuner_addr     = ADDR_UNSET,
1244                 .radio_addr     = ADDR_UNSET,
1245                 .inputs         = {{
1246                         .name = name_tv,
1247                         .vmux = 1,
1248                         .amux = TV,
1249                         .tv   = 1,
1250                 },{
1251                         .name = name_tv_mono,
1252                         .vmux = 1,
1253                         .amux = LINE2,
1254                         .tv   = 1,
1255                 },{
1256                         .name = name_comp1,
1257                         .vmux = 0,
1258                         .amux = LINE2,
1259                 },{
1260                         .name = name_comp2,
1261                         .vmux = 3,
1262                         .amux = LINE2,
1263                 },{
1264                         .name = name_svideo,
1265                         .vmux = 8,
1266                         .amux = LINE2,
1267                 }},
1268                 .radio = {
1269                         .name = name_radio,
1270                         .amux = LINE2,
1271                         .gpio = 0x200000,
1272                 },
1273         },
1274         [SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER] = {
1275                 /* Michael Smith <msmith@cbnco.com> */
1276                 .name           = "AVerMedia DVD EZMaker",
1277                 .audio_clock    = 0x00187de7,
1278                 .tuner_type     = TUNER_ABSENT,
1279                 .radio_type     = UNSET,
1280                 .tuner_addr     = ADDR_UNSET,
1281                 .radio_addr     = ADDR_UNSET,
1282                 .inputs         = {{
1283                         .name = name_comp1,
1284                         .vmux = 3,
1285                 },{
1286                         .name = name_svideo,
1287                         .vmux = 8,
1288                 }},
1289         },
1290         [SAA7134_BOARD_NOVAC_PRIMETV7133] = {
1291                 /* toshii@netbsd.org */
1292                 .name           = "Noval Prime TV 7133",
1293                 .audio_clock    = 0x00200000,
1294                 .tuner_type     = TUNER_ALPS_TSBH1_NTSC,
1295                 .radio_type     = UNSET,
1296                 .tuner_addr     = ADDR_UNSET,
1297                 .radio_addr     = ADDR_UNSET,
1298                 .inputs         = {{
1299                         .name = name_comp1,
1300                         .vmux = 3,
1301                 },{
1302                         .name = name_tv,
1303                         .vmux = 1,
1304                         .amux = TV,
1305                         .tv   = 1,
1306                 },{
1307                         .name = name_svideo,
1308                         .vmux = 8,
1309                 }},
1310         },
1311         [SAA7134_BOARD_AVERMEDIA_STUDIO_305] = {
1312                 .name           = "AverMedia AverTV Studio 305",
1313                 .audio_clock    = 0x00187de7,
1314                 .tuner_type     = TUNER_PHILIPS_FM1256_IH3,
1315                 .radio_type     = UNSET,
1316                 .tuner_addr     = ADDR_UNSET,
1317                 .radio_addr     = ADDR_UNSET,
1318                 .tda9887_conf   = TDA9887_PRESENT,
1319                 .inputs         = {{
1320                         .name = name_tv,
1321                         .vmux = 1,
1322                         .amux = LINE2,
1323                         .tv   = 1,
1324                 },{
1325                         .name = name_comp1,
1326                         .vmux = 0,
1327                         .amux = LINE2,
1328                 },{
1329                         .name = name_comp2,
1330                         .vmux = 3,
1331                         .amux = LINE2,
1332                 },{
1333                         .name = name_svideo,
1334                         .vmux = 8,
1335                         .amux = LINE2,
1336                 }},
1337                 .radio = {
1338                         .name = name_radio,
1339                         .amux = LINE2,
1340                 },
1341                 .mute = {
1342                         .name = name_mute,
1343                         .amux = LINE1,
1344                 },
1345         },
1346         [SAA7134_BOARD_UPMOST_PURPLE_TV] = {
1347                 .name           = "UPMOST PURPLE TV",
1348                 .audio_clock    = 0x00187de7,
1349                 .tuner_type     = TUNER_PHILIPS_FM1236_MK3,
1350                 .radio_type     = UNSET,
1351                 .tuner_addr     = ADDR_UNSET,
1352                 .radio_addr     = ADDR_UNSET,
1353                 .tda9887_conf   = TDA9887_PRESENT,
1354                 .inputs         = {{
1355                         .name = name_tv,
1356                         .vmux = 7,
1357                         .amux = TV,
1358                         .tv   = 1,
1359                 },{
1360                         .name = name_svideo,
1361                         .vmux = 7,
1362                         .amux = LINE1,
1363                 }},
1364         },
1365         [SAA7134_BOARD_ITEMS_MTV005] = {
1366                 /* Norman Jonas <normanjonas@arcor.de> */
1367                 .name           = "Items MuchTV Plus / IT-005",
1368                 .audio_clock    = 0x00187de7,
1369                 .tuner_type     = TUNER_PHILIPS_PAL,
1370                 .radio_type     = UNSET,
1371                 .tuner_addr     = ADDR_UNSET,
1372                 .radio_addr     = ADDR_UNSET,
1373                 .inputs         = {{
1374                         .name = name_tv,
1375                         .vmux = 3,
1376                         .amux = TV,
1377                         .tv   = 1,
1378                 },{
1379                         .name   = name_comp1,
1380                         .vmux   = 1,
1381                         .amux   = LINE1,
1382                 },{
1383                         .name = name_svideo,
1384                         .vmux = 8,
1385                         .amux = LINE1,
1386                 }},
1387                 .radio = {
1388                         .name = name_radio,
1389                         .amux = LINE2,
1390                 },
1391         },
1392         [SAA7134_BOARD_CINERGY200] = {
1393                 .name           = "Terratec Cinergy 200 TV",
1394                 .audio_clock    = 0x00200000,
1395                 .tuner_type     = TUNER_PHILIPS_PAL,
1396                 .radio_type     = UNSET,
1397                 .tuner_addr     = ADDR_UNSET,
1398                 .radio_addr     = ADDR_UNSET,
1399                 .inputs         = {{
1400                         .name = name_tv,
1401                         .vmux = 1,
1402                         .amux = LINE2,
1403                         .tv   = 1,
1404                 },{
1405                         .name = name_comp1,
1406                         .vmux = 4,
1407                         .amux = LINE1,
1408                 },{
1409                         .name = name_svideo,
1410                         .vmux = 8,
1411                         .amux = LINE1,
1412                 },{
1413                         .name = name_comp2, /* CVideo over SVideo Connector */
1414                         .vmux = 0,
1415                         .amux = LINE1,
1416                 }},
1417                 .mute = {
1418                         .name = name_mute,
1419                         .amux = LINE2,
1420                 },
1421         },
1422         [SAA7134_BOARD_VIDEOMATE_TV_PVR] = {
1423                 /* Alain St-Denis <alain@topaze.homeip.net> */
1424                 .name           = "Compro VideoMate TV PVR/FM",
1425                 .audio_clock    = 0x00187de7,
1426                 .tuner_type     = TUNER_PHILIPS_NTSC_M,
1427                 .radio_type     = UNSET,
1428                 .tuner_addr     = ADDR_UNSET,
1429                 .radio_addr     = ADDR_UNSET,
1430                 .gpiomask       = 0x808c0080,
1431                 .inputs         = {{
1432                         .name = name_svideo,
1433                         .vmux = 8,
1434                         .amux = LINE1,
1435                         .gpio = 0x00080,
1436                 },{
1437                         .name = name_comp1,
1438                         .vmux = 3,
1439                         .amux = LINE1,
1440                         .gpio = 0x00080,
1441                 },{
1442                         .name = name_tv,
1443                         .vmux = 1,
1444                         .amux = LINE2_LEFT,
1445                         .tv   = 1,
1446                         .gpio = 0x00080,
1447                 }},
1448                 .radio = {
1449                         .name = name_radio,
1450                         .amux = LINE2,
1451                         .gpio = 0x80000,
1452                 },
1453                 .mute = {
1454                         .name = name_mute,
1455                         .amux = LINE2,
1456                         .gpio = 0x40000,
1457                 },
1458         },
1459         [SAA7134_BOARD_SABRENT_SBTTVFM] = {
1460                 /* Michael Rodriguez-Torrent <mrtorrent@asu.edu> */
1461                 .name           = "Sabrent SBT-TVFM (saa7130)",
1462                 .audio_clock    = 0x00187de7,
1463                 .tuner_type     = TUNER_PHILIPS_NTSC_M,
1464                 .radio_type     = UNSET,
1465                 .tuner_addr     = ADDR_UNSET,
1466                 .radio_addr     = ADDR_UNSET,
1467                 .inputs         = {{
1468                         .name = name_comp1,
1469                         .vmux = 1,
1470                         .amux = LINE1,
1471                 },{
1472                         .name = name_tv,
1473                         .vmux = 3,
1474                         .amux = LINE2,
1475                         .tv   = 1,
1476                 },{
1477                         .name = name_svideo,
1478                         .vmux = 8,
1479                         .amux = LINE1,
1480                 }},
1481                 .radio = {
1482                         .name   = name_radio,
1483                         .amux   = LINE2,
1484                 },
1485         },
1486         [SAA7134_BOARD_ZOLID_XPERT_TV7134] = {
1487                 /* Helge Jensen <helge.jensen@slog.dk> */
1488                 .name           = ":Zolid Xpert TV7134",
1489                 .audio_clock    = 0x00187de7,
1490                 .tuner_type     = TUNER_PHILIPS_NTSC,
1491                 .radio_type     = UNSET,
1492                 .tuner_addr     = ADDR_UNSET,
1493                 .radio_addr     = ADDR_UNSET,
1494                 .inputs         = {{
1495                         .name = name_svideo,
1496                         .vmux = 8,
1497                         .amux = LINE1,
1498                 },{
1499                         .name = name_comp1,
1500                         .vmux = 3,
1501                         .amux = LINE1,
1502                 },{
1503                         .name = name_tv,
1504                         .vmux = 1,
1505                         .amux = LINE2,
1506                         .tv   = 1,
1507                 }},
1508         },
1509         [SAA7134_BOARD_EMPIRE_PCI_TV_RADIO_LE] = {
1510                 /* "Matteo Az" <matte.az@nospam.libero.it> ;-) */
1511                 .name           = "Empire PCI TV-Radio LE",
1512                 .audio_clock    = 0x00187de7,
1513                 .tuner_type     = TUNER_PHILIPS_PAL,
1514                 .radio_type     = UNSET,
1515                 .tuner_addr     = ADDR_UNSET,
1516                 .radio_addr     = ADDR_UNSET,
1517                 .gpiomask       = 0x4000,
1518                 .inputs         = {{
1519                         .name = name_tv_mono,
1520                         .vmux = 1,
1521                         .amux = LINE2,
1522                         .gpio = 0x8000,
1523                         .tv   = 1,
1524                 },{
1525                         .name = name_comp1,
1526                         .vmux = 3,
1527                         .amux = LINE1,
1528                         .gpio = 0x8000,
1529                 },{
1530                         .name = name_svideo,
1531                         .vmux = 6,
1532                         .amux = LINE1,
1533                         .gpio = 0x8000,
1534                 }},
1535                 .radio = {
1536                         .name = name_radio,
1537                         .amux = LINE1,
1538                         .gpio = 0x8000,
1539                 },
1540                 .mute = {
1541                         .name = name_mute,
1542                         .amux = TV,
1543                         .gpio =0x8000,
1544                 }
1545         },
1546         [SAA7134_BOARD_AVERMEDIA_STUDIO_307] = {
1547                 /*
1548                 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1549                 Lots of thanks to Andrey Zolotarev <zolotarev_andrey@mail.ru>
1550                 */
1551                 .name           = "Avermedia AVerTV Studio 307",
1552                 .audio_clock    = 0x00187de7,
1553                 .tuner_type     = TUNER_PHILIPS_FM1256_IH3,
1554                 .radio_type     = UNSET,
1555                 .tuner_addr     = ADDR_UNSET,
1556                 .radio_addr     = ADDR_UNSET,
1557                 .tda9887_conf   = TDA9887_PRESENT,
1558                 .gpiomask       = 0x03,
1559                 .inputs         = {{
1560                         .name = name_tv,
1561                         .vmux = 1,
1562                         .amux = TV,
1563                         .tv   = 1,
1564                         .gpio = 0x00,
1565                 },{
1566                         .name = name_comp,
1567                         .vmux = 3,
1568                         .amux = LINE1,
1569                         .gpio = 0x02,
1570                 },{
1571                         .name = name_svideo,
1572                         .vmux = 8,
1573                         .amux = LINE1,
1574                         .gpio = 0x02,
1575                 }},
1576                 .radio = {
1577                         .name = name_radio,
1578                         .amux = LINE1,
1579                         .gpio = 0x01,
1580                 },
1581                 .mute  = {
1582                         .name = name_mute,
1583                         .amux = LINE1,
1584                         .gpio = 0x00,
1585                 },
1586         },
1587         [SAA7134_BOARD_AVERMEDIA_GO_007_FM] = {
1588                 .name           = "Avermedia AVerTV GO 007 FM",
1589                 .audio_clock    = 0x00187de7,
1590                 .tuner_type     = TUNER_PHILIPS_TDA8290,
1591                 .radio_type     = UNSET,
1592                 .tuner_addr     = ADDR_UNSET,
1593                 .radio_addr     = ADDR_UNSET,
1594                 .gpiomask       = 0x00300003,
1595                 /* .gpiomask       = 0x8c240003, */
1596                 .inputs         = {{
1597                         .name = name_tv,
1598                         .vmux = 1,
1599                         .amux = TV,
1600                         .tv   = 1,
1601                         .gpio = 0x01,
1602                 },{
1603                         .name = name_comp1,
1604                         .vmux = 0,
1605                         .amux = LINE1,
1606                         .gpio = 0x02,
1607                 },{
1608                         .name = name_svideo,
1609                         .vmux = 6,
1610                         .amux = LINE1,
1611                         .gpio = 0x02,
1612                 }},
1613                 .radio = {
1614                         .name = name_radio,
1615                         .amux = LINE1,
1616                         .gpio = 0x00300001,
1617                 },
1618                 .mute = {
1619                         .name = name_mute,
1620                         .amux = TV,
1621                         .gpio = 0x01,
1622                 },
1623         },
1624         [SAA7134_BOARD_AVERMEDIA_CARDBUS] = {
1625                 /* Kees.Blom@cwi.nl */
1626                 .name           = "AVerMedia Cardbus TV/Radio (E500)",
1627                 .audio_clock    = 0x187de7,
1628                 .tuner_type     = TUNER_PHILIPS_TDA8290,
1629                 .radio_type     = UNSET,
1630                 .tuner_addr     = ADDR_UNSET,
1631                 .radio_addr     = ADDR_UNSET,
1632                 .inputs         = {{
1633                         .name = name_tv,
1634                         .vmux = 1,
1635                         .amux = TV,
1636                         .tv   = 1,
1637                 },{
1638                         .name = name_comp1,
1639                         .vmux = 3,
1640                         .amux = LINE2,
1641                 },{
1642                         .name = name_svideo,
1643                         .vmux = 8,
1644                         .amux = LINE1,
1645                 }},
1646                 .radio = {
1647                         .name = name_radio,
1648                         .amux = LINE1,
1649                 },
1650         },
1651         [SAA7134_BOARD_CINERGY400_CARDBUS] = {
1652                 .name           = "Terratec Cinergy 400 mobile",
1653                 .audio_clock    = 0x187de7,
1654                 .tuner_type     = TUNER_ALPS_TSBE5_PAL,
1655                 .radio_type     = UNSET,
1656                 .tuner_addr     = ADDR_UNSET,
1657                 .radio_addr     = ADDR_UNSET,
1658                 .tda9887_conf   = TDA9887_PRESENT,
1659                 .inputs         = {{
1660                         .name = name_tv,
1661                         .vmux = 1,
1662                         .amux = TV,
1663                         .tv   = 1,
1664                 },{
1665                         .name = name_tv_mono,
1666                         .vmux = 1,
1667                         .amux = LINE2,
1668                         .tv   = 1,
1669                 },{
1670                         .name = name_comp1,
1671                         .vmux = 3,
1672                         .amux = LINE1,
1673                 },{
1674                         .name = name_svideo,
1675                         .vmux = 8,
1676                         .amux = LINE1,
1677                 }},
1678         },
1679         [SAA7134_BOARD_CINERGY600_MK3] = {
1680                 .name           = "Terratec Cinergy 600 TV MK3",
1681                 .audio_clock    = 0x00200000,
1682                 .tuner_type     = TUNER_PHILIPS_FM1216ME_MK3,
1683                 .radio_type     = UNSET,
1684                 .tuner_addr     = ADDR_UNSET,
1685                 .radio_addr     = ADDR_UNSET,
1686                 .tda9887_conf   = TDA9887_PRESENT,
1687                 .inputs         = {{
1688                         .name = name_tv,
1689                         .vmux = 1,
1690                         .amux = TV,
1691                         .tv   = 1,
1692                 },{
1693                         .name = name_comp1,
1694                         .vmux = 4,
1695                         .amux = LINE1,
1696                 },{
1697                         .name = name_svideo,
1698                         .vmux = 8,
1699                         .amux = LINE1,
1700                 },{
1701                         .name = name_comp2, /* CVideo over SVideo Connector */
1702                         .vmux = 0,
1703                         .amux = LINE1,
1704                 }},
1705                 .radio = {
1706                         .name = name_radio,
1707                         .amux = LINE2,
1708                 },
1709         },
1710         [SAA7134_BOARD_VIDEOMATE_GOLD_PLUS] = {
1711                 /* Dylan Walkden <dylan_walkden@hotmail.com> */
1712                 .name           = "Compro VideoMate Gold+ Pal",
1713                 .audio_clock    = 0x00187de7,
1714                 .tuner_type     = TUNER_PHILIPS_PAL,
1715                 .radio_type     = UNSET,
1716                 .tuner_addr     = ADDR_UNSET,
1717                 .radio_addr     = ADDR_UNSET,
1718                 .gpiomask       = 0x1ce780,
1719                 .inputs         = {{
1720                         .name = name_svideo,
1721                         .vmux = 0,              /* CVideo over SVideo Connector - ok? */
1722                         .amux = LINE1,
1723                         .gpio = 0x008080,
1724                 },{
1725                         .name = name_comp1,
1726                         .vmux = 3,
1727                         .amux = LINE1,
1728                         .gpio = 0x008080,
1729                 },{
1730                         .name = name_tv,
1731                         .vmux = 1,
1732                         .amux = TV,
1733                         .tv   = 1,
1734                         .gpio = 0x008080,
1735                 }},
1736                 .radio = {
1737                         .name = name_radio,
1738                         .amux = LINE2,
1739                         .gpio = 0x80000,
1740                 },
1741                 .mute = {
1742                         .name = name_mute,
1743                         .amux = LINE2,
1744                         .gpio = 0x0c8000,
1745                 },
1746         },
1747         [SAA7134_BOARD_PINNACLE_300I_DVBT_PAL] = {
1748                 .name           = "Pinnacle PCTV 300i DVB-T + PAL",
1749                 .audio_clock    = 0x00187de7,
1750                 .tuner_type     = TUNER_MT2032,
1751                 .radio_type     = UNSET,
1752                 .tuner_addr     = ADDR_UNSET,
1753                 .radio_addr     = ADDR_UNSET,
1754                 .tda9887_conf   = TDA9887_PRESENT | TDA9887_INTERCARRIER | TDA9887_PORT2_INACTIVE,
1755                 .mpeg           = SAA7134_MPEG_DVB,
1756                 .inputs         = {{
1757                         .name = name_tv,
1758                         .vmux = 3,
1759                         .amux = TV,
1760                         .tv   = 1,
1761                 },{
1762                         .name = name_comp1,
1763                         .vmux = 0,
1764                         .amux = LINE2,
1765                 },{
1766                         .name = name_comp2,
1767                         .vmux = 1,
1768                         .amux = LINE2,
1769                 },{
1770                         .name = name_svideo,
1771                         .vmux = 8,
1772                         .amux = LINE2,
1773                 }},
1774         },
1775         [SAA7134_BOARD_PROVIDEO_PV952] = {
1776                 /* andreas.kretschmer@web.de */
1777                 .name           = "ProVideo PV952",
1778                 .audio_clock    = 0x00187de7,
1779                 .tuner_type     = TUNER_PHILIPS_FM1216ME_MK3,
1780                 .radio_type     = UNSET,
1781                 .tuner_addr     = ADDR_UNSET,
1782                 .radio_addr     = ADDR_UNSET,
1783                 .tda9887_conf   = TDA9887_PRESENT,
1784                 .inputs         = {{
1785                         .name = name_comp1,
1786                         .vmux = 0,
1787                         .amux = LINE1,
1788                 },{
1789                         .name = name_tv,
1790                         .vmux = 1,
1791                         .amux = TV,
1792                         .tv   = 1,
1793                 },{
1794                         .name = name_tv_mono,
1795                         .vmux = 1,
1796                         .amux = LINE2,
1797                         .tv   = 1,
1798                 }},
1799                 .radio = {
1800                         .name = name_radio,
1801                         .amux = LINE2,
1802                 },
1803         },
1804         [SAA7134_BOARD_AVERMEDIA_305] = {
1805                 /* much like the "studio" version but without radio
1806                 * and another tuner (sirspiritus@yandex.ru) */
1807                 .name           = "AverMedia AverTV/305",
1808                 .audio_clock    = 0x00187de7,
1809                 .tuner_type     = TUNER_PHILIPS_FQ1216ME,
1810                 .radio_type     = UNSET,
1811                 .tuner_addr     = ADDR_UNSET,
1812                 .radio_addr     = ADDR_UNSET,
1813                 .tda9887_conf   = TDA9887_PRESENT,
1814                 .inputs         = {{
1815                         .name = name_tv,
1816                         .vmux = 1,
1817                         .amux = LINE2,
1818                         .tv   = 1,
1819                 },{
1820                         .name = name_comp1,
1821                         .vmux = 0,
1822                         .amux = LINE2,
1823                 },{
1824                         .name = name_comp2,
1825                         .vmux = 3,
1826                         .amux = LINE2,
1827                 },{
1828                         .name = name_svideo,
1829                         .vmux = 8,
1830                         .amux = LINE2,
1831                 }},
1832                 .mute = {
1833                         .name = name_mute,
1834                         .amux = LINE1,
1835                 },
1836         },
1837         [SAA7134_BOARD_FLYDVBTDUO] = {
1838                 /* LifeView FlyDVB-T DUO */
1839                 /* "Nico Sabbi <nsabbi@tiscali.it>  Hartmut Hackmann hartmut.hackmann@t-online.de*/
1840                 .name           = "LifeView FlyDVB-T DUO / MSI TV@nywhere Duo",
1841                 .audio_clock    = 0x00200000,
1842                 .tuner_type     = TUNER_PHILIPS_TDA8290,
1843                 .radio_type     = UNSET,
1844                 .tuner_addr     = ADDR_UNSET,
1845                 .radio_addr     = ADDR_UNSET,
1846                 .gpiomask       = 0x00200000,
1847                 .mpeg           = SAA7134_MPEG_DVB,
1848                 .inputs         = {{
1849                         .name = name_tv,
1850                         .vmux = 1,
1851                         .amux = TV,
1852                         .gpio = 0x200000,       /* GPIO21=High for TV input */
1853                         .tv   = 1,
1854                 },{
1855                         .name = name_comp1,     /* Composite signal on S-Video input */
1856                         .vmux = 0,
1857                         .amux = LINE2,
1858                 },{
1859                         .name = name_comp2,     /* Composite input */
1860                         .vmux = 3,
1861                         .amux = LINE2,
1862                 },{
1863                         .name = name_svideo,    /* S-Video signal on S-Video input */
1864                         .vmux = 8,
1865                         .amux = LINE2,
1866                 }},
1867                 .radio = {
1868                         .name = name_radio,
1869                         .amux = TV,
1870                         .gpio = 0x000000,       /* GPIO21=Low for FM radio antenna */
1871                 },
1872         },
1873         [SAA7134_BOARD_PHILIPS_TOUGH] = {
1874                 .name           = "Philips TOUGH DVB-T reference design",
1875                 .tuner_type     = TUNER_ABSENT,
1876                 .audio_clock    = 0x00187de7,
1877                 .radio_type     = UNSET,
1878                 .tuner_addr     = ADDR_UNSET,
1879                 .radio_addr     = ADDR_UNSET,
1880                 .mpeg           = SAA7134_MPEG_DVB,
1881                 .inputs = {{
1882                         .name   = name_comp1,
1883                         .vmux   = 0,
1884                         .amux   = LINE1,
1885                 },{
1886                         .name   = name_svideo,
1887                         .vmux   = 8,
1888                         .amux   = LINE1,
1889                 }},
1890         },
1891         [SAA7134_BOARD_AVERMEDIA_307] = {
1892                 /*
1893                 Davydov Vladimir <vladimir@iqmedia.com>
1894                 */
1895                 .name           = "Avermedia AVerTV 307",
1896                 .audio_clock    = 0x00187de7,
1897                 .tuner_type     = TUNER_PHILIPS_FQ1216ME,
1898                 .radio_type     = UNSET,
1899                 .tuner_addr     = ADDR_UNSET,
1900                 .radio_addr     = ADDR_UNSET,
1901                 .tda9887_conf   = TDA9887_PRESENT,
1902                 .inputs         = {{
1903                         .name = name_tv,
1904                         .vmux = 1,
1905                         .amux = TV,
1906                         .tv   = 1,
1907                 },{
1908                         .name = name_comp1,
1909                         .vmux = 0,
1910                         .amux = LINE1,
1911                 },{
1912                         .name = name_comp2,
1913                         .vmux = 3,
1914                         .amux = LINE1,
1915                 },{
1916                         .name = name_svideo,
1917                         .vmux = 8,
1918                         .amux = LINE1,
1919                 }},
1920         },
1921         [SAA7134_BOARD_ADS_INSTANT_TV] = {
1922                 .name           = "ADS Tech Instant TV (saa7135)",
1923                 .audio_clock    = 0x00187de7,
1924                 .tuner_type     = TUNER_PHILIPS_TDA8290,
1925                 .radio_type     = UNSET,
1926                 .tuner_addr     = ADDR_UNSET,
1927                 .radio_addr     = ADDR_UNSET,
1928                 .inputs         = {{
1929                         .name = name_tv,
1930                         .vmux = 1,
1931                         .amux = TV,
1932                         .tv   = 1,
1933                 },{
1934                         .name = name_comp1,
1935                         .vmux = 3,
1936                         .amux = LINE2,
1937                 },{
1938                         .name = name_svideo,
1939                         .vmux = 8,
1940                         .amux = LINE2,
1941                 }},
1942         },
1943         [SAA7134_BOARD_KWORLD_VSTREAM_XPERT] = {
1944                 .name           = "Kworld/Tevion V-Stream Xpert TV PVR7134",
1945                 .audio_clock    = 0x00187de7,
1946                 .tuner_type     = TUNER_PHILIPS_PAL_I,
1947                 .radio_type     = UNSET,
1948                 .tuner_addr     = ADDR_UNSET,
1949                 .radio_addr     = ADDR_UNSET,
1950                 .gpiomask       = 0x0700,
1951                 .inputs = {{
1952                         .name   = name_tv,
1953                         .vmux   = 1,
1954                         .amux   = TV,
1955                         .tv     = 1,
1956                         .gpio   = 0x000,
1957                 },{
1958                         .name   = name_comp1,
1959                         .vmux   = 3,
1960                         .amux   = LINE1,
1961                         .gpio   = 0x200,                /* gpio by DScaler */
1962                 },{
1963                         .name   = name_svideo,
1964                         .vmux   = 0,
1965                         .amux   = LINE1,
1966                         .gpio   = 0x200,
1967                 }},
1968                 .radio = {
1969                         .name   = name_radio,
1970                         .amux   = LINE1,
1971                         .gpio   = 0x100,
1972                 },
1973                 .mute  = {
1974                         .name = name_mute,
1975                         .amux = TV,
1976                         .gpio = 0x000,
1977                 },
1978         },
1979         [SAA7134_BOARD_FLYDVBT_DUO_CARDBUS] = {
1980                 .name           = "LifeView/Typhoon/Genius FlyDVB-T Duo Cardbus",
1981                 .audio_clock    = 0x00200000,
1982                 .tuner_type     = TUNER_PHILIPS_TDA8290,
1983                 .radio_type     = UNSET,
1984                 .tuner_addr     = ADDR_UNSET,
1985                 .radio_addr     = ADDR_UNSET,
1986                 .mpeg           = SAA7134_MPEG_DVB,
1987                 .gpiomask       = 0x00200000,
1988                 .inputs         = {{
1989                         .name = name_tv,
1990                         .vmux = 1,
1991                         .amux = TV,
1992                         .gpio = 0x200000,       /* GPIO21=High for TV input */
1993                         .tv   = 1,
1994                 },{
1995                         .name = name_svideo,    /* S-Video signal on S-Video input */
1996                         .vmux = 8,
1997                         .amux = LINE2,
1998                 },{
1999                         .name = name_comp1,     /* Composite signal on S-Video input */
2000                         .vmux = 0,
2001                         .amux = LINE2,
2002                 },{
2003                         .name = name_comp2,     /* Composite input */
2004                         .vmux = 3,
2005                         .amux = LINE2,
2006                 }},
2007                 .radio = {
2008                         .name = name_radio,
2009                         .amux = TV,
2010                         .gpio = 0x000000,       /* GPIO21=Low for FM radio antenna */
2011                 },
2012         },
2013         [SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII] = {
2014                 .name           = "Compro VideoMate TV Gold+II",
2015                 .audio_clock    = 0x002187de7,
2016                 .tuner_type     = TUNER_LG_PAL_NEW_TAPC,
2017                 .radio_type     = TUNER_TEA5767,
2018                 .tuner_addr     = 0x63,
2019                 .radio_addr     = 0x60,
2020                 .gpiomask       = 0x8c1880,
2021                 .inputs         = {{
2022                         .name = name_svideo,
2023                         .vmux = 0,
2024                         .amux = LINE1,
2025                         .gpio = 0x800800,
2026                 },{
2027                         .name = name_comp1,
2028                         .vmux = 3,
2029                         .amux = LINE1,
2030                         .gpio = 0x801000,
2031                 },{
2032                         .name = name_tv,
2033                         .vmux = 1,
2034                         .amux = TV,
2035                         .tv   = 1,
2036                         .gpio = 0x800000,
2037                 }},
2038                 .radio = {
2039                         .name = name_radio,
2040                         .amux = TV,
2041                         .gpio = 0x880000,
2042                 },
2043                 .mute = {
2044                         .name = name_mute,
2045                         .amux = LINE2,
2046                         .gpio = 0x840000,
2047                 },
2048         },
2049         [SAA7134_BOARD_KWORLD_XPERT] = {
2050                 /*
2051                 FIXME:
2052                 - Remote control doesn't initialize properly.
2053                 - Audio volume starts muted,
2054                 then gradually increases after channel change.
2055                 - Overlay scaling problems (application error?)
2056                 - Composite S-Video untested.
2057                 From: Konrad Rzepecki <hannibal@megapolis.pl>
2058                 */
2059                 .name           = "Kworld Xpert TV PVR7134",
2060                 .audio_clock    = 0x00187de7,
2061                 .tuner_type     = TUNER_TENA_9533_DI,
2062                 .radio_type     = TUNER_TEA5767,
2063                 .tuner_addr     = 0x61,
2064                 .radio_addr     = 0x60,
2065                 .gpiomask       = 0x0700,
2066                 .inputs = {{
2067                         .name   = name_tv,
2068                         .vmux   = 1,
2069                         .amux   = TV,
2070                         .tv     = 1,
2071                         .gpio   = 0x000,
2072                 },{
2073                         .name   = name_comp1,
2074                         .vmux   = 3,
2075                         .amux   = LINE1,
2076                         .gpio   = 0x200,                /* gpio by DScaler */
2077                 },{
2078                         .name   = name_svideo,
2079                         .vmux   = 0,
2080                         .amux   = LINE1,
2081                         .gpio   = 0x200,
2082                 }},
2083                 .radio = {
2084                         .name   = name_radio,
2085                         .amux   = LINE1,
2086                         .gpio   = 0x100,
2087                 },
2088                 .mute = {
2089                         .name = name_mute,
2090                         .amux = TV,
2091                         .gpio = 0x000,
2092                 },
2093         },
2094         [SAA7134_BOARD_FLYTV_DIGIMATRIX] = {
2095                 .name           = "FlyTV mini Asus Digimatrix",
2096                 .audio_clock    = 0x00200000,
2097                 .tuner_type     = TUNER_LG_TALN,
2098                 .radio_type     = UNSET,
2099                 .tuner_addr     = ADDR_UNSET,
2100                 .radio_addr     = ADDR_UNSET,
2101                 .inputs         = {{
2102                         .name = name_tv,
2103                         .vmux = 1,
2104                         .amux = TV,
2105                         .tv   = 1,
2106                 },{
2107                         .name = name_tv_mono,
2108                         .vmux = 1,
2109                         .amux = LINE2,
2110                         .tv   = 1,
2111                 },{
2112                         .name = name_comp1,
2113                         .vmux = 0,
2114                         .amux = LINE2,
2115                 },{
2116                         .name = name_comp2,
2117                         .vmux = 3,
2118                         .amux = LINE2,
2119                 },{
2120                         .name = name_svideo,
2121                         .vmux = 8,
2122                         .amux = LINE2,
2123                 }},
2124                 .radio = {
2125                         .name = name_radio,             /* radio unconfirmed */
2126                         .amux = LINE2,
2127                 },
2128         },
2129         [SAA7134_BOARD_KWORLD_TERMINATOR] = {
2130                 /* Kworld V-Stream Studio TV Terminator */
2131                 /* "James Webb <jrwebb@qwest.net> */
2132                 .name           = "V-Stream Studio TV Terminator",
2133                 .audio_clock    = 0x00187de7,
2134                 .tuner_type     = TUNER_PHILIPS_TDA8290,
2135                 .radio_type     = UNSET,
2136                 .tuner_addr     = ADDR_UNSET,
2137                 .radio_addr     = ADDR_UNSET,
2138                 .gpiomask       = 1 << 21,
2139                 .inputs         = {{
2140                         .name = name_tv,
2141                         .vmux = 1,
2142                         .amux = TV,
2143                         .gpio = 0x0000000,
2144                         .tv   = 1,
2145                 },{
2146                         .name = name_comp1,     /* Composite input */
2147                         .vmux = 3,
2148                         .amux = LINE2,
2149                         .gpio = 0x0000000,
2150                 },{
2151                         .name = name_svideo,    /* S-Video input */
2152                         .vmux = 8,
2153                         .amux = LINE2,
2154                         .gpio = 0x0000000,
2155                 }},
2156                 .radio = {
2157                         .name = name_radio,
2158                         .amux = TV,
2159                         .gpio = 0x0200000,
2160                 },
2161         },
2162         [SAA7134_BOARD_YUAN_TUN900] = {
2163                 /* FIXME:
2164                  * S-Video and composite sources untested.
2165                  * Radio not working.
2166                  * Remote control not yet implemented.
2167                  * From : codemaster@webgeeks.be */
2168                 .name           = "Yuan TUN-900 (saa7135)",
2169                 .audio_clock    = 0x00187de7,
2170                 .tuner_type     = TUNER_PHILIPS_TDA8290,
2171                 .radio_type     = UNSET,
2172                 .tuner_addr= ADDR_UNSET,
2173                 .radio_addr= ADDR_UNSET,
2174                 .gpiomask       = 0x00010003,
2175                 .inputs         = {{
2176                         .name = name_tv,
2177                         .vmux = 1,
2178                         .amux = TV,
2179                         .tv   = 1,
2180                         .gpio = 0x01,
2181                 },{
2182                         .name = name_comp1,
2183                         .vmux = 0,
2184                         .amux = LINE2,
2185                         .gpio = 0x02,
2186                 },{
2187                         .name = name_svideo,
2188                         .vmux = 6,
2189                         .amux = LINE2,
2190                         .gpio = 0x02,
2191                 }},
2192                 .radio = {
2193                         .name = name_radio,
2194                         .amux = LINE1,
2195                         .gpio = 0x00010003,
2196                 },
2197                 .mute = {
2198                         .name = name_mute,
2199                         .amux = TV,
2200                         .gpio = 0x01,
2201                 },
2202         },
2203         [SAA7134_BOARD_BEHOLD_409FM] = {
2204                 /* <http://tuner.beholder.ru>, Sergey <skiv@orel.ru> */
2205                 /*       Beholder Intl. Ltd. 2008      */
2206                 /*Dmitry Belimov <d.belimov@gmail.com> */
2207                 .name           = "Beholder BeholdTV 409 FM",
2208                 .audio_clock    = 0x00187de7,
2209                 .tuner_type     = TUNER_PHILIPS_FM1216ME_MK3,
2210                 .radio_type     = UNSET,
2211                 .tuner_addr     = ADDR_UNSET,
2212                 .radio_addr     = ADDR_UNSET,
2213                 .tda9887_conf   = TDA9887_PRESENT,
2214                 .gpiomask       = 0x00008000,
2215                 .inputs         = {{
2216                           .name = name_tv,
2217                           .vmux = 3,
2218                           .amux = TV,
2219                           .tv   = 1,
2220                 },{
2221                           .name = name_comp1,
2222                           .vmux = 1,
2223                           .amux = LINE1,
2224                 },{
2225                           .name = name_svideo,
2226                           .vmux = 8,
2227                           .amux = LINE1,
2228                 }},
2229                 .radio = {
2230                           .name = name_radio,
2231                           .amux = LINE2,
2232                 },
2233         },
2234         [SAA7134_BOARD_GOTVIEW_7135] = {
2235                 /* Mike Baikov <mike@baikov.com> */
2236                 /* Andrey Cvetcov <ays14@yandex.ru> */
2237                 .name            = "GoTView 7135 PCI",
2238                 .audio_clock     = 0x00187de7,
2239                 .tuner_type      = TUNER_PHILIPS_FM1216ME_MK3,
2240                 .radio_type      = UNSET,
2241                 .tuner_addr      = ADDR_UNSET,
2242                 .radio_addr      = ADDR_UNSET,
2243                 .tda9887_conf    = TDA9887_PRESENT,
2244                 .gpiomask        = 0x00200003,
2245                 .inputs          = {{
2246                         .name = name_tv,
2247                         .vmux = 1,
2248                         .amux = TV,
2249                         .tv   = 1,
2250                         .gpio = 0x00200003,
2251                 },{
2252                         .name = name_tv_mono,
2253                         .vmux = 1,
2254                         .amux = LINE2,
2255                         .gpio = 0x00200003,
2256                 },{
2257                         .name = name_comp1,
2258                         .vmux = 3,
2259                         .amux = LINE1,
2260                         .gpio = 0x00200003,
2261                 },{
2262                         .name = name_svideo,
2263                         .vmux = 8,
2264                         .amux = LINE1,
2265                         .gpio = 0x00200003,
2266                 }},
2267                 .radio = {
2268                         .name = name_radio,
2269                         .amux = LINE2,
2270                         .gpio = 0x00200003,
2271                 },
2272                 .mute = {
2273                         .name = name_mute,
2274                         .amux = TV,
2275                         .gpio = 0x00200003,
2276                 },
2277         },
2278         [SAA7134_BOARD_PHILIPS_EUROPA] = {
2279                 .name           = "Philips EUROPA V3 reference design",
2280                 .audio_clock    = 0x00187de7,
2281                 .tuner_type     = TUNER_PHILIPS_TD1316,
2282                 .radio_type     = UNSET,
2283                 .tuner_addr     = 0x61,
2284                 .radio_addr     = ADDR_UNSET,
2285                 .tda9887_conf   = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
2286                 .mpeg           = SAA7134_MPEG_DVB,
2287                 .inputs = {{
2288                         .name   = name_tv,
2289                         .vmux   = 3,
2290                         .amux   = TV,
2291                         .tv     = 1,
2292                 },{
2293                         .name   = name_comp1,
2294                         .vmux   = 0,
2295                         .amux   = LINE2,
2296                 },{
2297                         .name   = name_svideo,
2298                         .vmux   = 8,
2299                         .amux   = LINE2,
2300                 }},
2301         },
2302         [SAA7134_BOARD_VIDEOMATE_DVBT_300] = {
2303                 .name           = "Compro Videomate DVB-T300",
2304                 .audio_clock    = 0x00187de7,
2305                 .tuner_type     = TUNER_PHILIPS_TD1316,
2306                 .radio_type     = UNSET,
2307                 .tuner_addr     = 0x61,
2308                 .radio_addr     = ADDR_UNSET,
2309                 .tda9887_conf   = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
2310                 .mpeg           = SAA7134_MPEG_DVB,
2311                 .inputs = {{
2312                         .name   = name_tv,
2313                         .vmux   = 3,
2314                         .amux   = TV,
2315                         .tv     = 1,
2316                 },{
2317                         .name   = name_comp1,
2318                         .vmux   = 1,
2319                         .amux   = LINE2,
2320                 },{
2321                         .name   = name_svideo,
2322                         .vmux   = 8,
2323                         .amux   = LINE2,
2324                 }},
2325         },
2326         [SAA7134_BOARD_VIDEOMATE_DVBT_200] = {
2327                 .name           = "Compro Videomate DVB-T200",
2328                 .tuner_type     = TUNER_ABSENT,
2329                 .audio_clock    = 0x00187de7,
2330                 .radio_type     = UNSET,
2331                 .tuner_addr     = ADDR_UNSET,
2332                 .radio_addr     = ADDR_UNSET,
2333                 .mpeg           = SAA7134_MPEG_DVB,
2334                 .inputs = {{
2335                         .name   = name_comp1,
2336                         .vmux   = 0,
2337                         .amux   = LINE1,
2338                 },{
2339                         .name   = name_svideo,
2340                         .vmux   = 8,
2341                         .amux   = LINE1,
2342                 }},
2343         },
2344         [SAA7134_BOARD_RTD_VFG7350] = {
2345                 .name           = "RTD Embedded Technologies VFG7350",
2346                 .audio_clock    = 0x00200000,
2347                 .tuner_type     = TUNER_ABSENT,
2348                 .radio_type     = UNSET,
2349                 .tuner_addr     = ADDR_UNSET,
2350                 .radio_addr     = ADDR_UNSET,
2351                 .inputs         = {{
2352                         .name   = "Composite 0",
2353                         .vmux   = 0,
2354                         .amux   = LINE1,
2355                 },{
2356                         .name   = "Composite 1",
2357                         .vmux   = 1,
2358                         .amux   = LINE2,
2359                 },{
2360                         .name   = "Composite 2",
2361                         .vmux   = 2,
2362                         .amux   = LINE1,
2363                 },{
2364                         .name   = "Composite 3",
2365                         .vmux   = 3,
2366                         .amux   = LINE2,
2367                 },{
2368                         .name   = "S-Video 0",
2369                         .vmux   = 8,
2370                         .amux   = LINE1,
2371                 },{
2372                         .name   = "S-Video 1",
2373                         .vmux   = 9,
2374                         .amux   = LINE2,
2375                 }},
2376                 .mpeg           = SAA7134_MPEG_EMPRESS,
2377                 .video_out      = CCIR656,
2378                 .vid_port_opts  = ( SET_T_CODE_POLARITY_NON_INVERTED |
2379                                     SET_CLOCK_NOT_DELAYED |
2380                                     SET_CLOCK_INVERTED |
2381                                     SET_VSYNC_OFF ),
2382         },
2383         [SAA7134_BOARD_RTD_VFG7330] = {
2384                 .name           = "RTD Embedded Technologies VFG7330",
2385                 .audio_clock    = 0x00200000,
2386                 .tuner_type     = TUNER_ABSENT,
2387                 .radio_type     = UNSET,
2388                 .tuner_addr     = ADDR_UNSET,
2389                 .radio_addr     = ADDR_UNSET,
2390                 .inputs         = {{
2391                         .name   = "Composite 0",
2392                         .vmux   = 0,
2393                         .amux   = LINE1,
2394                 },{
2395                         .name   = "Composite 1",
2396                         .vmux   = 1,
2397                         .amux   = LINE2,
2398                 },{
2399                         .name   = "Composite 2",
2400                         .vmux   = 2,
2401                         .amux   = LINE1,
2402                 },{
2403                         .name   = "Composite 3",
2404                         .vmux   = 3,
2405                         .amux   = LINE2,
2406                 },{
2407                         .name   = "S-Video 0",
2408                         .vmux   = 8,
2409                         .amux   = LINE1,
2410                 },{
2411                         .name   = "S-Video 1",
2412                         .vmux   = 9,
2413                         .amux   = LINE2,
2414                 }},
2415         },
2416         [SAA7134_BOARD_FLYTVPLATINUM_MINI2] = {
2417                 .name           = "LifeView FlyTV Platinum Mini2",
2418                 .audio_clock    = 0x00200000,
2419                 .tuner_type     = TUNER_PHILIPS_TDA8290,
2420                 .radio_type     = UNSET,
2421                 .tuner_addr     = ADDR_UNSET,
2422                 .radio_addr     = ADDR_UNSET,
2423
2424                 .inputs         = {{
2425                         .name = name_tv,
2426                         .vmux = 1,
2427                         .amux = TV,
2428                         .tv   = 1,
2429                 },{
2430                         .name = name_comp1,     /* Composite signal on S-Video input */
2431                         .vmux = 0,
2432                         .amux = LINE2,
2433                 },{
2434                         .name = name_comp2,     /* Composite input */
2435                         .vmux = 3,
2436                         .amux = LINE2,
2437                 },{
2438                         .name = name_svideo,
2439                         .vmux = 8,
2440                         .amux = LINE2,
2441                 }},
2442         },
2443         [SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180] = {
2444                 /* Michael Krufky <mkrufky@m1k.net>
2445                  * Uses Alps Electric TDHU2, containing NXT2004 ATSC Decoder
2446                  * AFAIK, there is no analog demod, thus,
2447                  * no support for analog television.
2448                  */
2449                 .name           = "AVerMedia AVerTVHD MCE A180",
2450                 .audio_clock    = 0x00187de7,
2451                 .tuner_type     = TUNER_ABSENT,
2452                 .radio_type     = UNSET,
2453                 .tuner_addr     = ADDR_UNSET,
2454                 .radio_addr     = ADDR_UNSET,
2455                 .mpeg           = SAA7134_MPEG_DVB,
2456                 .inputs         = {{
2457                         .name = name_comp1,
2458                         .vmux = 3,
2459                         .amux = LINE2,
2460                 },{
2461                         .name = name_svideo,
2462                         .vmux = 8,
2463                         .amux = LINE2,
2464                 }},
2465         },
2466         [SAA7134_BOARD_MONSTERTV_MOBILE] = {
2467                 .name           = "SKNet MonsterTV Mobile",
2468                 .audio_clock    = 0x00187de7,
2469                 .tuner_type     = TUNER_PHILIPS_TDA8290,
2470                 .radio_type     = UNSET,
2471                 .tuner_addr     = ADDR_UNSET,
2472                 .radio_addr     = ADDR_UNSET,
2473
2474                 .inputs         = {{
2475                           .name = name_tv,
2476                           .vmux = 1,
2477                           .amux = TV,
2478                           .tv   = 1,
2479                 },{
2480                           .name = name_comp1,
2481                           .vmux = 3,
2482                           .amux = LINE1,
2483                 },{
2484                           .name = name_svideo,
2485                           .vmux = 6,
2486                           .amux = LINE1,
2487                 }},
2488         },
2489         [SAA7134_BOARD_PINNACLE_PCTV_110i] = {
2490                .name           = "Pinnacle PCTV 40i/50i/110i (saa7133)",
2491                 .audio_clock    = 0x00187de7,
2492                 .tuner_type     = TUNER_PHILIPS_TDA8290,
2493                 .radio_type     = UNSET,
2494                 .tuner_addr     = ADDR_UNSET,
2495                 .radio_addr     = ADDR_UNSET,
2496                 .gpiomask       = 0x080200000,
2497                 .inputs         = { {
2498                         .name = name_tv,
2499                         .vmux = 4,
2500                         .amux = TV,
2501                         .tv   = 1,
2502                 }, {
2503                         .name = name_comp1,
2504                         .vmux = 1,
2505                         .amux = LINE2,
2506                 }, {
2507                         .name = name_comp2,
2508                         .vmux = 0,
2509                         .amux = LINE2,
2510                 }, {
2511                         .name = name_svideo,
2512                         .vmux = 8,
2513                         .amux = LINE2,
2514                 } },
2515                 .radio = {
2516                         .name = name_radio,
2517                         .amux = TV,
2518                         .gpio = 0x0200000,
2519                 },
2520         },
2521         [SAA7134_BOARD_ASUSTeK_P7131_DUAL] = {
2522                 .name           = "ASUSTeK P7131 Dual",
2523                 .audio_clock    = 0x00187de7,
2524                 .tuner_type     = TUNER_PHILIPS_TDA8290,
2525                 .radio_type     = UNSET,
2526                 .tuner_addr     = ADDR_UNSET,
2527                 .radio_addr     = ADDR_UNSET,
2528                 .gpiomask       = 1 << 21,
2529                 .mpeg           = SAA7134_MPEG_DVB,
2530                 .inputs         = {{
2531                         .name = name_tv,
2532                         .vmux = 1,
2533                         .amux = TV,
2534                         .tv   = 1,
2535                         .gpio = 0x0000000,
2536                 },{
2537                         .name = name_comp1,
2538                         .vmux = 3,
2539                         .amux = LINE2,
2540                         .gpio = 0x0200000,
2541                 },{
2542                         .name = name_comp2,
2543                         .vmux = 0,
2544                         .amux = LINE2,
2545                         .gpio = 0x0200000,
2546                 },{
2547                         .name = name_svideo,
2548                         .vmux = 8,
2549                         .amux = LINE2,
2550                         .gpio = 0x0200000,
2551                 }},
2552                 .radio = {
2553                         .name = name_radio,
2554                         .amux = TV,
2555                         .gpio = 0x0200000,
2556                 },
2557         },
2558         [SAA7134_BOARD_SEDNA_PC_TV_CARDBUS] = {
2559                 /* Paul Tom Zalac <pzalac@gmail.com> */
2560                 /* Pavel Mihaylov <bin@bash.info> */
2561                 .name           = "Sedna/MuchTV PC TV Cardbus TV/Radio (ITO25 Rev:2B)",
2562                                 /* Sedna/MuchTV (OEM) Cardbus TV Tuner */
2563                 .audio_clock    = 0x00187de7,
2564                 .tuner_type     = TUNER_PHILIPS_TDA8290,
2565                 .radio_type     = UNSET,
2566                 .tuner_addr     = ADDR_UNSET,
2567                 .radio_addr     = ADDR_UNSET,
2568                 .gpiomask       = 0xe880c0,
2569                 .inputs         = {{
2570                         .name = name_tv,
2571                         .vmux = 3,
2572                         .amux = TV,
2573                         .tv   = 1,
2574                 },{
2575                         .name = name_comp1,
2576                         .vmux = 1,
2577                         .amux = LINE1,
2578                 },{
2579                         .name = name_svideo,
2580                         .vmux = 6,
2581                         .amux = LINE1,
2582                 }},
2583                 .radio = {
2584                         .name = name_radio,
2585                         .amux = LINE2,
2586                 },
2587         },
2588         [SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV] = {
2589                 /* "Cyril Lacoux (Yack)" <clacoux@ifeelgood.org> */
2590                 .name           = "ASUS Digimatrix TV",
2591                 .audio_clock    = 0x00200000,
2592                 .tuner_type     = TUNER_PHILIPS_FQ1216ME,
2593                 .tda9887_conf   = TDA9887_PRESENT,
2594                 .radio_type     = UNSET,
2595                 .tuner_addr     = ADDR_UNSET,
2596                 .radio_addr     = ADDR_UNSET,
2597                 .inputs         = {{
2598                         .name = name_tv,
2599                         .vmux = 1,
2600                         .amux = TV,
2601                         .tv   = 1,
2602                 },{
2603                         .name = name_comp1,
2604                         .vmux = 3,
2605                         .amux = LINE1,
2606                 },{
2607                         .name = name_svideo,
2608                         .vmux = 8,
2609                         .amux = LINE1,
2610                 }},
2611         },
2612         [SAA7134_BOARD_PHILIPS_TIGER] = {
2613                 .name           = "Philips Tiger reference design",
2614                 .audio_clock    = 0x00187de7,
2615                 .tuner_type     = TUNER_PHILIPS_TDA8290,
2616                 .radio_type     = UNSET,
2617                 .tuner_addr     = ADDR_UNSET,
2618                 .radio_addr     = ADDR_UNSET,
2619                 .tuner_config   = 0,
2620                 .mpeg           = SAA7134_MPEG_DVB,
2621                 .gpiomask       = 0x0200000,
2622                 .inputs = {{
2623                         .name   = name_tv,
2624                         .vmux   = 1,
2625                         .amux   = TV,
2626                         .tv     = 1,
2627                 },{
2628                         .name   = name_comp1,
2629                         .vmux   = 3,
2630                         .amux   = LINE1,
2631                 },{
2632                         .name   = name_svideo,
2633                         .vmux   = 8,
2634                         .amux   = LINE1,
2635                 }},
2636                 .radio = {
2637                         .name   = name_radio,
2638                         .amux   = TV,
2639                         .gpio   = 0x0200000,
2640                 },
2641         },
2642         [SAA7134_BOARD_MSI_TVATANYWHERE_PLUS] = {
2643                 .name           = "MSI TV@Anywhere plus",
2644                 .audio_clock    = 0x00187de7,
2645                 .tuner_type     = TUNER_PHILIPS_TDA8290,
2646                 .radio_type     = UNSET,
2647                 .tuner_addr     = ADDR_UNSET,
2648                 .radio_addr     = ADDR_UNSET,
2649                 .gpiomask       = 1 << 21,
2650                 .inputs = {{
2651                         .name   = name_tv,
2652                         .vmux   = 1,
2653                         .amux   = TV,
2654                         .tv     = 1,
2655                 },{
2656                         .name   = name_comp1,
2657                         .vmux   = 3,
2658                         .amux   = LINE2,        /* unconfirmed, taken from Philips driver */
2659                 },{
2660                         .name   = name_comp2,
2661                         .vmux   = 0,            /* untested, Composite over S-Video */
2662                         .amux   = LINE2,
2663                 },{
2664                         .name   = name_svideo,
2665                         .vmux   = 8,
2666                         .amux   = LINE2,
2667                 }},
2668                 .radio = {
2669                         .name   = name_radio,
2670                         .amux   = TV,
2671                         .gpio   = 0x0200000,
2672                 },
2673         },
2674         [SAA7134_BOARD_CINERGY250PCI] = {
2675                 /* remote-control does not work. The signal about a
2676                    key press comes in via gpio, but the key code
2677                    doesn't. Neither does it have an i2c remote control
2678                    interface. */
2679                 .name           = "Terratec Cinergy 250 PCI TV",
2680                 .audio_clock    = 0x00187de7,
2681                 .tuner_type     = TUNER_PHILIPS_TDA8290,
2682                 .radio_type     = UNSET,
2683                 .tuner_addr     = ADDR_UNSET,
2684                 .radio_addr     = ADDR_UNSET,
2685                 .gpiomask       = 0x80200000,
2686                 .inputs         = {{
2687                         .name = name_tv,
2688                         .vmux = 1,
2689                         .amux = TV,
2690                         .tv   = 1,
2691                 },{
2692                         .name = name_svideo,  /* NOT tested */
2693                         .vmux = 8,
2694                         .amux = LINE1,
2695                 }},
2696                 .radio = {
2697                         .name   = name_radio,
2698                         .amux   = TV,
2699                         .gpio   = 0x0200000,
2700                 },
2701         },
2702         [SAA7134_BOARD_FLYDVB_TRIO] = {
2703                 /* LifeView LR319 FlyDVB Trio */
2704                 /* Peter Missel <peter.missel@onlinehome.de> */
2705                 .name           = "LifeView FlyDVB Trio",
2706                 .audio_clock    = 0x00200000,
2707                 .tuner_type     = TUNER_PHILIPS_TDA8290,
2708                 .radio_type     = UNSET,
2709                 .tuner_addr     = ADDR_UNSET,
2710                 .radio_addr     = ADDR_UNSET,
2711                 .gpiomask       = 0x00200000,
2712                 .mpeg           = SAA7134_MPEG_DVB,
2713                 .inputs         = {{
2714                         .name = name_tv,        /* Analog broadcast/cable TV */
2715                         .vmux = 1,
2716                         .amux = TV,
2717                         .gpio = 0x200000,       /* GPIO21=High for TV input */
2718                         .tv   = 1,
2719                 },{
2720                         .name = name_svideo,    /* S-Video signal on S-Video input */
2721                         .vmux = 8,
2722                         .amux = LINE2,
2723                 },{
2724                         .name = name_comp1,     /* Composite signal on S-Video input */
2725                         .vmux = 0,
2726                         .amux = LINE2,
2727                 },{
2728                         .name = name_comp2,     /* Composite input */
2729                         .vmux = 3,
2730                         .amux = LINE2,
2731                 }},
2732                 .radio = {
2733                         .name = name_radio,
2734                         .amux = TV,
2735                         .gpio = 0x000000,       /* GPIO21=Low for FM radio antenna */
2736                 },
2737         },
2738         [SAA7134_BOARD_AVERMEDIA_777] = {
2739                 .name           = "AverTV DVB-T 777",
2740                 .audio_clock    = 0x00187de7,
2741                 .tuner_type     = TUNER_ABSENT,
2742                 .radio_type     = UNSET,
2743                 .tuner_addr     = ADDR_UNSET,
2744                 .radio_addr     = ADDR_UNSET,
2745                 .mpeg           = SAA7134_MPEG_DVB,
2746                 .inputs = {{
2747                         .name   = name_comp1,
2748                         .vmux   = 1,
2749                         .amux   = LINE1,
2750                 },{
2751                         .name   = name_svideo,
2752                         .vmux   = 8,
2753                         .amux   = LINE1,
2754                 }},
2755         },
2756         [SAA7134_BOARD_FLYDVBT_LR301] = {
2757                 /* LifeView FlyDVB-T */
2758                 /* Giampiero Giancipoli <gianci@libero.it> */
2759                 .name           = "LifeView FlyDVB-T / Genius VideoWonder DVB-T",
2760                 .audio_clock    = 0x00200000,
2761                 .tuner_type     = TUNER_ABSENT,
2762                 .radio_type     = UNSET,
2763                 .tuner_addr     = ADDR_UNSET,
2764                 .radio_addr     = ADDR_UNSET,
2765                 .mpeg           = SAA7134_MPEG_DVB,
2766                 .inputs         = {{
2767                         .name = name_comp1,     /* Composite input */
2768                         .vmux = 3,
2769                         .amux = LINE2,
2770                 },{
2771                         .name = name_svideo,    /* S-Video signal on S-Video input */
2772                         .vmux = 8,
2773                         .amux = LINE2,
2774                 }},
2775         },
2776         [SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331] = {
2777                 .name           = "ADS Instant TV Duo Cardbus PTV331",
2778                 .audio_clock    = 0x00200000,
2779                 .tuner_type     = TUNER_PHILIPS_TDA8290,
2780                 .radio_type     = UNSET,
2781                 .tuner_addr     = ADDR_UNSET,
2782                 .radio_addr     = ADDR_UNSET,
2783                 .mpeg           = SAA7134_MPEG_DVB,
2784                 .gpiomask       = 0x00600000, /* Bit 21 0=Radio, Bit 22 0=TV */
2785                 .inputs = {{
2786                         .name   = name_tv,
2787                         .vmux   = 1,
2788                         .amux   = TV,
2789                         .tv     = 1,
2790                         .gpio   = 0x00200000,
2791                 }},
2792         },
2793         [SAA7134_BOARD_TEVION_DVBT_220RF] = {
2794                 .name           = "Tevion/KWorld DVB-T 220RF",
2795                 .audio_clock    = 0x00187de7,
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       = 1 << 21,
2802                 .inputs = {{
2803                         .name   = name_tv,
2804                         .vmux   = 1,
2805                         .amux   = TV,
2806                         .tv     = 1,
2807                 },{
2808                         .name   = name_comp1,
2809                         .vmux   = 3,
2810                         .amux   = LINE1,
2811                 },{
2812                         .name   = name_comp2,
2813                         .vmux   = 0,
2814                         .amux   = LINE1,
2815                 },{
2816                         .name   = name_svideo,
2817                         .vmux   = 8,
2818                         .amux   = LINE1,
2819                 }},
2820                 .radio = {
2821                         .name   = name_radio,
2822                         .amux   = TV,
2823                         .gpio   = 0x0200000,
2824                 },
2825         },
2826         [SAA7134_BOARD_KWORLD_DVBT_210] = {
2827                 .name           = "KWorld DVB-T 210",
2828                 .audio_clock    = 0x00187de7,
2829                 .tuner_type     = TUNER_PHILIPS_TDA8290,
2830                 .radio_type     = UNSET,
2831                 .tuner_addr     = ADDR_UNSET,
2832                 .radio_addr     = ADDR_UNSET,
2833                 .mpeg           = SAA7134_MPEG_DVB,
2834                 .gpiomask       = 1 << 21,
2835                 .inputs = {{
2836                         .name   = name_tv,
2837                         .vmux   = 1,
2838                         .amux   = TV,
2839                         .tv     = 1,
2840                 },{
2841                         .name   = name_comp1,
2842                         .vmux   = 3,
2843                         .amux   = LINE1,
2844                 },{
2845                         .name   = name_svideo,
2846                         .vmux   = 8,
2847                         .amux   = LINE1,
2848                 }},
2849                 .radio = {
2850                         .name   = name_radio,
2851                         .amux   = TV,
2852                         .gpio   = 0x0200000,
2853                 },
2854         },
2855         [SAA7134_BOARD_KWORLD_ATSC110] = {
2856                 .name           = "Kworld ATSC110/115",
2857                 .audio_clock    = 0x00187de7,
2858                 .tuner_type     = TUNER_PHILIPS_TUV1236D,
2859                 .radio_type     = UNSET,
2860                 .tuner_addr     = ADDR_UNSET,
2861                 .radio_addr     = ADDR_UNSET,
2862                 .tda9887_conf   = TDA9887_PRESENT,
2863                 .mpeg           = SAA7134_MPEG_DVB,
2864                 .inputs         = {{
2865                         .name = name_tv,
2866                         .vmux = 1,
2867                         .amux = TV,
2868                         .tv   = 1,
2869                 },{
2870                         .name = name_comp1,
2871                         .vmux = 3,
2872                         .amux = LINE2,
2873                 },{
2874                         .name = name_svideo,
2875                         .vmux = 8,
2876                         .amux = LINE2,
2877                 }},
2878         },
2879         [SAA7134_BOARD_AVERMEDIA_A169_B] = {
2880                 /* AVerMedia A169  */
2881                 /* Rickard Osser <ricky@osser.se>  */
2882                 /* This card has two saa7134 chips on it,
2883                    but only one of them is currently working. */
2884                 .name           = "AVerMedia A169 B",
2885                 .audio_clock    = 0x02187de7,
2886                 .tuner_type     = TUNER_LG_TALN,
2887                 .radio_type     = UNSET,
2888                 .tuner_addr     = ADDR_UNSET,
2889                 .radio_addr     = ADDR_UNSET,
2890                 .tda9887_conf   = TDA9887_PRESENT,
2891                 .gpiomask       = 0x0a60000,
2892         },
2893         [SAA7134_BOARD_AVERMEDIA_A169_B1] = {
2894                 /* AVerMedia A169 */
2895                 /* Rickard Osser <ricky@osser.se> */
2896                 .name           = "AVerMedia A169 B1",
2897                 .audio_clock    = 0x02187de7,
2898                 .tuner_type     = TUNER_LG_TALN,
2899                 .radio_type     = UNSET,
2900                 .tuner_addr     = ADDR_UNSET,
2901                 .radio_addr     = ADDR_UNSET,
2902                 .tda9887_conf   = TDA9887_PRESENT,
2903                 .gpiomask       = 0xca60000,
2904                 .inputs         = {{
2905                         .name = name_tv,
2906                         .vmux = 4,
2907                         .amux = TV,
2908                         .tv   = 1,
2909                         .gpio = 0x04a61000,
2910                 },{
2911                         .name = name_comp2,  /*  Composite SVIDEO (B/W if signal is carried with SVIDEO) */
2912                         .vmux = 1,
2913                         .amux = LINE2,
2914                 },{
2915                         .name = name_svideo,
2916                         .vmux = 9,           /* 9 is correct as S-VIDEO1 according to a169.inf! */
2917                         .amux = LINE1,
2918                 }},
2919         },
2920         [SAA7134_BOARD_MD7134_BRIDGE_2] = {
2921                 /* The second saa7134 on this card only serves as DVB-S host bridge */
2922                 .name           = "Medion 7134 Bridge #2",
2923                 .audio_clock    = 0x00187de7,
2924                 .radio_type     = UNSET,
2925                 .tuner_addr     = ADDR_UNSET,
2926                 .radio_addr     = ADDR_UNSET,
2927                 .mpeg           = SAA7134_MPEG_DVB,
2928         },
2929         [SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS] = {
2930                 .name           = "LifeView FlyDVB-T Hybrid Cardbus/MSI TV @nywhere A/D NB",
2931                 .audio_clock    = 0x00200000,
2932                 .tuner_type     = TUNER_PHILIPS_TDA8290,
2933                 .radio_type     = UNSET,
2934                 .tuner_addr     = ADDR_UNSET,
2935                 .radio_addr     = ADDR_UNSET,
2936                 .mpeg           = SAA7134_MPEG_DVB,
2937                 .gpiomask       = 0x00600000, /* Bit 21 0=Radio, Bit 22 0=TV */
2938                 .inputs         = {{
2939                         .name = name_tv,
2940                         .vmux = 1,
2941                         .amux = TV,
2942                         .gpio = 0x200000,       /* GPIO21=High for TV input */
2943                         .tv   = 1,
2944                 },{
2945                         .name = name_svideo,    /* S-Video signal on S-Video input */
2946                         .vmux = 8,
2947                         .amux = LINE2,
2948                 },{
2949                         .name = name_comp1,     /* Composite signal on S-Video input */
2950                         .vmux = 0,
2951                         .amux = LINE2,
2952                 },{
2953                         .name = name_comp2,     /* Composite input */
2954                         .vmux = 3,
2955                         .amux = LINE2,
2956                 }},
2957                 .radio = {
2958                         .name = name_radio,
2959                         .amux = TV,
2960                         .gpio = 0x000000,       /* GPIO21=Low for FM radio antenna */
2961                 },
2962         },
2963         [SAA7134_BOARD_FLYVIDEO3000_NTSC] = {
2964                 /* "Zac Bowling" <zac@zacbowling.com> */
2965                 .name           = "LifeView FlyVIDEO3000 (NTSC)",
2966                 .audio_clock    = 0x00200000,
2967                 .tuner_type     = TUNER_PHILIPS_NTSC,
2968                 .radio_type     = UNSET,
2969                 .tuner_addr     = ADDR_UNSET,
2970                 .radio_addr     = ADDR_UNSET,
2971
2972                 .gpiomask       = 0xe000,
2973                 .inputs         = {{
2974                         .name = name_tv,
2975                         .vmux = 1,
2976                         .amux = TV,
2977                         .gpio = 0x8000,
2978                         .tv   = 1,
2979                 },{
2980                         .name = name_tv_mono,
2981                         .vmux = 1,
2982                         .amux = LINE2,
2983                         .gpio = 0x0000,
2984                         .tv   = 1,
2985                 },{
2986                         .name = name_comp1,
2987                         .vmux = 0,
2988                         .amux = LINE2,
2989                         .gpio = 0x4000,
2990                 },{
2991                         .name = name_comp2,
2992                         .vmux = 3,
2993                         .amux = LINE2,
2994                         .gpio = 0x4000,
2995                 },{
2996                         .name = name_svideo,
2997                         .vmux = 8,
2998                         .amux = LINE2,
2999                         .gpio = 0x4000,
3000                 }},
3001                 .radio = {
3002                         .name = name_radio,
3003                         .amux = LINE2,
3004                         .gpio = 0x2000,
3005                 },
3006                         .mute = {
3007                         .name = name_mute,
3008                         .amux = TV,
3009                         .gpio = 0x8000,
3010                 },
3011         },
3012         [SAA7134_BOARD_MEDION_MD8800_QUADRO] = {
3013                 .name           = "Medion Md8800 Quadro",
3014                 .audio_clock    = 0x00187de7,
3015                 .tuner_type     = TUNER_PHILIPS_TDA8290,
3016                 .radio_type     = UNSET,
3017                 .tuner_addr     = ADDR_UNSET,
3018                 .radio_addr     = ADDR_UNSET,
3019                 .mpeg           = SAA7134_MPEG_DVB,
3020                 .inputs = {{
3021                         .name   = name_tv,
3022                         .vmux   = 1,
3023                         .amux   = TV,
3024                         .tv     = 1,
3025                 },{
3026                         .name   = name_comp1,
3027                         .vmux   = 0,
3028                         .amux   = LINE1,
3029                 },{
3030                         .name   = name_svideo,
3031                         .vmux   = 8,
3032                         .amux   = LINE1,
3033                 }},
3034         },
3035         [SAA7134_BOARD_FLYDVBS_LR300] = {
3036                 /* LifeView FlyDVB-s */
3037                 /* Igor M. Liplianin <liplianin@tut.by> */
3038                 .name           = "LifeView FlyDVB-S /Acorp TV134DS",
3039                 .audio_clock    = 0x00200000,
3040                 .tuner_type     = TUNER_ABSENT,
3041                 .radio_type     = UNSET,
3042                 .tuner_addr     = ADDR_UNSET,
3043                 .radio_addr     = ADDR_UNSET,
3044                 .mpeg           = SAA7134_MPEG_DVB,
3045                 .inputs         = {{
3046                         .name = name_comp1,     /* Composite input */
3047                         .vmux = 3,
3048                         .amux = LINE1,
3049                 },{
3050                         .name = name_svideo,    /* S-Video signal on S-Video input */
3051                         .vmux = 8,
3052                         .amux = LINE1,
3053                 }},
3054         },
3055         [SAA7134_BOARD_PROTEUS_2309] = {
3056                 .name           = "Proteus Pro 2309",
3057                 .audio_clock    = 0x00187de7,
3058                 .tuner_type     = TUNER_PHILIPS_FM1216ME_MK3,
3059                 .radio_type     = UNSET,
3060                 .tuner_addr     = ADDR_UNSET,
3061                 .radio_addr     = ADDR_UNSET,
3062                 .tda9887_conf   = TDA9887_PRESENT,
3063                 .inputs         = {{
3064                         .name = name_tv,
3065                         .vmux = 1,
3066                         .amux = LINE2,
3067                         .tv   = 1,
3068                 },{
3069                         .name = name_comp1,
3070                         .vmux = 0,
3071                         .amux = LINE2,
3072                 },{
3073                         .name = name_comp2,
3074                         .vmux = 3,
3075                         .amux = LINE2,
3076                 },{
3077                         .name = name_svideo,
3078                         .vmux = 8,
3079                         .amux = LINE2,
3080                 }},
3081                 .mute = {
3082                         .name = name_mute,
3083                         .amux = LINE1,
3084                 },
3085         },
3086         [SAA7134_BOARD_AVERMEDIA_A16AR] = {
3087                 /* Petr Baudis <pasky@ucw.cz> */
3088                 .name           = "AVerMedia TV Hybrid A16AR",
3089                 .audio_clock    = 0x187de7,
3090                 .tuner_type     = TUNER_PHILIPS_TD1316, /* untested */
3091                 .radio_type     = TUNER_TEA5767, /* untested */
3092                 .tuner_addr     = ADDR_UNSET,
3093                 .radio_addr     = 0x60,
3094                 .tda9887_conf   = TDA9887_PRESENT,
3095                 .mpeg           = SAA7134_MPEG_DVB,
3096                 .inputs         = {{
3097                         .name = name_tv,
3098                         .vmux = 1,
3099                         .amux = TV,
3100                         .tv   = 1,
3101                 },{
3102                         .name = name_comp1,
3103                         .vmux = 3,
3104                         .amux = LINE2,
3105                 },{
3106                         .name = name_svideo,
3107                         .vmux = 8,
3108                         .amux = LINE1,
3109                 }},
3110                 .radio = {
3111                         .name = name_radio,
3112                         .amux = LINE1,
3113                 },
3114         },
3115         [SAA7134_BOARD_ASUS_EUROPA2_HYBRID] = {
3116                 .name           = "Asus Europa2 OEM",
3117                 .audio_clock    = 0x00187de7,
3118                 .tuner_type     = TUNER_PHILIPS_FMD1216ME_MK3,
3119                 .radio_type     = UNSET,
3120                 .tuner_addr     = ADDR_UNSET,
3121                 .radio_addr     = ADDR_UNSET,
3122                 .tda9887_conf   = TDA9887_PRESENT| TDA9887_PORT1_ACTIVE | TDA9887_PORT2_ACTIVE,
3123                 .mpeg           = SAA7134_MPEG_DVB,
3124                 .inputs = {{
3125                         .name   = name_tv,
3126                         .vmux   = 3,
3127                         .amux   = TV,
3128                         .tv     = 1,
3129                 },{
3130                         .name   = name_comp1,
3131                         .vmux   = 4,
3132                         .amux   = LINE2,
3133                 },{
3134                         .name   = name_svideo,
3135                         .vmux   = 8,
3136                         .amux   = LINE2,
3137                 }},
3138                 .radio = {
3139                         .name   = name_radio,
3140                         .amux   = LINE1,
3141                 },
3142         },
3143         [SAA7134_BOARD_PINNACLE_PCTV_310i] = {
3144                 .name           = "Pinnacle PCTV 310i",
3145                 .audio_clock    = 0x00187de7,
3146                 .tuner_type     = TUNER_PHILIPS_TDA8290,
3147                 .radio_type     = UNSET,
3148                 .tuner_addr     = ADDR_UNSET,
3149                 .radio_addr     = ADDR_UNSET,
3150                 .tuner_config   = 1,
3151                 .mpeg           = SAA7134_MPEG_DVB,
3152                 .gpiomask       = 0x000200000,
3153                 .inputs         = {{
3154                         .name = name_tv,
3155                         .vmux = 4,
3156                         .amux = TV,
3157                         .tv   = 1,
3158                 },{
3159                         .name = name_comp1,
3160                         .vmux = 1,
3161                         .amux = LINE2,
3162                 },{
3163                         .name = name_comp2,
3164                         .vmux = 0,
3165                         .amux = LINE2,
3166                 },{
3167                         .name = name_svideo,
3168                         .vmux = 8,
3169                         .amux = LINE2,
3170                 }},
3171                 .radio = {
3172                         .name = name_radio,
3173                         .amux   = TV,
3174                         .gpio   = 0x0200000,
3175                 },
3176         },
3177         [SAA7134_BOARD_AVERMEDIA_STUDIO_507] = {
3178                 /* Mikhail Fedotov <mo_fedotov@mail.ru> */
3179                 .name           = "Avermedia AVerTV Studio 507",
3180                 .audio_clock    = 0x00187de7,
3181                 .tuner_type     = TUNER_PHILIPS_FM1256_IH3,
3182                 .radio_type     = UNSET,
3183                 .tuner_addr     = ADDR_UNSET,
3184                 .radio_addr     = ADDR_UNSET,
3185                 .tda9887_conf   = TDA9887_PRESENT,
3186                 .gpiomask       = 0x03,
3187                 .inputs         = {{
3188                         .name = name_tv,
3189                         .vmux = 1,
3190                         .amux = TV,
3191                         .tv   = 1,
3192                         .gpio = 0x00,
3193                 },{
3194                         .name = name_comp1,
3195                         .vmux = 0,
3196                         .amux = LINE2,
3197                         .gpio = 0x00,
3198                 },{
3199                         .name = name_comp2,
3200                         .vmux = 3,
3201                         .amux = LINE2,
3202                         .gpio = 0x00,
3203                 },{
3204                         .name = name_svideo,
3205                         .vmux = 8,
3206                         .amux = LINE2,
3207                         .gpio = 0x00,
3208                 }},
3209                 .radio = {
3210                         .name = name_radio,
3211                         .amux = LINE2,
3212                         .gpio = 0x01,
3213                 },
3214                 .mute  = {
3215                         .name = name_mute,
3216                         .amux = LINE1,
3217                         .gpio = 0x00,
3218                 },
3219         },
3220         [SAA7134_BOARD_VIDEOMATE_DVBT_200A] = {
3221                 /* Francis Barber <fedora@barber-family.id.au> */
3222                 .name           = "Compro Videomate DVB-T200A",
3223                 .audio_clock    = 0x00187de7,
3224                 .tuner_type     = TUNER_ABSENT,
3225                 .radio_type     = UNSET,
3226                 .tuner_addr     = ADDR_UNSET,
3227                 .radio_addr     = ADDR_UNSET,
3228                 .tda9887_conf   = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
3229                 .mpeg           = SAA7134_MPEG_DVB,
3230                 .inputs = {{
3231                         .name   = name_tv,
3232                         .vmux   = 3,
3233                         .amux   = TV,
3234                         .tv     = 1,
3235                 },{
3236                         .name   = name_comp1,
3237                         .vmux   = 1,
3238                         .amux   = LINE2,
3239                 },{
3240                         .name   = name_svideo,
3241                         .vmux   = 8,
3242                         .amux   = LINE2,
3243                 }},
3244         },
3245         [SAA7134_BOARD_HAUPPAUGE_HVR1110] = {
3246                 /* Thomas Genty <tomlohave@gmail.com> */
3247                 .name           = "Hauppauge WinTV-HVR1110 DVB-T/Hybrid",
3248                 .audio_clock    = 0x00187de7,
3249                 .tuner_type     = TUNER_PHILIPS_TDA8290,
3250                 .radio_type     = UNSET,
3251                 .tuner_addr     = ADDR_UNSET,
3252                 .radio_addr     = ADDR_UNSET,
3253                 .tuner_config   = 1,
3254                 .mpeg           = SAA7134_MPEG_DVB,
3255                 .inputs         = {{
3256                         .name = name_tv,
3257                         .vmux = 1,
3258                         .amux = TV,
3259                         .tv   = 1,
3260                 },{
3261                         .name   = name_comp1,
3262                         .vmux   = 3,
3263                         .amux   = LINE2, /* FIXME: audio doesn't work on svideo/composite */
3264                 },{
3265                         .name   = name_svideo,
3266                         .vmux   = 8,
3267                         .amux   = LINE2, /* FIXME: audio doesn't work on svideo/composite */
3268                 }},
3269                 .radio = {
3270                         .name = name_radio,
3271                         .amux   = TV,
3272                 },
3273         },
3274         [SAA7134_BOARD_CINERGY_HT_PCMCIA] = {
3275                 .name           = "Terratec Cinergy HT PCMCIA",
3276                 .audio_clock    = 0x00187de7,
3277                 .tuner_type     = TUNER_PHILIPS_TDA8290,
3278                 .radio_type     = UNSET,
3279                 .tuner_addr     = ADDR_UNSET,
3280                 .radio_addr     = ADDR_UNSET,
3281                 .mpeg           = SAA7134_MPEG_DVB,
3282                 .inputs = {{
3283                         .name   = name_tv,
3284                         .vmux   = 1,
3285                         .amux   = TV,
3286                         .tv     = 1,
3287                 },{
3288                         .name   = name_comp1,
3289                         .vmux   = 0,
3290                         .amux   = LINE1,
3291                 },{
3292                         .name   = name_svideo,
3293                         .vmux   = 6,
3294                         .amux   = LINE1,
3295                 }},
3296         },
3297         [SAA7134_BOARD_ENCORE_ENLTV] = {
3298         /* Steven Walter <stevenrwalter@gmail.com>
3299            Juan Pablo Sormani <sorman@gmail.com> */
3300                 .name           = "Encore ENLTV",
3301                 .audio_clock    = 0x00200000,
3302                 .tuner_type     = TUNER_TNF_5335MF,
3303                 .radio_type     = UNSET,
3304                 .tuner_addr     = ADDR_UNSET,
3305                 .radio_addr     = ADDR_UNSET,
3306                 .inputs         = {{
3307                         .name = name_tv,
3308                         .vmux = 1,
3309                         .amux = 3,
3310                         .tv   = 1,
3311                 },{
3312                         .name = name_tv_mono,
3313                         .vmux = 7,
3314                         .amux = 4,
3315                         .tv   = 1,
3316                 },{
3317                         .name = name_comp1,
3318                         .vmux = 3,
3319                         .amux = 2,
3320                 },{
3321                         .name = name_svideo,
3322                         .vmux = 0,
3323                         .amux = 2,
3324                 }},
3325                 .radio = {
3326                         .name = name_radio,
3327                         .amux = LINE2,
3328 /*                      .gpio = 0x00300001,*/
3329                         .gpio = 0x20000,
3330
3331                 },
3332                 .mute = {
3333                         .name = name_mute,
3334                         .amux = 0,
3335                 },
3336         },
3337         [SAA7134_BOARD_ENCORE_ENLTV_FM] = {
3338   /*    Juan Pablo Sormani <sorman@gmail.com> */
3339                 .name           = "Encore ENLTV-FM",
3340                 .audio_clock    = 0x00200000,
3341                 .tuner_type     = TUNER_PHILIPS_FCV1236D,
3342                 .radio_type     = UNSET,
3343                 .tuner_addr     = ADDR_UNSET,
3344                 .radio_addr     = ADDR_UNSET,
3345                 .inputs         = {{
3346                         .name = name_tv,
3347                         .vmux = 1,
3348                         .amux = 3,
3349                         .tv   = 1,
3350                 },{
3351                         .name = name_tv_mono,
3352                         .vmux = 7,
3353                         .amux = 4,
3354                         .tv   = 1,
3355                 },{
3356                         .name = name_comp1,
3357                         .vmux = 3,
3358                         .amux = 2,
3359                 },{
3360                         .name = name_svideo,
3361                         .vmux = 0,
3362                         .amux = 2,
3363                 }},
3364                 .radio = {
3365                         .name = name_radio,
3366                         .amux = LINE2,
3367                         .gpio = 0x20000,
3368
3369                 },
3370                 .mute = {
3371                         .name = name_mute,
3372                         .amux = 0,
3373                 },
3374         },
3375         [SAA7134_BOARD_CINERGY_HT_PCI] = {
3376                 .name           = "Terratec Cinergy HT PCI",
3377                 .audio_clock    = 0x00187de7,
3378                 .tuner_type     = TUNER_PHILIPS_TDA8290,
3379                 .radio_type     = UNSET,
3380                 .tuner_addr     = ADDR_UNSET,
3381                 .radio_addr     = ADDR_UNSET,
3382                 .mpeg           = SAA7134_MPEG_DVB,
3383                 .inputs = {{
3384                         .name   = name_tv,
3385                         .vmux   = 1,
3386                         .amux   = TV,
3387                         .tv     = 1,
3388                 },{
3389                         .name   = name_comp1,
3390                         .vmux   = 0,
3391                         .amux   = LINE1,
3392                 },{
3393                         .name   = name_svideo,
3394                         .vmux   = 6,
3395                         .amux   = LINE1,
3396                 }},
3397         },
3398         [SAA7134_BOARD_PHILIPS_TIGER_S] = {
3399                 .name           = "Philips Tiger - S Reference design",
3400                 .audio_clock    = 0x00187de7,
3401                 .tuner_type     = TUNER_PHILIPS_TDA8290,
3402                 .radio_type     = UNSET,
3403                 .tuner_addr     = ADDR_UNSET,
3404                 .radio_addr     = ADDR_UNSET,
3405                 .tuner_config   = 2,
3406                 .mpeg           = SAA7134_MPEG_DVB,
3407                 .gpiomask       = 0x0200000,
3408                 .inputs = {{
3409                         .name   = name_tv,
3410                         .vmux   = 1,
3411                         .amux   = TV,
3412                         .tv     = 1,
3413                 },{
3414                         .name   = name_comp1,
3415                         .vmux   = 3,
3416                         .amux   = LINE1,
3417                 },{
3418                         .name   = name_svideo,
3419                         .vmux   = 8,
3420                         .amux   = LINE1,
3421                 }},
3422                 .radio = {
3423                         .name   = name_radio,
3424                         .amux   = TV,
3425                         .gpio   = 0x0200000,
3426                 },
3427         },
3428         [SAA7134_BOARD_AVERMEDIA_M102] = {
3429                 .name           = "Avermedia M102",
3430                 .audio_clock    = 0x00187de7,
3431                 .tuner_type     = TUNER_PHILIPS_TDA8290,
3432                 .radio_type     = UNSET,
3433                 .tuner_addr     = ADDR_UNSET,
3434                 .radio_addr     = ADDR_UNSET,
3435                 .gpiomask       = 1<<21,
3436                 .inputs         = {{
3437                         .name = name_tv,
3438                         .vmux = 1,
3439                         .amux = TV,
3440                         .tv   = 1,
3441                 },{
3442                         .name = name_comp1,
3443                         .vmux = 0,
3444                         .amux = LINE2,
3445                 },{
3446                         .name = name_svideo,
3447                         .vmux = 6,
3448                         .amux = LINE2,
3449                 }},
3450         },
3451         [SAA7134_BOARD_ASUS_P7131_4871] = {
3452                 .name           = "ASUS P7131 4871",
3453                 .audio_clock    = 0x00187de7,
3454                 .tuner_type     = TUNER_PHILIPS_TDA8290,
3455                 .radio_type     = UNSET,
3456                 .tuner_addr     = ADDR_UNSET,
3457                 .radio_addr     = ADDR_UNSET,
3458                 .tuner_config   = 2,
3459                 .mpeg           = SAA7134_MPEG_DVB,
3460                 .gpiomask       = 0x0200000,
3461                 .inputs = {{
3462                         .name   = name_tv,
3463                         .vmux   = 1,
3464                         .amux   = TV,
3465                         .tv     = 1,
3466                         .gpio   = 0x0200000,
3467                 }},
3468         },
3469         [SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA] = {
3470                 .name           = "ASUSTeK P7131 Hybrid",
3471                 .audio_clock    = 0x00187de7,
3472                 .tuner_type     = TUNER_PHILIPS_TDA8290,
3473                 .radio_type     = UNSET,
3474                 .tuner_addr     = ADDR_UNSET,
3475                 .radio_addr     = ADDR_UNSET,
3476                 .tuner_config   = 2,
3477                 .gpiomask       = 1 << 21,
3478                 .mpeg           = SAA7134_MPEG_DVB,
3479                 .inputs         = {{
3480                         .name = name_tv,
3481                         .vmux = 1,
3482                         .amux = TV,
3483                         .tv   = 1,
3484                         .gpio = 0x0000000,
3485                 },{
3486                         .name = name_comp1,
3487                         .vmux = 3,
3488                         .amux = LINE2,
3489                         .gpio = 0x0200000,
3490                 },{
3491                         .name = name_comp2,
3492                         .vmux = 0,
3493                         .amux = LINE2,
3494                         .gpio = 0x0200000,
3495                 },{
3496                         .name = name_svideo,
3497                         .vmux = 8,
3498                         .amux = LINE2,
3499                         .gpio = 0x0200000,
3500                 }},
3501                 .radio = {
3502                         .name = name_radio,
3503                         .amux = TV,
3504                         .gpio = 0x0200000,
3505                 },
3506         },
3507         [SAA7134_BOARD_SABRENT_TV_PCB05] = {
3508                 .name           = "Sabrent PCMCIA TV-PCB05",
3509                 .audio_clock    = 0x00187de7,
3510                 .tuner_type     = TUNER_PHILIPS_TDA8290,
3511                 .radio_type     = UNSET,
3512                 .tuner_addr     = ADDR_UNSET,
3513                 .radio_addr     = ADDR_UNSET,
3514                 .inputs         = {{
3515                         .name = name_tv,
3516                         .vmux = 1,
3517                         .amux = TV,
3518                         .tv   = 1,
3519                 },{
3520                         .name = name_comp1,
3521                         .vmux = 3,
3522                         .amux = LINE1,
3523                 },{
3524                         .name = name_comp2,
3525                         .vmux = 0,
3526                         .amux = LINE1,
3527                 },{
3528                         .name = name_svideo,
3529                         .vmux = 8,
3530                         .amux = LINE1,
3531                 }},
3532                 .mute = {
3533                         .name = name_mute,
3534                         .amux = TV,
3535                 },
3536         },
3537         [SAA7134_BOARD_10MOONSTVMASTER3] = {
3538                 /* Tony Wan <aloha_cn@hotmail.com> */
3539                 .name           = "10MOONS TM300 TV Card",
3540                 .audio_clock    = 0x00200000,
3541                 .tuner_type     = TUNER_LG_PAL_NEW_TAPC,
3542                 .radio_type     = UNSET,
3543                 .tuner_addr     = ADDR_UNSET,
3544                 .radio_addr     = ADDR_UNSET,
3545                 .gpiomask       = 0x7000,
3546                 .inputs         = {{
3547                         .name = name_tv,
3548                         .vmux = 1,
3549                         .amux = LINE2,
3550                         .gpio = 0x0000,
3551                         .tv   = 1,
3552                 },{
3553                         .name = name_comp1,
3554                         .vmux = 3,
3555                         .amux = LINE1,
3556                         .gpio = 0x2000,
3557                 },{
3558                         .name = name_svideo,
3559                         .vmux = 8,
3560                         .amux = LINE1,
3561                         .gpio = 0x2000,
3562                 }},
3563                 .mute = {
3564                         .name = name_mute,
3565                         .amux = LINE2,
3566                         .gpio = 0x3000,
3567                 },
3568         },
3569         [SAA7134_BOARD_AVERMEDIA_SUPER_007] = {
3570                 .name           = "Avermedia Super 007",
3571                 .audio_clock    = 0x00187de7,
3572                 .tuner_type     = TUNER_PHILIPS_TDA8290,
3573                 .radio_type     = UNSET,
3574                 .tuner_addr     = ADDR_UNSET,
3575                 .radio_addr     = ADDR_UNSET,
3576                 .tuner_config   = 0,
3577                 .mpeg           = SAA7134_MPEG_DVB,
3578                 .inputs = {{
3579                         .name   = name_tv, /* FIXME: analog tv untested */
3580                         .vmux   = 1,
3581                         .amux   = TV,
3582                         .tv     = 1,
3583                 }},
3584         },
3585         [SAA7134_BOARD_BEHOLD_401] = {
3586                 /*       Beholder Intl. Ltd. 2008      */
3587                 /*Dmitry Belimov <d.belimov@gmail.com> */
3588                 .name           = "Beholder BeholdTV 401",
3589                 .audio_clock    = 0x00187de7,
3590                 .tuner_type     = TUNER_PHILIPS_FQ1216ME,
3591                 .radio_type     = UNSET,
3592                 .tuner_addr     = ADDR_UNSET,
3593                 .radio_addr     = ADDR_UNSET,
3594                 .gpiomask       = 0x00008000,
3595                 .inputs         = {{
3596                         .name = name_svideo,
3597                         .vmux = 8,
3598                         .amux = LINE1,
3599                 },{
3600                         .name = name_comp1,
3601                         .vmux = 1,
3602                         .amux = LINE1,
3603                 },{
3604                         .name = name_tv,
3605                         .vmux = 3,
3606                         .amux = LINE2,
3607                         .tv   = 1,
3608                 }},
3609                 .mute = {
3610                         .name = name_mute,
3611                         .amux = LINE1,
3612                 },
3613         },
3614         [SAA7134_BOARD_BEHOLD_403] = {
3615                 /*       Beholder Intl. Ltd. 2008      */
3616                 /*Dmitry Belimov <d.belimov@gmail.com> */
3617                 .name           = "Beholder BeholdTV 403",
3618                 .audio_clock    = 0x00187de7,
3619                 .tuner_type     = TUNER_PHILIPS_FQ1216ME,
3620                 .radio_type     = UNSET,
3621                 .tuner_addr     = ADDR_UNSET,
3622                 .radio_addr     = ADDR_UNSET,
3623                 .gpiomask       = 0x00008000,
3624                 .inputs         = {{
3625                         .name = name_svideo,
3626                         .vmux = 8,
3627                         .amux = LINE1,
3628                 },{
3629                         .name   = name_comp1,
3630                         .vmux   = 1,
3631                         .amux   = LINE1,
3632                 },{
3633                         .name = name_tv,
3634                         .vmux = 3,
3635                         .amux = LINE2,
3636                         .tv   = 1,
3637                 }},
3638         },
3639         [SAA7134_BOARD_BEHOLD_403FM] = {
3640                 /*       Beholder Intl. Ltd. 2008      */
3641                 /*Dmitry Belimov <d.belimov@gmail.com> */
3642                 .name           = "Beholder BeholdTV 403 FM",
3643                 .audio_clock    = 0x00187de7,
3644                 .tuner_type     = TUNER_PHILIPS_FQ1216ME,
3645                 .radio_type     = UNSET,
3646                 .tuner_addr     = ADDR_UNSET,
3647                 .radio_addr     = ADDR_UNSET,
3648                 .gpiomask       = 0x00008000,
3649                 .inputs         = {{
3650                         .name = name_svideo,
3651                         .vmux = 8,
3652                         .amux = LINE1,
3653                 },{
3654                         .name   = name_comp1,
3655                         .vmux   = 1,
3656                         .amux   = LINE1,
3657                 },{
3658                         .name = name_tv,
3659                         .vmux = 3,
3660                         .amux = LINE2,
3661                         .tv   = 1,
3662                 }},
3663                 .radio = {
3664                         .name = name_radio,
3665                         .amux = LINE2,
3666                 },
3667         },
3668         [SAA7134_BOARD_BEHOLD_405] = {
3669                 /*       Beholder Intl. Ltd. 2008      */
3670                 /*Dmitry Belimov <d.belimov@gmail.com> */
3671                 .name           = "Beholder BeholdTV 405",
3672                 .audio_clock    = 0x00187de7,
3673                 .tuner_type     = TUNER_PHILIPS_FM1216ME_MK3,
3674                 .radio_type     = UNSET,
3675                 .tuner_addr     = ADDR_UNSET,
3676                 .radio_addr     = ADDR_UNSET,
3677                 .tda9887_conf   = TDA9887_PRESENT,
3678                 .gpiomask       = 0x00008000,
3679                 .inputs         = {{
3680                         .name = name_svideo,
3681                         .vmux = 8,
3682                         .amux = LINE1,
3683                 },{
3684                         .name = name_comp1,
3685                         .vmux = 3,
3686                         .amux = LINE1,
3687                 },{
3688                         .name = name_tv,
3689                         .vmux = 3,
3690                         .amux = LINE2,
3691                         .tv   = 1,
3692                 }},
3693         },
3694         [SAA7134_BOARD_BEHOLD_405FM] = {
3695                 /* Sergey <skiv@orel.ru> */
3696                 /*       Beholder Intl. Ltd. 2008      */
3697                 /*Dmitry Belimov <d.belimov@gmail.com> */
3698                 .name           = "Beholder BeholdTV 405 FM",
3699                 .audio_clock    = 0x00187de7,
3700                 .tuner_type     = TUNER_PHILIPS_FM1216ME_MK3,
3701                 .radio_type     = UNSET,
3702                 .tuner_addr     = ADDR_UNSET,
3703                 .radio_addr     = ADDR_UNSET,
3704                 .tda9887_conf   = TDA9887_PRESENT,
3705                 .gpiomask       = 0x00008000,
3706                 .inputs         = {{
3707                         .name = name_svideo,
3708                         .vmux = 8,
3709                         .amux = LINE1,
3710                 },{
3711                         .name = name_comp1,
3712                         .vmux = 3,
3713                         .amux = LINE1,
3714                 },{
3715                         .name = name_tv,
3716                         .vmux = 3,
3717                         .amux = LINE2,
3718                         .tv   = 1,
3719                 }},
3720                 .radio = {
3721                         .name = name_radio,
3722                         .amux = LINE2,
3723                 },
3724         },
3725         [SAA7134_BOARD_BEHOLD_407] = {
3726                 /*       Beholder Intl. Ltd. 2008      */
3727                 /*Dmitry Belimov <d.belimov@gmail.com> */
3728                 .name           = "Beholder BeholdTV 407",
3729                 .audio_clock    = 0x00187de7,
3730                 .tuner_type     = TUNER_PHILIPS_FM1216ME_MK3,
3731                 .radio_type     = UNSET,
3732                 .tuner_addr     = ADDR_UNSET,
3733                 .radio_addr     = ADDR_UNSET,
3734                 .tda9887_conf   = TDA9887_PRESENT,
3735                 .gpiomask       = 0x00008000,
3736                 .inputs = {{
3737                         .name = name_svideo,
3738                         .vmux = 8,
3739                         .amux = LINE1,
3740                         .gpio = 0xc0c000,
3741                 },{
3742                         .name = name_comp1,
3743                         .vmux = 1,
3744                         .amux = LINE1,
3745                         .gpio = 0xc0c000,
3746                 },{
3747                         .name = name_tv,
3748                         .vmux = 3,
3749                         .amux = TV,
3750                         .tv = 1,
3751                         .gpio = 0xc0c000,
3752                 }},
3753         },
3754         [SAA7134_BOARD_BEHOLD_407FM] = {
3755                 /*       Beholder Intl. Ltd. 2008      */
3756                 /*Dmitry Belimov <d.belimov@gmail.com> */
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       = 0x00008000,
3765                 .inputs = {{
3766                         .name = name_svideo,
3767                         .vmux = 8,
3768                         .amux = LINE1,
3769                         .gpio = 0xc0c000,
3770                 },{
3771                         .name = name_comp1,
3772                         .vmux = 1,
3773                         .amux = LINE1,
3774                         .gpio = 0xc0c000,
3775                 },{
3776                         .name = name_tv,
3777                         .vmux = 3,
3778                         .amux = TV,
3779                         .tv = 1,
3780                         .gpio = 0xc0c000,
3781                 }},
3782                 .radio = {
3783                         .name = name_radio,
3784                         .amux = LINE2,
3785                         .gpio = 0xc0c000,
3786                 },
3787         },
3788         [SAA7134_BOARD_BEHOLD_409] = {
3789                 /*       Beholder Intl. Ltd. 2008      */
3790                 /*Dmitry Belimov <d.belimov@gmail.com> */
3791                 .name           = "Beholder BeholdTV 409",
3792                 .audio_clock    = 0x00187de7,
3793                 .tuner_type     = TUNER_PHILIPS_FM1216ME_MK3,
3794                 .radio_type     = UNSET,
3795                 .tuner_addr     = ADDR_UNSET,
3796                 .radio_addr     = ADDR_UNSET,
3797                 .tda9887_conf   = TDA9887_PRESENT,
3798                 .gpiomask       = 0x00008000,
3799                 .inputs         = {{
3800                         .name = name_tv,
3801                         .vmux = 3,
3802                         .amux = TV,
3803                         .tv   = 1,
3804                 },{
3805                         .name = name_comp1,
3806                         .vmux = 1,
3807                         .amux = LINE1,
3808                 },{
3809                         .name = name_svideo,
3810                         .vmux = 8,
3811                         .amux = LINE1,
3812                 }},
3813         },
3814         [SAA7134_BOARD_BEHOLD_505FM] = {
3815                 /*       Beholder Intl. Ltd. 2008      */
3816                 /*Dmitry Belimov <d.belimov@gmail.com> */
3817                 .name           = "Beholder BeholdTV 505 FM/RDS",
3818                 .audio_clock    = 0x00200000,
3819                 .tuner_type     = TUNER_PHILIPS_FM1216ME_MK3,
3820                 .radio_type     = UNSET,
3821                 .tuner_addr     = ADDR_UNSET,
3822                 .radio_addr     = ADDR_UNSET,
3823                 .tda9887_conf   = TDA9887_PRESENT,
3824                 .gpiomask       = 0x00008000,
3825                 .inputs         = {{
3826                         .name = name_tv,
3827                         .vmux = 3,
3828                         .amux = LINE2,
3829                         .tv   = 1,
3830                 },{
3831                         .name = name_comp1,
3832                         .vmux = 1,
3833                         .amux = LINE1,
3834                 },{
3835                         .name = name_svideo,
3836                         .vmux = 8,
3837                         .amux = LINE1,
3838                 }},
3839                 .mute = {
3840                         .name = name_mute,
3841                         .amux = LINE1,
3842                 },
3843                 .radio = {
3844                         .name = name_radio,
3845                         .amux = LINE2,
3846                 },
3847         },
3848         [SAA7134_BOARD_BEHOLD_507_9FM] = {
3849                 /*       Beholder Intl. Ltd. 2008      */
3850                 /*Dmitry Belimov <d.belimov@gmail.com> */
3851                 .name           = "Beholder BeholdTV 507 FM/RDS / BeholdTV 509 FM",
3852                 .audio_clock    = 0x00187de7,
3853                 .tuner_type     = TUNER_PHILIPS_FM1216ME_MK3,
3854                 .radio_type     = UNSET,
3855                 .tuner_addr     = ADDR_UNSET,
3856                 .radio_addr     = ADDR_UNSET,
3857                 .tda9887_conf   = TDA9887_PRESENT,
3858                 .gpiomask       = 0x00008000,
3859                 .inputs         = {{
3860                         .name = name_tv,
3861                         .vmux = 3,
3862                         .amux = TV,
3863                         .tv   = 1,
3864                 },{
3865                         .name = name_comp1,
3866                         .vmux = 1,
3867                         .amux = LINE1,
3868                 },{
3869                         .name = name_svideo,
3870                         .vmux = 8,
3871                         .amux = LINE1,
3872                 }},
3873                         .radio = {
3874                         .name = name_radio,
3875                         .amux = LINE2,
3876                 },
3877         },
3878         [SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM] = {
3879                 /*       Beholder Intl. Ltd. 2008      */
3880                 /*Dmitry Belimov <d.belimov@gmail.com> */
3881                 .name           = "Beholder BeholdTV Columbus TVFM",
3882                 .audio_clock    = 0x00187de7,
3883                 .tuner_type     = TUNER_ALPS_TSBE5_PAL,
3884                 .radio_type     = UNSET,
3885                 .tuner_addr     = ADDR_UNSET,
3886                 .radio_addr     = ADDR_UNSET,
3887                 .tda9887_conf   = TDA9887_PRESENT,
3888                 .gpiomask       = 0x000A8004,
3889                 .inputs         = {{
3890                         .name = name_tv,
3891                         .vmux = 3,
3892                         .amux = TV,
3893                         .tv   = 1,
3894                         .gpio = 0x000A8004,
3895                 }, {
3896                         .name = name_comp1,
3897                         .vmux = 1,
3898                         .amux = LINE1,
3899                         .gpio = 0x000A8000,
3900                 }, {
3901                         .name = name_svideo,
3902                         .vmux = 8,
3903                         .amux = LINE1,
3904                         .gpio = 0x000A8000,
3905                 } },
3906                 .radio = {
3907                         .name = name_radio,
3908                         .amux = LINE2,
3909                         .gpio = 0x000A8000,
3910                 },
3911         },
3912         [SAA7134_BOARD_BEHOLD_607_9FM] = {
3913                 /* Andrey Melnikoff <temnota@kmv.ru> */
3914                 .name           = "Beholder BeholdTV 607 / BeholdTV 609",
3915                 .audio_clock    = 0x00187de7,
3916                 .tuner_type     = TUNER_PHILIPS_FM1216ME_MK3,
3917                 .radio_type     = UNSET,
3918                 .tuner_addr     = ADDR_UNSET,
3919                 .radio_addr     = ADDR_UNSET,
3920                 .tda9887_conf   = TDA9887_PRESENT,
3921                 .inputs         = {{
3922                         .name = name_tv,
3923                         .vmux = 3,
3924                         .amux = TV,
3925                         .tv   = 1,
3926                 },{
3927                         .name = name_comp1,
3928                         .vmux = 1,
3929                         .amux = LINE1,
3930                 },{
3931                         .name = name_svideo,
3932                         .vmux = 8,
3933                         .amux = LINE1,
3934                 }},
3935                 .radio = {
3936                         .name = name_radio,
3937                         .amux = LINE2,
3938                 },
3939         },
3940         [SAA7134_BOARD_BEHOLD_M6] = {
3941                 /* Igor Kuznetsov <igk@igk.ru> */
3942                 /* Andrey Melnikoff <temnota@kmv.ru> */
3943                 /* Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> */
3944                 .name           = "Beholder BeholdTV M6",
3945                 .audio_clock    = 0x00187de7,
3946                 .tuner_type     = TUNER_PHILIPS_FM1216ME_MK3,
3947                 .radio_type     = UNSET,
3948                 .tuner_addr     = ADDR_UNSET,
3949                 .radio_addr     = ADDR_UNSET,
3950                 .tda9887_conf   = TDA9887_PRESENT,
3951                 .inputs         = { {
3952                         .name = name_tv,
3953                         .vmux = 3,
3954                         .amux = TV,
3955                         .tv   = 1,
3956                 }, {
3957                         .name = name_comp1,
3958                         .vmux = 1,
3959                         .amux = LINE1,
3960                 }, {
3961                         .name = name_svideo,
3962                         .vmux = 8,
3963                         .amux = LINE1,
3964                 } },
3965                 .radio = {
3966                         .name = name_radio,
3967                         .amux = LINE2,
3968                 },
3969                 .mpeg  = SAA7134_MPEG_EMPRESS,
3970                 .video_out = CCIR656,
3971                 .vid_port_opts  = (SET_T_CODE_POLARITY_NON_INVERTED |
3972                                         SET_CLOCK_NOT_DELAYED |
3973                                         SET_CLOCK_INVERTED |
3974                                         SET_VSYNC_OFF),
3975         },
3976         [SAA7134_BOARD_BEHOLD_M63] = {
3977                 /* Igor Kuznetsov <igk@igk.ru> */
3978                 /* Andrey Melnikoff <temnota@kmv.ru> */
3979                 /* Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> */
3980                 .name           = "Beholder BeholdTV M63",
3981                 .audio_clock    = 0x00187de7,
3982                 .tuner_type     = TUNER_PHILIPS_FM1216ME_MK3,
3983                 .radio_type     = UNSET,
3984                 .tuner_addr     = ADDR_UNSET,
3985                 .radio_addr     = ADDR_UNSET,
3986                 .tda9887_conf   = TDA9887_PRESENT,
3987                 .inputs         = { {
3988                         .name = name_tv,
3989                         .vmux = 3,
3990                         .amux = TV,
3991                         .tv   = 1,
3992                 }, {
3993                         .name = name_comp1,
3994                         .vmux = 1,
3995                         .amux = LINE1,
3996                 }, {
3997                         .name = name_svideo,
3998                         .vmux = 8,
3999                         .amux = LINE1,
4000                 } },
4001                 .radio = {
4002                         .name = name_radio,
4003                         .amux = LINE2,
4004                 },
4005                 .mpeg  = SAA7134_MPEG_EMPRESS,
4006                 .video_out = CCIR656,
4007                 .vid_port_opts  = (SET_T_CODE_POLARITY_NON_INVERTED |
4008                                         SET_CLOCK_NOT_DELAYED |
4009                                         SET_CLOCK_INVERTED |
4010                                         SET_VSYNC_OFF),
4011         },
4012         [SAA7134_BOARD_BEHOLD_M6_EXTRA] = {
4013                 /* Igor Kuznetsov <igk@igk.ru> */
4014                 /* Andrey Melnikoff <temnota@kmv.ru> */
4015                 /* Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> */
4016                 .name           = "Beholder BeholdTV M6 Extra",
4017                 .audio_clock    = 0x00187de7,
4018                 /* FIXME: Must be PHILIPS_FM1216ME_MK5*/
4019                 .tuner_type     = TUNER_PHILIPS_FM1216ME_MK3,
4020                 .radio_type     = UNSET,
4021                 .tuner_addr     = ADDR_UNSET,
4022                 .radio_addr     = ADDR_UNSET,
4023                 .tda9887_conf   = TDA9887_PRESENT,
4024                 .inputs         = { {
4025                         .name = name_tv,
4026                         .vmux = 3,
4027                         .amux = TV,
4028                         .tv   = 1,
4029                 }, {
4030                         .name = name_comp1,
4031                         .vmux = 1,
4032                         .amux = LINE1,
4033                 }, {
4034                         .name = name_svideo,
4035                         .vmux = 8,
4036                         .amux = LINE1,
4037                 } },
4038                 .radio = {
4039                         .name = name_radio,
4040                         .amux = LINE2,
4041                 },
4042                 .mpeg  = SAA7134_MPEG_EMPRESS,
4043                 .video_out = CCIR656,
4044                 .vid_port_opts  = (SET_T_CODE_POLARITY_NON_INVERTED |
4045                                         SET_CLOCK_NOT_DELAYED |
4046                                         SET_CLOCK_INVERTED |
4047                                         SET_VSYNC_OFF),
4048         },
4049         [SAA7134_BOARD_TWINHAN_DTV_DVB_3056] = {
4050                 .name           = "Twinhan Hybrid DTV-DVB 3056 PCI",
4051                 .audio_clock    = 0x00187de7,
4052                 .tuner_type     = TUNER_PHILIPS_TDA8290,
4053                 .radio_type     = UNSET,
4054                 .tuner_addr     = ADDR_UNSET,
4055                 .radio_addr     = ADDR_UNSET,
4056                 .tuner_config   = 2,
4057                 .mpeg           = SAA7134_MPEG_DVB,
4058                 .gpiomask       = 0x0200000,
4059                 .inputs = {{
4060                         .name   = name_tv,
4061                         .vmux   = 1,
4062                         .amux   = TV,
4063                         .tv     = 1,
4064                 }, {
4065                         .name   = name_comp1,
4066                         .vmux   = 3,
4067                         .amux   = LINE1,
4068                 }, {
4069                         .name   = name_svideo,
4070                         .vmux   = 8,            /* untested */
4071                         .amux   = LINE1,
4072                 } },
4073                 .radio = {
4074                         .name   = name_radio,
4075                         .amux   = TV,
4076                         .gpio   = 0x0200000,
4077                 },
4078         },
4079         [SAA7134_BOARD_GENIUS_TVGO_A11MCE] = {
4080                 /* Adrian Pardini <pardo.bsso@gmail.com> */
4081                 .name           = "Genius TVGO AM11MCE",
4082                 .audio_clock    = 0x00200000,
4083                 .tuner_type     = TUNER_TNF_5335MF,
4084                 .radio_type     = UNSET,
4085                 .tuner_addr     = ADDR_UNSET,
4086                 .radio_addr     = ADDR_UNSET,
4087                 .gpiomask       = 0xf000,
4088                 .inputs         = {{
4089                         .name = name_tv_mono,
4090                         .vmux = 1,
4091                         .amux = LINE2,
4092                         .gpio = 0x0000,
4093                         .tv   = 1,
4094                 }, {
4095                         .name = name_comp1,
4096                         .vmux = 3,
4097                         .amux = LINE1,
4098                         .gpio = 0x2000,
4099                         .tv = 1
4100                 }, {
4101                         .name = name_svideo,
4102                         .vmux = 8,
4103                         .amux = LINE1,
4104                         .gpio = 0x2000,
4105         } },
4106                 .radio = {
4107                         .name = name_radio,
4108                         .amux = LINE2,
4109                         .gpio = 0x1000,
4110                 },
4111                 .mute = {
4112                         .name = name_mute,
4113                         .amux = LINE2,
4114                         .gpio = 0x6000,
4115                 },
4116         },
4117         [SAA7134_BOARD_PHILIPS_SNAKE] = {
4118                 .name           = "NXP Snake DVB-S reference design",
4119                 .audio_clock    = 0x00200000,
4120                 .tuner_type     = TUNER_ABSENT,
4121                 .radio_type     = UNSET,
4122                 .tuner_addr     = ADDR_UNSET,
4123                 .radio_addr     = ADDR_UNSET,
4124                 .mpeg           = SAA7134_MPEG_DVB,
4125                 .inputs = {{
4126                         .name   = name_comp1,
4127                         .vmux   = 3,
4128                         .amux   = LINE1,
4129                 }, {
4130                         .name   = name_svideo,
4131                         .vmux   = 8,
4132                         .amux   = LINE1,
4133                 } },
4134         },
4135         [SAA7134_BOARD_CREATIX_CTX953] = {
4136                 .name         = "Medion/Creatix CTX953 Hybrid",
4137                 .audio_clock  = 0x00187de7,
4138                 .tuner_type   = TUNER_PHILIPS_TDA8290,
4139                 .radio_type   = UNSET,
4140                 .tuner_addr   = ADDR_UNSET,
4141                 .radio_addr   = ADDR_UNSET,
4142                 .tuner_config = 0,
4143                 .mpeg         = SAA7134_MPEG_DVB,
4144                 .inputs       = {{
4145                         .name = name_tv,
4146                         .vmux = 1,
4147                         .amux = TV,
4148                         .tv   = 1,
4149                 }, {
4150                         .name = name_comp1,
4151                         .vmux = 0,
4152                         .amux = LINE1,
4153                 }, {
4154                         .name = name_svideo,
4155                         .vmux = 8,
4156                         .amux = LINE1,
4157                 } },
4158         },
4159         [SAA7134_BOARD_MSI_TVANYWHERE_AD11] = {
4160                 .name           = "MSI TV@nywhere A/D v1.1",
4161                 .audio_clock    = 0x00187de7,
4162                 .tuner_type     = TUNER_PHILIPS_TDA8290,
4163                 .radio_type     = UNSET,
4164                 .tuner_addr     = ADDR_UNSET,
4165                 .radio_addr     = ADDR_UNSET,
4166                 .tuner_config   = 2,
4167                 .mpeg           = SAA7134_MPEG_DVB,
4168                 .gpiomask       = 0x0200000,
4169                 .inputs = { {
4170                         .name   = name_tv,
4171                         .vmux   = 1,
4172                         .amux   = TV,
4173                         .tv     = 1,
4174                 }, {
4175                         .name   = name_comp1,
4176                         .vmux   = 3,
4177                         .amux   = LINE1,
4178                 }, {
4179                         .name   = name_svideo,
4180                         .vmux   = 8,
4181                         .amux   = LINE1,
4182                 } },
4183                 .radio = {
4184                         .name   = name_radio,
4185                         .amux   = TV,
4186                         .gpio   = 0x0200000,
4187                 },
4188         },
4189         [SAA7134_BOARD_AVERMEDIA_CARDBUS_506] = {
4190                 .name           = "AVerMedia Cardbus TV/Radio (E506R)",
4191                 .audio_clock    = 0x187de7,
4192                 .tuner_type     = TUNER_XC2028,
4193                 .radio_type     = UNSET,
4194                 .tuner_addr     = ADDR_UNSET,
4195                 .radio_addr     = ADDR_UNSET,
4196                  .mpeg           = SAA7134_MPEG_DVB,
4197                  .inputs         = {{
4198                          .name = name_tv,
4199                          .vmux = 1,
4200                          .amux = TV,
4201                          .tv   = 1,
4202                  }, {
4203                          .name = name_comp1,
4204                          .vmux = 3,
4205                          .amux = LINE2,
4206                  }, {
4207                          .name = name_svideo,
4208                          .vmux = 8,
4209                          .amux = LINE1,
4210                  } },
4211                  .radio = {
4212                          .name = name_radio,
4213                          .amux = TV,
4214                  },
4215         },
4216         [SAA7134_BOARD_AVERMEDIA_A16D] = {
4217                 .name           = "AVerMedia Hybrid TV/Radio (A16D)",
4218                 .audio_clock    = 0x187de7,
4219                 .tuner_type     = TUNER_XC2028,
4220                 .radio_type     = UNSET,
4221                 .tuner_addr     = ADDR_UNSET,
4222                 .radio_addr     = ADDR_UNSET,
4223                 .inputs         = {{
4224                         .name = name_tv,
4225                         .vmux = 1,
4226                         .amux = TV,
4227                         .tv   = 1,
4228                 }, {
4229                         .name = name_svideo,
4230                         .vmux = 8,
4231                         .amux = LINE1,
4232                 } },
4233                 .radio = {
4234                         .name = name_radio,
4235                         .amux = TV,
4236                 },
4237         },
4238         [SAA7134_BOARD_AVERMEDIA_M115] = {
4239                 .name           = "Avermedia M115",
4240                 .audio_clock    = 0x187de7,
4241                 .tuner_type     = TUNER_XC2028,
4242                 .radio_type     = UNSET,
4243                 .tuner_addr     = ADDR_UNSET,
4244                 .radio_addr     = ADDR_UNSET,
4245                 .mpeg           = SAA7134_MPEG_DVB,
4246                 .inputs         = {{
4247                         .name = name_tv,
4248                         .vmux = 1,
4249                         .amux = TV,
4250                         .tv   = 1,
4251                 }, {
4252                         .name = name_comp1,
4253                         .vmux = 3,
4254                         .amux = LINE1,
4255                 }, {
4256                         .name = name_svideo,
4257                         .vmux = 8,
4258                         .amux = LINE2,
4259                 } },
4260         },
4261         [SAA7134_BOARD_VIDEOMATE_T750] = {
4262                 /* John Newbigin <jn@it.swin.edu.au> */
4263                 .name           = "Compro VideoMate T750",
4264                 .audio_clock    = 0x00187de7,
4265                 .tuner_type     = TUNER_XC2028,
4266                 .radio_type     = UNSET,
4267                 .tuner_addr     = ADDR_UNSET,
4268                 .radio_addr     = ADDR_UNSET,
4269                 .mpeg           = SAA7134_MPEG_DVB,
4270                 .inputs = {{
4271                         .name   = name_tv,
4272                         .vmux   = 3,
4273                         .amux   = TV,
4274                         .tv     = 1,
4275                 }, {
4276                         .name   = name_comp1,
4277                         .vmux   = 1,
4278                         .amux   = LINE2,
4279                 }, {
4280                         .name   = name_svideo,
4281                         .vmux   = 8,
4282                         .amux   = LINE2,
4283                 } },
4284                 .radio = {
4285                         .name = name_radio,
4286                         .amux = TV,
4287                 }
4288         },
4289         [SAA7134_BOARD_AVERMEDIA_A700_PRO] = {
4290                 /* Matthias Schwarzott <zzam@gentoo.org> */
4291                 .name           = "Avermedia DVB-S Pro A700",
4292                 .audio_clock    = 0x00187de7,
4293                 .tuner_type     = TUNER_ABSENT,
4294                 .radio_type     = UNSET,
4295                 .tuner_addr     = ADDR_UNSET,
4296                 .radio_addr     = ADDR_UNSET,
4297                 /* no DVB support for now */
4298                 /* .mpeg           = SAA7134_MPEG_DVB, */
4299                 .inputs         = { {
4300                         .name = name_comp,
4301                         .vmux = 1,
4302                         .amux = LINE1,
4303                 }, {
4304                         .name = name_svideo,
4305                         .vmux = 6,
4306                         .amux = LINE1,
4307                 } },
4308         },
4309         [SAA7134_BOARD_AVERMEDIA_A700_HYBRID] = {
4310                 /* Matthias Schwarzott <zzam@gentoo.org> */
4311                 .name           = "Avermedia DVB-S Hybrid+FM A700",
4312                 .audio_clock    = 0x00187de7,
4313                 .tuner_type     = TUNER_ABSENT, /* TUNER_XC2028 */
4314                 .radio_type     = UNSET,
4315                 .tuner_addr     = ADDR_UNSET,
4316                 .radio_addr     = ADDR_UNSET,
4317                 /* no DVB support for now */
4318                 /* .mpeg           = SAA7134_MPEG_DVB, */
4319                 .inputs         = { {
4320                         .name = name_comp,
4321                         .vmux = 1,
4322                         .amux = LINE1,
4323                 }, {
4324                         .name = name_svideo,
4325                         .vmux = 6,
4326                         .amux = LINE1,
4327                 } },
4328         },
4329         [SAA7134_BOARD_BEHOLD_H6] = {
4330                 /* Igor Kuznetsov <igk@igk.ru> */
4331                 .name           = "Beholder BeholdTV H6",
4332                 .audio_clock    = 0x00187de7,
4333                 .tuner_type     = TUNER_PHILIPS_FMD1216ME_MK3,
4334                 .radio_type     = UNSET,
4335                 .tuner_addr     = ADDR_UNSET,
4336                 .radio_addr     = ADDR_UNSET,
4337                 .tda9887_conf   = TDA9887_PRESENT,
4338                 .inputs         = {{
4339                         .name = name_tv,
4340                         .vmux = 3,
4341                         .amux = TV,
4342                         .tv   = 1,
4343                 }, {
4344                         .name = name_comp1,
4345                         .vmux = 1,
4346                         .amux = LINE1,
4347                 }, {
4348                         .name = name_svideo,
4349                         .vmux = 8,
4350                         .amux = LINE1,
4351                 } },
4352                 .radio = {
4353                         .name = name_radio,
4354                         .amux = LINE2,
4355                 },
4356                 /* no DVB support for now */
4357                 /* .mpeg           = SAA7134_MPEG_DVB, */
4358         },
4359 };
4360
4361 const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards);
4362
4363 /* ------------------------------------------------------------------ */
4364 /* PCI ids + subsystem IDs                                            */
4365
4366 struct pci_device_id saa7134_pci_tbl[] = {
4367         {
4368                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4369                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7134,
4370                 .subvendor    = PCI_VENDOR_ID_PHILIPS,
4371                 .subdevice    = 0x2001,
4372                 .driver_data  = SAA7134_BOARD_PROTEUS_PRO,
4373         },{
4374                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4375                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7133,
4376                 .subvendor    = PCI_VENDOR_ID_PHILIPS,
4377                 .subdevice    = 0x2001,
4378                 .driver_data  = SAA7134_BOARD_PROTEUS_PRO,
4379         },{
4380                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4381                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7134,
4382                 .subvendor    = PCI_VENDOR_ID_PHILIPS,
4383                 .subdevice    = 0x6752,
4384                 .driver_data  = SAA7134_BOARD_EMPRESS,
4385         },{
4386                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4387                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7134,
4388                 .subvendor    = 0x1131,
4389                 .subdevice    = 0x4e85,
4390                 .driver_data  = SAA7134_BOARD_MONSTERTV,
4391         },{
4392                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4393                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7134,
4394                 .subvendor    = 0x153b,
4395                 .subdevice    = 0x1142,
4396                 .driver_data  = SAA7134_BOARD_CINERGY400,
4397         },{
4398                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4399                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7134,
4400                 .subvendor    = 0x153b,
4401                 .subdevice    = 0x1143,
4402                 .driver_data  = SAA7134_BOARD_CINERGY600,
4403         },{
4404                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4405                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7134,
4406                 .subvendor    = 0x153b,
4407                 .subdevice    = 0x1158,
4408                 .driver_data  = SAA7134_BOARD_CINERGY600_MK3,
4409         },{
4410                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4411                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7133,
4412                 .subvendor    = 0x153b,
4413                 .subdevice    = 0x1162,
4414                 .driver_data  = SAA7134_BOARD_CINERGY400_CARDBUS,
4415         },{
4416                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4417                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7134,
4418                 .subvendor    = 0x5169,
4419                 .subdevice    = 0x0138,
4420                 .driver_data  = SAA7134_BOARD_FLYVIDEO3000_NTSC,
4421         },{
4422                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4423                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7134,
4424                 .subvendor    = 0x5168,
4425                 .subdevice    = 0x0138,
4426                 .driver_data  = SAA7134_BOARD_FLYVIDEO3000,
4427         },{
4428                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4429                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7134,
4430                 .subvendor    = 0x4e42,                         /* "Typhoon PCI Capture TV Card" Art.No. 50673 */
4431                 .subdevice    = 0x0138,
4432                 .driver_data  = SAA7134_BOARD_FLYVIDEO3000,
4433         },{
4434                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4435                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7130,
4436                 .subvendor    = 0x5168,
4437                 .subdevice    = 0x0138,
4438                 .driver_data  = SAA7134_BOARD_FLYVIDEO2000,
4439         },{
4440                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4441                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7130,
4442                 .subvendor    = 0x4e42,         /* Typhoon */
4443                 .subdevice    = 0x0138,         /* LifeView FlyTV Prime30 OEM */
4444                 .driver_data  = SAA7134_BOARD_FLYVIDEO2000,
4445         },{
4446                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4447                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7133,
4448                 .subvendor    = 0x5168,
4449                 .subdevice    = 0x0212, /* minipci, LR212 */
4450                 .driver_data  = SAA7134_BOARD_FLYTVPLATINUM_MINI,
4451         },{
4452                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4453                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7133,
4454                 .subvendor    = 0x14c0,
4455                 .subdevice    = 0x1212, /* minipci, LR1212 */
4456                 .driver_data  = SAA7134_BOARD_FLYTVPLATINUM_MINI2,
4457         },{
4458                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4459                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7133,
4460                 .subvendor    = 0x4e42,
4461                 .subdevice    = 0x0212, /* OEM minipci, LR212 */
4462                 .driver_data  = SAA7134_BOARD_FLYTVPLATINUM_MINI,
4463         },{
4464                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4465                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7133,
4466                 .subvendor    = 0x5168, /* Animation Technologies (LifeView) */
4467                 .subdevice    = 0x0214, /* Standard PCI, LR214 Rev E and earlier (SAA7135) */
4468                 .driver_data  = SAA7134_BOARD_FLYTVPLATINUM_FM,
4469         },{
4470                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4471                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7133,
4472                 .subvendor    = 0x5168, /* Animation Technologies (LifeView) */
4473                 .subdevice    = 0x5214, /* Standard PCI, LR214 Rev F onwards (SAA7131) */
4474                 .driver_data  = SAA7134_BOARD_FLYTVPLATINUM_FM,
4475         },{
4476                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4477                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7133,
4478                 .subvendor    = 0x1489, /* KYE */
4479                 .subdevice    = 0x0214, /* Genius VideoWonder ProTV */
4480                 .driver_data  = SAA7134_BOARD_FLYTVPLATINUM_FM, /* is an LR214WF actually */
4481         },{
4482                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4483                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7134,
4484                 .subvendor    = 0x16be,
4485                 .subdevice    = 0x0003,
4486                 .driver_data  = SAA7134_BOARD_MD7134,
4487         },{
4488                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4489                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7130,
4490                 .subvendor    = 0x1048,
4491                 .subdevice    = 0x226b,
4492                 .driver_data  = SAA7134_BOARD_ELSA,
4493         },{
4494                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4495                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7130,
4496                 .subvendor    = 0x1048,
4497                 .subdevice    = 0x226a,
4498                 .driver_data  = SAA7134_BOARD_ELSA_500TV,
4499         },{
4500                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4501                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7130,
4502                 .subvendor    = 0x1048,
4503                 .subdevice    = 0x226c,
4504                 .driver_data  = SAA7134_BOARD_ELSA_700TV,
4505         },{
4506                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4507                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7134,
4508                 .subvendor    = PCI_VENDOR_ID_ASUSTEK,
4509                 .subdevice    = 0x4842,
4510                 .driver_data  = SAA7134_BOARD_ASUSTeK_TVFM7134,
4511         },{
4512                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4513                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7133,
4514                 .subvendor    = PCI_VENDOR_ID_ASUSTEK,
4515                 .subdevice    = 0x4845,
4516                 .driver_data  = SAA7134_BOARD_ASUSTeK_TVFM7135,
4517         },{
4518                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4519                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7134,
4520                 .subvendor    = PCI_VENDOR_ID_ASUSTEK,
4521                 .subdevice    = 0x4830,
4522                 .driver_data  = SAA7134_BOARD_ASUSTeK_TVFM7134,
4523         },{
4524                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4525                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7133,
4526                 .subvendor    = PCI_VENDOR_ID_ASUSTEK,
4527                 .subdevice    = 0x4843,
4528                 .driver_data  = SAA7134_BOARD_ASUSTEK_TVFM7133,
4529         },{
4530                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4531                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7134,
4532                 .subvendor    = PCI_VENDOR_ID_ASUSTEK,
4533                 .subdevice    = 0x4840,
4534                 .driver_data  = SAA7134_BOARD_ASUSTeK_TVFM7134,
4535         },{
4536                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4537                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7134,
4538                 .subvendor    = PCI_VENDOR_ID_PHILIPS,
4539                 .subdevice    = 0xfe01,
4540                 .driver_data  = SAA7134_BOARD_TVSTATION_RDS,
4541         },{
4542                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4543                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7134,
4544                 .subvendor    = 0x1894,
4545                 .subdevice    = 0xfe01,
4546                 .driver_data  = SAA7134_BOARD_TVSTATION_RDS,
4547         },{
4548                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4549                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7134,
4550                 .subvendor    = 0x1894,
4551                 .subdevice    = 0xa006,
4552                 .driver_data  = SAA7134_BOARD_TVSTATION_DVR,
4553         },{
4554                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4555                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7134,
4556                 .subvendor    = 0x1131,
4557                 .subdevice    = 0x7133,
4558                 .driver_data  = SAA7134_BOARD_VA1000POWER,
4559         },{
4560                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4561                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7130,
4562                 .subvendor    = PCI_VENDOR_ID_PHILIPS,
4563                 .subdevice    = 0x2001,
4564                 .driver_data  = SAA7134_BOARD_10MOONSTVMASTER,
4565         },{
4566                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4567                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7133,
4568                 .subvendor    = 0x185b,
4569                 .subdevice    = 0xc100,
4570                 .driver_data  = SAA7134_BOARD_VIDEOMATE_TV,
4571         },{
4572                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4573                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7133,
4574                 .subvendor    = 0x185b,
4575                 .subdevice    = 0xc100,
4576                 .driver_data  = SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS,
4577         },{
4578                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4579                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7130,
4580                 .subvendor    = PCI_VENDOR_ID_MATROX,
4581                 .subdevice    = 0x48d0,
4582                 .driver_data  = SAA7134_BOARD_CRONOS_PLUS,
4583         },{
4584                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4585                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7134,
4586                 .subvendor    = 0x1461, /* Avermedia Technologies Inc */
4587                 .subdevice    = 0xa70b,
4588                 .driver_data  = SAA7134_BOARD_MD2819,
4589         },{
4590                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4591                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7133,
4592                 .subvendor    = 0x1461, /* Avermedia Technologies Inc */
4593                 .subdevice    = 0xa7a1,
4594                 .driver_data  = SAA7134_BOARD_AVERMEDIA_A700_PRO,
4595         }, {
4596                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4597                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7133,
4598                 .subvendor    = 0x1461, /* Avermedia Technologies Inc */
4599                 .subdevice    = 0xa7a2,
4600                 .driver_data  = SAA7134_BOARD_AVERMEDIA_A700_HYBRID,
4601         }, {
4602                 .vendor       = PCI_VENDOR_ID_PHILIPS,
4603                 .device       = PCI_DEVICE_ID_PHILIPS_SAA7130,
4604                 .subvendor    = 0x1461, /* Avermedia Technologies Inc */
4605                 .subdevice    = 0x2115,
4606     &n