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