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