3 * device driver for philips saa7134 based TV cards
6 * (c) 2001-04 Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 #include <linux/init.h>
24 #include <linux/module.h>
25 #include <linux/i2c.h>
26 #include <linux/i2c-algo-bit.h>
28 #include "saa7134-reg.h"
30 #include "tuner-xc2028.h"
31 #include <media/v4l2-common.h>
32 #include <media/tveeprom.h>
35 /* commly used strings */
36 static char name_mute[] = "mute";
37 static char name_radio[] = "Radio";
38 static char name_tv[] = "Television";
39 static char name_tv_mono[] = "TV (mono only)";
40 static char name_comp[] = "Composite";
41 static char name_comp1[] = "Composite1";
42 static char name_comp2[] = "Composite2";
43 static char name_comp3[] = "Composite3";
44 static char name_comp4[] = "Composite4";
45 static char name_svideo[] = "S-Video";
47 /* ------------------------------------------------------------------ */
48 /* board config info */
50 /* If radio_type !=UNSET, radio_addr should be specified
53 struct saa7134_board saa7134_boards[] = {
54 [SAA7134_BOARD_UNKNOWN] = {
55 .name = "UNKNOWN/GENERIC",
56 .audio_clock = 0x00187de7,
57 .tuner_type = TUNER_ABSENT,
59 .tuner_addr = ADDR_UNSET,
60 .radio_addr = ADDR_UNSET,
68 [SAA7134_BOARD_PROTEUS_PRO] = {
70 .name = "Proteus Pro [philips reference design]",
71 .audio_clock = 0x00187de7,
72 .tuner_type = TUNER_PHILIPS_PAL,
74 .tuner_addr = ADDR_UNSET,
75 .radio_addr = ADDR_UNSET,
97 [SAA7134_BOARD_FLYVIDEO3000] = {
98 /* "Marco d'Itri" <md@Linux.IT> */
99 .name = "LifeView FlyVIDEO3000",
100 .audio_clock = 0x00200000,
101 .tuner_type = TUNER_PHILIPS_PAL,
103 .tuner_addr = ADDR_UNSET,
104 .radio_addr = ADDR_UNSET,
114 .name = name_tv_mono,
146 [SAA7134_BOARD_FLYVIDEO2000] = {
147 /* "TC Wan" <tcwan@cs.usm.my> */
148 .name = "LifeView/Typhoon FlyVIDEO2000",
149 .audio_clock = 0x00200000,
150 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
152 .tuner_addr = ADDR_UNSET,
153 .radio_addr = ADDR_UNSET,
189 [SAA7134_BOARD_FLYTVPLATINUM_MINI] = {
190 /* "Arnaud Quette" <aquette@free.fr> */
191 .name = "LifeView FlyTV Platinum Mini",
192 .audio_clock = 0x00200000,
193 .tuner_type = TUNER_PHILIPS_TDA8290,
195 .tuner_addr = ADDR_UNSET,
196 .radio_addr = ADDR_UNSET,
204 .name = name_comp1, /* Composite signal on S-Video input */
208 .name = name_comp2, /* Composite input */
217 [SAA7134_BOARD_FLYTVPLATINUM_FM] = {
218 /* LifeView FlyTV Platinum FM (LR214WF) */
219 /* "Peter Missel <peter.missel@onlinehome.de> */
220 .name = "LifeView FlyTV Platinum FM / Gold",
221 .audio_clock = 0x00200000,
222 .tuner_type = TUNER_PHILIPS_TDA8290,
224 .tuner_addr = ADDR_UNSET,
225 .radio_addr = ADDR_UNSET,
227 .gpiomask = 0x1E000, /* Set GP16 and unused 15,14,13 to Output */
232 .gpio = 0x10000, /* GP16=1 selects TV input */
235 /* .name = name_tv_mono,
241 */ .name = name_comp1, /* Composite signal on S-Video input */
244 /* .gpio = 0x4000, */
246 .name = name_comp2, /* Composite input */
249 /* .gpio = 0x4000, */
251 .name = name_svideo, /* S-Video signal on S-Video input */
254 /* .gpio = 0x4000, */
259 .gpio = 0x00000, /* GP16=0 selects FM radio antenna */
267 [SAA7134_BOARD_EMPRESS] = {
268 /* "Gert Vervoort" <gert.vervoort@philips.com> */
270 .audio_clock = 0x00187de7,
271 .tuner_type = TUNER_PHILIPS_PAL,
273 .tuner_addr = ADDR_UNSET,
274 .radio_addr = ADDR_UNSET,
294 .mpeg = SAA7134_MPEG_EMPRESS,
295 .video_out = CCIR656,
297 [SAA7134_BOARD_MONSTERTV] = {
298 /* "K.Ohta" <alpha292@bremen.or.jp> */
299 .name = "SKNet Monster TV",
300 .audio_clock = 0x00187de7,
301 .tuner_type = TUNER_PHILIPS_NTSC_M,
303 .tuner_addr = ADDR_UNSET,
304 .radio_addr = ADDR_UNSET,
325 [SAA7134_BOARD_MD9717] = {
326 .name = "Tevion MD 9717",
327 .audio_clock = 0x00200000,
328 .tuner_type = TUNER_PHILIPS_PAL,
330 .tuner_addr = ADDR_UNSET,
331 .radio_addr = ADDR_UNSET,
338 /* workaround for problems with normal TV sound */
339 .name = name_tv_mono,
365 [SAA7134_BOARD_TVSTATION_RDS] = {
366 /* Typhoon TV Tuner RDS: Art.Nr. 50694 */
367 .name = "KNC One TV-Station RDS / Typhoon TV Tuner RDS",
368 .audio_clock = 0x00200000,
369 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
371 .tuner_addr = ADDR_UNSET,
372 .radio_addr = ADDR_UNSET,
373 .tda9887_conf = TDA9887_PRESENT,
380 .name = name_tv_mono,
395 .name = "CVid over SVid",
404 [SAA7134_BOARD_TVSTATION_DVR] = {
405 .name = "KNC One TV-Station DVR",
406 .audio_clock = 0x00200000,
407 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
409 .tuner_addr = ADDR_UNSET,
410 .radio_addr = ADDR_UNSET,
411 .tda9887_conf = TDA9887_PRESENT,
412 .gpiomask = 0x820000,
435 .mpeg = SAA7134_MPEG_EMPRESS,
436 .video_out = CCIR656,
438 [SAA7134_BOARD_CINERGY400] = {
439 .name = "Terratec Cinergy 400 TV",
440 .audio_clock = 0x00200000,
441 .tuner_type = TUNER_PHILIPS_PAL,
443 .tuner_addr = ADDR_UNSET,
444 .radio_addr = ADDR_UNSET,
459 .name = name_comp2, /* CVideo over SVideo Connector */
464 [SAA7134_BOARD_MD5044] = {
465 .name = "Medion 5044",
466 .audio_clock = 0x00187de7, /* was: 0x00200000, */
467 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
469 .tuner_addr = ADDR_UNSET,
470 .radio_addr = ADDR_UNSET,
471 .tda9887_conf = TDA9887_PRESENT,
478 /* workaround for problems with normal TV sound */
479 .name = name_tv_mono,
501 [SAA7134_BOARD_KWORLD] = {
502 .name = "Kworld/KuroutoShikou SAA7130-TVPCI",
503 .audio_clock = 0x00187de7,
504 .tuner_type = TUNER_PHILIPS_NTSC_M,
506 .tuner_addr = ADDR_UNSET,
507 .radio_addr = ADDR_UNSET,
523 [SAA7134_BOARD_CINERGY600] = {
524 .name = "Terratec Cinergy 600 TV",
525 .audio_clock = 0x00200000,
526 .tuner_type = TUNER_PHILIPS_PAL,
528 .tuner_addr = ADDR_UNSET,
529 .radio_addr = ADDR_UNSET,
530 .tda9887_conf = TDA9887_PRESENT,
545 .name = name_comp2, /* CVideo over SVideo Connector */
554 [SAA7134_BOARD_MD7134] = {
555 .name = "Medion 7134",
556 .audio_clock = 0x00187de7,
557 .tuner_type = TUNER_PHILIPS_FMD1216ME_MK3,
559 .tuner_addr = ADDR_UNSET,
560 .radio_addr = ADDR_UNSET,
561 .tda9887_conf = TDA9887_PRESENT,
562 .mpeg = SAA7134_MPEG_DVB,
586 [SAA7134_BOARD_TYPHOON_90031] = {
587 /* aka Typhoon "TV+Radio", Art.Nr 90031 */
588 /* Tom Zoerner <tomzo at users sourceforge net> */
589 .name = "Typhoon TV+Radio 90031",
590 .audio_clock = 0x00200000,
591 .tuner_type = TUNER_PHILIPS_PAL,
593 .tuner_addr = ADDR_UNSET,
594 .radio_addr = ADDR_UNSET,
595 .tda9887_conf = TDA9887_PRESENT,
615 [SAA7134_BOARD_ELSA] = {
616 .name = "ELSA EX-VISION 300TV",
617 .audio_clock = 0x00187de7,
618 .tuner_type = TUNER_HITACHI_NTSC,
620 .tuner_addr = ADDR_UNSET,
621 .radio_addr = ADDR_UNSET,
637 [SAA7134_BOARD_ELSA_500TV] = {
638 .name = "ELSA EX-VISION 500TV",
639 .audio_clock = 0x00187de7,
640 .tuner_type = TUNER_HITACHI_NTSC,
642 .tuner_addr = ADDR_UNSET,
643 .radio_addr = ADDR_UNSET,
654 .name = name_tv_mono,
660 [SAA7134_BOARD_ELSA_700TV] = {
661 .name = "ELSA EX-VISION 700TV",
662 .audio_clock = 0x00187de7,
663 .tuner_type = TUNER_HITACHI_NTSC,
665 .tuner_addr = ADDR_UNSET,
666 .radio_addr = ADDR_UNSET,
686 [SAA7134_BOARD_ASUSTeK_TVFM7134] = {
687 .name = "ASUS TV-FM 7134",
688 .audio_clock = 0x00187de7,
689 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
691 .tuner_addr = ADDR_UNSET,
692 .radio_addr = ADDR_UNSET,
693 .tda9887_conf = TDA9887_PRESENT,
713 [SAA7134_BOARD_ASUSTeK_TVFM7135] = {
714 .name = "ASUS TV-FM 7135",
715 .audio_clock = 0x00187de7,
716 .tuner_type = TUNER_PHILIPS_TDA8290,
718 .tuner_addr = ADDR_UNSET,
719 .radio_addr = ADDR_UNSET,
720 .gpiomask = 0x200000,
749 [SAA7134_BOARD_VA1000POWER] = {
750 .name = "AOPEN VA1000 POWER",
751 .audio_clock = 0x00187de7,
752 .tuner_type = TUNER_PHILIPS_NTSC,
754 .tuner_addr = ADDR_UNSET,
755 .radio_addr = ADDR_UNSET,
771 [SAA7134_BOARD_10MOONSTVMASTER] = {
772 /* "lilicheng" <llc@linuxfans.org> */
773 .name = "10MOONS PCI TV CAPTURE CARD",
774 .audio_clock = 0x00200000,
775 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
777 .tuner_addr = ADDR_UNSET,
778 .radio_addr = ADDR_UNSET,
813 [SAA7134_BOARD_BMK_MPEX_NOTUNER] = {
814 /* "Andrew de Quincey" <adq@lidskialf.net> */
815 .name = "BMK MPEX No Tuner",
816 .audio_clock = 0x200000,
817 .tuner_type = TUNER_ABSENT,
819 .tuner_addr = ADDR_UNSET,
820 .radio_addr = ADDR_UNSET,
842 .mpeg = SAA7134_MPEG_EMPRESS,
843 .video_out = CCIR656,
845 [SAA7134_BOARD_VIDEOMATE_TV] = {
846 .name = "Compro VideoMate TV",
847 .audio_clock = 0x00187de7,
848 .tuner_type = TUNER_PHILIPS_NTSC_M,
850 .tuner_addr = ADDR_UNSET,
851 .radio_addr = ADDR_UNSET,
867 [SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS] = {
868 .name = "Compro VideoMate TV Gold+",
869 .audio_clock = 0x00187de7,
870 .tuner_type = TUNER_PHILIPS_NTSC_M,
871 .gpiomask = 0x800c0000,
873 .tuner_addr = ADDR_UNSET,
874 .radio_addr = ADDR_UNSET,
891 }}, /* radio and probably mute is missing */
893 [SAA7134_BOARD_CRONOS_PLUS] = {
902 .name = "Matrox CronosPlus",
903 .tuner_type = TUNER_ABSENT,
905 .tuner_addr = ADDR_UNSET,
906 .radio_addr = ADDR_UNSET,
930 [SAA7134_BOARD_MD2819] = {
931 .name = "AverMedia M156 / Medion 2819",
932 .audio_clock = 0x00187de7,
933 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
935 .tuner_addr = ADDR_UNSET,
936 .radio_addr = ADDR_UNSET,
937 .tda9887_conf = TDA9887_PRESENT,
972 [SAA7134_BOARD_BMK_MPEX_TUNER] = {
973 /* "Greg Wickham <greg.wickham@grangenet.net> */
974 .name = "BMK MPEX Tuner",
975 .audio_clock = 0x200000,
976 .tuner_type = TUNER_PHILIPS_PAL,
978 .tuner_addr = ADDR_UNSET,
979 .radio_addr = ADDR_UNSET,
994 .mpeg = SAA7134_MPEG_EMPRESS,
995 .video_out = CCIR656,
997 [SAA7134_BOARD_ASUSTEK_TVFM7133] = {
998 .name = "ASUS TV-FM 7133",
999 .audio_clock = 0x00187de7,
1000 /* probably wrong, the 7133 one is the NTSC version ...
1001 * .tuner_type = TUNER_PHILIPS_FM1236_MK3 */
1002 .tuner_type = TUNER_LG_NTSC_NEW_TAPC,
1003 .radio_type = UNSET,
1004 .tuner_addr = ADDR_UNSET,
1005 .radio_addr = ADDR_UNSET,
1006 .tda9887_conf = TDA9887_PRESENT,
1018 .name = name_svideo,
1027 [SAA7134_BOARD_PINNACLE_PCTV_STEREO] = {
1028 .name = "Pinnacle PCTV Stereo (saa7134)",
1029 .audio_clock = 0x00187de7,
1030 .tuner_type = TUNER_MT2032,
1031 .radio_type = UNSET,
1032 .tuner_addr = ADDR_UNSET,
1033 .radio_addr = ADDR_UNSET,
1034 .tda9887_conf = TDA9887_PRESENT | TDA9887_INTERCARRIER | TDA9887_PORT2_INACTIVE,
1049 .name = name_svideo,
1054 [SAA7134_BOARD_MANLI_MTV002] = {
1055 /* Ognjen Nastic <ognjen@logosoft.ba> */
1056 .name = "Manli MuchTV M-TV002",
1057 .audio_clock = 0x00200000,
1058 .tuner_type = TUNER_PHILIPS_PAL,
1059 .radio_type = UNSET,
1060 .tuner_addr = ADDR_UNSET,
1061 .radio_addr = ADDR_UNSET,
1063 .name = name_svideo,
1081 [SAA7134_BOARD_MANLI_MTV001] = {
1082 /* Ognjen Nastic <ognjen@logosoft.ba> UNTESTED */
1083 .name = "Manli MuchTV M-TV001",
1084 .audio_clock = 0x00200000,
1085 .tuner_type = TUNER_PHILIPS_PAL,
1086 .radio_type = UNSET,
1087 .tuner_addr = ADDR_UNSET,
1088 .radio_addr = ADDR_UNSET,
1090 .name = name_svideo,
1108 [SAA7134_BOARD_TG3000TV] = {
1109 /* TransGear 3000TV */
1110 .name = "Nagase Sangyo TransGear 3000TV",
1111 .audio_clock = 0x00187de7,
1112 .tuner_type = TUNER_PHILIPS_NTSC_M,
1113 .radio_type = UNSET,
1114 .tuner_addr = ADDR_UNSET,
1115 .radio_addr = ADDR_UNSET,
1126 .name = name_svideo,
1131 [SAA7134_BOARD_ECS_TVP3XP] = {
1132 .name = "Elitegroup ECS TVP3XP FM1216 Tuner Card(PAL-BG,FM) ",
1133 .audio_clock = 0x187de7, /* xtal 32.1 MHz */
1134 .tuner_type = TUNER_PHILIPS_PAL,
1135 .radio_type = UNSET,
1136 .tuner_addr = ADDR_UNSET,
1137 .radio_addr = ADDR_UNSET,
1144 .name = name_tv_mono,
1153 .name = name_svideo,
1157 .name = "CVid over SVid",
1166 [SAA7134_BOARD_ECS_TVP3XP_4CB5] = {
1167 .name = "Elitegroup ECS TVP3XP FM1236 Tuner Card (NTSC,FM)",
1168 .audio_clock = 0x187de7,
1169 .tuner_type = TUNER_PHILIPS_NTSC,
1170 .radio_type = UNSET,
1171 .tuner_addr = ADDR_UNSET,
1172 .radio_addr = ADDR_UNSET,
1179 .name = name_tv_mono,
1188 .name = name_svideo,
1192 .name = "CVid over SVid",
1201 [SAA7134_BOARD_ECS_TVP3XP_4CB6] = {
1202 /* Barry Scott <barry.scott@onelan.co.uk> */
1203 .name = "Elitegroup ECS TVP3XP FM1246 Tuner Card (PAL,FM)",
1204 .audio_clock = 0x187de7,
1205 .tuner_type = TUNER_PHILIPS_PAL_I,
1206 .radio_type = UNSET,
1207 .tuner_addr = ADDR_UNSET,
1208 .radio_addr = ADDR_UNSET,
1215 .name = name_tv_mono,
1224 .name = name_svideo,
1228 .name = "CVid over SVid",
1237 [SAA7134_BOARD_AVACSSMARTTV] = {
1238 /* Roman Pszonczenko <romka@kolos.math.uni.lodz.pl> */
1239 .name = "AVACS SmartTV",
1240 .audio_clock = 0x00187de7,
1241 .tuner_type = TUNER_PHILIPS_PAL,
1242 .radio_type = UNSET,
1243 .tuner_addr = ADDR_UNSET,
1244 .radio_addr = ADDR_UNSET,
1251 .name = name_tv_mono,
1264 .name = name_svideo,
1274 [SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER] = {
1275 /* Michael Smith <msmith@cbnco.com> */
1276 .name = "AVerMedia DVD EZMaker",
1277 .audio_clock = 0x00187de7,
1278 .tuner_type = TUNER_ABSENT,
1279 .radio_type = UNSET,
1280 .tuner_addr = ADDR_UNSET,
1281 .radio_addr = ADDR_UNSET,
1286 .name = name_svideo,
1290 [SAA7134_BOARD_NOVAC_PRIMETV7133] = {
1291 /* toshii@netbsd.org */
1292 .name = "Noval Prime TV 7133",
1293 .audio_clock = 0x00200000,
1294 .tuner_type = TUNER_ALPS_TSBH1_NTSC,
1295 .radio_type = UNSET,
1296 .tuner_addr = ADDR_UNSET,
1297 .radio_addr = ADDR_UNSET,
1307 .name = name_svideo,
1311 [SAA7134_BOARD_AVERMEDIA_STUDIO_305] = {
1312 .name = "AverMedia AverTV Studio 305",
1313 .audio_clock = 0x00187de7,
1314 .tuner_type = TUNER_PHILIPS_FM1256_IH3,
1315 .radio_type = UNSET,
1316 .tuner_addr = ADDR_UNSET,
1317 .radio_addr = ADDR_UNSET,
1318 .tda9887_conf = TDA9887_PRESENT,
1333 .name = name_svideo,
1346 [SAA7134_BOARD_UPMOST_PURPLE_TV] = {
1347 .name = "UPMOST PURPLE TV",
1348 .audio_clock = 0x00187de7,
1349 .tuner_type = TUNER_PHILIPS_FM1236_MK3,
1350 .radio_type = UNSET,
1351 .tuner_addr = ADDR_UNSET,
1352 .radio_addr = ADDR_UNSET,
1353 .tda9887_conf = TDA9887_PRESENT,
1360 .name = name_svideo,
1365 [SAA7134_BOARD_ITEMS_MTV005] = {
1366 /* Norman Jonas <normanjonas@arcor.de> */
1367 .name = "Items MuchTV Plus / IT-005",
1368 .audio_clock = 0x00187de7,
1369 .tuner_type = TUNER_PHILIPS_PAL,
1370 .radio_type = UNSET,
1371 .tuner_addr = ADDR_UNSET,
1372 .radio_addr = ADDR_UNSET,
1383 .name = name_svideo,
1392 [SAA7134_BOARD_CINERGY200] = {
1393 .name = "Terratec Cinergy 200 TV",
1394 .audio_clock = 0x00200000,
1395 .tuner_type = TUNER_PHILIPS_PAL,
1396 .radio_type = UNSET,
1397 .tuner_addr = ADDR_UNSET,
1398 .radio_addr = ADDR_UNSET,
1409 .name = name_svideo,
1413 .name = name_comp2, /* CVideo over SVideo Connector */
1422 [SAA7134_BOARD_VIDEOMATE_TV_PVR] = {
1423 /* Alain St-Denis <alain@topaze.homeip.net> */
1424 .name = "Compro VideoMate TV PVR/FM",
1425 .audio_clock = 0x00187de7,
1426 .tuner_type = TUNER_PHILIPS_NTSC_M,
1427 .radio_type = UNSET,
1428 .tuner_addr = ADDR_UNSET,
1429 .radio_addr = ADDR_UNSET,
1430 .gpiomask = 0x808c0080,
1432 .name = name_svideo,
1459 [SAA7134_BOARD_SABRENT_SBTTVFM] = {
1460 /* Michael Rodriguez-Torrent <mrtorrent@asu.edu> */
1461 .name = "Sabrent SBT-TVFM (saa7130)",
1462 .audio_clock = 0x00187de7,
1463 .tuner_type = TUNER_PHILIPS_NTSC_M,
1464 .radio_type = UNSET,
1465 .tuner_addr = ADDR_UNSET,
1466 .radio_addr = ADDR_UNSET,
1477 .name = name_svideo,
1486 [SAA7134_BOARD_ZOLID_XPERT_TV7134] = {
1487 /* Helge Jensen <helge.jensen@slog.dk> */
1488 .name = ":Zolid Xpert TV7134",
1489 .audio_clock = 0x00187de7,
1490 .tuner_type = TUNER_PHILIPS_NTSC,
1491 .radio_type = UNSET,
1492 .tuner_addr = ADDR_UNSET,
1493 .radio_addr = ADDR_UNSET,
1495 .name = name_svideo,
1509 [SAA7134_BOARD_EMPIRE_PCI_TV_RADIO_LE] = {
1510 /* "Matteo Az" <matte.az@nospam.libero.it> ;-) */
1511 .name = "Empire PCI TV-Radio LE",
1512 .audio_clock = 0x00187de7,
1513 .tuner_type = TUNER_PHILIPS_PAL,
1514 .radio_type = UNSET,
1515 .tuner_addr = ADDR_UNSET,
1516 .radio_addr = ADDR_UNSET,
1519 .name = name_tv_mono,
1530 .name = name_svideo,
1546 [SAA7134_BOARD_AVERMEDIA_STUDIO_307] = {
1548 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1549 Lots of thanks to Andrey Zolotarev <zolotarev_andrey@mail.ru>
1551 .name = "Avermedia AVerTV Studio 307",
1552 .audio_clock = 0x00187de7,
1553 .tuner_type = TUNER_PHILIPS_FM1256_IH3,
1554 .radio_type = UNSET,
1555 .tuner_addr = ADDR_UNSET,
1556 .radio_addr = ADDR_UNSET,
1557 .tda9887_conf = TDA9887_PRESENT,
1571 .name = name_svideo,
1587 [SAA7134_BOARD_AVERMEDIA_GO_007_FM] = {
1588 .name = "Avermedia AVerTV GO 007 FM",
1589 .audio_clock = 0x00187de7,
1590 .tuner_type = TUNER_PHILIPS_TDA8290,
1591 .radio_type = UNSET,
1592 .tuner_addr = ADDR_UNSET,
1593 .radio_addr = ADDR_UNSET,
1594 .gpiomask = 0x00300003,
1595 /* .gpiomask = 0x8c240003, */
1608 .name = name_svideo,
1624 [SAA7134_BOARD_AVERMEDIA_CARDBUS] = {
1625 /* Kees.Blom@cwi.nl */
1626 .name = "AVerMedia Cardbus TV/Radio (E500)",
1627 .audio_clock = 0x187de7,
1628 .tuner_type = TUNER_PHILIPS_TDA8290,
1629 .radio_type = UNSET,
1630 .tuner_addr = ADDR_UNSET,
1631 .radio_addr = ADDR_UNSET,
1642 .name = name_svideo,
1651 [SAA7134_BOARD_CINERGY400_CARDBUS] = {
1652 .name = "Terratec Cinergy 400 mobile",
1653 .audio_clock = 0x187de7,
1654 .tuner_type = TUNER_ALPS_TSBE5_PAL,
1655 .radio_type = UNSET,
1656 .tuner_addr = ADDR_UNSET,
1657 .radio_addr = ADDR_UNSET,
1658 .tda9887_conf = TDA9887_PRESENT,
1665 .name = name_tv_mono,
1674 .name = name_svideo,
1679 [SAA7134_BOARD_CINERGY600_MK3] = {
1680 .name = "Terratec Cinergy 600 TV MK3",
1681 .audio_clock = 0x00200000,
1682 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
1683 .radio_type = UNSET,
1684 .tuner_addr = ADDR_UNSET,
1685 .radio_addr = ADDR_UNSET,
1686 .tda9887_conf = TDA9887_PRESENT,
1697 .name = name_svideo,
1701 .name = name_comp2, /* CVideo over SVideo Connector */
1710 [SAA7134_BOARD_VIDEOMATE_GOLD_PLUS] = {
1711 /* Dylan Walkden <dylan_walkden@hotmail.com> */
1712 .name = "Compro VideoMate Gold+ Pal",
1713 .audio_clock = 0x00187de7,
1714 .tuner_type = TUNER_PHILIPS_PAL,
1715 .radio_type = UNSET,
1716 .tuner_addr = ADDR_UNSET,
1717 .radio_addr = ADDR_UNSET,
1718 .gpiomask = 0x1ce780,
1720 .name = name_svideo,
1721 .vmux = 0, /* CVideo over SVideo Connector - ok? */
1747 [SAA7134_BOARD_PINNACLE_300I_DVBT_PAL] = {
1748 .name = "Pinnacle PCTV 300i DVB-T + PAL",
1749 .audio_clock = 0x00187de7,
1750 .tuner_type = TUNER_MT2032,
1751 .radio_type = UNSET,
1752 .tuner_addr = ADDR_UNSET,
1753 .radio_addr = ADDR_UNSET,
1754 .tda9887_conf = TDA9887_PRESENT | TDA9887_INTERCARRIER | TDA9887_PORT2_INACTIVE,
1755 .mpeg = SAA7134_MPEG_DVB,
1770 .name = name_svideo,
1775 [SAA7134_BOARD_PROVIDEO_PV952] = {
1776 /* andreas.kretschmer@web.de */
1777 .name = "ProVideo PV952",
1778 .audio_clock = 0x00187de7,
1779 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
1780 .radio_type = UNSET,
1781 .tuner_addr = ADDR_UNSET,
1782 .radio_addr = ADDR_UNSET,
1783 .tda9887_conf = TDA9887_PRESENT,
1794 .name = name_tv_mono,
1804 [SAA7134_BOARD_AVERMEDIA_305] = {
1805 /* much like the "studio" version but without radio
1806 * and another tuner (sirspiritus@yandex.ru) */
1807 .name = "AverMedia AverTV/305",
1808 .audio_clock = 0x00187de7,
1809 .tuner_type = TUNER_PHILIPS_FQ1216ME,
1810 .radio_type = UNSET,
1811 .tuner_addr = ADDR_UNSET,
1812 .radio_addr = ADDR_UNSET,
1813 .tda9887_conf = TDA9887_PRESENT,
1828 .name = name_svideo,
1837 [SAA7134_BOARD_FLYDVBTDUO] = {
1838 /* LifeView FlyDVB-T DUO */
1839 /* "Nico Sabbi <nsabbi@tiscali.it> Hartmut Hackmann hartmut.hackmann@t-online.de*/
1840 .name = "LifeView FlyDVB-T DUO / MSI TV@nywhere Duo",
1841 .audio_clock = 0x00200000,
1842 .tuner_type = TUNER_PHILIPS_TDA8290,
1843 .radio_type = UNSET,
1844 .tuner_addr = ADDR_UNSET,
1845 .radio_addr = ADDR_UNSET,
1846 .gpiomask = 0x00200000,
1847 .mpeg = SAA7134_MPEG_DVB,
1852 .gpio = 0x200000, /* GPIO21=High for TV input */
1855 .name = name_comp1, /* Composite signal on S-Video input */
1859 .name = name_comp2, /* Composite input */
1863 .name = name_svideo, /* S-Video signal on S-Video input */
1870 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
1873 [SAA7134_BOARD_PHILIPS_TOUGH] = {
1874 .name = "Philips TOUGH DVB-T reference design",
1875 .tuner_type = TUNER_ABSENT,
1876 .audio_clock = 0x00187de7,
1877 .radio_type = UNSET,
1878 .tuner_addr = ADDR_UNSET,
1879 .radio_addr = ADDR_UNSET,
1880 .mpeg = SAA7134_MPEG_DVB,
1886 .name = name_svideo,
1891 [SAA7134_BOARD_AVERMEDIA_307] = {
1893 Davydov Vladimir <vladimir@iqmedia.com>
1895 .name = "Avermedia AVerTV 307",
1896 .audio_clock = 0x00187de7,
1897 .tuner_type = TUNER_PHILIPS_FQ1216ME,
1898 .radio_type = UNSET,
1899 .tuner_addr = ADDR_UNSET,
1900 .radio_addr = ADDR_UNSET,
1901 .tda9887_conf = TDA9887_PRESENT,
1916 .name = name_svideo,
1921 [SAA7134_BOARD_ADS_INSTANT_TV] = {
1922 .name = "ADS Tech Instant TV (saa7135)",
1923 .audio_clock = 0x00187de7,
1924 .tuner_type = TUNER_PHILIPS_TDA8290,
1925 .radio_type = UNSET,
1926 .tuner_addr = ADDR_UNSET,
1927 .radio_addr = ADDR_UNSET,
1938 .name = name_svideo,
1943 [SAA7134_BOARD_KWORLD_VSTREAM_XPERT] = {
1944 .name = "Kworld/Tevion V-Stream Xpert TV PVR7134",
1945 .audio_clock = 0x00187de7,
1946 .tuner_type = TUNER_PHILIPS_PAL_I,
1947 .radio_type = UNSET,
1948 .tuner_addr = ADDR_UNSET,
1949 .radio_addr = ADDR_UNSET,
1961 .gpio = 0x200, /* gpio by DScaler */
1963 .name = name_svideo,
1979 [SAA7134_BOARD_FLYDVBT_DUO_CARDBUS] = {
1980 .name = "LifeView/Typhoon/Genius FlyDVB-T Duo Cardbus",
1981 .audio_clock = 0x00200000,
1982 .tuner_type = TUNER_PHILIPS_TDA8290,
1983 .radio_type = UNSET,
1984 .tuner_addr = ADDR_UNSET,
1985 .radio_addr = ADDR_UNSET,
1986 .mpeg = SAA7134_MPEG_DVB,
1987 .gpiomask = 0x00200000,
1992 .gpio = 0x200000, /* GPIO21=High for TV input */
1995 .name = name_svideo, /* S-Video signal on S-Video input */
1999 .name = name_comp1, /* Composite signal on S-Video input */
2003 .name = name_comp2, /* Composite input */
2010 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
2013 [SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII] = {
2014 .name = "Compro VideoMate TV Gold+II",
2015 .audio_clock = 0x002187de7,
2016 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
2017 .radio_type = TUNER_TEA5767,
2020 .gpiomask = 0x8c1880,
2022 .name = name_svideo,
2049 [SAA7134_BOARD_KWORLD_XPERT] = {
2052 - Remote control doesn't initialize properly.
2053 - Audio volume starts muted,
2054 then gradually increases after channel change.
2055 - Overlay scaling problems (application error?)
2056 - Composite S-Video untested.
2057 From: Konrad Rzepecki <hannibal@megapolis.pl>
2059 .name = "Kworld Xpert TV PVR7134",
2060 .audio_clock = 0x00187de7,
2061 .tuner_type = TUNER_TENA_9533_DI,
2062 .radio_type = TUNER_TEA5767,
2076 .gpio = 0x200, /* gpio by DScaler */
2078 .name = name_svideo,
2094 [SAA7134_BOARD_FLYTV_DIGIMATRIX] = {
2095 .name = "FlyTV mini Asus Digimatrix",
2096 .audio_clock = 0x00200000,
2097 .tuner_type = TUNER_LG_TALN,
2098 .radio_type = UNSET,
2099 .tuner_addr = ADDR_UNSET,
2100 .radio_addr = ADDR_UNSET,
2107 .name = name_tv_mono,
2120 .name = name_svideo,
2125 .name = name_radio, /* radio unconfirmed */
2129 [SAA7134_BOARD_KWORLD_TERMINATOR] = {
2130 /* Kworld V-Stream Studio TV Terminator */
2131 /* "James Webb <jrwebb@qwest.net> */
2132 .name = "V-Stream Studio TV Terminator",
2133 .audio_clock = 0x00187de7,
2134 .tuner_type = TUNER_PHILIPS_TDA8290,
2135 .radio_type = UNSET,
2136 .tuner_addr = ADDR_UNSET,
2137 .radio_addr = ADDR_UNSET,
2138 .gpiomask = 1 << 21,
2146 .name = name_comp1, /* Composite input */
2151 .name = name_svideo, /* S-Video input */
2162 [SAA7134_BOARD_YUAN_TUN900] = {
2164 * S-Video and composite sources untested.
2165 * Radio not working.
2166 * Remote control not yet implemented.
2167 * From : codemaster@webgeeks.be */
2168 .name = "Yuan TUN-900 (saa7135)",
2169 .audio_clock = 0x00187de7,
2170 .tuner_type = TUNER_PHILIPS_TDA8290,
2171 .radio_type = UNSET,
2172 .tuner_addr= ADDR_UNSET,
2173 .radio_addr= ADDR_UNSET,
2174 .gpiomask = 0x00010003,
2187 .name = name_svideo,
2203 [SAA7134_BOARD_BEHOLD_409FM] = {
2204 /* <http://tuner.beholder.ru>, Sergey <skiv@orel.ru> */
2205 /* Beholder Intl. Ltd. 2008 */
2206 /*Dmitry Belimov <d.belimov@gmail.com> */
2207 .name = "Beholder BeholdTV 409 FM",
2208 .audio_clock = 0x00187de7,
2209 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
2210 .radio_type = UNSET,
2211 .tuner_addr = ADDR_UNSET,
2212 .radio_addr = ADDR_UNSET,
2213 .tda9887_conf = TDA9887_PRESENT,
2214 .gpiomask = 0x00008000,
2225 .name = name_svideo,
2234 [SAA7134_BOARD_GOTVIEW_7135] = {
2235 /* Mike Baikov <mike@baikov.com> */
2236 /* Andrey Cvetcov <ays14@yandex.ru> */
2237 .name = "GoTView 7135 PCI",
2238 .audio_clock = 0x00187de7,
2239 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
2240 .radio_type = UNSET,
2241 .tuner_addr = ADDR_UNSET,
2242 .radio_addr = ADDR_UNSET,
2243 .tda9887_conf = TDA9887_PRESENT,
2244 .gpiomask = 0x00200003,
2252 .name = name_tv_mono,
2262 .name = name_svideo,
2278 [SAA7134_BOARD_PHILIPS_EUROPA] = {
2279 .name = "Philips EUROPA V3 reference design",
2280 .audio_clock = 0x00187de7,
2281 .tuner_type = TUNER_PHILIPS_TD1316,
2282 .radio_type = UNSET,
2284 .radio_addr = ADDR_UNSET,
2285 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
2286 .mpeg = SAA7134_MPEG_DVB,
2297 .name = name_svideo,
2302 [SAA7134_BOARD_VIDEOMATE_DVBT_300] = {
2303 .name = "Compro Videomate DVB-T300",
2304 .audio_clock = 0x00187de7,
2305 .tuner_type = TUNER_PHILIPS_TD1316,
2306 .radio_type = UNSET,
2308 .radio_addr = ADDR_UNSET,
2309 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
2310 .mpeg = SAA7134_MPEG_DVB,
2321 .name = name_svideo,
2326 [SAA7134_BOARD_VIDEOMATE_DVBT_200] = {
2327 .name = "Compro Videomate DVB-T200",
2328 .tuner_type = TUNER_ABSENT,
2329 .audio_clock = 0x00187de7,
2330 .radio_type = UNSET,
2331 .tuner_addr = ADDR_UNSET,
2332 .radio_addr = ADDR_UNSET,
2333 .mpeg = SAA7134_MPEG_DVB,
2339 .name = name_svideo,
2344 [SAA7134_BOARD_RTD_VFG7350] = {
2345 .name = "RTD Embedded Technologies VFG7350",
2346 .audio_clock = 0x00200000,
2347 .tuner_type = TUNER_ABSENT,
2348 .radio_type = UNSET,
2349 .tuner_addr = ADDR_UNSET,
2350 .radio_addr = ADDR_UNSET,
2352 .name = "Composite 0",
2356 .name = "Composite 1",
2360 .name = "Composite 2",
2364 .name = "Composite 3",
2368 .name = "S-Video 0",
2372 .name = "S-Video 1",
2376 .mpeg = SAA7134_MPEG_EMPRESS,
2377 .video_out = CCIR656,
2378 .vid_port_opts = ( SET_T_CODE_POLARITY_NON_INVERTED |
2379 SET_CLOCK_NOT_DELAYED |
2380 SET_CLOCK_INVERTED |
2383 [SAA7134_BOARD_RTD_VFG7330] = {
2384 .name = "RTD Embedded Technologies VFG7330",
2385 .audio_clock = 0x00200000,
2386 .tuner_type = TUNER_ABSENT,
2387 .radio_type = UNSET,
2388 .tuner_addr = ADDR_UNSET,
2389 .radio_addr = ADDR_UNSET,
2391 .name = "Composite 0",
2395 .name = "Composite 1",
2399 .name = "Composite 2",
2403 .name = "Composite 3",
2407 .name = "S-Video 0",
2411 .name = "S-Video 1",
2416 [SAA7134_BOARD_FLYTVPLATINUM_MINI2] = {
2417 .name = "LifeView FlyTV Platinum Mini2",
2418 .audio_clock = 0x00200000,
2419 .tuner_type = TUNER_PHILIPS_TDA8290,
2420 .radio_type = UNSET,
2421 .tuner_addr = ADDR_UNSET,
2422 .radio_addr = ADDR_UNSET,
2430 .name = name_comp1, /* Composite signal on S-Video input */
2434 .name = name_comp2, /* Composite input */
2438 .name = name_svideo,
2443 [SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180] = {
2444 /* Michael Krufky <mkrufky@m1k.net>
2445 * Uses Alps Electric TDHU2, containing NXT2004 ATSC Decoder
2446 * AFAIK, there is no analog demod, thus,
2447 * no support for analog television.
2449 .name = "AVerMedia AVerTVHD MCE A180",
2450 .audio_clock = 0x00187de7,
2451 .tuner_type = TUNER_ABSENT,
2452 .radio_type = UNSET,
2453 .tuner_addr = ADDR_UNSET,
2454 .radio_addr = ADDR_UNSET,
2455 .mpeg = SAA7134_MPEG_DVB,
2461 .name = name_svideo,
2466 [SAA7134_BOARD_MONSTERTV_MOBILE] = {
2467 .name = "SKNet MonsterTV Mobile",
2468 .audio_clock = 0x00187de7,
2469 .tuner_type = TUNER_PHILIPS_TDA8290,
2470 .radio_type = UNSET,
2471 .tuner_addr = ADDR_UNSET,
2472 .radio_addr = ADDR_UNSET,
2484 .name = name_svideo,
2489 [SAA7134_BOARD_PINNACLE_PCTV_110i] = {
2490 .name = "Pinnacle PCTV 40i/50i/110i (saa7133)",
2491 .audio_clock = 0x00187de7,
2492 .tuner_type = TUNER_PHILIPS_TDA8290,
2493 .radio_type = UNSET,
2494 .tuner_addr = ADDR_UNSET,
2495 .radio_addr = ADDR_UNSET,
2496 .gpiomask = 0x080200000,
2511 .name = name_svideo,
2521 [SAA7134_BOARD_ASUSTeK_P7131_DUAL] = {
2522 .name = "ASUSTeK P7131 Dual",
2523 .audio_clock = 0x00187de7,
2524 .tuner_type = TUNER_PHILIPS_TDA8290,
2525 .radio_type = UNSET,
2526 .tuner_addr = ADDR_UNSET,
2527 .radio_addr = ADDR_UNSET,
2528 .gpiomask = 1 << 21,
2529 .mpeg = SAA7134_MPEG_DVB,
2547 .name = name_svideo,
2558 [SAA7134_BOARD_SEDNA_PC_TV_CARDBUS] = {
2559 /* Paul Tom Zalac <pzalac@gmail.com> */
2560 /* Pavel Mihaylov <bin@bash.info> */
2561 .name = "Sedna/MuchTV PC TV Cardbus TV/Radio (ITO25 Rev:2B)",
2562 /* Sedna/MuchTV (OEM) Cardbus TV Tuner */
2563 .audio_clock = 0x00187de7,
2564 .tuner_type = TUNER_PHILIPS_TDA8290,
2565 .radio_type = UNSET,
2566 .tuner_addr = ADDR_UNSET,
2567 .radio_addr = ADDR_UNSET,
2568 .gpiomask = 0xe880c0,
2579 .name = name_svideo,
2588 [SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV] = {
2589 /* "Cyril Lacoux (Yack)" <clacoux@ifeelgood.org> */
2590 .name = "ASUS Digimatrix TV",
2591 .audio_clock = 0x00200000,
2592 .tuner_type = TUNER_PHILIPS_FQ1216ME,
2593 .tda9887_conf = TDA9887_PRESENT,
2594 .radio_type = UNSET,
2595 .tuner_addr = ADDR_UNSET,
2596 .radio_addr = ADDR_UNSET,
2607 .name = name_svideo,
2612 [SAA7134_BOARD_PHILIPS_TIGER] = {
2613 .name = "Philips Tiger reference design",
2614 .audio_clock = 0x00187de7,
2615 .tuner_type = TUNER_PHILIPS_TDA8290,
2616 .radio_type = UNSET,
2617 .tuner_addr = ADDR_UNSET,
2618 .radio_addr = ADDR_UNSET,
2620 .mpeg = SAA7134_MPEG_DVB,
2621 .gpiomask = 0x0200000,
2632 .name = name_svideo,
2642 [SAA7134_BOARD_MSI_TVATANYWHERE_PLUS] = {
2643 .name = "MSI TV@Anywhere plus",
2644 .audio_clock = 0x00187de7,
2645 .tuner_type = TUNER_PHILIPS_TDA8290,
2646 .radio_type = UNSET,
2647 .tuner_addr = ADDR_UNSET,
2648 .radio_addr = ADDR_UNSET,
2649 .gpiomask = 1 << 21,
2658 .amux = LINE2, /* unconfirmed, taken from Philips driver */
2661 .vmux = 0, /* untested, Composite over S-Video */
2664 .name = name_svideo,
2674 [SAA7134_BOARD_CINERGY250PCI] = {
2675 /* remote-control does not work. The signal about a
2676 key press comes in via gpio, but the key code
2677 doesn't. Neither does it have an i2c remote control
2679 .name = "Terratec Cinergy 250 PCI TV",
2680 .audio_clock = 0x00187de7,
2681 .tuner_type = TUNER_PHILIPS_TDA8290,
2682 .radio_type = UNSET,
2683 .tuner_addr = ADDR_UNSET,
2684 .radio_addr = ADDR_UNSET,
2685 .gpiomask = 0x80200000,
2692 .name = name_svideo, /* NOT tested */
2702 [SAA7134_BOARD_FLYDVB_TRIO] = {
2703 /* LifeView LR319 FlyDVB Trio */
2704 /* Peter Missel <peter.missel@onlinehome.de> */
2705 .name = "LifeView FlyDVB Trio",
2706 .audio_clock = 0x00200000,
2707 .tuner_type = TUNER_PHILIPS_TDA8290,
2708 .radio_type = UNSET,
2709 .tuner_addr = ADDR_UNSET,
2710 .radio_addr = ADDR_UNSET,
2711 .gpiomask = 0x00200000,
2712 .mpeg = SAA7134_MPEG_DVB,
2714 .name = name_tv, /* Analog broadcast/cable TV */
2717 .gpio = 0x200000, /* GPIO21=High for TV input */
2720 .name = name_svideo, /* S-Video signal on S-Video input */
2724 .name = name_comp1, /* Composite signal on S-Video input */
2728 .name = name_comp2, /* Composite input */
2735 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
2738 [SAA7134_BOARD_AVERMEDIA_777] = {
2739 .name = "AverTV DVB-T 777",
2740 .audio_clock = 0x00187de7,
2741 .tuner_type = TUNER_ABSENT,
2742 .radio_type = UNSET,
2743 .tuner_addr = ADDR_UNSET,
2744 .radio_addr = ADDR_UNSET,
2745 .mpeg = SAA7134_MPEG_DVB,
2751 .name = name_svideo,
2756 [SAA7134_BOARD_FLYDVBT_LR301] = {
2757 /* LifeView FlyDVB-T */
2758 /* Giampiero Giancipoli <gianci@libero.it> */
2759 .name = "LifeView FlyDVB-T / Genius VideoWonder DVB-T",
2760 .audio_clock = 0x00200000,
2761 .tuner_type = TUNER_ABSENT,
2762 .radio_type = UNSET,
2763 .tuner_addr = ADDR_UNSET,
2764 .radio_addr = ADDR_UNSET,
2765 .mpeg = SAA7134_MPEG_DVB,
2767 .name = name_comp1, /* Composite input */
2771 .name = name_svideo, /* S-Video signal on S-Video input */
2776 [SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331] = {
2777 .name = "ADS Instant TV Duo Cardbus PTV331",
2778 .audio_clock = 0x00200000,
2779 .tuner_type = TUNER_PHILIPS_TDA8290,
2780 .radio_type = UNSET,
2781 .tuner_addr = ADDR_UNSET,
2782 .radio_addr = ADDR_UNSET,
2783 .mpeg = SAA7134_MPEG_DVB,
2784 .gpiomask = 0x00600000, /* Bit 21 0=Radio, Bit 22 0=TV */
2793 [SAA7134_BOARD_TEVION_DVBT_220RF] = {
2794 .name = "Tevion/KWorld DVB-T 220RF",
2795 .audio_clock = 0x00187de7,
2796 .tuner_type = TUNER_PHILIPS_TDA8290,
2797 .radio_type = UNSET,
2798 .tuner_addr = ADDR_UNSET,
2799 .radio_addr = ADDR_UNSET,
2800 .mpeg = SAA7134_MPEG_DVB,
2801 .gpiomask = 1 << 21,
2816 .name = name_svideo,
2826 [SAA7134_BOARD_KWORLD_DVBT_210] = {
2827 .name = "KWorld DVB-T 210",
2828 .audio_clock = 0x00187de7,
2829 .tuner_type = TUNER_PHILIPS_TDA8290,
2830 .radio_type = UNSET,
2831 .tuner_addr = ADDR_UNSET,
2832 .radio_addr = ADDR_UNSET,
2833 .mpeg = SAA7134_MPEG_DVB,
2834 .gpiomask = 1 << 21,
2845 .name = name_svideo,
2855 [SAA7134_BOARD_KWORLD_ATSC110] = {
2856 .name = "Kworld ATSC110/115",
2857 .audio_clock = 0x00187de7,
2858 .tuner_type = TUNER_PHILIPS_TUV1236D,
2859 .radio_type = UNSET,
2860 .tuner_addr = ADDR_UNSET,
2861 .radio_addr = ADDR_UNSET,
2862 .tda9887_conf = TDA9887_PRESENT,
2863 .mpeg = SAA7134_MPEG_DVB,
2874 .name = name_svideo,
2879 [SAA7134_BOARD_AVERMEDIA_A169_B] = {
2880 /* AVerMedia A169 */
2881 /* Rickard Osser <ricky@osser.se> */
2882 /* This card has two saa7134 chips on it,
2883 but only one of them is currently working. */
2884 .name = "AVerMedia A169 B",
2885 .audio_clock = 0x02187de7,
2886 .tuner_type = TUNER_LG_TALN,
2887 .radio_type = UNSET,
2888 .tuner_addr = ADDR_UNSET,
2889 .radio_addr = ADDR_UNSET,
2890 .tda9887_conf = TDA9887_PRESENT,
2891 .gpiomask = 0x0a60000,
2893 [SAA7134_BOARD_AVERMEDIA_A169_B1] = {
2894 /* AVerMedia A169 */
2895 /* Rickard Osser <ricky@osser.se> */
2896 .name = "AVerMedia A169 B1",
2897 .audio_clock = 0x02187de7,
2898 .tuner_type = TUNER_LG_TALN,
2899 .radio_type = UNSET,
2900 .tuner_addr = ADDR_UNSET,
2901 .radio_addr = ADDR_UNSET,
2902 .tda9887_conf = TDA9887_PRESENT,
2903 .gpiomask = 0xca60000,
2911 .name = name_comp2, /* Composite SVIDEO (B/W if signal is carried with SVIDEO) */
2915 .name = name_svideo,
2916 .vmux = 9, /* 9 is correct as S-VIDEO1 according to a169.inf! */
2920 [SAA7134_BOARD_MD7134_BRIDGE_2] = {
2921 /* The second saa7134 on this card only serves as DVB-S host bridge */
2922 .name = "Medion 7134 Bridge #2",
2923 .audio_clock = 0x00187de7,
2924 .radio_type = UNSET,
2925 .tuner_addr = ADDR_UNSET,
2926 .radio_addr = ADDR_UNSET,
2927 .mpeg = SAA7134_MPEG_DVB,
2929 [SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS] = {
2930 .name = "LifeView FlyDVB-T Hybrid Cardbus/MSI TV @nywhere A/D NB",
2931 .audio_clock = 0x00200000,
2932 .tuner_type = TUNER_PHILIPS_TDA8290,
2933 .radio_type = UNSET,
2934 .tuner_addr = ADDR_UNSET,
2935 .radio_addr = ADDR_UNSET,
2936 .mpeg = SAA7134_MPEG_DVB,
2937 .gpiomask = 0x00600000, /* Bit 21 0=Radio, Bit 22 0=TV */
2942 .gpio = 0x200000, /* GPIO21=High for TV input */
2945 .name = name_svideo, /* S-Video signal on S-Video input */
2949 .name = name_comp1, /* Composite signal on S-Video input */
2953 .name = name_comp2, /* Composite input */
2960 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
2963 [SAA7134_BOARD_FLYVIDEO3000_NTSC] = {
2964 /* "Zac Bowling" <zac@zacbowling.com> */
2965 .name = "LifeView FlyVIDEO3000 (NTSC)",
2966 .audio_clock = 0x00200000,
2967 .tuner_type = TUNER_PHILIPS_NTSC,
2968 .radio_type = UNSET,
2969 .tuner_addr = ADDR_UNSET,
2970 .radio_addr = ADDR_UNSET,
2980 .name = name_tv_mono,
2996 .name = name_svideo,
3012 [SAA7134_BOARD_MEDION_MD8800_QUADRO] = {
3013 .name = "Medion Md8800 Quadro",
3014 .audio_clock = 0x00187de7,
3015 .tuner_type = TUNER_PHILIPS_TDA8290,
3016 .radio_type = UNSET,
3017 .tuner_addr = ADDR_UNSET,
3018 .radio_addr = ADDR_UNSET,
3019 .mpeg = SAA7134_MPEG_DVB,
3030 .name = name_svideo,
3035 [SAA7134_BOARD_FLYDVBS_LR300] = {
3036 /* LifeView FlyDVB-s */
3037 /* Igor M. Liplianin <liplianin@tut.by> */
3038 .name = "LifeView FlyDVB-S /Acorp TV134DS",
3039 .audio_clock = 0x00200000,
3040 .tuner_type = TUNER_ABSENT,
3041 .radio_type = UNSET,
3042 .tuner_addr = ADDR_UNSET,
3043 .radio_addr = ADDR_UNSET,
3044 .mpeg = SAA7134_MPEG_DVB,
3046 .name = name_comp1, /* Composite input */
3050 .name = name_svideo, /* S-Video signal on S-Video input */
3055 [SAA7134_BOARD_PROTEUS_2309] = {
3056 .name = "Proteus Pro 2309",
3057 .audio_clock = 0x00187de7,
3058 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3059 .radio_type = UNSET,
3060 .tuner_addr = ADDR_UNSET,
3061 .radio_addr = ADDR_UNSET,
3062 .tda9887_conf = TDA9887_PRESENT,
3077 .name = name_svideo,
3086 [SAA7134_BOARD_AVERMEDIA_A16AR] = {
3087 /* Petr Baudis <pasky@ucw.cz> */
3088 .name = "AVerMedia TV Hybrid A16AR",
3089 .audio_clock = 0x187de7,
3090 .tuner_type = TUNER_PHILIPS_TD1316, /* untested */
3091 .radio_type = TUNER_TEA5767, /* untested */
3092 .tuner_addr = ADDR_UNSET,
3094 .tda9887_conf = TDA9887_PRESENT,
3095 .mpeg = SAA7134_MPEG_DVB,
3106 .name = name_svideo,
3115 [SAA7134_BOARD_ASUS_EUROPA2_HYBRID] = {
3116 .name = "Asus Europa2 OEM",
3117 .audio_clock = 0x00187de7,
3118 .tuner_type = TUNER_PHILIPS_FMD1216ME_MK3,
3119 .radio_type = UNSET,
3120 .tuner_addr = ADDR_UNSET,
3121 .radio_addr = ADDR_UNSET,
3122 .tda9887_conf = TDA9887_PRESENT| TDA9887_PORT1_ACTIVE | TDA9887_PORT2_ACTIVE,
3123 .mpeg = SAA7134_MPEG_DVB,
3134 .name = name_svideo,
3143 [SAA7134_BOARD_PINNACLE_PCTV_310i] = {
3144 .name = "Pinnacle PCTV 310i",
3145 .audio_clock = 0x00187de7,
3146 .tuner_type = TUNER_PHILIPS_TDA8290,
3147 .radio_type = UNSET,
3148 .tuner_addr = ADDR_UNSET,
3149 .radio_addr = ADDR_UNSET,
3151 .mpeg = SAA7134_MPEG_DVB,
3152 .gpiomask = 0x000200000,
3167 .name = name_svideo,
3177 [SAA7134_BOARD_AVERMEDIA_STUDIO_507] = {
3178 /* Mikhail Fedotov <mo_fedotov@mail.ru> */
3179 .name = "Avermedia AVerTV Studio 507",
3180 .audio_clock = 0x00187de7,
3181 .tuner_type = TUNER_PHILIPS_FM1256_IH3,
3182 .radio_type = UNSET,
3183 .tuner_addr = ADDR_UNSET,
3184 .radio_addr = ADDR_UNSET,
3185 .tda9887_conf = TDA9887_PRESENT,
3204 .name = name_svideo,
3220 [SAA7134_BOARD_VIDEOMATE_DVBT_200A] = {
3221 /* Francis Barber <fedora@barber-family.id.au> */
3222 .name = "Compro Videomate DVB-T200A",
3223 .audio_clock = 0x00187de7,
3224 .tuner_type = TUNER_ABSENT,
3225 .radio_type = UNSET,
3226 .tuner_addr = ADDR_UNSET,
3227 .radio_addr = ADDR_UNSET,
3228 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
3229 .mpeg = SAA7134_MPEG_DVB,
3240 .name = name_svideo,
3245 [SAA7134_BOARD_HAUPPAUGE_HVR1110] = {
3246 /* Thomas Genty <tomlohave@gmail.com> */
3247 .name = "Hauppauge WinTV-HVR1110 DVB-T/Hybrid",
3248 .audio_clock = 0x00187de7,
3249 .tuner_type = TUNER_PHILIPS_TDA8290,
3250 .radio_type = UNSET,
3251 .tuner_addr = ADDR_UNSET,
3252 .radio_addr = ADDR_UNSET,
3254 .mpeg = SAA7134_MPEG_DVB,
3263 .amux = LINE2, /* FIXME: audio doesn't work on svideo/composite */
3265 .name = name_svideo,
3267 .amux = LINE2, /* FIXME: audio doesn't work on svideo/composite */
3274 [SAA7134_BOARD_CINERGY_HT_PCMCIA] = {
3275 .name = "Terratec Cinergy HT PCMCIA",
3276 .audio_clock = 0x00187de7,
3277 .tuner_type = TUNER_PHILIPS_TDA8290,
3278 .radio_type = UNSET,
3279 .tuner_addr = ADDR_UNSET,
3280 .radio_addr = ADDR_UNSET,
3281 .mpeg = SAA7134_MPEG_DVB,
3292 .name = name_svideo,
3297 [SAA7134_BOARD_ENCORE_ENLTV] = {
3298 /* Steven Walter <stevenrwalter@gmail.com>
3299 Juan Pablo Sormani <sorman@gmail.com> */
3300 .name = "Encore ENLTV",
3301 .audio_clock = 0x00200000,
3302 .tuner_type = TUNER_TNF_5335MF,
3303 .radio_type = UNSET,
3304 .tuner_addr = ADDR_UNSET,
3305 .radio_addr = ADDR_UNSET,
3312 .name = name_tv_mono,
3321 .name = name_svideo,
3328 /* .gpio = 0x00300001,*/
3337 [SAA7134_BOARD_ENCORE_ENLTV_FM] = {
3338 /* Juan Pablo Sormani <sorman@gmail.com> */
3339 .name = "Encore ENLTV-FM",
3340 .audio_clock = 0x00200000,
3341 .tuner_type = TUNER_PHILIPS_FCV1236D,
3342 .radio_type = UNSET,
3343 .tuner_addr = ADDR_UNSET,
3344 .radio_addr = ADDR_UNSET,
3351 .name = name_tv_mono,
3360 .name = name_svideo,
3375 [SAA7134_BOARD_CINERGY_HT_PCI] = {
3376 .name = "Terratec Cinergy HT PCI",
3377 .audio_clock = 0x00187de7,
3378 .tuner_type = TUNER_PHILIPS_TDA8290,
3379 .radio_type = UNSET,
3380 .tuner_addr = ADDR_UNSET,
3381 .radio_addr = ADDR_UNSET,
3382 .mpeg = SAA7134_MPEG_DVB,
3393 .name = name_svideo,
3398 [SAA7134_BOARD_PHILIPS_TIGER_S] = {
3399 .name = "Philips Tiger - S Reference design",
3400 .audio_clock = 0x00187de7,
3401 .tuner_type = TUNER_PHILIPS_TDA8290,
3402 .radio_type = UNSET,
3403 .tuner_addr = ADDR_UNSET,
3404 .radio_addr = ADDR_UNSET,
3406 .mpeg = SAA7134_MPEG_DVB,
3407 .gpiomask = 0x0200000,
3418 .name = name_svideo,
3428 [SAA7134_BOARD_AVERMEDIA_M102] = {
3429 .name = "Avermedia M102",
3430 .audio_clock = 0x00187de7,
3431 .tuner_type = TUNER_PHILIPS_TDA8290,
3432 .radio_type = UNSET,
3433 .tuner_addr = ADDR_UNSET,
3434 .radio_addr = ADDR_UNSET,
3446 .name = name_svideo,
3451 [SAA7134_BOARD_ASUS_P7131_4871] = {
3452 .name = "ASUS P7131 4871",
3453 .audio_clock = 0x00187de7,
3454 .tuner_type = TUNER_PHILIPS_TDA8290,
3455 .radio_type = UNSET,
3456 .tuner_addr = ADDR_UNSET,
3457 .radio_addr = ADDR_UNSET,
3459 .mpeg = SAA7134_MPEG_DVB,
3460 .gpiomask = 0x0200000,
3469 [SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA] = {
3470 .name = "ASUSTeK P7131 Hybrid",
3471 .audio_clock = 0x00187de7,
3472 .tuner_type = TUNER_PHILIPS_TDA8290,
3473 .radio_type = UNSET,
3474 .tuner_addr = ADDR_UNSET,
3475 .radio_addr = ADDR_UNSET,
3477 .gpiomask = 1 << 21,
3478 .mpeg = SAA7134_MPEG_DVB,
3496 .name = name_svideo,
3507 [SAA7134_BOARD_SABRENT_TV_PCB05] = {
3508 .name = "Sabrent PCMCIA TV-PCB05",
3509 .audio_clock = 0x00187de7,
3510 .tuner_type = TUNER_PHILIPS_TDA8290,
3511 .radio_type = UNSET,
3512 .tuner_addr = ADDR_UNSET,
3513 .radio_addr = ADDR_UNSET,
3528 .name = name_svideo,
3537 [SAA7134_BOARD_10MOONSTVMASTER3] = {
3538 /* Tony Wan <aloha_cn@hotmail.com> */
3539 .name = "10MOONS TM300 TV Card",
3540 .audio_clock = 0x00200000,
3541 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
3542 .radio_type = UNSET,
3543 .tuner_addr = ADDR_UNSET,
3544 .radio_addr = ADDR_UNSET,
3558 .name = name_svideo,
3569 [SAA7134_BOARD_AVERMEDIA_SUPER_007] = {
3570 .name = "Avermedia Super 007",
3571 .audio_clock = 0x00187de7,
3572 .tuner_type = TUNER_PHILIPS_TDA8290,
3573 .radio_type = UNSET,
3574 .tuner_addr = ADDR_UNSET,
3575 .radio_addr = ADDR_UNSET,
3577 .mpeg = SAA7134_MPEG_DVB,
3579 .name = name_tv, /* FIXME: analog tv untested */
3585 [SAA7134_BOARD_BEHOLD_401] = {
3586 /* Beholder Intl. Ltd. 2008 */
3587 /*Dmitry Belimov <d.belimov@gmail.com> */
3588 .name = "Beholder BeholdTV 401",
3589 .audio_clock = 0x00187de7,
3590 .tuner_type = TUNER_PHILIPS_FQ1216ME,
3591 .radio_type = UNSET,
3592 .tuner_addr = ADDR_UNSET,
3593 .radio_addr = ADDR_UNSET,
3594 .gpiomask = 0x00008000,
3596 .name = name_svideo,
3614 [SAA7134_BOARD_BEHOLD_403] = {
3615 /* Beholder Intl. Ltd. 2008 */
3616 /*Dmitry Belimov <d.belimov@gmail.com> */
3617 .name = "Beholder BeholdTV 403",
3618 .audio_clock = 0x00187de7,
3619 .tuner_type = TUNER_PHILIPS_FQ1216ME,
3620 .radio_type = UNSET,
3621 .tuner_addr = ADDR_UNSET,
3622 .radio_addr = ADDR_UNSET,
3623 .gpiomask = 0x00008000,
3625 .name = name_svideo,
3639 [SAA7134_BOARD_BEHOLD_403FM] = {
3640 /* Beholder Intl. Ltd. 2008 */
3641 /*Dmitry Belimov <d.belimov@gmail.com> */
3642 .name = "Beholder BeholdTV 403 FM",
3643 .audio_clock = 0x00187de7,
3644 .tuner_type = TUNER_PHILIPS_FQ1216ME,
3645 .radio_type = UNSET,
3646 .tuner_addr = ADDR_UNSET,
3647 .radio_addr = ADDR_UNSET,
3648 .gpiomask = 0x00008000,
3650 .name = name_svideo,
3668 [SAA7134_BOARD_BEHOLD_405] = {
3669 /* Beholder Intl. Ltd. 2008 */
3670 /*Dmitry Belimov <d.belimov@gmail.com> */
3671 .name = "Beholder BeholdTV 405",
3672 .audio_clock = 0x00187de7,
3673 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3674 .radio_type = UNSET,
3675 .tuner_addr = ADDR_UNSET,
3676 .radio_addr = ADDR_UNSET,
3677 .tda9887_conf = TDA9887_PRESENT,
3678 .gpiomask = 0x00008000,
3680 .name = name_svideo,
3694 [SAA7134_BOARD_BEHOLD_405FM] = {
3695 /* Sergey <skiv@orel.ru> */
3696 /* Beholder Intl. Ltd. 2008 */
3697 /*Dmitry Belimov <d.belimov@gmail.com> */
3698 .name = "Beholder BeholdTV 405 FM",
3699 .audio_clock = 0x00187de7,
3700 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3701 .radio_type = UNSET,
3702 .tuner_addr = ADDR_UNSET,
3703 .radio_addr = ADDR_UNSET,
3704 .tda9887_conf = TDA9887_PRESENT,
3705 .gpiomask = 0x00008000,
3707 .name = name_svideo,
3725 [SAA7134_BOARD_BEHOLD_407] = {
3726 /* Beholder Intl. Ltd. 2008 */
3727 /*Dmitry Belimov <d.belimov@gmail.com> */
3728 .name = "Beholder BeholdTV 407",
3729 .audio_clock = 0x00187de7,
3730 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3731 .radio_type = UNSET,
3732 .tuner_addr = ADDR_UNSET,
3733 .radio_addr = ADDR_UNSET,
3734 .tda9887_conf = TDA9887_PRESENT,
3735 .gpiomask = 0x00008000,
3737 .name = name_svideo,
3754 [SAA7134_BOARD_BEHOLD_407FM] = {
3755 /* Beholder Intl. Ltd. 2008 */
3756 /*Dmitry Belimov <d.belimov@gmail.com> */
3757 .name = "Beholder BeholdTV 407 FM",
3758 .audio_clock = 0x00187de7,
3759 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3760 .radio_type = UNSET,
3761 .tuner_addr = ADDR_UNSET,
3762 .radio_addr = ADDR_UNSET,
3763 .tda9887_conf = TDA9887_PRESENT,
3764 .gpiomask = 0x00008000,
3766 .name = name_svideo,
3788 [SAA7134_BOARD_BEHOLD_409] = {
3789 /* Beholder Intl. Ltd. 2008 */
3790 /*Dmitry Belimov <d.belimov@gmail.com> */
3791 .name = "Beholder BeholdTV 409",
3792 .audio_clock = 0x00187de7,
3793 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3794 .radio_type = UNSET,
3795 .tuner_addr = ADDR_UNSET,
3796 .radio_addr = ADDR_UNSET,
3797 .tda9887_conf = TDA9887_PRESENT,
3798 .gpiomask = 0x00008000,
3809 .name = name_svideo,
3814 [SAA7134_BOARD_BEHOLD_505FM] = {
3815 /* Beholder Intl. Ltd. 2008 */
3816 /*Dmitry Belimov <d.belimov@gmail.com> */
3817 .name = "Beholder BeholdTV 505 FM/RDS",
3818 .audio_clock = 0x00200000,
3819 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3820 .radio_type = UNSET,
3821 .tuner_addr = ADDR_UNSET,
3822 .radio_addr = ADDR_UNSET,
3823 .tda9887_conf = TDA9887_PRESENT,
3824 .gpiomask = 0x00008000,
3835 .name = name_svideo,
3848 [SAA7134_BOARD_BEHOLD_507_9FM] = {
3849 /* Beholder Intl. Ltd. 2008 */
3850 /*Dmitry Belimov <d.belimov@gmail.com> */
3851 .name = "Beholder BeholdTV 507 FM/RDS / BeholdTV 509 FM",
3852 .audio_clock = 0x00187de7,
3853 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3854 .radio_type = UNSET,
3855 .tuner_addr = ADDR_UNSET,
3856 .radio_addr = ADDR_UNSET,
3857 .tda9887_conf = TDA9887_PRESENT,
3858 .gpiomask = 0x00008000,
3869 .name = name_svideo,
3878 [SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM] = {
3879 /* Beholder Intl. Ltd. 2008 */
3880 /*Dmitry Belimov <d.belimov@gmail.com> */
3881 .name = "Beholder BeholdTV Columbus TVFM",
3882 .audio_clock = 0x00187de7,
3883 .tuner_type = TUNER_ALPS_TSBE5_PAL,
3884 .radio_type = UNSET,
3885 .tuner_addr = ADDR_UNSET,
3886 .radio_addr = ADDR_UNSET,
3887 .tda9887_conf = TDA9887_PRESENT,
3888 .gpiomask = 0x000A8004,
3901 .name = name_svideo,
3912 [SAA7134_BOARD_BEHOLD_607_9FM] = {
3913 /* Andrey Melnikoff <temnota@kmv.ru> */
3914 .name = "Beholder BeholdTV 607 / BeholdTV 609",
3915 .audio_clock = 0x00187de7,
3916 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3917 .radio_type = UNSET,
3918 .tuner_addr = ADDR_UNSET,
3919 .radio_addr = ADDR_UNSET,
3920 .tda9887_conf = TDA9887_PRESENT,
3931 .name = name_svideo,
3940 [SAA7134_BOARD_BEHOLD_M6] = {
3941 /* Igor Kuznetsov <igk@igk.ru> */
3942 /* Andrey Melnikoff <temnota@kmv.ru> */
3943 .name = "Beholder BeholdTV M6 / BeholdTV M6 Extra",
3944 .audio_clock = 0x00187de7,
3945 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3946 .radio_type = UNSET,
3947 .tuner_addr = ADDR_UNSET,
3948 .radio_addr = ADDR_UNSET,
3949 .tda9887_conf = TDA9887_PRESENT,
3960 .name = name_svideo,
3968 .mpeg = SAA7134_MPEG_EMPRESS,
3970 [SAA7134_BOARD_TWINHAN_DTV_DVB_3056] = {
3971 .name = "Twinhan Hybrid DTV-DVB 3056 PCI",
3972 .audio_clock = 0x00187de7,
3973 .tuner_type = TUNER_PHILIPS_TDA8290,
3974 .radio_type = UNSET,
3975 .tuner_addr = ADDR_UNSET,
3976 .radio_addr = ADDR_UNSET,
3978 .mpeg = SAA7134_MPEG_DVB,
3979 .gpiomask = 0x0200000,
3990 .name = name_svideo,
3991 .vmux = 8, /* untested */
4000 [SAA7134_BOARD_GENIUS_TVGO_A11MCE] = {
4001 /* Adrian Pardini <pardo.bsso@gmail.com> */
4002 .name = "Genius TVGO AM11MCE",
4003 .audio_clock = 0x00200000,
4004 .tuner_type = TUNER_TNF_5335MF,
4005 .radio_type = UNSET,
4006 .tuner_addr = ADDR_UNSET,
4007 .radio_addr = ADDR_UNSET,
4010 .name = name_tv_mono,
4022 .name = name_svideo,
4038 [SAA7134_BOARD_PHILIPS_SNAKE] = {
4039 .name = "NXP Snake DVB-S reference design",
4040 .audio_clock = 0x00200000,
4041 .tuner_type = TUNER_ABSENT,
4042 .radio_type = UNSET,
4043 .tuner_addr = ADDR_UNSET,
4044 .radio_addr = ADDR_UNSET,
4045 .mpeg = SAA7134_MPEG_DVB,
4051 .name = name_svideo,
4056 [SAA7134_BOARD_CREATIX_CTX953] = {
4057 .name = "Medion/Creatix CTX953 Hybrid",
4058 .audio_clock = 0x00187de7,
4059 .tuner_type = TUNER_PHILIPS_TDA8290,
4060 .radio_type = UNSET,
4061 .tuner_addr = ADDR_UNSET,
4062 .radio_addr = ADDR_UNSET,
4064 .mpeg = SAA7134_MPEG_DVB,
4075 .name = name_svideo,
4080 [SAA7134_BOARD_MSI_TVANYWHERE_AD11] = {
4081 .name = "MSI TV@nywhere A/D v1.1",
4082 .audio_clock = 0x00187de7,
4083 .tuner_type = TUNER_PHILIPS_TDA8290,
4084 .radio_type = UNSET,
4085 .tuner_addr = ADDR_UNSET,
4086 .radio_addr = ADDR_UNSET,
4088 .mpeg = SAA7134_MPEG_DVB,
4089 .gpiomask = 0x0200000,
4100 .name = name_svideo,
4110 [SAA7134_BOARD_AVERMEDIA_CARDBUS_506] = {
4111 .name = "AVerMedia Cardbus TV/Radio (E506R)",
4112 .audio_clock = 0x187de7,
4113 .tuner_type = TUNER_XC2028,
4114 .radio_type = UNSET,
4115 .tuner_addr = ADDR_UNSET,
4116 .radio_addr = ADDR_UNSET,
4119 .mpeg = SAA7134_MPEG_DVB,
4132 .name = name_svideo,
4141 [SAA7134_BOARD_AVERMEDIA_A16D] = {
4142 .name = "AVerMedia Hybrid TV/Radio (A16D)",
4143 .audio_clock = 0x187de7,
4144 .tuner_type = TUNER_XC2028,
4145 .radio_type = UNSET,
4146 .tuner_addr = ADDR_UNSET,
4147 .radio_addr = ADDR_UNSET,
4154 .name = name_svideo,
4163 [SAA7134_BOARD_AVERMEDIA_M115] = {
4164 .name = "Avermedia M115",
4165 .audio_clock = 0x187de7,
4166 .tuner_type = TUNER_XC2028,
4167 .radio_type = UNSET,
4168 .tuner_addr = ADDR_UNSET,
4169 .radio_addr = ADDR_UNSET,
4180 .name = name_svideo,
4185 [SAA7134_BOARD_VIDEOMATE_T750] = {
4186 /* John Newbigin <jn@it.swin.edu.au> */
4187 .name = "Compro VideoMate T750",
4188 .audio_clock = 0x00187de7,
4189 .tuner_type = TUNER_XC2028,
4190 .radio_type = UNSET,
4191 .tuner_addr = ADDR_UNSET,
4192 .radio_addr = ADDR_UNSET,
4193 .mpeg = SAA7134_MPEG_DVB,
4204 .name = name_svideo,
4213 [SAA7134_BOARD_AVERMEDIA_A700_PRO] = {
4214 /* Matthias Schwarzott <zzam@gentoo.org> */
4215 .name = "Avermedia DVB-S Pro A700",
4216 .audio_clock = 0x00187de7,
4217 .tuner_type = TUNER_ABSENT,
4218 .radio_type = UNSET,
4219 .tuner_addr = ADDR_UNSET,
4220 .radio_addr = ADDR_UNSET,
4221 /* no DVB support for now */
4222 /* .mpeg = SAA7134_MPEG_DVB, */
4228 .name = name_svideo,
4233 [SAA7134_BOARD_AVERMEDIA_A700_HYBRID] = {
4234 /* Matthias Schwarzott <zzam@gentoo.org> */
4235 .name = "Avermedia DVB-S Hybrid+FM A700",
4236 .audio_clock = 0x00187de7,
4237 .tuner_type = TUNER_ABSENT, /* TUNER_XC2028 */
4238 .radio_type = UNSET,
4239 .tuner_addr = ADDR_UNSET,
4240 .radio_addr = ADDR_UNSET,
4241 /* no DVB support for now */
4242 /* .mpeg = SAA7134_MPEG_DVB, */
4248 .name = name_svideo,
4253 [SAA7134_BOARD_BEHOLD_H6] = {
4254 /* Igor Kuznetsov <igk@igk.ru> */
4255 .name = "Beholder BeholdTV H6",
4256 .audio_clock = 0x00187de7,
4257 .tuner_type = TUNER_PHILIPS_FMD1216ME_MK3,
4258 .radio_type = UNSET,
4259 .tuner_addr = ADDR_UNSET,
4260 .radio_addr = ADDR_UNSET,
4261 .tda9887_conf = TDA9887_PRESENT,
4272 .name = name_svideo,
4280 /* no DVB support for now */
4281 /* .mpeg = SAA7134_MPEG_DVB, */
4285 const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards);
4287 /* ------------------------------------------------------------------ */
4288 /* PCI ids + subsystem IDs */
4290 struct pci_device_id saa7134_pci_tbl[] = {
4292 .vendor = PCI_VENDOR_ID_PHILIPS,
4293 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4294 .subvendor = PCI_VENDOR_ID_PHILIPS,
4295 .subdevice = 0x2001,
4296 .driver_data = SAA7134_BOARD_PROTEUS_PRO,
4298 .vendor = PCI_VENDOR_ID_PHILIPS,
4299 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4300 .subvendor = PCI_VENDOR_ID_PHILIPS,
4301 .subdevice = 0x2001,
4302 .driver_data = SAA7134_BOARD_PROTEUS_PRO,
4304 .vendor = PCI_VENDOR_ID_PHILIPS,
4305 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4306 .subvendor = PCI_VENDOR_ID_PHILIPS,
4307 .subdevice = 0x6752,
4308 .driver_data = SAA7134_BOARD_EMPRESS,
4310 .vendor = PCI_VENDOR_ID_PHILIPS,
4311 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4312 .subvendor = 0x1131,
4313 .subdevice = 0x4e85,
4314 .driver_data = SAA7134_BOARD_MONSTERTV,
4316 .vendor = PCI_VENDOR_ID_PHILIPS,
4317 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4318 .subvendor = 0x153b,
4319 .subdevice = 0x1142,
4320 .driver_data = SAA7134_BOARD_CINERGY400,
4322 .vendor = PCI_VENDOR_ID_PHILIPS,
4323 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4324 .subvendor = 0x153b,
4325 .subdevice = 0x1143,
4326 .driver_data = SAA7134_BOARD_CINERGY600,
4328 .vendor = PCI_VENDOR_ID_PHILIPS,
4329 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4330 .subvendor = 0x153b,
4331 .subdevice = 0x1158,
4332 .driver_data = SAA7134_BOARD_CINERGY600_MK3,
4334 .vendor = PCI_VENDOR_ID_PHILIPS,
4335 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4336 .subvendor = 0x153b,
4337 .subdevice = 0x1162,
4338 .driver_data = SAA7134_BOARD_CINERGY400_CARDBUS,
4340 .vendor = PCI_VENDOR_ID_PHILIPS,
4341 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4342 .subvendor = 0x5169,
4343 .subdevice = 0x0138,
4344 .driver_data = SAA7134_BOARD_FLYVIDEO3000_NTSC,
4346 .vendor = PCI_VENDOR_ID_PHILIPS,
4347 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4348 .subvendor = 0x5168,
4349 .subdevice = 0x0138,
4350 .driver_data = SAA7134_BOARD_FLYVIDEO3000,
4352 .vendor = PCI_VENDOR_ID_PHILIPS,
4353 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4354 .subvendor = 0x4e42, /* "Typhoon PCI Capture TV Card" Art.No. 50673 */
4355 .subdevice = 0x0138,
4356 .driver_data = SAA7134_BOARD_FLYVIDEO3000,
4358 .vendor = PCI_VENDOR_ID_PHILIPS,
4359 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4360 .subvendor = 0x5168,
4361 .subdevice = 0x0138,
4362 .driver_data = SAA7134_BOARD_FLYVIDEO2000,
4364 .vendor = PCI_VENDOR_ID_PHILIPS,
4365 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4366 .subvendor = 0x4e42, /* Typhoon */
4367 .subdevice = 0x0138, /* LifeView FlyTV Prime30 OEM */
4368 .driver_data = SAA7134_BOARD_FLYVIDEO2000,
4370 .vendor = PCI_VENDOR_ID_PHILIPS,
4371 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4372 .subvendor = 0x5168,
4373 .subdevice = 0x0212, /* minipci, LR212 */
4374 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
4376 .vendor = PCI_VENDOR_ID_PHILIPS,
4377 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4378 .subvendor = 0x14c0,
4379 .subdevice = 0x1212, /* minipci, LR1212 */
4380 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI2,
4382 .vendor = PCI_VENDOR_ID_PHILIPS,
4383 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4384 .subvendor = 0x4e42,
4385 .subdevice = 0x0212, /* OEM minipci, LR212 */
4386 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
4388 .vendor = PCI_VENDOR_ID_PHILIPS,
4389 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4390 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
4391 .subdevice = 0x0214, /* Standard PCI, LR214 Rev E and earlier (SAA7135) */
4392 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
4394 .vendor = PCI_VENDOR_ID_PHILIPS,
4395 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4396 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
4397 .subdevice = 0x5214, /* Standard PCI, LR214 Rev F onwards (SAA7131) */
4398 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
4400 .vendor = PCI_VENDOR_ID_PHILIPS,
4401 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4402 .subvendor = 0x1489, /* KYE */
4403 .subdevice = 0x0214, /* Genius VideoWonder ProTV */
4404 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM, /* is an LR214WF actually */
4406 .vendor = PCI_VENDOR_ID_PHILIPS,
4407 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4408 .subvendor = 0x16be,
4409 .subdevice = 0x0003,
4410 .driver_data = SAA7134_BOARD_MD7134,
4412 .vendor = PCI_VENDOR_ID_PHILIPS,
4413 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4414 .subvendor = 0x1048,
4415 .subdevice = 0x226b,
4416 .driver_data = SAA7134_BOARD_ELSA,
4418 .vendor = PCI_VENDOR_ID_PHILIPS,
4419 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4420 .subvendor = 0x1048,
4421 .subdevice = 0x226a,
4422 .driver_data = SAA7134_BOARD_ELSA_500TV,
4424 .vendor = PCI_VENDOR_ID_PHILIPS,
4425 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4426 .subvendor = 0x1048,
4427 .subdevice = 0x226c,
4428 .driver_data = SAA7134_BOARD_ELSA_700TV,
4430 .vendor = PCI_VENDOR_ID_PHILIPS,
4431 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4432 .subvendor = PCI_VENDOR_ID_ASUSTEK,
4433 .subdevice = 0x4842,
4434 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
4436 .vendor = PCI_VENDOR_ID_PHILIPS,
4437 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4438 .subvendor = PCI_VENDOR_ID_ASUSTEK,
4439 .subdevice = 0x4845,
4440 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7135,
4442 .vendor = PCI_VENDOR_ID_PHILIPS,
4443 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4444 .subvendor = PCI_VENDOR_ID_ASUSTEK,
4445 .subdevice = 0x4830,
4446 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
4448 .vendor = PCI_VENDOR_ID_PHILIPS,
4449 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4450 .subvendor = PCI_VENDOR_ID_ASUSTEK,
4451 .subdevice = 0x4843,
4452 .driver_data = SAA7134_BOARD_ASUSTEK_TVFM7133,
4454 .vendor = PCI_VENDOR_ID_PHILIPS,
4455 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4456 .subvendor = PCI_VENDOR_ID_ASUSTEK,
4457 .subdevice = 0x4840,
4458 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
4460 .vendor = PCI_VENDOR_ID_PHILIPS,
4461 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4462 .subvendor = PCI_VENDOR_ID_PHILIPS,
4463 .subdevice = 0xfe01,
4464 .driver_data = SAA7134_BOARD_TVSTATION_RDS,
4466 .vendor = PCI_VENDOR_ID_PHILIPS,
4467 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4468 .subvendor = 0x1894,
4469 .subdevice = 0xfe01,
4470 .driver_data = SAA7134_BOARD_TVSTATION_RDS,
4472 .vendor = PCI_VENDOR_ID_PHILIPS,
4473 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4474 .subvendor = 0x1894,
4475 .subdevice = 0xa006,
4476 .driver_data = SAA7134_BOARD_TVSTATION_DVR,
4478 .vendor = PCI_VENDOR_ID_PHILIPS,
4479 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4480 .subvendor = 0x1131,
4481 .subdevice = 0x7133,
4482 .driver_data = SAA7134_BOARD_VA1000POWER,
4484 .vendor = PCI_VENDOR_ID_PHILIPS,
4485 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4486 .subvendor = PCI_VENDOR_ID_PHILIPS,
4487 .subdevice = 0x2001,
4488 .driver_data = SAA7134_BOARD_10MOONSTVMASTER,
4490 .vendor = PCI_VENDOR_ID_PHILIPS,
4491 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4492 .subvendor = 0x185b,
4493 .subdevice = 0xc100,
4494 .driver_data = SAA7134_BOARD_VIDEOMATE_TV,
4496 .vendor = PCI_VENDOR_ID_PHILIPS,
4497 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4498 .subvendor = 0x185b,
4499 .subdevice = 0xc100,
4500 .driver_data = SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS,
4502 .vendor = PCI_VENDOR_ID_PHILIPS,
4503 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4504 .subvendor = PCI_VENDOR_ID_MATROX,
4505 .subdevice = 0x48d0,
4506 .driver_data = SAA7134_BOARD_CRONOS_PLUS,
4508 .vendor = PCI_VENDOR_ID_PHILIPS,
4509 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4510 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4511 .subdevice = 0xa70b,
4512 .driver_data = SAA7134_BOARD_MD2819,
4514 .vendor = PCI_VENDOR_ID_PHILIPS,
4515 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4516 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4517 .subdevice = 0xa7a1,
4518 .driver_data = SAA7134_BOARD_AVERMEDIA_A700_PRO,
4520 .vendor = PCI_VENDOR_ID_PHILIPS,
4521 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4522 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4523 .subdevice = 0xa7a2,
4524 .driver_data = SAA7134_BOARD_AVERMEDIA_A700_HYBRID,
4526 .vendor = PCI_VENDOR_ID_PHILIPS,
4527 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4528 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4529 .subdevice = 0x2115,
4530 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_305,
4532 .vendor = PCI_VENDOR_ID_PHILIPS,
4533 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4534 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4535 .subdevice = 0x2108,
4536 .driver_data = SAA7134_BOARD_AVERMEDIA_305,
4538 .vendor = PCI_VENDOR_ID_PHILIPS,
4539 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4540 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4541 .subdevice = 0x10ff,
4542 .driver_data = SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER,
4544 /* AVerMedia CardBus */
4545 .vendor = PCI_VENDOR_ID_PHILIPS,
4546 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4547 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4548 .subdevice = 0xd6ee,
4549 .driver_data = SAA7134_BOARD_AVERMEDIA_CARDBUS,
4551 /* TransGear 3000TV */
4552 .vendor = PCI_VENDOR_ID_PHILIPS,
4553 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4554 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4555 .subdevice = 0x050c,
4556 .driver_data = SAA7134_BOARD_TG3000TV,
4558 .vendor = PCI_VENDOR_ID_PHILIPS,
4559 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4560 .subvendor = 0x11bd,
4561 .subdevice = 0x002b,
4562 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_STEREO,
4564 .vendor = PCI_VENDOR_ID_PHILIPS,
4565 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4566 .subvendor = 0x11bd,
4567 .subdevice = 0x002d,
4568 .driver_data = SAA7134_BOARD_PINNACLE_300I_DVBT_PAL,
4570 .vendor = PCI_VENDOR_ID_PHILIPS,
4571 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4572 .subvendor = 0x1019,
4573 .subdevice = 0x4cb4,
4574 .driver_data = SAA7134_BOARD_ECS_TVP3XP,
4576 .vendor = PCI_VENDOR_ID_PHILIPS,
4577 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4578 .subvendor = 0x1019,
4579 .subdevice = 0x4cb5,
4580 .driver_data = SAA7134_BOARD_ECS_TVP3XP_4CB5,
4582 .vendor = PCI_VENDOR_ID_PHILIPS,
4583 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4584 .subvendor = 0x1019,
4585 .subdevice = 0x4cb6,
4586 .driver_data = SAA7134_BOARD_ECS_TVP3XP_4CB6,
4588 .vendor = PCI_VENDOR_ID_PHILIPS,
4589 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4590 .subvendor = 0x12ab,
4591 .subdevice = 0x0800,
4592 .driver_data = SAA7134_BOARD_UPMOST_PURPLE_TV,
4594 .vendor = PCI_VENDOR_ID_PHILIPS,
4595 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4596 .subvendor = 0x153b,
4597 .subdevice = 0x1152,
4598 .driver_data = SAA7134_BOARD_CINERGY200,
4600 .vendor = PCI_VENDOR_ID_PHILIPS,
4601 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4602 .subvendor = 0x185b,
4603 .subdevice = 0xc100,
4604 .driver_data = SAA7134_BOARD_VIDEOMATE_TV_PVR,
4606 .vendor = PCI_VENDOR_ID_PHILIPS,
4607 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4608 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4609 .subdevice = 0x9715,
4610 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_307,
4612 .vendor = PCI_VENDOR_ID_PHILIPS,
4613 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4614 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4615 .subdevice = 0xa70a,
4616 .driver_data = SAA7134_BOARD_AVERMEDIA_307,
4618 .vendor = PCI_VENDOR_ID_PHILIPS,
4619 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4620 .subvendor = 0x185b,
4621 .subdevice = 0xc200,
4622 .driver_data = SAA7134_BOARD_VIDEOMATE_GOLD_PLUS,
4624 .vendor = PCI_VENDOR_ID_PHILIPS,
4625 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4626 .subvendor = 0x1540,
4627 .subdevice = 0x9524,
4628 .driver_data = SAA7134_BOARD_PROVIDEO_PV952,
4631 .vendor = PCI_VENDOR_ID_PHILIPS,
4632 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4633 .subvendor = 0x5168,
4634 .subdevice = 0x0502, /* Cardbus version */
4635 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
4637 .vendor = PCI_VENDOR_ID_PHILIPS,
4638 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4639 .subvendor = 0x5168,
4640 .subdevice = 0x0306, /* PCI version */
4641 .driver_data = SAA7134_BOARD_FLYDVBTDUO,
4643 .vendor = PCI_VENDOR_ID_PHILIPS,
4644 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4645 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4646 .subdevice = 0xf31f,
4647 .driver_data = SAA7134_BOARD_AVERMEDIA_GO_007_FM,
4650 .vendor = PCI_VENDOR_ID_PHILIPS,
4651 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4652 .subvendor = PCI_VENDOR_ID_PHILIPS,
4653 .subdevice = 0x2004,
4654 .driver_data = SAA7134_BOARD_PHILIPS_TOUGH,
4656 .vendor = PCI_VENDOR_ID_PHILIPS,
4657 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4658 .subvendor = 0x1421,
4659 .subdevice = 0x0350, /* PCI version */
4660 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
4662 .vendor = PCI_VENDOR_ID_PHILIPS,
4663 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4664 .subvendor = 0x1421,
4665 .subdevice = 0x0351, /* PCI version, new revision */
4666 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
4668 .vendor = PCI_VENDOR_ID_PHILIPS,
4669 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4670 .subvendor = 0x1421,
4671 .subdevice = 0x0370, /* cardbus version */
4672 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
4674 .vendor = PCI_VENDOR_ID_PHILIPS,
4675 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4676 .subvendor = 0x1421,
4677 .subdevice = 0x1370, /* cardbus version */
4678 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
4681 .vendor = PCI_VENDOR_ID_PHILIPS,
4682 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4683 .subvendor = 0x4e42, /* Typhoon */
4684 .subdevice = 0x0502, /* LifeView LR502 OEM */
4685 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
4687 .vendor = PCI_VENDOR_ID_PHILIPS,
4688 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4689 .subvendor = 0x1043,
4690 .subdevice = 0x0210, /* mini pci NTSC version */
4691 .driver_data = SAA7134_BOARD_FLYTV_DIGIMATRIX,
4693 .vendor = PCI_VENDOR_ID_PHILIPS,
4694 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4695 .subvendor = 0x1043,
4696 .subdevice = 0x0210, /* mini pci PAL/SECAM version */
4697 .driver_data = SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV,
4700 .vendor = PCI_VENDOR_ID_PHILIPS,
4701 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4702 .subvendor = 0x0000, /* It shouldn't break anything, since subdevice id seems unique */
4703 .subdevice = 0x4091,
4704 .driver_data = SAA7134_BOARD_BEHOLD_409FM,
4706 .vendor = PCI_VENDOR_ID_PHILIPS,
4707 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4708 .subvendor = 0x5456, /* GoTView */
4709 .subdevice = 0x7135,
4710 .driver_data = SAA7134_BOARD_GOTVIEW_7135,
4712 .vendor = PCI_VENDOR_ID_PHILIPS,
4713 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4714 .subvendor = PCI_VENDOR_ID_PHILIPS,
4715 .subdevice = 0x2004,
4716 .driver_data = SAA7134_BOARD_PHILIPS_EUROPA,
4718 .vendor = PCI_VENDOR_ID_PHILIPS,
4719 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4720 .subvendor = 0x185b,
4721 .subdevice = 0xc900,
4722 .driver_data = SAA7134_BOARD_VIDEOMATE_DVBT_300,
4724 .vendor = PCI_VENDOR_ID_PHILIPS,
4725 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4726 .subvendor = 0x185b,
4727 .subdevice = 0xc901,
4728 .driver_data = SAA7134_BOARD_VIDEOMATE_DVBT_200,
4730 .vendor = PCI_VENDOR_ID_PHILIPS,
4731 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4732 .subvendor = 0x1435,
4733 .subdevice = 0x7350,
4734 .driver_data = SAA7134_BOARD_RTD_VFG7350,
4736 .vendor = PCI_VENDOR_ID_PHILIPS,
4737 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4738 .subvendor = 0x1435,
4739 .subdevice = 0x7330,
4740 .driver_data = SAA7134_BOARD_RTD_VFG7330,
4742 .vendor = PCI_VENDOR_ID_PHILIPS,
4743 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4744 .subvendor = 0x1461,
4745 .subdevice = 0x1044,
4746 .driver_data = SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180,
4748 .vendor = PCI_VENDOR_ID_PHILIPS,
4749 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4750 .subvendor = 0x1131,
4751 .subdevice = 0x4ee9,
4752 .driver_data = SAA7134_BOARD_MONSTERTV_MOBILE,
4754 .vendor = PCI_VENDOR_ID_PHILIPS,
4755 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4756 .subvendor = 0x11bd,
4757 .subdevice = 0x002e,
4758 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_110i,
4760 .vendor = PCI_VENDOR_ID_PHILIPS,
4761 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4762 .subvendor = 0x1043,
4763 .subdevice = 0x4862,
4764 .driver_data = SAA7134_BOARD_ASUSTeK_P7131_DUAL,
4766 .vendor = PCI_VENDOR_ID_PHILIPS,
4767 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4768 .subvendor = PCI_VENDOR_ID_PHILIPS,
4769 .subdevice = 0x2018,
4770 .driver_data = SAA7134_BOARD_PHILIPS_TIGER,
4772 .vendor = PCI_VENDOR_ID_PHILIPS,
4773 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4774 .subvendor = 0x1462,
4775 .subdevice = 0x6231, /* tda8275a, ks003 IR */
4776 .driver_data = SAA7134_BOARD_MSI_TVATANYWHERE_PLUS,
4778 .vendor = PCI_VENDOR_ID_PHILIPS,
4779 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4780 .subvendor = 0x1462,
4781 .subdevice = 0x8624, /* tda8275, ks003 IR */
4782 .driver_data = SAA7134_BOARD_MSI_TVATANYWHERE_PLUS,
4784 .vendor = PCI_VENDOR_ID_PHILIPS,
4785 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4786 .subvendor = 0x153b,
4787 .subdevice = 0x1160,
4788 .driver_data = SAA7134_BOARD_CINERGY250PCI,
4790 .vendor = PCI_VENDOR_ID_PHILIPS,
4791 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA 7131E */
4792 .subvendor = 0x5168,
4793 .subdevice = 0x0319,
4794 .driver_data = SAA7134_BOARD_FLYDVB_TRIO,
4796 .vendor = PCI_VENDOR_ID_PHILIPS,
4797 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4798 .subvendor = 0x1461,
4799 .subdevice = 0x2c05,
4800 .driver_data = SAA7134_BOARD_AVERMEDIA_777,
4802 .vendor = PCI_VENDOR_ID_PHILIPS,
4803 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4804 .subvendor = 0x5168,
4805 .subdevice = 0x0301,
4806 .driver_data = SAA7134_BOARD_FLYDVBT_LR301,
4808 .vendor = PCI_VENDOR_ID_PHILIPS,
4809 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4810 .subvendor = 0x0331,
4811 .subdevice = 0x1421,
4812 .driver_data = SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331,
4814 .vendor = PCI_VENDOR_ID_PHILIPS,
4815 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4816 .subvendor = 0x17de,
4817 .subdevice = 0x7201,
4818 .driver_data = SAA7134_BOARD_TEVION_DVBT_220RF,
4820 .vendor = PCI_VENDOR_ID_PHILIPS,
4821 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4822 .subvendor = 0x17de,
4823 .subdevice = 0x7250,
4824 .driver_data = SAA7134_BOARD_KWORLD_DVBT_210,
4826 .vendor = PCI_VENDOR_ID_PHILIPS,
4827 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA7135HL */
4828 .subvendor = 0x17de,
4829 .subdevice = 0x7350,
4830 .driver_data = SAA7134_BOARD_KWORLD_ATSC110,
4832 .vendor = PCI_VENDOR_ID_PHILIPS,
4833 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA7135HL */
4834 .subvendor = 0x17de,
4835 .subdevice = 0x7352,
4836 .driver_data = SAA7134_BOARD_KWORLD_ATSC110, /* ATSC 115 */
4838 .vendor = PCI_VENDOR_ID_PHILIPS,
4839 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4840 .subvendor = 0x1461,
4841 .subdevice = 0x7360,
4842 .driver_data = SAA7134_BOARD_AVERMEDIA_A169_B,
4844 .vendor = PCI_VENDOR_ID_PHILIPS,
4845 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4846 .subvendor = 0x1461,
4847 .subdevice = 0x6360,
4848 .driver_data = SAA7134_BOARD_AVERMEDIA_A169_B1,
4850 .vendor = PCI_VENDOR_ID_PHILIPS,
4851 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4852 .subvendor = 0x16be,
4853 .subdevice = 0x0005,
4854 .driver_data = SAA7134_BOARD_MD7134_BRIDGE_2,
4856 .vendor = PCI_VENDOR_ID_PHILIPS,
4857 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4858 .subvendor = 0x5168,
4859 .subdevice = 0x0300,
4860 .driver_data = SAA7134_BOARD_FLYDVBS_LR300,
4862 .vendor = PCI_VENDOR_ID_PHILIPS,
4863 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4864 .subvendor = 0x4e42,
4865 .subdevice = 0x0300,/* LR300 */
4866 .driver_data = SAA7134_BOARD_FLYDVBS_LR300,
4868 .vendor = PCI_VENDOR_ID_PHILIPS,
4869 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4870 .subvendor = 0x1489,
4871 .subdevice = 0x0301,
4872 .driver_data = SAA7134_BOARD_FLYDVBT_LR301,
4874 .vendor = PCI_VENDOR_ID_PHILIPS,
4875 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4876 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
4877 .subdevice = 0x0304,
4878 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
4880 .vendor = PCI_VENDOR_ID_PHILIPS,
4881 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4882 .subvendor = 0x5168,
4883 .subdevice = 0x3306,
4884 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
4886 .vendor = PCI_VENDOR_ID_PHILIPS,
4887 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4888 .subvendor = 0x5168,
4889 .subdevice = 0x3502, /* whats the difference to 0x3306 ?*/
4890 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
4892 .vendor = PCI_VENDOR_ID_PHILIPS,
4893 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4894 .subvendor = 0x5168,
4895 .subdevice = 0x3307, /* FlyDVB-T Hybrid Mini PCI */
4896 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
4898 .vendor = PCI_VENDOR_ID_PHILIPS,
4899 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4900 .subvendor = 0x16be,
4901 .subdevice = 0x0007,
4902 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
4904 .vendor = PCI_VENDOR_ID_PHILIPS,
4905 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4906 .subvendor = 0x16be,
4907 .subdevice = 0x0008,
4908 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
4910 .vendor = PCI_VENDOR_ID_PHILIPS,
4911 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4912 .subvendor = 0x16be,
4913 .subdevice = 0x000d, /* triple CTX948_V1.1.1 */
4914 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
4916 .vendor = PCI_VENDOR_ID_PHILIPS,
4917 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4918 .subvendor = 0x1461,
4919 .subdevice = 0x2c05,
4920 .driver_data = SAA7134_BOARD_AVERMEDIA_777,
4922 .vendor = PCI_VENDOR_ID_PHILIPS,
4923 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4924 .subvendor = 0x1489,
4925 .subdevice = 0x0502, /* Cardbus version */
4926 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
4928 .vendor = PCI_VENDOR_ID_PHILIPS,
4929 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4930 .subvendor = 0x0919, /* Philips Proteus PRO 2309 */
4931 .subdevice = 0x2003,
4932 .driver_data = SAA7134_BOARD_PROTEUS_2309,
4934 .vendor = PCI_VENDOR_ID_PHILIPS,
4935 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4936 .subvendor = 0x1461,
4937 .subdevice = 0x2c00,
4938 .driver_data = SAA7134_BOARD_AVERMEDIA_A16AR,
4940 .vendor = PCI_VENDOR_ID_PHILIPS,
4941 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4942 .subvendor = 0x1043,
4943 .subdevice = 0x4860,
4944 .driver_data = SAA7134_BOARD_ASUS_EUROPA2_HYBRID,
4946 .vendor = PCI_VENDOR_ID_PHILIPS,
4947 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4948 .subvendor = 0x11bd,
4949 .subdevice = 0x002f,
4950 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_310i,
4952 .vendor = PCI_VENDOR_ID_PHILIPS,
4953 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4954 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4955 .subdevice = 0x9715,
4956 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_507,
4958 .vendor = PCI_VENDOR_ID_PHILIPS,
4959 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4960 .subvendor = 0x1043,
4961 .subdevice = 0x4876,
4962 .driver_data = SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA,
4964 .vendor = PCI_VENDOR_ID_PHILIPS,
4965 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4966 .subvendor = 0x0070,
4967 .subdevice = 0x6700,
4968 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
4970 .vendor = PCI_VENDOR_ID_PHILIPS,
4971 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4972 .subvendor = 0x0070,
4973 .subdevice = 0x6701,
4974 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
4976 .vendor = PCI_VENDOR_ID_PHILIPS,
4977 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4978 .subvendor = 0x0070,
4979 .subdevice = 0x6702,
4980 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
4982 .vendor = PCI_VENDOR_ID_PHILIPS,
4983 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4984 .subvendor = 0x0070,
4985 .subdevice = 0x6703,
4986 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
4988 .vendor = PCI_VENDOR_ID_PHILIPS,
4989 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4990 .subvendor = 0x0070,
4991 .subdevice = 0x6704,
4992 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
4994 .vendor = PCI_VENDOR_ID_PHILIPS,
4995 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4996 .subvendor = 0x0070,
4997 .subdevice = 0x6705,
4998 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
5000 .vendor = PCI_VENDOR_ID_PHILIPS,
5001 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5002 .subvendor = 0x153b,
5003 .subdevice = 0x1172,
5004 .driver_data = SAA7134_BOARD_CINERGY_HT_PCMCIA,
5006 .vendor = PCI_VENDOR_ID_PHILIPS,
5007 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5008 .subvendor = PCI_VENDOR_ID_PHILIPS,
5009 .subdevice = 0x2342,
5010 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
5012 .vendor = PCI_VENDOR_ID_PHILIPS,
5013 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5014 .subvendor = 0x1131,
5015 .subdevice = 0x2341,
5016 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
5018 .vendor = PCI_VENDOR_ID_PHILIPS,
5019 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5020 .subvendor = 0x3016,
5021 .subdevice = 0x2344,
5022 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
5024 .vendor = PCI_VENDOR_ID_PHILIPS,
5025 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5026 .subvendor = 0x1131,
5027 .subdevice = 0x230f,
5028 .driver_data = SAA7134_BOARD_ENCORE_ENLTV_FM,
5030 .vendor = PCI_VENDOR_ID_PHILIPS,
5031 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5032 .subvendor = 0x153b,
5033 .subdevice = 0x1175,
5034 .driver_data = SAA7134_BOARD_CINERGY_HT_PCI,
5036 .vendor = PCI_VENDOR_ID_PHILIPS,
5037 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5038 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5039 .subdevice = 0xf31e,
5040 .driver_data = SAA7134_BOARD_AVERMEDIA_M102,
5042 .vendor = PCI_VENDOR_ID_PHILIPS,
5043 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5044 .subvendor = 0x4E42, /* MSI */
5045 .subdevice = 0x0306, /* TV@nywhere DUO */
5046 .driver_data = SAA7134_BOARD_FLYDVBTDUO,
5048 .vendor = PCI_VENDOR_ID_PHILIPS,
5049 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5050 .subvendor = 0x1043,
5051 .subdevice = 0x4871,
5052 .driver_data = SAA7134_BOARD_ASUS_P7131_4871,
5054 .vendor = PCI_VENDOR_ID_PHILIPS,
5055 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5056 .subvendor = 0x1043,
5057 .subdevice = 0x4857,
5058 .driver_data = SAA7134_BOARD_ASUSTeK_P7131_DUAL,
5060 .vendor = PCI_VENDOR_ID_PHILIPS,
5061 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5062 .subvendor = 0x0919, /* SinoVideo PCI 2309 Proteus (7134) */
5063 .subdevice = 0x2003, /* OEM cardbus */
5064 .driver_data = SAA7134_BOARD_SABRENT_TV_PCB05,
5066 .vendor = PCI_VENDOR_ID_PHILIPS,
5067 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5068 .subvendor = PCI_VENDOR_ID_PHILIPS,
5069 .subdevice = 0x2304,
5070 .driver_data = SAA7134_BOARD_10MOONSTVMASTER3,
5072 .vendor = PCI_VENDOR_ID_PHILIPS,
5073 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5074 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5075 .subdevice = 0xf01d, /* AVerTV DVB-T Super 007 */
5076 .driver_data = SAA7134_BOARD_AVERMEDIA_SUPER_007,
5078 .vendor = PCI_VENDOR_ID_PHILIPS,
5079 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5080 .subvendor = 0x0000,
5081 .subdevice = 0x4016,
5082 .driver_data = SAA7134_BOARD_BEHOLD_401,
5084 .vendor = PCI_VENDOR_ID_PHILIPS,
5085 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5086 .subvendor = 0x0000,
5087 .subdevice = 0x4036,
5088 .driver_data = SAA7134_BOARD_BEHOLD_403,
5090 .vendor = PCI_VENDOR_ID_PHILIPS,
5091 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5092 .subvendor = 0x0000,
5093 .subdevice = 0x4037,
5094 .driver_data = SAA7134_BOARD_BEHOLD_403FM,
5096 .vendor = PCI_VENDOR_ID_PHILIPS,
5097 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5098 .subvendor = 0x0000,
5099 .subdevice = 0x4050,
5100 .driver_data = SAA7134_BOARD_BEHOLD_405,
5102 .vendor = PCI_VENDOR_ID_PHILIPS,
5103 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5104 .subvendor = 0x0000,
5105 .subdevice = 0x4051,
5106 .driver_data = SAA7134_BOARD_BEHOLD_405FM,
5108 .vendor = PCI_VENDOR_ID_PHILIPS,
5109 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5110 .subvendor = 0x0000,
5111 .subdevice = 0x4070,
5112 .driver_data = SAA7134_BOARD_BEHOLD_407,
5114 .vendor = PCI_VENDOR_ID_PHILIPS,
5115 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5116 .subvendor = 0x0000,
5117 .subdevice = 0x4071,
5118 .driver_data = SAA7134_BOARD_BEHOLD_407FM,
5120 .vendor = PCI_VENDOR_ID_PHILIPS,
5121 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5122 .subvendor = 0x0000,
5123 .subdevice = 0x4090,
5124 .driver_data = SAA7134_BOARD_BEHOLD_409,
5126 .vendor = PCI_VENDOR_ID_PHILIPS,
5127 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5128 .subvendor = 0x0000,
5129 .subdevice = 0x5051,
5130 .driver_data = SAA7134_BOARD_BEHOLD_505FM,
5132 .vendor = PCI_VENDOR_ID_PHILIPS,
5133 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5134 .subvendor = 0x0000,
5135 .subdevice = 0x505B,
5136 .driver_data = SAA7134_BOARD_BEHOLD_505FM,
5138 .vendor = PCI_VENDOR_ID_PHILIPS,
5139 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5140 .subvendor = 0x5ace,
5141 .subdevice = 0x5050,
5142 .driver_data = SAA7134_BOARD_BEHOLD_505FM,
5144 .vendor = PCI_VENDOR_ID_PHILIPS,
5145 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5146 .subvendor = 0x0000,
5147 .subdevice = 0x5071,
5148 .driver_data = SAA7134_BOARD_BEHOLD_507_9FM,
5150 .vendor = PCI_VENDOR_ID_PHILIPS,
5151 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5152 .subvendor = 0x0000,
5153 .subdevice = 0x507B,
5154 .driver_data = SAA7134_BOARD_BEHOLD_507_9FM,
5156 .vendor = PCI_VENDOR_ID_PHILIPS,
5157 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5158 .subvendor = 0x5ace,
5159 .subdevice = 0x5070,
5160 .driver_data = SAA7134_BOARD_BEHOLD_507_9FM,
5162 .vendor = PCI_VENDOR_ID_PHILIPS,
5163 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5164 .subvendor = 0x5ace,
5165 .subdevice = 0x5090,
5166 .driver_data = SAA7134_BOARD_BEHOLD_507_9FM,
5168 .vendor = PCI_VENDOR_ID_PHILIPS,
5169 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5170 .subvendor = 0x0000,
5171 .subdevice = 0x5201,
5172 .driver_data = SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM,
5174 .vendor = PCI_VENDOR_ID_PHILIPS,
5175 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5176 .subvendor = 0x5ace,
5177 .subdevice = 0x6070,
5178 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5180 .vendor = PCI_VENDOR_ID_PHILIPS,
5181 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5182 .subvendor = 0x5ace,
5183 .subdevice = 0x6071,
5184 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5186 .vendor = PCI_VENDOR_ID_PHILIPS,
5187 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5188 .subvendor = 0x5ace,
5189 .subdevice = 0x6072,
5190 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5192 .vendor = PCI_VENDOR_ID_PHILIPS,
5193 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5194 .subvendor = 0x5ace,
5195 .subdevice = 0x6073,
5196 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5198 .vendor = PCI_VENDOR_ID_PHILIPS,
5199 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5200 .subvendor = 0x5ace,
5201 .subdevice = 0x6090,
5202 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5204 .vendor = PCI_VENDOR_ID_PHILIPS,
5205 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5206 .subvendor = 0x5ace,
5207 .subdevice = 0x6091,
5208 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5210 .vendor = PCI_VENDOR_ID_PHILIPS,
5211 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5212 .subvendor = 0x5ace,
5213 .subdevice = 0x6092,
5214 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5216 .vendor = PCI_VENDOR_ID_PHILIPS,
5217 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5218 .subvendor = 0x5ace,
5219 .subdevice = 0x6093,
5220 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5222 .vendor = PCI_VENDOR_ID_PHILIPS,
5223 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5224 .subvendor = 0x5ace,
5225 .subdevice = 0x6190,
5226 .driver_data = SAA7134_BOARD_BEHOLD_M6,
5228 .vendor = PCI_VENDOR_ID_PHILIPS,
5229 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5230 .subvendor = 0x5ace,
5231 .subdevice = 0x6193,
5232 .driver_data = SAA7134_BOARD_BEHOLD_M6,
5234 .vendor = PCI_VENDOR_ID_PHILIPS,
5235 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5236 .subvendor = 0x5ace,
5237 .subdevice = 0x6191,
5238 .driver_data = SAA7134_BOARD_BEHOLD_M6,
5240 .vendor = PCI_VENDOR_ID_PHILIPS,
5241 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5242 .subvendor = 0x4e42,
5243 .subdevice = 0x3502,
5244 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
5246 .vendor = PCI_VENDOR_ID_PHILIPS,
5247 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5248 .subvendor = 0x1822, /*Twinhan Technology Co. Ltd*/
5249 .subdevice = 0x0022,
5250 .driver_data = SAA7134_BOARD_TWINHAN_DTV_DVB_3056,
5252 .vendor = PCI_VENDOR_ID_PHILIPS,
5253 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5254 .subvendor = 0x16be,
5255 .subdevice = 0x0010, /* Medion version CTX953_V.1.4.3 */
5256 .driver_data = SAA7134_BOARD_CREATIX_CTX953,
5258 .vendor = PCI_VENDOR_ID_PHILIPS,
5259 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5260 .subvendor = 0x1462, /* MSI */
5261 .subdevice = 0x8625, /* TV@nywhere A/D v1.1 */
5262 .driver_data = SAA7134_BOARD_MSI_TVANYWHERE_AD11,
5264 .vendor = PCI_VENDOR_ID_PHILIPS,
5265 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5266 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5267 .subdevice = 0xf436,
5268 .driver_data = SAA7134_BOARD_AVERMEDIA_CARDBUS_506,
5270 .vendor = PCI_VENDOR_ID_PHILIPS,
5271 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5272 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5273 .subdevice = 0xf936,
5274 .driver_data = SAA7134_BOARD_AVERMEDIA_A16D,
5276 .vendor = PCI_VENDOR_ID_PHILIPS,
5277 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5278 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5279 .subdevice = 0xa836,
5280 .driver_data = SAA7134_BOARD_AVERMEDIA_M115,
5282 .vendor = PCI_VENDOR_ID_PHILIPS,
5283 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5284 .subvendor = 0x185b,
5285 .subdevice = 0xc900,
5286 .driver_data = SAA7134_BOARD_VIDEOMATE_T750,
5288 .vendor = PCI_VENDOR_ID_PHILIPS,
5289 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5290 .subvendor = 0x5ace,
5291 .subdevice = 0x6290,
5292 .driver_data = SAA7134_BOARD_BEHOLD_H6,
5294 /* --- boards without eeprom + subsystem ID --- */
5295 .vendor = PCI_VENDOR_ID_PHILIPS,
5296 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5297 .subvendor = PCI_VENDOR_ID_PHILIPS,
5299 .driver_data = SAA7134_BOARD_NOAUTO,
5301 .vendor = PCI_VENDOR_ID_PHILIPS,
5302 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5303 .subvendor = PCI_VENDOR_ID_PHILIPS,
5305 .driver_data = SAA7134_BOARD_NOAUTO,
5307 /* --- default catch --- */
5308 .vendor = PCI_VENDOR_ID_PHILIPS,
5309 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5310 .subvendor = PCI_ANY_ID,
5311 .subdevice = PCI_ANY_ID,
5312 .driver_data = SAA7134_BOARD_UNKNOWN,
5314 .vendor = PCI_VENDOR_ID_PHILIPS,
5315 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5316 .subvendor = PCI_ANY_ID,
5317 .subdevice = PCI_ANY_ID,
5318 .driver_data = SAA7134_BOARD_UNKNOWN,
5320 .vendor = PCI_VENDOR_ID_PHILIPS,
5321 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5322 .subvendor = PCI_ANY_ID,
5323 .subdevice = PCI_ANY_ID,
5324 .driver_data = SAA7134_BOARD_UNKNOWN,
5326 .vendor = PCI_VENDOR_ID_PHILIPS,
5327 .device = PCI_DEVICE_ID_PHILIPS_SAA7135,
5328 .subvendor = PCI_ANY_ID,
5329 .subdevice = PCI_ANY_ID,
5330 .driver_data = SAA7134_BOARD_UNKNOWN,
5332 /* --- end of list --- */
5335 MODULE_DEVICE_TABLE(pci, saa7134_pci_tbl);
5337 /* ----------------------------------------------------------- */
5338 /* flyvideo tweaks */
5341 static void board_flyvideo(struct saa7134_dev *dev)
5343 printk("%s: there are different flyvideo cards with different tuners\n"
5344 "%s: out there, you might have to use the tuner=<nr> insmod\n"
5345 "%s: option to override the default value.\n",
5346 dev->name, dev->name, dev->name);
5349 static int saa7134_xc2028_callback(struct saa7134_dev *dev,
5350 int command, int arg)
5353 case XC2028_TUNER_RESET:
5354 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x06e20000, 0x06e20000);
5355 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x06a20000, 0x06a20000);
5357 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x06e20000, 0);
5358 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x06a20000, 0);
5360 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x06e20000, 0x06e20000);
5361 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x06a20000, 0x06a20000);
5363 saa_andorl(SAA7133_ANALOG_IO_SELECT >> 2, 0x02, 0x02);
5364 saa_andorl(SAA7134_ANALOG_IN_CTRL1 >> 2, 0x81, 0x81);
5365 saa_andorl(SAA7134_AUDIO_CLOCK0 >> 2, 0x03187de7, 0x03187de7);
5366 saa_andorl(SAA7134_AUDIO_PLL_CTRL >> 2, 0x03, 0x03);
5367 saa_andorl(SAA7134_AUDIO_CLOCKS_PER_FIELD0 >> 2,
5368 0x0001e000, 0x0001e000);
5375 static int saa7134_tda8290_callback(struct saa7134_dev *dev,
5376 int command, int arg)
5381 case 0: /* switch LNA gain through GPIO 22*/
5382 saa7134_set_gpio(dev, 22, arg) ;
5384 case 1: /* vsync output at GPIO22. 50 / 60Hz */
5385 saa_andorb(SAA7134_VIDEO_PORT_CTRL3, 0x80, 0x80);
5386 saa_andorb(SAA7134_VIDEO_PORT_CTRL6, 0x0f, 0x03);
5391 saa_writeb(SAA7134_VGATE_START, sync_control);
5392 saa_writeb(SAA7134_VGATE_STOP, sync_control + 1);
5393 saa_andorb(SAA7134_MISC_VGATE_MSB, 0x03, 0x00);
5402 int saa7134_tuner_callback(void *priv, int command, int arg)
5404 struct saa7134_dev *dev = priv;
5406 switch (dev->tuner_type) {
5407 case TUNER_PHILIPS_TDA8290:
5408 return saa7134_tda8290_callback(dev, command, arg);
5410 return saa7134_xc2028_callback(dev, command, arg);
5413 printk(KERN_ERR "saa7134: Error - device struct undefined.\n");
5418 EXPORT_SYMBOL(saa7134_tuner_callback);
5420 /* ----------------------------------------------------------- */
5422 static void hauppauge_eeprom(struct saa7134_dev *dev, u8 *eeprom_data)
5426 tveeprom_hauppauge_analog(&dev->i2c_client, &tv, eeprom_data);
5428 /* Make sure we support the board model */
5430 case 67019: /* WinTV-HVR1110 (Retail, IR Blaster, hybrid, FM, SVid/Comp, 3.5mm audio in) */
5431 case 67109: /* WinTV-HVR1000 (Retail, IR Receive, analog, no FM, SVid/Comp, 3.5mm audio in) */
5432 case 67559: /* WinTV-HVR1110 (OEM, no IR, hybrid, FM, SVid/Comp, RCA aud) */
5433 case 67569: /* WinTV-HVR1110 (OEM, no IR, hybrid, FM) */
5434 case 67579: /* WinTV-HVR1110 (OEM, no IR, hybrid, no FM) */
5435 case 67589: /* WinTV-HVR1110 (OEM, no IR, hybrid, no FM, SVid/Comp, RCA aud) */
5436 case 67599: /* WinTV-HVR1110 (OEM, no IR, hybrid, no FM, SVid/Comp, RCA aud) */
5439 printk(KERN_WARNING "%s: warning: "
5440 "unknown hauppauge model #%d\n", dev->name, tv.model);
5444 printk(KERN_INFO "%s: hauppauge eeprom: model=%d\n",
5445 dev->name, tv.model);
5448 /* ----------------------------------------------------------- */
5450 int saa7134_board_init1(struct saa7134_dev *dev)
5452 /* Always print gpio, often manufacturers encode tuner type and other info. */
5453 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0);
5454 dev->gpio_value = saa_readl(SAA7134_GPIO_GPSTATUS0 >> 2);
5455 printk(KERN_INFO "%s: board init: gpio is %x\n", dev->name, dev->gpio_value);
5457 switch (dev->board) {
5458 case SAA7134_BOARD_FLYVIDEO2000:
5459 case SAA7134_BOARD_FLYVIDEO3000:
5460 case SAA7134_BOARD_FLYVIDEO3000_NTSC:
5461 dev->has_remote = SAA7134_REMOTE_GPIO;
5462 board_flyvideo(dev);
5464 case SAA7134_BOARD_FLYTVPLATINUM_MINI2:
5465 case SAA7134_BOARD_FLYTVPLATINUM_FM:
5466 case SAA7134_BOARD_CINERGY400:
5467 case SAA7134_BOARD_CINERGY600:
5468 case SAA7134_BOARD_CINERGY600_MK3:
5469 case SAA7134_BOARD_ECS_TVP3XP:
5470 case SAA7134_BOARD_ECS_TVP3XP_4CB5:
5471 case SAA7134_BOARD_ECS_TVP3XP_4CB6:
5472 case SAA7134_BOARD_MD2819:
5473 case SAA7134_BOARD_KWORLD_VSTREAM_XPERT:
5474 case SAA7134_BOARD_KWORLD_XPERT:
5475 case SAA7134_BOARD_AVERMEDIA_STUDIO_305:
5476 case SAA7134_BOARD_AVERMEDIA_305:
5477 case SAA7134_BOARD_AVERMEDIA_STUDIO_307:
5478 case SAA7134_BOARD_AVERMEDIA_307:
5479 case SAA7134_BOARD_AVERMEDIA_STUDIO_507:
5480 case SAA7134_BOARD_AVERMEDIA_GO_007_FM:
5481 case SAA7134_BOARD_AVERMEDIA_777:
5482 /* case SAA7134_BOARD_SABRENT_SBTTVFM: */ /* not finished yet */
5483 case SAA7134_BOARD_VIDEOMATE_TV_PVR:
5484 case SAA7134_BOARD_VIDEOMATE_GOLD_PLUS:
5485 case SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII:
5486 case SAA7134_BOARD_VIDEOMATE_DVBT_300:
5487 case SAA7134_BOARD_VIDEOMATE_DVBT_200:
5488 case SAA7134_BOARD_VIDEOMATE_DVBT_200A:
5489 case SAA7134_BOARD_VIDEOMATE_T750:
5490 case SAA7134_BOARD_MANLI_MTV001:
5491 case SAA7134_BOARD_MANLI_MTV002:
5492 case SAA7134_BOARD_BEHOLD_409FM:
5493 case SAA7134_BOARD_AVACSSMARTTV:
5494 case SAA7134_BOARD_GOTVIEW_7135:
5495 case SAA7134_BOARD_KWORLD_TERMINATOR:
5496 case SAA7134_BOARD_SEDNA_PC_TV_CARDBUS:
5497 case SAA7134_BOARD_FLYDVBT_LR301:
5498 case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
5499 case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA:
5500 case SAA7134_BOARD_FLYDVBTDUO:
5501 case SAA7134_BOARD_PROTEUS_2309:
5502 case SAA7134_BOARD_AVERMEDIA_A16AR:
5503 case SAA7134_BOARD_ENCORE_ENLTV:
5504 case SAA7134_BOARD_ENCORE_ENLTV_FM:
5505 case SAA7134_BOARD_10MOONSTVMASTER3:
5506 case SAA7134_BOARD_BEHOLD_401:
5507 case SAA7134_BOARD_BEHOLD_403:
5508 case SAA7134_BOARD_BEHOLD_403FM:
5509 case SAA7134_BOARD_BEHOLD_405:
5510 case SAA7134_BOARD_BEHOLD_405FM:
5511 case SAA7134_BOARD_BEHOLD_407:
5512 case SAA7134_BOARD_BEHOLD_407FM:
5513 case SAA7134_BOARD_BEHOLD_409:
5514 case SAA7134_BOARD_BEHOLD_505FM:
5515 case SAA7134_BOARD_BEHOLD_507_9FM:
5516 case SAA7134_BOARD_GENIUS_TVGO_A11MCE:
5517 dev->has_remote = SAA7134_REMOTE_GPIO;
5519 case SAA7134_BOARD_FLYDVBS_LR300:
5520 saa_writeb(SAA7134_GPIO_GPMODE3, 0x80);
5521 saa_writeb(SAA7134_GPIO_GPSTATUS2, 0x40);
5522 dev->has_remote = SAA7134_REMOTE_GPIO;
5524 case SAA7134_BOARD_MD5044:
5525 printk("%s: seems there are two different versions of the MD5044\n"
5526 "%s: (with the same ID) out there. If sound doesn't work for\n"
5527 "%s: you try the audio_clock_override=0x200000 insmod option.\n",
5528 dev->name,dev->name,dev->name);
5530 case SAA7134_BOARD_CINERGY400_CARDBUS:
5531 /* power-up tuner chip */
5532 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000);
5533 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000000);
5535 case SAA7134_BOARD_PINNACLE_300I_DVBT_PAL:
5536 /* this turns the remote control chip off to work around a bug in it */
5537 saa_writeb(SAA7134_GPIO_GPMODE1, 0x80);
5538 saa_writeb(SAA7134_GPIO_GPSTATUS1, 0x80);
5540 case SAA7134_BOARD_MONSTERTV_MOBILE:
5541 /* power-up tuner chip */
5542 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000);
5543 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000004);
5545 case SAA7134_BOARD_FLYDVBT_DUO_CARDBUS:
5546 /* turn the fan on */
5547 saa_writeb(SAA7134_GPIO_GPMODE3, 0x08);
5548 saa_writeb(SAA7134_GPIO_GPSTATUS3, 0x06);
5550 case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331:
5551 case SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS:
5552 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x08000000, 0x08000000);
5553 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x08000000, 0x00000000);
5555 case SAA7134_BOARD_AVERMEDIA_CARDBUS:
5556 case SAA7134_BOARD_AVERMEDIA_CARDBUS_506:
5557 case SAA7134_BOARD_AVERMEDIA_M115:
5558 case SAA7134_BOARD_AVERMEDIA_A16D:
5559 /* power-down tuner chip */
5560 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0xffffffff, 0);
5561 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0);
5563 /* power-up tuner chip */
5564 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0xffffffff, 0xffffffff);
5565 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0xffffffff);
5568 case SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM:
5569 /* power-down tuner chip */
5570 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x000A8004, 0x000A8004);
5571 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x000A8004, 0);
5573 /* power-up tuner chip */
5574 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x000A8004, 0x000A8004);
5575 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x000A8004, 0x000A8004);
5577 /* remote via GPIO */
5578 dev->has_remote = SAA7134_REMOTE_GPIO;
5580 case SAA7134_BOARD_RTD_VFG7350:
5583 * Make sure Production Test Register at offset 0x1D1 is cleared
5584 * to take chip out of test mode. Clearing bit 4 (TST_EN_AOUT)
5585 * prevents pin 105 from remaining low; keeping pin 105 low
5586 * continually resets the SAA6752 chip.
5589 saa_writeb (SAA7134_PRODUCTION_TEST_MODE, 0x00);
5592 case SAA7134_BOARD_PINNACLE_PCTV_110i:
5593 case SAA7134_BOARD_PINNACLE_PCTV_310i:
5594 case SAA7134_BOARD_UPMOST_PURPLE_TV:
5595 case SAA7134_BOARD_HAUPPAUGE_HVR1110:
5596 case SAA7134_BOARD_BEHOLD_607_9FM:
5597 case SAA7134_BOARD_BEHOLD_M6:
5598 dev->has_remote = SAA7134_REMOTE_I2C;
5600 case SAA7134_BOARD_AVERMEDIA_A169_B:
5601 printk("%s: %s: dual saa713x broadcast decoders\n"
5602 "%s: Sorry, none of the inputs to this chip are supported yet.\n"
5603 "%s: Dual decoder functionality is disabled for now, use the other chip.\n",
5604 dev->name,card(dev).name,dev->name,dev->name);
5606 case SAA7134_BOARD_AVERMEDIA_M102:
5608 dev->has_remote = SAA7134_REMOTE_GPIO;
5609 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x8c040007, 0x8c040007);
5610 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x0c0007cd, 0x0c0007cd);
5612 case SAA7134_BOARD_AVERMEDIA_A700_PRO:
5613 case SAA7134_BOARD_AVERMEDIA_A700_HYBRID:
5614 /* write windows gpio values */
5615 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x80040100, 0x80040100);
5616 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x80040100, 0x00040100);
5617 printk("%s: %s: hybrid analog/dvb card\n"
5618 "%s: Sorry, only the analog inputs are supported for now.\n",
5619 dev->name, card(dev).name, dev->name);
5625 static void saa7134_tuner_setup(struct saa7134_dev *dev)
5627 struct tuner_setup tun_setup;
5628 unsigned int mode_mask = T_RADIO |
5632 memset(&tun_setup, 0, sizeof(tun_setup));
5633 tun_setup.tuner_callback = saa7134_tuner_callback;
5635 if (saa7134_boards[dev->board].radio_type != UNSET) {
5636 tun_setup.type = saa7134_boards[dev->board].radio_type;
5637 tun_setup.addr = saa7134_boards[dev->board].radio_addr;
5639 tun_setup.mode_mask = T_RADIO;
5641 saa7134_i2c_call_clients(dev, TUNER_SET_TYPE_ADDR, &tun_setup);
5642 mode_mask &= ~T_RADIO;
5645 if ((dev->tuner_type != TUNER_ABSENT) && (dev->tuner_type != UNSET)) {
5646 tun_setup.type = dev->tuner_type;
5647 tun_setup.addr = dev->tuner_addr;
5648 tun_setup.config = saa7134_boards[dev->board].tuner_config;
5649 tun_setup.tuner_callback = saa7134_tuner_callback;
5651 tun_setup.mode_mask = mode_mask;
5653 saa7134_i2c_call_clients(dev, TUNER_SET_TYPE_ADDR, &tun_setup);
5656 if (dev->tda9887_conf) {
5657 struct v4l2_priv_tun_config tda9887_cfg;
5659 tda9887_cfg.tuner = TUNER_TDA9887;
5660 tda9887_cfg.priv = &dev->tda9887_conf;
5662 saa7134_i2c_call_clients(dev, TUNER_SET_CONFIG,
5666 if (dev->tuner_type == TUNER_XC2028) {
5667 struct v4l2_priv_tun_config xc2028_cfg;
5668 struct xc2028_ctrl ctl;
5670 memset(&xc2028_cfg, 0, sizeof(ctl));
5671 memset(&ctl, 0, sizeof(ctl));
5673 ctl.fname = XC2028_DEFAULT_FIRMWARE;
5676 switch (dev->board) {
5677 case SAA7134_BOARD_AVERMEDIA_A16D:
5678 ctl.demod = XC3028_FE_ZARLINK456;
5681 ctl.demod = XC3028_FE_OREN538;
5685 xc2028_cfg.tuner = TUNER_XC2028;
5686 xc2028_cfg.priv = &ctl;
5688 saa7134_i2c_call_clients(dev, TUNER_SET_CONFIG, &xc2028_cfg);
5692 /* stuff which needs working i2c */
5693 int saa7134_board_init2(struct saa7134_dev *dev)
5698 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
5699 dev->tuner_addr = saa7134_boards[dev->board].tuner_addr;
5701 switch (dev->board) {
5702 case SAA7134_BOARD_BMK_MPEX_NOTUNER:
5703 case SAA7134_BOARD_BMK_MPEX_TUNER:
5704 dev->i2c_client.addr = 0x60;
5705 board = (i2c_master_recv(&dev->i2c_client, &buf, 0) < 0)
5706 ? SAA7134_BOARD_BMK_MPEX_NOTUNER
5707 : SAA7134_BOARD_BMK_MPEX_TUNER;
5708 if (board == dev->board)
5711 printk("%s: board type fixup: %s\n", dev->name,
5712 saa7134_boards[dev->board].name);
5713 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
5716 case SAA7134_BOARD_MD7134:
5722 struct i2c_msg msg[] = {{.addr=0x50, .flags=0, .buf=&subaddr, .len = 1},
5723 {.addr=0x50, .flags=I2C_M_RD, .buf=data, .len = 3}};
5726 ret = i2c_transfer(&dev->i2c_adap, msg, 2);
5728 printk(KERN_ERR "EEPROM read failure\n");
5729 } else if ((data[0] != 0) && (data[0] != 0xff)) {
5730 /* old config structure */
5731 subaddr = data[0] + 2;
5733 i2c_transfer(&dev->i2c_adap, msg, 2);
5734 tuner_t = (data[0] << 8) + data[1];
5737 dev->tuner_type = TUNER_PHILIPS_PAL;
5740 dev->tuner_type = TUNER_PHILIPS_FM1216ME_MK3;
5743 printk(KERN_ERR "%s Cant determine tuner type %x from EEPROM\n", dev->name, tuner_t);
5745 } else if ((data[1] != 0) && (data[1] != 0xff)) {
5746 /* new config structure */
5747 subaddr = data[1] + 1;
5749 i2c_transfer(&dev->i2c_adap, msg, 2);
5750 subaddr = data[0] + 1;
5752 i2c_transfer(&dev->i2c_adap, msg, 2);
5753 tuner_t = (data[1] << 8) + data[0];
5756 dev->tuner_type = TUNER_PHILIPS_FM1216ME_MK3;
5759 dev->tuner_type = TUNER_PHILIPS_FMD1216ME_MK3;
5760 printk(KERN_INFO "%s Board has DVB-T\n", dev->name);
5763 printk(KERN_ERR "%s Cant determine tuner type %x from EEPROM\n", dev->name, tuner_t);
5766 printk(KERN_ERR "%s unexpected config structure\n", dev->name);
5769 printk(KERN_INFO "%s Tuner type is %d\n", dev->name, dev->tuner_type);
5772 case SAA7134_BOARD_PHILIPS_EUROPA:
5773 if (dev->autodetected && (dev->eedata[0x41] == 0x1c)) {
5774 /* Reconfigure board as Snake reference design */
5775 dev->board = SAA7134_BOARD_PHILIPS_SNAKE;
5776 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
5777 printk(KERN_INFO "%s: Reconfigured board as %s\n",
5778 dev->name, saa7134_boards[dev->board].name);
5781 case SAA7134_BOARD_VIDEOMATE_DVBT_300:
5782 case SAA7134_BOARD_ASUS_EUROPA2_HYBRID:
5785 /* The Philips EUROPA based hybrid boards have the tuner connected through
5786 * the channel decoder. We have to make it transparent to find it
5788 u8 data[] = { 0x07, 0x02};
5789 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
5790 i2c_transfer(&dev->i2c_adap, &msg, 1);
5794 case SAA7134_BOARD_PHILIPS_TIGER:
5795 case SAA7134_BOARD_PHILIPS_TIGER_S:
5797 u8 data[] = { 0x3c, 0x33, 0x60};
5798 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
5799 if (dev->autodetected && (dev->eedata[0x49] == 0x50)) {
5800 dev->board = SAA7134_BOARD_PHILIPS_TIGER_S;
5801 printk(KERN_INFO "%s: Reconfigured board as %s\n",
5802 dev->name, saa7134_boards[dev->board].name);
5804 if (dev->board == SAA7134_BOARD_PHILIPS_TIGER_S) {
5805 dev->tuner_type = TUNER_PHILIPS_TDA8290;
5807 saa7134_tuner_setup(dev);
5810 i2c_transfer(&dev->i2c_adap, &msg, 1);
5812 /* Tuner setup is handled before I2C transfer.
5813 Due to that, there's no need to do it later
5817 i2c_transfer(&dev->i2c_adap, &msg, 1);
5820 case SAA7134_BOARD_HAUPPAUGE_HVR1110:
5821 hauppauge_eeprom(dev, dev->eedata+0x80);
5822 /* break intentionally omitted */
5823 case SAA7134_BOARD_PINNACLE_PCTV_310i:
5824 case SAA7134_BOARD_KWORLD_DVBT_210:
5825 case SAA7134_BOARD_TEVION_DVBT_220RF:
5826 case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
5827 case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA:
5828 case SAA7134_BOARD_MEDION_MD8800_QUADRO:
5829 case SAA7134_BOARD_AVERMEDIA_SUPER_007:
5830 case SAA7134_BOARD_TWINHAN_DTV_DVB_3056:
5831 case SAA7134_BOARD_CREATIX_CTX953:
5833 /* this is a hybrid board, initialize to analog mode
5834 * and configure firmware eeprom address
5836 u8 data[] = { 0x3c, 0x33, 0x60};
5837 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
5838 i2c_transfer(&dev->i2c_adap, &msg, 1);
5841 case SAA7134_BOARD_FLYDVB_TRIO:
5843 u8 data[] = { 0x3c, 0x33, 0x62};
5844 struct i2c_msg msg = {.addr=0x09, .flags=0, .buf=data, .len = sizeof(data)};
5845 i2c_transfer(&dev->i2c_adap, &msg, 1);
5848 case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331:
5849 case SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS:
5851 /* initialize analog mode */
5852 u8 data[] = { 0x3c, 0x33, 0x6a};
5853 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
5854 i2c_transfer(&dev->i2c_adap, &msg, 1);
5857 case SAA7134_BOARD_CINERGY_HT_PCMCIA:
5858 case SAA7134_BOARD_CINERGY_HT_PCI:
5860 /* initialize analog mode */
5861 u8 data[] = { 0x3c, 0x33, 0x68};
5862 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
5863 i2c_transfer(&dev->i2c_adap, &msg, 1);
5866 case SAA7134_BOARD_KWORLD_ATSC110:
5870 static const u8 buffer [] = { 0x10, 0x12, 0x13, 0x04, 0x16,
5871 0x00, 0x14, 0x04, 0x17, 0x00 };
5872 dev->i2c_client.addr = 0x0a;
5873 for (i = 0; i < 5; i++)
5874 if (2 != i2c_master_send(&dev->i2c_client,
5877 "%s: Unable to enable tuner(%i).\n",
5881 case SAA7134_BOARD_VIDEOMATE_DVBT_200:
5882 case SAA7134_BOARD_VIDEOMATE_DVBT_200A:
5883 /* The T200 and the T200A share the same pci id. Consequently,
5884 * we are going to query eeprom to try to find out which one we
5885 * are actually looking at. */
5887 /* Don't do this if the board was specifically selected with an
5888 * insmod option or if we have the default configuration T200*/
5889 if(!dev->autodetected || (dev->eedata[0x41] == 0xd0))
5891 if(dev->eedata[0x41] == 0x02) {
5892 /* Reconfigure board as T200A */
5893 dev->board = SAA7134_BOARD_VIDEOMATE_DVBT_200A;
5894 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
5895 dev->tda9887_conf = saa7134_boards[dev->board].tda9887_conf;
5896 printk(KERN_INFO "%s: Reconfigured board as %s\n",
5897 dev->name, saa7134_boards[dev->board].name);
5899 printk(KERN_WARNING "%s: Unexpected tuner type info: %x in eeprom\n",
5900 dev->name, dev->eedata[0x41]);
5904 case SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM:
5906 struct v4l2_priv_tun_config tea5767_cfg;
5907 struct tea5767_ctrl ctl;
5909 dev->i2c_client.addr = 0xC0;
5910 /* set TEA5767(analog FM) defines */
5911 memset(&ctl, 0, sizeof(ctl));
5912 ctl.xtal_freq = TEA5767_HIGH_LO_13MHz;
5913 tea5767_cfg.tuner = TUNER_TEA5767;
5914 tea5767_cfg.priv = &ctl;
5915 saa7134_i2c_call_clients(dev, TUNER_SET_CONFIG, &tea5767_cfg);
5920 saa7134_tuner_setup(dev);