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_AVERMEDIA_M103] = {
1291 /* Massimo Piccioni <dafastidio@libero.it> */
1292 .name = "AVerMedia MiniPCI DVB-T Hybrid M103",
1293 .audio_clock = 0x187de7,
1294 .tuner_type = TUNER_XC2028,
1295 .radio_type = UNSET,
1296 .tuner_addr = ADDR_UNSET,
1297 .radio_addr = ADDR_UNSET,
1298 .mpeg = SAA7134_MPEG_DVB,
1306 [SAA7134_BOARD_NOVAC_PRIMETV7133] = {
1307 /* toshii@netbsd.org */
1308 .name = "Noval Prime TV 7133",
1309 .audio_clock = 0x00200000,
1310 .tuner_type = TUNER_ALPS_TSBH1_NTSC,
1311 .radio_type = UNSET,
1312 .tuner_addr = ADDR_UNSET,
1313 .radio_addr = ADDR_UNSET,
1323 .name = name_svideo,
1327 [SAA7134_BOARD_AVERMEDIA_STUDIO_305] = {
1328 .name = "AverMedia AverTV Studio 305",
1329 .audio_clock = 0x00187de7,
1330 .tuner_type = TUNER_PHILIPS_FM1256_IH3,
1331 .radio_type = UNSET,
1332 .tuner_addr = ADDR_UNSET,
1333 .radio_addr = ADDR_UNSET,
1334 .tda9887_conf = TDA9887_PRESENT,
1349 .name = name_svideo,
1362 [SAA7134_BOARD_UPMOST_PURPLE_TV] = {
1363 .name = "UPMOST PURPLE TV",
1364 .audio_clock = 0x00187de7,
1365 .tuner_type = TUNER_PHILIPS_FM1236_MK3,
1366 .radio_type = UNSET,
1367 .tuner_addr = ADDR_UNSET,
1368 .radio_addr = ADDR_UNSET,
1369 .tda9887_conf = TDA9887_PRESENT,
1376 .name = name_svideo,
1381 [SAA7134_BOARD_ITEMS_MTV005] = {
1382 /* Norman Jonas <normanjonas@arcor.de> */
1383 .name = "Items MuchTV Plus / IT-005",
1384 .audio_clock = 0x00187de7,
1385 .tuner_type = TUNER_PHILIPS_PAL,
1386 .radio_type = UNSET,
1387 .tuner_addr = ADDR_UNSET,
1388 .radio_addr = ADDR_UNSET,
1399 .name = name_svideo,
1408 [SAA7134_BOARD_CINERGY200] = {
1409 .name = "Terratec Cinergy 200 TV",
1410 .audio_clock = 0x00200000,
1411 .tuner_type = TUNER_PHILIPS_PAL,
1412 .radio_type = UNSET,
1413 .tuner_addr = ADDR_UNSET,
1414 .radio_addr = ADDR_UNSET,
1425 .name = name_svideo,
1429 .name = name_comp2, /* CVideo over SVideo Connector */
1438 [SAA7134_BOARD_VIDEOMATE_TV_PVR] = {
1439 /* Alain St-Denis <alain@topaze.homeip.net> */
1440 .name = "Compro VideoMate TV PVR/FM",
1441 .audio_clock = 0x00187de7,
1442 .tuner_type = TUNER_PHILIPS_NTSC_M,
1443 .radio_type = UNSET,
1444 .tuner_addr = ADDR_UNSET,
1445 .radio_addr = ADDR_UNSET,
1446 .gpiomask = 0x808c0080,
1448 .name = name_svideo,
1475 [SAA7134_BOARD_SABRENT_SBTTVFM] = {
1476 /* Michael Rodriguez-Torrent <mrtorrent@asu.edu> */
1477 .name = "Sabrent SBT-TVFM (saa7130)",
1478 .audio_clock = 0x00187de7,
1479 .tuner_type = TUNER_PHILIPS_NTSC_M,
1480 .radio_type = UNSET,
1481 .tuner_addr = ADDR_UNSET,
1482 .radio_addr = ADDR_UNSET,
1493 .name = name_svideo,
1502 [SAA7134_BOARD_ZOLID_XPERT_TV7134] = {
1503 /* Helge Jensen <helge.jensen@slog.dk> */
1504 .name = ":Zolid Xpert TV7134",
1505 .audio_clock = 0x00187de7,
1506 .tuner_type = TUNER_PHILIPS_NTSC,
1507 .radio_type = UNSET,
1508 .tuner_addr = ADDR_UNSET,
1509 .radio_addr = ADDR_UNSET,
1511 .name = name_svideo,
1525 [SAA7134_BOARD_EMPIRE_PCI_TV_RADIO_LE] = {
1526 /* "Matteo Az" <matte.az@nospam.libero.it> ;-) */
1527 .name = "Empire PCI TV-Radio LE",
1528 .audio_clock = 0x00187de7,
1529 .tuner_type = TUNER_PHILIPS_PAL,
1530 .radio_type = UNSET,
1531 .tuner_addr = ADDR_UNSET,
1532 .radio_addr = ADDR_UNSET,
1535 .name = name_tv_mono,
1546 .name = name_svideo,
1562 [SAA7134_BOARD_AVERMEDIA_STUDIO_307] = {
1564 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1565 Lots of thanks to Andrey Zolotarev <zolotarev_andrey@mail.ru>
1567 .name = "Avermedia AVerTV Studio 307",
1568 .audio_clock = 0x00187de7,
1569 .tuner_type = TUNER_PHILIPS_FM1256_IH3,
1570 .radio_type = UNSET,
1571 .tuner_addr = ADDR_UNSET,
1572 .radio_addr = ADDR_UNSET,
1573 .tda9887_conf = TDA9887_PRESENT,
1587 .name = name_svideo,
1603 [SAA7134_BOARD_AVERMEDIA_GO_007_FM] = {
1604 .name = "Avermedia AVerTV GO 007 FM",
1605 .audio_clock = 0x00187de7,
1606 .tuner_type = TUNER_PHILIPS_TDA8290,
1607 .radio_type = UNSET,
1608 .tuner_addr = ADDR_UNSET,
1609 .radio_addr = ADDR_UNSET,
1610 .gpiomask = 0x00300003,
1611 /* .gpiomask = 0x8c240003, */
1624 .name = name_svideo,
1640 [SAA7134_BOARD_AVERMEDIA_CARDBUS] = {
1641 /* Kees.Blom@cwi.nl */
1642 .name = "AVerMedia Cardbus TV/Radio (E500)",
1643 .audio_clock = 0x187de7,
1644 .tuner_type = TUNER_PHILIPS_TDA8290,
1645 .radio_type = UNSET,
1646 .tuner_addr = ADDR_UNSET,
1647 .radio_addr = ADDR_UNSET,
1658 .name = name_svideo,
1667 [SAA7134_BOARD_CINERGY400_CARDBUS] = {
1668 .name = "Terratec Cinergy 400 mobile",
1669 .audio_clock = 0x187de7,
1670 .tuner_type = TUNER_ALPS_TSBE5_PAL,
1671 .radio_type = UNSET,
1672 .tuner_addr = ADDR_UNSET,
1673 .radio_addr = ADDR_UNSET,
1674 .tda9887_conf = TDA9887_PRESENT,
1681 .name = name_tv_mono,
1690 .name = name_svideo,
1695 [SAA7134_BOARD_CINERGY600_MK3] = {
1696 .name = "Terratec Cinergy 600 TV MK3",
1697 .audio_clock = 0x00200000,
1698 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
1699 .radio_type = UNSET,
1700 .tuner_addr = ADDR_UNSET,
1701 .radio_addr = ADDR_UNSET,
1702 .tda9887_conf = TDA9887_PRESENT,
1713 .name = name_svideo,
1717 .name = name_comp2, /* CVideo over SVideo Connector */
1726 [SAA7134_BOARD_VIDEOMATE_GOLD_PLUS] = {
1727 /* Dylan Walkden <dylan_walkden@hotmail.com> */
1728 .name = "Compro VideoMate Gold+ Pal",
1729 .audio_clock = 0x00187de7,
1730 .tuner_type = TUNER_PHILIPS_PAL,
1731 .radio_type = UNSET,
1732 .tuner_addr = ADDR_UNSET,
1733 .radio_addr = ADDR_UNSET,
1734 .gpiomask = 0x1ce780,
1736 .name = name_svideo,
1737 .vmux = 0, /* CVideo over SVideo Connector - ok? */
1763 [SAA7134_BOARD_PINNACLE_300I_DVBT_PAL] = {
1764 .name = "Pinnacle PCTV 300i DVB-T + PAL",
1765 .audio_clock = 0x00187de7,
1766 .tuner_type = TUNER_MT2032,
1767 .radio_type = UNSET,
1768 .tuner_addr = ADDR_UNSET,
1769 .radio_addr = ADDR_UNSET,
1770 .tda9887_conf = TDA9887_PRESENT | TDA9887_INTERCARRIER | TDA9887_PORT2_INACTIVE,
1771 .mpeg = SAA7134_MPEG_DVB,
1786 .name = name_svideo,
1791 [SAA7134_BOARD_PROVIDEO_PV952] = {
1792 /* andreas.kretschmer@web.de */
1793 .name = "ProVideo PV952",
1794 .audio_clock = 0x00187de7,
1795 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
1796 .radio_type = UNSET,
1797 .tuner_addr = ADDR_UNSET,
1798 .radio_addr = ADDR_UNSET,
1799 .tda9887_conf = TDA9887_PRESENT,
1810 .name = name_tv_mono,
1820 [SAA7134_BOARD_AVERMEDIA_305] = {
1821 /* much like the "studio" version but without radio
1822 * and another tuner (sirspiritus@yandex.ru) */
1823 .name = "AverMedia AverTV/305",
1824 .audio_clock = 0x00187de7,
1825 .tuner_type = TUNER_PHILIPS_FQ1216ME,
1826 .radio_type = UNSET,
1827 .tuner_addr = ADDR_UNSET,
1828 .radio_addr = ADDR_UNSET,
1829 .tda9887_conf = TDA9887_PRESENT,
1844 .name = name_svideo,
1853 [SAA7134_BOARD_FLYDVBTDUO] = {
1854 /* LifeView FlyDVB-T DUO */
1855 /* "Nico Sabbi <nsabbi@tiscali.it> Hartmut Hackmann hartmut.hackmann@t-online.de*/
1856 .name = "LifeView FlyDVB-T DUO / MSI TV@nywhere Duo",
1857 .audio_clock = 0x00200000,
1858 .tuner_type = TUNER_PHILIPS_TDA8290,
1859 .radio_type = UNSET,
1860 .tuner_addr = ADDR_UNSET,
1861 .radio_addr = ADDR_UNSET,
1862 .gpiomask = 0x00200000,
1863 .mpeg = SAA7134_MPEG_DVB,
1868 .gpio = 0x200000, /* GPIO21=High for TV input */
1871 .name = name_comp1, /* Composite signal on S-Video input */
1875 .name = name_comp2, /* Composite input */
1879 .name = name_svideo, /* S-Video signal on S-Video input */
1886 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
1889 [SAA7134_BOARD_PHILIPS_TOUGH] = {
1890 .name = "Philips TOUGH DVB-T reference design",
1891 .tuner_type = TUNER_ABSENT,
1892 .audio_clock = 0x00187de7,
1893 .radio_type = UNSET,
1894 .tuner_addr = ADDR_UNSET,
1895 .radio_addr = ADDR_UNSET,
1896 .mpeg = SAA7134_MPEG_DVB,
1902 .name = name_svideo,
1907 [SAA7134_BOARD_AVERMEDIA_307] = {
1909 Davydov Vladimir <vladimir@iqmedia.com>
1911 .name = "Avermedia AVerTV 307",
1912 .audio_clock = 0x00187de7,
1913 .tuner_type = TUNER_PHILIPS_FQ1216ME,
1914 .radio_type = UNSET,
1915 .tuner_addr = ADDR_UNSET,
1916 .radio_addr = ADDR_UNSET,
1917 .tda9887_conf = TDA9887_PRESENT,
1932 .name = name_svideo,
1937 [SAA7134_BOARD_ADS_INSTANT_TV] = {
1938 .name = "ADS Tech Instant TV (saa7135)",
1939 .audio_clock = 0x00187de7,
1940 .tuner_type = TUNER_PHILIPS_TDA8290,
1941 .radio_type = UNSET,
1942 .tuner_addr = ADDR_UNSET,
1943 .radio_addr = ADDR_UNSET,
1954 .name = name_svideo,
1959 [SAA7134_BOARD_KWORLD_VSTREAM_XPERT] = {
1960 .name = "Kworld/Tevion V-Stream Xpert TV PVR7134",
1961 .audio_clock = 0x00187de7,
1962 .tuner_type = TUNER_PHILIPS_PAL_I,
1963 .radio_type = UNSET,
1964 .tuner_addr = ADDR_UNSET,
1965 .radio_addr = ADDR_UNSET,
1977 .gpio = 0x200, /* gpio by DScaler */
1979 .name = name_svideo,
1995 [SAA7134_BOARD_FLYDVBT_DUO_CARDBUS] = {
1996 .name = "LifeView/Typhoon/Genius FlyDVB-T Duo Cardbus",
1997 .audio_clock = 0x00200000,
1998 .tuner_type = TUNER_PHILIPS_TDA8290,
1999 .radio_type = UNSET,
2000 .tuner_addr = ADDR_UNSET,
2001 .radio_addr = ADDR_UNSET,
2002 .mpeg = SAA7134_MPEG_DVB,
2003 .gpiomask = 0x00200000,
2008 .gpio = 0x200000, /* GPIO21=High for TV input */
2011 .name = name_svideo, /* S-Video signal on S-Video input */
2015 .name = name_comp1, /* Composite signal on S-Video input */
2019 .name = name_comp2, /* Composite input */
2026 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
2029 [SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII] = {
2030 .name = "Compro VideoMate TV Gold+II",
2031 .audio_clock = 0x002187de7,
2032 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
2033 .radio_type = TUNER_TEA5767,
2036 .gpiomask = 0x8c1880,
2038 .name = name_svideo,
2065 [SAA7134_BOARD_KWORLD_XPERT] = {
2068 - Remote control doesn't initialize properly.
2069 - Audio volume starts muted,
2070 then gradually increases after channel change.
2071 - Overlay scaling problems (application error?)
2072 - Composite S-Video untested.
2073 From: Konrad Rzepecki <hannibal@megapolis.pl>
2075 .name = "Kworld Xpert TV PVR7134",
2076 .audio_clock = 0x00187de7,
2077 .tuner_type = TUNER_TENA_9533_DI,
2078 .radio_type = TUNER_TEA5767,
2092 .gpio = 0x200, /* gpio by DScaler */
2094 .name = name_svideo,
2110 [SAA7134_BOARD_FLYTV_DIGIMATRIX] = {
2111 .name = "FlyTV mini Asus Digimatrix",
2112 .audio_clock = 0x00200000,
2113 .tuner_type = TUNER_LG_TALN,
2114 .radio_type = UNSET,
2115 .tuner_addr = ADDR_UNSET,
2116 .radio_addr = ADDR_UNSET,
2123 .name = name_tv_mono,
2136 .name = name_svideo,
2141 .name = name_radio, /* radio unconfirmed */
2145 [SAA7134_BOARD_KWORLD_TERMINATOR] = {
2146 /* Kworld V-Stream Studio TV Terminator */
2147 /* "James Webb <jrwebb@qwest.net> */
2148 .name = "V-Stream Studio TV Terminator",
2149 .audio_clock = 0x00187de7,
2150 .tuner_type = TUNER_PHILIPS_TDA8290,
2151 .radio_type = UNSET,
2152 .tuner_addr = ADDR_UNSET,
2153 .radio_addr = ADDR_UNSET,
2154 .gpiomask = 1 << 21,
2162 .name = name_comp1, /* Composite input */
2167 .name = name_svideo, /* S-Video input */
2178 [SAA7134_BOARD_YUAN_TUN900] = {
2180 * S-Video and composite sources untested.
2181 * Radio not working.
2182 * Remote control not yet implemented.
2183 * From : codemaster@webgeeks.be */
2184 .name = "Yuan TUN-900 (saa7135)",
2185 .audio_clock = 0x00187de7,
2186 .tuner_type = TUNER_PHILIPS_TDA8290,
2187 .radio_type = UNSET,
2188 .tuner_addr= ADDR_UNSET,
2189 .radio_addr= ADDR_UNSET,
2190 .gpiomask = 0x00010003,
2203 .name = name_svideo,
2219 [SAA7134_BOARD_BEHOLD_409FM] = {
2220 /* <http://tuner.beholder.ru>, Sergey <skiv@orel.ru> */
2221 /* Beholder Intl. Ltd. 2008 */
2222 /*Dmitry Belimov <d.belimov@gmail.com> */
2223 .name = "Beholder BeholdTV 409 FM",
2224 .audio_clock = 0x00187de7,
2225 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
2226 .radio_type = UNSET,
2227 .tuner_addr = ADDR_UNSET,
2228 .radio_addr = ADDR_UNSET,
2229 .tda9887_conf = TDA9887_PRESENT,
2230 .gpiomask = 0x00008000,
2241 .name = name_svideo,
2250 [SAA7134_BOARD_GOTVIEW_7135] = {
2251 /* Mike Baikov <mike@baikov.com> */
2252 /* Andrey Cvetcov <ays14@yandex.ru> */
2253 .name = "GoTView 7135 PCI",
2254 .audio_clock = 0x00187de7,
2255 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
2256 .radio_type = UNSET,
2257 .tuner_addr = ADDR_UNSET,
2258 .radio_addr = ADDR_UNSET,
2259 .tda9887_conf = TDA9887_PRESENT,
2260 .gpiomask = 0x00200003,
2268 .name = name_tv_mono,
2278 .name = name_svideo,
2294 [SAA7134_BOARD_PHILIPS_EUROPA] = {
2295 .name = "Philips EUROPA V3 reference design",
2296 .audio_clock = 0x00187de7,
2297 .tuner_type = TUNER_PHILIPS_TD1316,
2298 .radio_type = UNSET,
2300 .radio_addr = ADDR_UNSET,
2301 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
2302 .mpeg = SAA7134_MPEG_DVB,
2313 .name = name_svideo,
2318 [SAA7134_BOARD_VIDEOMATE_DVBT_300] = {
2319 .name = "Compro Videomate DVB-T300",
2320 .audio_clock = 0x00187de7,
2321 .tuner_type = TUNER_PHILIPS_TD1316,
2322 .radio_type = UNSET,
2324 .radio_addr = ADDR_UNSET,
2325 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
2326 .mpeg = SAA7134_MPEG_DVB,
2337 .name = name_svideo,
2342 [SAA7134_BOARD_VIDEOMATE_DVBT_200] = {
2343 .name = "Compro Videomate DVB-T200",
2344 .tuner_type = TUNER_ABSENT,
2345 .audio_clock = 0x00187de7,
2346 .radio_type = UNSET,
2347 .tuner_addr = ADDR_UNSET,
2348 .radio_addr = ADDR_UNSET,
2349 .mpeg = SAA7134_MPEG_DVB,
2355 .name = name_svideo,
2360 [SAA7134_BOARD_RTD_VFG7350] = {
2361 .name = "RTD Embedded Technologies VFG7350",
2362 .audio_clock = 0x00200000,
2363 .tuner_type = TUNER_ABSENT,
2364 .radio_type = UNSET,
2365 .tuner_addr = ADDR_UNSET,
2366 .radio_addr = ADDR_UNSET,
2368 .name = "Composite 0",
2372 .name = "Composite 1",
2376 .name = "Composite 2",
2380 .name = "Composite 3",
2384 .name = "S-Video 0",
2388 .name = "S-Video 1",
2392 .mpeg = SAA7134_MPEG_EMPRESS,
2393 .video_out = CCIR656,
2394 .vid_port_opts = ( SET_T_CODE_POLARITY_NON_INVERTED |
2395 SET_CLOCK_NOT_DELAYED |
2396 SET_CLOCK_INVERTED |
2399 [SAA7134_BOARD_RTD_VFG7330] = {
2400 .name = "RTD Embedded Technologies VFG7330",
2401 .audio_clock = 0x00200000,
2402 .tuner_type = TUNER_ABSENT,
2403 .radio_type = UNSET,
2404 .tuner_addr = ADDR_UNSET,
2405 .radio_addr = ADDR_UNSET,
2407 .name = "Composite 0",
2411 .name = "Composite 1",
2415 .name = "Composite 2",
2419 .name = "Composite 3",
2423 .name = "S-Video 0",
2427 .name = "S-Video 1",
2432 [SAA7134_BOARD_FLYTVPLATINUM_MINI2] = {
2433 .name = "LifeView FlyTV Platinum Mini2",
2434 .audio_clock = 0x00200000,
2435 .tuner_type = TUNER_PHILIPS_TDA8290,
2436 .radio_type = UNSET,
2437 .tuner_addr = ADDR_UNSET,
2438 .radio_addr = ADDR_UNSET,
2446 .name = name_comp1, /* Composite signal on S-Video input */
2450 .name = name_comp2, /* Composite input */
2454 .name = name_svideo,
2459 [SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180] = {
2460 /* Michael Krufky <mkrufky@m1k.net>
2461 * Uses Alps Electric TDHU2, containing NXT2004 ATSC Decoder
2462 * AFAIK, there is no analog demod, thus,
2463 * no support for analog television.
2465 .name = "AVerMedia AVerTVHD MCE A180",
2466 .audio_clock = 0x00187de7,
2467 .tuner_type = TUNER_ABSENT,
2468 .radio_type = UNSET,
2469 .tuner_addr = ADDR_UNSET,
2470 .radio_addr = ADDR_UNSET,
2471 .mpeg = SAA7134_MPEG_DVB,
2477 .name = name_svideo,
2482 [SAA7134_BOARD_MONSTERTV_MOBILE] = {
2483 .name = "SKNet MonsterTV Mobile",
2484 .audio_clock = 0x00187de7,
2485 .tuner_type = TUNER_PHILIPS_TDA8290,
2486 .radio_type = UNSET,
2487 .tuner_addr = ADDR_UNSET,
2488 .radio_addr = ADDR_UNSET,
2500 .name = name_svideo,
2505 [SAA7134_BOARD_PINNACLE_PCTV_110i] = {
2506 .name = "Pinnacle PCTV 40i/50i/110i (saa7133)",
2507 .audio_clock = 0x00187de7,
2508 .tuner_type = TUNER_PHILIPS_TDA8290,
2509 .radio_type = UNSET,
2510 .tuner_addr = ADDR_UNSET,
2511 .radio_addr = ADDR_UNSET,
2512 .gpiomask = 0x080200000,
2527 .name = name_svideo,
2537 [SAA7134_BOARD_ASUSTeK_P7131_DUAL] = {
2538 .name = "ASUSTeK P7131 Dual",
2539 .audio_clock = 0x00187de7,
2540 .tuner_type = TUNER_PHILIPS_TDA8290,
2541 .radio_type = UNSET,
2542 .tuner_addr = ADDR_UNSET,
2543 .radio_addr = ADDR_UNSET,
2544 .gpiomask = 1 << 21,
2545 .mpeg = SAA7134_MPEG_DVB,
2563 .name = name_svideo,
2574 [SAA7134_BOARD_SEDNA_PC_TV_CARDBUS] = {
2575 /* Paul Tom Zalac <pzalac@gmail.com> */
2576 /* Pavel Mihaylov <bin@bash.info> */
2577 .name = "Sedna/MuchTV PC TV Cardbus TV/Radio (ITO25 Rev:2B)",
2578 /* Sedna/MuchTV (OEM) Cardbus TV Tuner */
2579 .audio_clock = 0x00187de7,
2580 .tuner_type = TUNER_PHILIPS_TDA8290,
2581 .radio_type = UNSET,
2582 .tuner_addr = ADDR_UNSET,
2583 .radio_addr = ADDR_UNSET,
2584 .gpiomask = 0xe880c0,
2595 .name = name_svideo,
2604 [SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV] = {
2605 /* "Cyril Lacoux (Yack)" <clacoux@ifeelgood.org> */
2606 .name = "ASUS Digimatrix TV",
2607 .audio_clock = 0x00200000,
2608 .tuner_type = TUNER_PHILIPS_FQ1216ME,
2609 .tda9887_conf = TDA9887_PRESENT,
2610 .radio_type = UNSET,
2611 .tuner_addr = ADDR_UNSET,
2612 .radio_addr = ADDR_UNSET,
2623 .name = name_svideo,
2628 [SAA7134_BOARD_PHILIPS_TIGER] = {
2629 .name = "Philips Tiger reference design",
2630 .audio_clock = 0x00187de7,
2631 .tuner_type = TUNER_PHILIPS_TDA8290,
2632 .radio_type = UNSET,
2633 .tuner_addr = ADDR_UNSET,
2634 .radio_addr = ADDR_UNSET,
2636 .mpeg = SAA7134_MPEG_DVB,
2637 .gpiomask = 0x0200000,
2648 .name = name_svideo,
2658 [SAA7134_BOARD_MSI_TVATANYWHERE_PLUS] = {
2659 .name = "MSI TV@Anywhere plus",
2660 .audio_clock = 0x00187de7,
2661 .tuner_type = TUNER_PHILIPS_TDA8290,
2662 .radio_type = UNSET,
2663 .tuner_addr = ADDR_UNSET,
2664 .radio_addr = ADDR_UNSET,
2665 .gpiomask = 1 << 21,
2674 .amux = LINE2, /* unconfirmed, taken from Philips driver */
2677 .vmux = 0, /* untested, Composite over S-Video */
2680 .name = name_svideo,
2690 [SAA7134_BOARD_CINERGY250PCI] = {
2691 /* remote-control does not work. The signal about a
2692 key press comes in via gpio, but the key code
2693 doesn't. Neither does it have an i2c remote control
2695 .name = "Terratec Cinergy 250 PCI TV",
2696 .audio_clock = 0x00187de7,
2697 .tuner_type = TUNER_PHILIPS_TDA8290,
2698 .radio_type = UNSET,
2699 .tuner_addr = ADDR_UNSET,
2700 .radio_addr = ADDR_UNSET,
2701 .gpiomask = 0x80200000,
2708 .name = name_svideo, /* NOT tested */
2718 [SAA7134_BOARD_FLYDVB_TRIO] = {
2719 /* LifeView LR319 FlyDVB Trio */
2720 /* Peter Missel <peter.missel@onlinehome.de> */
2721 .name = "LifeView FlyDVB Trio",
2722 .audio_clock = 0x00200000,
2723 .tuner_type = TUNER_PHILIPS_TDA8290,
2724 .radio_type = UNSET,
2725 .tuner_addr = ADDR_UNSET,
2726 .radio_addr = ADDR_UNSET,
2727 .gpiomask = 0x00200000,
2728 .mpeg = SAA7134_MPEG_DVB,
2730 .name = name_tv, /* Analog broadcast/cable TV */
2733 .gpio = 0x200000, /* GPIO21=High for TV input */
2736 .name = name_svideo, /* S-Video signal on S-Video input */
2740 .name = name_comp1, /* Composite signal on S-Video input */
2744 .name = name_comp2, /* Composite input */
2751 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
2754 [SAA7134_BOARD_AVERMEDIA_777] = {
2755 .name = "AverTV DVB-T 777",
2756 .audio_clock = 0x00187de7,
2757 .tuner_type = TUNER_ABSENT,
2758 .radio_type = UNSET,
2759 .tuner_addr = ADDR_UNSET,
2760 .radio_addr = ADDR_UNSET,
2761 .mpeg = SAA7134_MPEG_DVB,
2767 .name = name_svideo,
2772 [SAA7134_BOARD_FLYDVBT_LR301] = {
2773 /* LifeView FlyDVB-T */
2774 /* Giampiero Giancipoli <gianci@libero.it> */
2775 .name = "LifeView FlyDVB-T / Genius VideoWonder DVB-T",
2776 .audio_clock = 0x00200000,
2777 .tuner_type = TUNER_ABSENT,
2778 .radio_type = UNSET,
2779 .tuner_addr = ADDR_UNSET,
2780 .radio_addr = ADDR_UNSET,
2781 .mpeg = SAA7134_MPEG_DVB,
2783 .name = name_comp1, /* Composite input */
2787 .name = name_svideo, /* S-Video signal on S-Video input */
2792 [SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331] = {
2793 .name = "ADS Instant TV Duo Cardbus PTV331",
2794 .audio_clock = 0x00200000,
2795 .tuner_type = TUNER_PHILIPS_TDA8290,
2796 .radio_type = UNSET,
2797 .tuner_addr = ADDR_UNSET,
2798 .radio_addr = ADDR_UNSET,
2799 .mpeg = SAA7134_MPEG_DVB,
2800 .gpiomask = 0x00600000, /* Bit 21 0=Radio, Bit 22 0=TV */
2809 [SAA7134_BOARD_TEVION_DVBT_220RF] = {
2810 .name = "Tevion/KWorld DVB-T 220RF",
2811 .audio_clock = 0x00187de7,
2812 .tuner_type = TUNER_PHILIPS_TDA8290,
2813 .radio_type = UNSET,
2814 .tuner_addr = ADDR_UNSET,
2815 .radio_addr = ADDR_UNSET,
2816 .mpeg = SAA7134_MPEG_DVB,
2817 .gpiomask = 1 << 21,
2832 .name = name_svideo,
2842 [SAA7134_BOARD_KWORLD_DVBT_210] = {
2843 .name = "KWorld DVB-T 210",
2844 .audio_clock = 0x00187de7,
2845 .tuner_type = TUNER_PHILIPS_TDA8290,
2846 .radio_type = UNSET,
2847 .tuner_addr = ADDR_UNSET,
2848 .radio_addr = ADDR_UNSET,
2849 .mpeg = SAA7134_MPEG_DVB,
2850 .gpiomask = 1 << 21,
2861 .name = name_svideo,
2871 [SAA7134_BOARD_KWORLD_ATSC110] = {
2872 .name = "Kworld ATSC110/115",
2873 .audio_clock = 0x00187de7,
2874 .tuner_type = TUNER_PHILIPS_TUV1236D,
2875 .radio_type = UNSET,
2876 .tuner_addr = ADDR_UNSET,
2877 .radio_addr = ADDR_UNSET,
2878 .tda9887_conf = TDA9887_PRESENT,
2879 .mpeg = SAA7134_MPEG_DVB,
2890 .name = name_svideo,
2895 [SAA7134_BOARD_AVERMEDIA_A169_B] = {
2896 /* AVerMedia A169 */
2897 /* Rickard Osser <ricky@osser.se> */
2898 /* This card has two saa7134 chips on it,
2899 but only one of them is currently working. */
2900 .name = "AVerMedia A169 B",
2901 .audio_clock = 0x02187de7,
2902 .tuner_type = TUNER_LG_TALN,
2903 .radio_type = UNSET,
2904 .tuner_addr = ADDR_UNSET,
2905 .radio_addr = ADDR_UNSET,
2906 .tda9887_conf = TDA9887_PRESENT,
2907 .gpiomask = 0x0a60000,
2909 [SAA7134_BOARD_AVERMEDIA_A169_B1] = {
2910 /* AVerMedia A169 */
2911 /* Rickard Osser <ricky@osser.se> */
2912 .name = "AVerMedia A169 B1",
2913 .audio_clock = 0x02187de7,
2914 .tuner_type = TUNER_LG_TALN,
2915 .radio_type = UNSET,
2916 .tuner_addr = ADDR_UNSET,
2917 .radio_addr = ADDR_UNSET,
2918 .tda9887_conf = TDA9887_PRESENT,
2919 .gpiomask = 0xca60000,
2927 .name = name_comp2, /* Composite SVIDEO (B/W if signal is carried with SVIDEO) */
2931 .name = name_svideo,
2932 .vmux = 9, /* 9 is correct as S-VIDEO1 according to a169.inf! */
2936 [SAA7134_BOARD_MD7134_BRIDGE_2] = {
2937 /* The second saa7134 on this card only serves as DVB-S host bridge */
2938 .name = "Medion 7134 Bridge #2",
2939 .audio_clock = 0x00187de7,
2940 .radio_type = UNSET,
2941 .tuner_addr = ADDR_UNSET,
2942 .radio_addr = ADDR_UNSET,
2943 .mpeg = SAA7134_MPEG_DVB,
2945 [SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS] = {
2946 .name = "LifeView FlyDVB-T Hybrid Cardbus/MSI TV @nywhere A/D NB",
2947 .audio_clock = 0x00200000,
2948 .tuner_type = TUNER_PHILIPS_TDA8290,
2949 .radio_type = UNSET,
2950 .tuner_addr = ADDR_UNSET,
2951 .radio_addr = ADDR_UNSET,
2952 .mpeg = SAA7134_MPEG_DVB,
2953 .gpiomask = 0x00600000, /* Bit 21 0=Radio, Bit 22 0=TV */
2958 .gpio = 0x200000, /* GPIO21=High for TV input */
2961 .name = name_svideo, /* S-Video signal on S-Video input */
2965 .name = name_comp1, /* Composite signal on S-Video input */
2969 .name = name_comp2, /* Composite input */
2976 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
2979 [SAA7134_BOARD_FLYVIDEO3000_NTSC] = {
2980 /* "Zac Bowling" <zac@zacbowling.com> */
2981 .name = "LifeView FlyVIDEO3000 (NTSC)",
2982 .audio_clock = 0x00200000,
2983 .tuner_type = TUNER_PHILIPS_NTSC,
2984 .radio_type = UNSET,
2985 .tuner_addr = ADDR_UNSET,
2986 .radio_addr = ADDR_UNSET,
2996 .name = name_tv_mono,
3012 .name = name_svideo,
3028 [SAA7134_BOARD_MEDION_MD8800_QUADRO] = {
3029 .name = "Medion Md8800 Quadro",
3030 .audio_clock = 0x00187de7,
3031 .tuner_type = TUNER_PHILIPS_TDA8290,
3032 .radio_type = UNSET,
3033 .tuner_addr = ADDR_UNSET,
3034 .radio_addr = ADDR_UNSET,
3035 .mpeg = SAA7134_MPEG_DVB,
3046 .name = name_svideo,
3051 [SAA7134_BOARD_FLYDVBS_LR300] = {
3052 /* LifeView FlyDVB-s */
3053 /* Igor M. Liplianin <liplianin@tut.by> */
3054 .name = "LifeView FlyDVB-S /Acorp TV134DS",
3055 .audio_clock = 0x00200000,
3056 .tuner_type = TUNER_ABSENT,
3057 .radio_type = UNSET,
3058 .tuner_addr = ADDR_UNSET,
3059 .radio_addr = ADDR_UNSET,
3060 .mpeg = SAA7134_MPEG_DVB,
3062 .name = name_comp1, /* Composite input */
3066 .name = name_svideo, /* S-Video signal on S-Video input */
3071 [SAA7134_BOARD_PROTEUS_2309] = {
3072 .name = "Proteus Pro 2309",
3073 .audio_clock = 0x00187de7,
3074 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3075 .radio_type = UNSET,
3076 .tuner_addr = ADDR_UNSET,
3077 .radio_addr = ADDR_UNSET,
3078 .tda9887_conf = TDA9887_PRESENT,
3093 .name = name_svideo,
3102 [SAA7134_BOARD_AVERMEDIA_A16AR] = {
3103 /* Petr Baudis <pasky@ucw.cz> */
3104 .name = "AVerMedia TV Hybrid A16AR",
3105 .audio_clock = 0x187de7,
3106 .tuner_type = TUNER_PHILIPS_TD1316, /* untested */
3107 .radio_type = TUNER_TEA5767, /* untested */
3108 .tuner_addr = ADDR_UNSET,
3110 .tda9887_conf = TDA9887_PRESENT,
3111 .mpeg = SAA7134_MPEG_DVB,
3122 .name = name_svideo,
3131 [SAA7134_BOARD_ASUS_EUROPA2_HYBRID] = {
3132 .name = "Asus Europa2 OEM",
3133 .audio_clock = 0x00187de7,
3134 .tuner_type = TUNER_PHILIPS_FMD1216ME_MK3,
3135 .radio_type = UNSET,
3136 .tuner_addr = ADDR_UNSET,
3137 .radio_addr = ADDR_UNSET,
3138 .tda9887_conf = TDA9887_PRESENT| TDA9887_PORT1_ACTIVE | TDA9887_PORT2_ACTIVE,
3139 .mpeg = SAA7134_MPEG_DVB,
3150 .name = name_svideo,
3159 [SAA7134_BOARD_PINNACLE_PCTV_310i] = {
3160 .name = "Pinnacle PCTV 310i",
3161 .audio_clock = 0x00187de7,
3162 .tuner_type = TUNER_PHILIPS_TDA8290,
3163 .radio_type = UNSET,
3164 .tuner_addr = ADDR_UNSET,
3165 .radio_addr = ADDR_UNSET,
3167 .mpeg = SAA7134_MPEG_DVB,
3168 .gpiomask = 0x000200000,
3183 .name = name_svideo,
3193 [SAA7134_BOARD_AVERMEDIA_STUDIO_507] = {
3194 /* Mikhail Fedotov <mo_fedotov@mail.ru> */
3195 .name = "Avermedia AVerTV Studio 507",
3196 .audio_clock = 0x00187de7,
3197 .tuner_type = TUNER_PHILIPS_FM1256_IH3,
3198 .radio_type = UNSET,
3199 .tuner_addr = ADDR_UNSET,
3200 .radio_addr = ADDR_UNSET,
3201 .tda9887_conf = TDA9887_PRESENT,
3220 .name = name_svideo,
3236 [SAA7134_BOARD_VIDEOMATE_DVBT_200A] = {
3237 /* Francis Barber <fedora@barber-family.id.au> */
3238 .name = "Compro Videomate DVB-T200A",
3239 .audio_clock = 0x00187de7,
3240 .tuner_type = TUNER_ABSENT,
3241 .radio_type = UNSET,
3242 .tuner_addr = ADDR_UNSET,
3243 .radio_addr = ADDR_UNSET,
3244 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
3245 .mpeg = SAA7134_MPEG_DVB,
3256 .name = name_svideo,
3261 [SAA7134_BOARD_HAUPPAUGE_HVR1110] = {
3262 /* Thomas Genty <tomlohave@gmail.com> */
3263 .name = "Hauppauge WinTV-HVR1110 DVB-T/Hybrid",
3264 .audio_clock = 0x00187de7,
3265 .tuner_type = TUNER_PHILIPS_TDA8290,
3266 .radio_type = UNSET,
3267 .tuner_addr = ADDR_UNSET,
3268 .radio_addr = ADDR_UNSET,
3270 .mpeg = SAA7134_MPEG_DVB,
3279 .amux = LINE2, /* FIXME: audio doesn't work on svideo/composite */
3281 .name = name_svideo,
3283 .amux = LINE2, /* FIXME: audio doesn't work on svideo/composite */
3290 [SAA7134_BOARD_CINERGY_HT_PCMCIA] = {
3291 .name = "Terratec Cinergy HT PCMCIA",
3292 .audio_clock = 0x00187de7,
3293 .tuner_type = TUNER_PHILIPS_TDA8290,
3294 .radio_type = UNSET,
3295 .tuner_addr = ADDR_UNSET,
3296 .radio_addr = ADDR_UNSET,
3297 .mpeg = SAA7134_MPEG_DVB,
3308 .name = name_svideo,
3313 [SAA7134_BOARD_ENCORE_ENLTV] = {
3314 /* Steven Walter <stevenrwalter@gmail.com>
3315 Juan Pablo Sormani <sorman@gmail.com> */
3316 .name = "Encore ENLTV",
3317 .audio_clock = 0x00200000,
3318 .tuner_type = TUNER_TNF_5335MF,
3319 .radio_type = UNSET,
3320 .tuner_addr = ADDR_UNSET,
3321 .radio_addr = ADDR_UNSET,
3328 .name = name_tv_mono,
3337 .name = name_svideo,
3344 /* .gpio = 0x00300001,*/
3353 [SAA7134_BOARD_ENCORE_ENLTV_FM] = {
3354 /* Juan Pablo Sormani <sorman@gmail.com> */
3355 .name = "Encore ENLTV-FM",
3356 .audio_clock = 0x00200000,
3357 .tuner_type = TUNER_PHILIPS_FCV1236D,
3358 .radio_type = UNSET,
3359 .tuner_addr = ADDR_UNSET,
3360 .radio_addr = ADDR_UNSET,
3367 .name = name_tv_mono,
3376 .name = name_svideo,
3391 [SAA7134_BOARD_CINERGY_HT_PCI] = {
3392 .name = "Terratec Cinergy HT PCI",
3393 .audio_clock = 0x00187de7,
3394 .tuner_type = TUNER_PHILIPS_TDA8290,
3395 .radio_type = UNSET,
3396 .tuner_addr = ADDR_UNSET,
3397 .radio_addr = ADDR_UNSET,
3398 .mpeg = SAA7134_MPEG_DVB,
3409 .name = name_svideo,
3414 [SAA7134_BOARD_PHILIPS_TIGER_S] = {
3415 .name = "Philips Tiger - S Reference design",
3416 .audio_clock = 0x00187de7,
3417 .tuner_type = TUNER_PHILIPS_TDA8290,
3418 .radio_type = UNSET,
3419 .tuner_addr = ADDR_UNSET,
3420 .radio_addr = ADDR_UNSET,
3422 .mpeg = SAA7134_MPEG_DVB,
3423 .gpiomask = 0x0200000,
3434 .name = name_svideo,
3444 [SAA7134_BOARD_AVERMEDIA_M102] = {
3445 .name = "Avermedia M102",
3446 .audio_clock = 0x00187de7,
3447 .tuner_type = TUNER_PHILIPS_TDA8290,
3448 .radio_type = UNSET,
3449 .tuner_addr = ADDR_UNSET,
3450 .radio_addr = ADDR_UNSET,
3462 .name = name_svideo,
3467 [SAA7134_BOARD_ASUS_P7131_4871] = {
3468 .name = "ASUS P7131 4871",
3469 .audio_clock = 0x00187de7,
3470 .tuner_type = TUNER_PHILIPS_TDA8290,
3471 .radio_type = UNSET,
3472 .tuner_addr = ADDR_UNSET,
3473 .radio_addr = ADDR_UNSET,
3475 .mpeg = SAA7134_MPEG_DVB,
3476 .gpiomask = 0x0200000,
3485 [SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA] = {
3486 .name = "ASUSTeK P7131 Hybrid",
3487 .audio_clock = 0x00187de7,
3488 .tuner_type = TUNER_PHILIPS_TDA8290,
3489 .radio_type = UNSET,
3490 .tuner_addr = ADDR_UNSET,
3491 .radio_addr = ADDR_UNSET,
3493 .gpiomask = 1 << 21,
3494 .mpeg = SAA7134_MPEG_DVB,
3512 .name = name_svideo,
3523 [SAA7134_BOARD_ASUSTeK_P7131_ANALOG] = {
3524 .name = "ASUSTeK P7131 Analog",
3525 .audio_clock = 0x00187de7,
3526 .tuner_type = TUNER_PHILIPS_TDA8290,
3527 .radio_type = UNSET,
3528 .tuner_addr = ADDR_UNSET,
3529 .radio_addr = ADDR_UNSET,
3530 .gpiomask = 1 << 21,
3546 .name = name_svideo,
3556 [SAA7134_BOARD_SABRENT_TV_PCB05] = {
3557 .name = "Sabrent PCMCIA TV-PCB05",
3558 .audio_clock = 0x00187de7,
3559 .tuner_type = TUNER_PHILIPS_TDA8290,
3560 .radio_type = UNSET,
3561 .tuner_addr = ADDR_UNSET,
3562 .radio_addr = ADDR_UNSET,
3577 .name = name_svideo,
3586 [SAA7134_BOARD_10MOONSTVMASTER3] = {
3587 /* Tony Wan <aloha_cn@hotmail.com> */
3588 .name = "10MOONS TM300 TV Card",
3589 .audio_clock = 0x00200000,
3590 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
3591 .radio_type = UNSET,
3592 .tuner_addr = ADDR_UNSET,
3593 .radio_addr = ADDR_UNSET,
3607 .name = name_svideo,
3618 [SAA7134_BOARD_AVERMEDIA_SUPER_007] = {
3619 .name = "Avermedia Super 007",
3620 .audio_clock = 0x00187de7,
3621 .tuner_type = TUNER_PHILIPS_TDA8290,
3622 .radio_type = UNSET,
3623 .tuner_addr = ADDR_UNSET,
3624 .radio_addr = ADDR_UNSET,
3626 .mpeg = SAA7134_MPEG_DVB,
3628 .name = name_tv, /* FIXME: analog tv untested */
3634 [SAA7134_BOARD_BEHOLD_401] = {
3635 /* Beholder Intl. Ltd. 2008 */
3636 /*Dmitry Belimov <d.belimov@gmail.com> */
3637 .name = "Beholder BeholdTV 401",
3638 .audio_clock = 0x00187de7,
3639 .tuner_type = TUNER_PHILIPS_FQ1216ME,
3640 .radio_type = UNSET,
3641 .tuner_addr = ADDR_UNSET,
3642 .radio_addr = ADDR_UNSET,
3643 .gpiomask = 0x00008000,
3645 .name = name_svideo,
3663 [SAA7134_BOARD_BEHOLD_403] = {
3664 /* Beholder Intl. Ltd. 2008 */
3665 /*Dmitry Belimov <d.belimov@gmail.com> */
3666 .name = "Beholder BeholdTV 403",
3667 .audio_clock = 0x00187de7,
3668 .tuner_type = TUNER_PHILIPS_FQ1216ME,
3669 .radio_type = UNSET,
3670 .tuner_addr = ADDR_UNSET,
3671 .radio_addr = ADDR_UNSET,
3672 .gpiomask = 0x00008000,
3674 .name = name_svideo,
3688 [SAA7134_BOARD_BEHOLD_403FM] = {
3689 /* Beholder Intl. Ltd. 2008 */
3690 /*Dmitry Belimov <d.belimov@gmail.com> */
3691 .name = "Beholder BeholdTV 403 FM",
3692 .audio_clock = 0x00187de7,
3693 .tuner_type = TUNER_PHILIPS_FQ1216ME,
3694 .radio_type = UNSET,
3695 .tuner_addr = ADDR_UNSET,
3696 .radio_addr = ADDR_UNSET,
3697 .gpiomask = 0x00008000,
3699 .name = name_svideo,
3717 [SAA7134_BOARD_BEHOLD_405] = {
3718 /* Beholder Intl. Ltd. 2008 */
3719 /*Dmitry Belimov <d.belimov@gmail.com> */
3720 .name = "Beholder BeholdTV 405",
3721 .audio_clock = 0x00187de7,
3722 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3723 .radio_type = UNSET,
3724 .tuner_addr = ADDR_UNSET,
3725 .radio_addr = ADDR_UNSET,
3726 .tda9887_conf = TDA9887_PRESENT,
3727 .gpiomask = 0x00008000,
3729 .name = name_svideo,
3743 [SAA7134_BOARD_BEHOLD_405FM] = {
3744 /* Sergey <skiv@orel.ru> */
3745 /* Beholder Intl. Ltd. 2008 */
3746 /*Dmitry Belimov <d.belimov@gmail.com> */
3747 .name = "Beholder BeholdTV 405 FM",
3748 .audio_clock = 0x00187de7,
3749 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3750 .radio_type = UNSET,
3751 .tuner_addr = ADDR_UNSET,
3752 .radio_addr = ADDR_UNSET,
3753 .tda9887_conf = TDA9887_PRESENT,
3754 .gpiomask = 0x00008000,
3756 .name = name_svideo,
3774 [SAA7134_BOARD_BEHOLD_407] = {
3775 /* Beholder Intl. Ltd. 2008 */
3776 /*Dmitry Belimov <d.belimov@gmail.com> */
3777 .name = "Beholder BeholdTV 407",
3778 .audio_clock = 0x00187de7,
3779 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3780 .radio_type = UNSET,
3781 .tuner_addr = ADDR_UNSET,
3782 .radio_addr = ADDR_UNSET,
3783 .tda9887_conf = TDA9887_PRESENT,
3784 .gpiomask = 0x00008000,
3786 .name = name_svideo,
3803 [SAA7134_BOARD_BEHOLD_407FM] = {
3804 /* Beholder Intl. Ltd. 2008 */
3805 /*Dmitry Belimov <d.belimov@gmail.com> */
3806 .name = "Beholder BeholdTV 407 FM",
3807 .audio_clock = 0x00187de7,
3808 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3809 .radio_type = UNSET,
3810 .tuner_addr = ADDR_UNSET,
3811 .radio_addr = ADDR_UNSET,
3812 .tda9887_conf = TDA9887_PRESENT,
3813 .gpiomask = 0x00008000,
3815 .name = name_svideo,
3837 [SAA7134_BOARD_BEHOLD_409] = {
3838 /* Beholder Intl. Ltd. 2008 */
3839 /*Dmitry Belimov <d.belimov@gmail.com> */
3840 .name = "Beholder BeholdTV 409",
3841 .audio_clock = 0x00187de7,
3842 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3843 .radio_type = UNSET,
3844 .tuner_addr = ADDR_UNSET,
3845 .radio_addr = ADDR_UNSET,
3846 .tda9887_conf = TDA9887_PRESENT,
3847 .gpiomask = 0x00008000,
3858 .name = name_svideo,
3863 [SAA7134_BOARD_BEHOLD_505FM] = {
3864 /* Beholder Intl. Ltd. 2008 */
3865 /*Dmitry Belimov <d.belimov@gmail.com> */
3866 .name = "Beholder BeholdTV 505 FM/RDS",
3867 .audio_clock = 0x00200000,
3868 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3869 .radio_type = UNSET,
3870 .tuner_addr = ADDR_UNSET,
3871 .radio_addr = ADDR_UNSET,
3872 .tda9887_conf = TDA9887_PRESENT,
3873 .gpiomask = 0x00008000,
3884 .name = name_svideo,
3897 [SAA7134_BOARD_BEHOLD_507_9FM] = {
3898 /* Beholder Intl. Ltd. 2008 */
3899 /*Dmitry Belimov <d.belimov@gmail.com> */
3900 .name = "Beholder BeholdTV 507 FM/RDS / BeholdTV 509 FM",
3901 .audio_clock = 0x00187de7,
3902 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3903 .radio_type = UNSET,
3904 .tuner_addr = ADDR_UNSET,
3905 .radio_addr = ADDR_UNSET,
3906 .tda9887_conf = TDA9887_PRESENT,
3907 .gpiomask = 0x00008000,
3918 .name = name_svideo,
3927 [SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM] = {
3928 /* Beholder Intl. Ltd. 2008 */
3929 /*Dmitry Belimov <d.belimov@gmail.com> */
3930 .name = "Beholder BeholdTV Columbus TVFM",
3931 .audio_clock = 0x00187de7,
3932 .tuner_type = TUNER_ALPS_TSBE5_PAL,
3933 .radio_type = UNSET,
3934 .tuner_addr = ADDR_UNSET,
3935 .radio_addr = ADDR_UNSET,
3936 .tda9887_conf = TDA9887_PRESENT,
3937 .gpiomask = 0x000A8004,
3950 .name = name_svideo,
3961 [SAA7134_BOARD_BEHOLD_607_9FM] = {
3962 /* Andrey Melnikoff <temnota@kmv.ru> */
3963 .name = "Beholder BeholdTV 607 / BeholdTV 609",
3964 .audio_clock = 0x00187de7,
3965 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3966 .radio_type = UNSET,
3967 .tuner_addr = ADDR_UNSET,
3968 .radio_addr = ADDR_UNSET,
3969 .tda9887_conf = TDA9887_PRESENT,
3980 .name = name_svideo,
3989 [SAA7134_BOARD_BEHOLD_M6] = {
3990 /* Igor Kuznetsov <igk@igk.ru> */
3991 /* Andrey Melnikoff <temnota@kmv.ru> */
3992 /* Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> */
3993 .name = "Beholder BeholdTV M6",
3994 .audio_clock = 0x00187de7,
3995 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3996 .radio_type = UNSET,
3997 .tuner_addr = ADDR_UNSET,
3998 .radio_addr = ADDR_UNSET,
3999 .tda9887_conf = TDA9887_PRESENT,
4010 .name = name_svideo,
4018 .mpeg = SAA7134_MPEG_EMPRESS,
4019 .video_out = CCIR656,
4020 .vid_port_opts = (SET_T_CODE_POLARITY_NON_INVERTED |
4021 SET_CLOCK_NOT_DELAYED |
4022 SET_CLOCK_INVERTED |
4025 [SAA7134_BOARD_BEHOLD_M63] = {
4026 /* Igor Kuznetsov <igk@igk.ru> */
4027 /* Andrey Melnikoff <temnota@kmv.ru> */
4028 /* Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> */
4029 .name = "Beholder BeholdTV M63",
4030 .audio_clock = 0x00187de7,
4031 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4032 .radio_type = UNSET,
4033 .tuner_addr = ADDR_UNSET,
4034 .radio_addr = ADDR_UNSET,
4035 .tda9887_conf = TDA9887_PRESENT,
4046 .name = name_svideo,
4054 .mpeg = SAA7134_MPEG_EMPRESS,
4055 .video_out = CCIR656,
4056 .vid_port_opts = (SET_T_CODE_POLARITY_NON_INVERTED |
4057 SET_CLOCK_NOT_DELAYED |
4058 SET_CLOCK_INVERTED |
4061 [SAA7134_BOARD_BEHOLD_M6_EXTRA] = {
4062 /* Igor Kuznetsov <igk@igk.ru> */
4063 /* Andrey Melnikoff <temnota@kmv.ru> */
4064 /* Beholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com> */
4065 .name = "Beholder BeholdTV M6 Extra",
4066 .audio_clock = 0x00187de7,
4067 /* FIXME: Must be PHILIPS_FM1216ME_MK5*/
4068 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
4069 .radio_type = UNSET,
4070 .tuner_addr = ADDR_UNSET,
4071 .radio_addr = ADDR_UNSET,
4072 .tda9887_conf = TDA9887_PRESENT,
4083 .name = name_svideo,
4091 .mpeg = SAA7134_MPEG_EMPRESS,
4092 .video_out = CCIR656,
4093 .vid_port_opts = (SET_T_CODE_POLARITY_NON_INVERTED |
4094 SET_CLOCK_NOT_DELAYED |
4095 SET_CLOCK_INVERTED |
4098 [SAA7134_BOARD_TWINHAN_DTV_DVB_3056] = {
4099 .name = "Twinhan Hybrid DTV-DVB 3056 PCI",
4100 .audio_clock = 0x00187de7,
4101 .tuner_type = TUNER_PHILIPS_TDA8290,
4102 .radio_type = UNSET,
4103 .tuner_addr = ADDR_UNSET,
4104 .radio_addr = ADDR_UNSET,
4106 .mpeg = SAA7134_MPEG_DVB,
4107 .gpiomask = 0x0200000,
4118 .name = name_svideo,
4119 .vmux = 8, /* untested */
4128 [SAA7134_BOARD_GENIUS_TVGO_A11MCE] = {
4129 /* Adrian Pardini <pardo.bsso@gmail.com> */
4130 .name = "Genius TVGO AM11MCE",
4131 .audio_clock = 0x00200000,
4132 .tuner_type = TUNER_TNF_5335MF,
4133 .radio_type = UNSET,
4134 .tuner_addr = ADDR_UNSET,
4135 .radio_addr = ADDR_UNSET,
4138 .name = name_tv_mono,
4150 .name = name_svideo,
4166 [SAA7134_BOARD_PHILIPS_SNAKE] = {
4167 .name = "NXP Snake DVB-S reference design",
4168 .audio_clock = 0x00200000,
4169 .tuner_type = TUNER_ABSENT,
4170 .radio_type = UNSET,
4171 .tuner_addr = ADDR_UNSET,
4172 .radio_addr = ADDR_UNSET,
4173 .mpeg = SAA7134_MPEG_DVB,
4179 .name = name_svideo,
4184 [SAA7134_BOARD_CREATIX_CTX953] = {
4185 .name = "Medion/Creatix CTX953 Hybrid",
4186 .audio_clock = 0x00187de7,
4187 .tuner_type = TUNER_PHILIPS_TDA8290,
4188 .radio_type = UNSET,
4189 .tuner_addr = ADDR_UNSET,
4190 .radio_addr = ADDR_UNSET,
4192 .mpeg = SAA7134_MPEG_DVB,
4203 .name = name_svideo,
4208 [SAA7134_BOARD_MSI_TVANYWHERE_AD11] = {
4209 .name = "MSI TV@nywhere A/D v1.1",
4210 .audio_clock = 0x00187de7,
4211 .tuner_type = TUNER_PHILIPS_TDA8290,
4212 .radio_type = UNSET,
4213 .tuner_addr = ADDR_UNSET,
4214 .radio_addr = ADDR_UNSET,
4216 .mpeg = SAA7134_MPEG_DVB,
4217 .gpiomask = 0x0200000,
4228 .name = name_svideo,
4238 [SAA7134_BOARD_AVERMEDIA_CARDBUS_506] = {
4239 .name = "AVerMedia Cardbus TV/Radio (E506R)",
4240 .audio_clock = 0x187de7,
4241 .tuner_type = TUNER_XC2028,
4242 .radio_type = UNSET,
4243 .tuner_addr = ADDR_UNSET,
4244 .radio_addr = ADDR_UNSET,
4245 .mpeg = SAA7134_MPEG_DVB,
4256 .name = name_svideo,
4265 [SAA7134_BOARD_AVERMEDIA_A16D] = {
4266 .name = "AVerMedia Hybrid TV/Radio (A16D)",
4267 .audio_clock = 0x187de7,
4268 .tuner_type = TUNER_XC2028,
4269 .radio_type = UNSET,
4270 .tuner_addr = ADDR_UNSET,
4271 .radio_addr = ADDR_UNSET,
4272 .mpeg = SAA7134_MPEG_DVB,
4279 .name = name_svideo,
4292 [SAA7134_BOARD_AVERMEDIA_M115] = {
4293 .name = "Avermedia M115",
4294 .audio_clock = 0x187de7,
4295 .tuner_type = TUNER_XC2028,
4296 .radio_type = UNSET,
4297 .tuner_addr = ADDR_UNSET,
4298 .radio_addr = ADDR_UNSET,
4309 .name = name_svideo,
4314 [SAA7134_BOARD_VIDEOMATE_T750] = {
4315 /* John Newbigin <jn@it.swin.edu.au> */
4316 .name = "Compro VideoMate T750",
4317 .audio_clock = 0x00187de7,
4318 .tuner_type = TUNER_XC2028,
4319 .radio_type = UNSET,
4320 .tuner_addr = ADDR_UNSET,
4321 .radio_addr = ADDR_UNSET,
4322 .mpeg = SAA7134_MPEG_DVB,
4333 .name = name_svideo,
4342 [SAA7134_BOARD_AVERMEDIA_A700_PRO] = {
4343 /* Matthias Schwarzott <zzam@gentoo.org> */
4344 .name = "Avermedia DVB-S Pro A700",
4345 .audio_clock = 0x00187de7,
4346 .tuner_type = TUNER_ABSENT,
4347 .radio_type = UNSET,
4348 .tuner_addr = ADDR_UNSET,
4349 .radio_addr = ADDR_UNSET,
4350 /* no DVB support for now */
4351 /* .mpeg = SAA7134_MPEG_DVB, */
4357 .name = name_svideo,
4362 [SAA7134_BOARD_AVERMEDIA_A700_HYBRID] = {
4363 /* Matthias Schwarzott <zzam@gentoo.org> */
4364 .name = "Avermedia DVB-S Hybrid+FM A700",
4365 .audio_clock = 0x00187de7,
4366 .tuner_type = TUNER_ABSENT, /* TUNER_XC2028 */
4367 .radio_type = UNSET,
4368 .tuner_addr = ADDR_UNSET,
4369 .radio_addr = ADDR_UNSET,
4370 /* no DVB support for now */
4371 /* .mpeg = SAA7134_MPEG_DVB, */
4377 .name = name_svideo,
4382 [SAA7134_BOARD_BEHOLD_H6] = {
4383 /* Igor Kuznetsov <igk@igk.ru> */
4384 .name = "Beholder BeholdTV H6",
4385 .audio_clock = 0x00187de7,
4386 .tuner_type = TUNER_PHILIPS_FMD1216ME_MK3,
4387 .radio_type = UNSET,
4388 .tuner_addr = ADDR_UNSET,
4389 .radio_addr = ADDR_UNSET,
4390 .tda9887_conf = TDA9887_PRESENT,
4401 .name = name_svideo,
4409 /* no DVB support for now */
4410 /* .mpeg = SAA7134_MPEG_DVB, */
4414 const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards);
4416 /* ------------------------------------------------------------------ */
4417 /* PCI ids + subsystem IDs */
4419 struct pci_device_id saa7134_pci_tbl[] = {
4421 .vendor = PCI_VENDOR_ID_PHILIPS,
4422 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4423 .subvendor = PCI_VENDOR_ID_PHILIPS,
4424 .subdevice = 0x2001,
4425 .driver_data = SAA7134_BOARD_PROTEUS_PRO,
4427 .vendor = PCI_VENDOR_ID_PHILIPS,
4428 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4429 .subvendor = PCI_VENDOR_ID_PHILIPS,
4430 .subdevice = 0x2001,
4431 .driver_data = SAA7134_BOARD_PROTEUS_PRO,
4433 .vendor = PCI_VENDOR_ID_PHILIPS,
4434 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4435 .subvendor = PCI_VENDOR_ID_PHILIPS,
4436 .subdevice = 0x6752,
4437 .driver_data = SAA7134_BOARD_EMPRESS,
4439 .vendor = PCI_VENDOR_ID_PHILIPS,
4440 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4441 .subvendor = 0x1131,
4442 .subdevice = 0x4e85,
4443 .driver_data = SAA7134_BOARD_MONSTERTV,
4445 .vendor = PCI_VENDOR_ID_PHILIPS,
4446 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4447 .subvendor = 0x153b,
4448 .subdevice = 0x1142,
4449 .driver_data = SAA7134_BOARD_CINERGY400,
4451 .vendor = PCI_VENDOR_ID_PHILIPS,
4452 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4453 .subvendor = 0x153b,
4454 .subdevice = 0x1143,
4455 .driver_data = SAA7134_BOARD_CINERGY600,
4457 .vendor = PCI_VENDOR_ID_PHILIPS,
4458 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4459 .subvendor = 0x153b,
4460 .subdevice = 0x1158,
4461 .driver_data = SAA7134_BOARD_CINERGY600_MK3,
4463 .vendor = PCI_VENDOR_ID_PHILIPS,
4464 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4465 .subvendor = 0x153b,
4466 .subdevice = 0x1162,
4467 .driver_data = SAA7134_BOARD_CINERGY400_CARDBUS,
4469 .vendor = PCI_VENDOR_ID_PHILIPS,
4470 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4471 .subvendor = 0x5169,
4472 .subdevice = 0x0138,
4473 .driver_data = SAA7134_BOARD_FLYVIDEO3000_NTSC,
4475 .vendor = PCI_VENDOR_ID_PHILIPS,
4476 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4477 .subvendor = 0x5168,
4478 .subdevice = 0x0138,
4479 .driver_data = SAA7134_BOARD_FLYVIDEO3000,
4481 .vendor = PCI_VENDOR_ID_PHILIPS,
4482 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4483 .subvendor = 0x4e42, /* "Typhoon PCI Capture TV Card" Art.No. 50673 */
4484 .subdevice = 0x0138,
4485 .driver_data = SAA7134_BOARD_FLYVIDEO3000,
4487 .vendor = PCI_VENDOR_ID_PHILIPS,
4488 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4489 .subvendor = 0x5168,
4490 .subdevice = 0x0138,
4491 .driver_data = SAA7134_BOARD_FLYVIDEO2000,
4493 .vendor = PCI_VENDOR_ID_PHILIPS,
4494 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4495 .subvendor = 0x4e42, /* Typhoon */
4496 .subdevice = 0x0138, /* LifeView FlyTV Prime30 OEM */
4497 .driver_data = SAA7134_BOARD_FLYVIDEO2000,
4499 .vendor = PCI_VENDOR_ID_PHILIPS,
4500 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4501 .subvendor = 0x5168,
4502 .subdevice = 0x0212, /* minipci, LR212 */
4503 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
4505 .vendor = PCI_VENDOR_ID_PHILIPS,
4506 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4507 .subvendor = 0x14c0,
4508 .subdevice = 0x1212, /* minipci, LR1212 */
4509 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI2,
4511 .vendor = PCI_VENDOR_ID_PHILIPS,
4512 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4513 .subvendor = 0x4e42,
4514 .subdevice = 0x0212, /* OEM minipci, LR212 */
4515 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
4517 .vendor = PCI_VENDOR_ID_PHILIPS,
4518 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4519 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
4520 .subdevice = 0x0214, /* Standard PCI, LR214 Rev E and earlier (SAA7135) */
4521 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
4523 .vendor = PCI_VENDOR_ID_PHILIPS,
4524 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4525 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
4526 .subdevice = 0x5214, /* Standard PCI, LR214 Rev F onwards (SAA7131) */
4527 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
4529 .vendor = PCI_VENDOR_ID_PHILIPS,
4530 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4531 .subvendor = 0x1489, /* KYE */
4532 .subdevice = 0x0214, /* Genius VideoWonder ProTV */
4533 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM, /* is an LR214WF actually */
4535 .vendor = PCI_VENDOR_ID_PHILIPS,
4536 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4537 .subvendor = 0x16be,
4538 .subdevice = 0x0003,
4539 .driver_data = SAA7134_BOARD_MD7134,
4541 .vendor = PCI_VENDOR_ID_PHILIPS,
4542 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4543 .subvendor = 0x1048,
4544 .subdevice = 0x226b,
4545 .driver_data = SAA7134_BOARD_ELSA,
4547 .vendor = PCI_VENDOR_ID_PHILIPS,
4548 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4549 .subvendor = 0x1048,
4550 .subdevice = 0x226a,
4551 .driver_data = SAA7134_BOARD_ELSA_500TV,
4553 .vendor = PCI_VENDOR_ID_PHILIPS,
4554 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4555 .subvendor = 0x1048,
4556 .subdevice = 0x226c,
4557 .driver_data = SAA7134_BOARD_ELSA_700TV,
4559 .vendor = PCI_VENDOR_ID_PHILIPS,
4560 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4561 .subvendor = PCI_VENDOR_ID_ASUSTEK,
4562 .subdevice = 0x4842,
4563 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
4565 .vendor = PCI_VENDOR_ID_PHILIPS,
4566 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4567 .subvendor = PCI_VENDOR_ID_ASUSTEK,
4568 .subdevice = 0x4845,
4569 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7135,
4571 .vendor = PCI_VENDOR_ID_PHILIPS,
4572 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4573 .subvendor = PCI_VENDOR_ID_ASUSTEK,
4574 .subdevice = 0x4830,
4575 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
4577 .vendor = PCI_VENDOR_ID_PHILIPS,
4578 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4579 .subvendor = PCI_VENDOR_ID_ASUSTEK,
4580 .subdevice = 0x4843,
4581 .driver_data = SAA7134_BOARD_ASUSTEK_TVFM7133,
4583 .vendor = PCI_VENDOR_ID_PHILIPS,
4584 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4585 .subvendor = PCI_VENDOR_ID_ASUSTEK,
4586 .subdevice = 0x4840,
4587 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
4589 .vendor = PCI_VENDOR_ID_PHILIPS,
4590 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4591 .subvendor = PCI_VENDOR_ID_PHILIPS,
4592 .subdevice = 0xfe01,
4593 .driver_data = SAA7134_BOARD_TVSTATION_RDS,
4595 .vendor = PCI_VENDOR_ID_PHILIPS,
4596 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4597 .subvendor = 0x1894,
4598 .subdevice = 0xfe01,
4599 .driver_data = SAA7134_BOARD_TVSTATION_RDS,
4601 .vendor = PCI_VENDOR_ID_PHILIPS,
4602 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4603 .subvendor = 0x1894,
4604 .subdevice = 0xa006,
4605 .driver_data = SAA7134_BOARD_TVSTATION_DVR,
4607 .vendor = PCI_VENDOR_ID_PHILIPS,
4608 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4609 .subvendor = 0x1131,
4610 .subdevice = 0x7133,
4611 .driver_data = SAA7134_BOARD_VA1000POWER,
4613 .vendor = PCI_VENDOR_ID_PHILIPS,
4614 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4615 .subvendor = PCI_VENDOR_ID_PHILIPS,
4616 .subdevice = 0x2001,
4617 .driver_data = SAA7134_BOARD_10MOONSTVMASTER,
4619 .vendor = PCI_VENDOR_ID_PHILIPS,
4620 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4621 .subvendor = 0x185b,
4622 .subdevice = 0xc100,
4623 .driver_data = SAA7134_BOARD_VIDEOMATE_TV,
4625 .vendor = PCI_VENDOR_ID_PHILIPS,
4626 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4627 .subvendor = 0x185b,
4628 .subdevice = 0xc100,
4629 .driver_data = SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS,
4631 .vendor = PCI_VENDOR_ID_PHILIPS,
4632 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4633 .subvendor = PCI_VENDOR_ID_MATROX,
4634 .subdevice = 0x48d0,
4635 .driver_data = SAA7134_BOARD_CRONOS_PLUS,
4637 .vendor = PCI_VENDOR_ID_PHILIPS,
4638 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4639 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4640 .subdevice = 0xa70b,
4641 .driver_data = SAA7134_BOARD_MD2819,
4643 .vendor = PCI_VENDOR_ID_PHILIPS,
4644 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4645 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4646 .subdevice = 0xa7a1,
4647 .driver_data = SAA7134_BOARD_AVERMEDIA_A700_PRO,
4649 .vendor = PCI_VENDOR_ID_PHILIPS,
4650 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4651 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4652 .subdevice = 0xa7a2,
4653 .driver_data = SAA7134_BOARD_AVERMEDIA_A700_HYBRID,
4655 .vendor = PCI_VENDOR_ID_PHILIPS,
4656 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4657 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4658 .subdevice = 0x2115,
4659 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_305,
4661 .vendor = PCI_VENDOR_ID_PHILIPS,
4662 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4663 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4664 .subdevice = 0x2108,
4665 .driver_data = SAA7134_BOARD_AVERMEDIA_305,
4667 .vendor = PCI_VENDOR_ID_PHILIPS,
4668 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4669 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4670 .subdevice = 0x10ff,
4671 .driver_data = SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER,
4673 /* AVerMedia CardBus */
4674 .vendor = PCI_VENDOR_ID_PHILIPS,
4675 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4676 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4677 .subdevice = 0xd6ee,
4678 .driver_data = SAA7134_BOARD_AVERMEDIA_CARDBUS,
4680 /* TransGear 3000TV */
4681 .vendor = PCI_VENDOR_ID_PHILIPS,
4682 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4683 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4684 .subdevice = 0x050c,
4685 .driver_data = SAA7134_BOARD_TG3000TV,
4687 .vendor = PCI_VENDOR_ID_PHILIPS,
4688 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4689 .subvendor = 0x11bd,
4690 .subdevice = 0x002b,
4691 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_STEREO,
4693 .vendor = PCI_VENDOR_ID_PHILIPS,
4694 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4695 .subvendor = 0x11bd,
4696 .subdevice = 0x002d,
4697 .driver_data = SAA7134_BOARD_PINNACLE_300I_DVBT_PAL,
4699 .vendor = PCI_VENDOR_ID_PHILIPS,
4700 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4701 .subvendor = 0x1019,
4702 .subdevice = 0x4cb4,
4703 .driver_data = SAA7134_BOARD_ECS_TVP3XP,
4705 .vendor = PCI_VENDOR_ID_PHILIPS,
4706 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4707 .subvendor = 0x1019,
4708 .subdevice = 0x4cb5,
4709 .driver_data = SAA7134_BOARD_ECS_TVP3XP_4CB5,
4711 .vendor = PCI_VENDOR_ID_PHILIPS,
4712 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4713 .subvendor = 0x1019,
4714 .subdevice = 0x4cb6,
4715 .driver_data = SAA7134_BOARD_ECS_TVP3XP_4CB6,
4717 .vendor = PCI_VENDOR_ID_PHILIPS,
4718 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4719 .subvendor = 0x12ab,
4720 .subdevice = 0x0800,
4721 .driver_data = SAA7134_BOARD_UPMOST_PURPLE_TV,
4723 .vendor = PCI_VENDOR_ID_PHILIPS,
4724 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4725 .subvendor = 0x153b,
4726 .subdevice = 0x1152,
4727 .driver_data = SAA7134_BOARD_CINERGY200,
4729 .vendor = PCI_VENDOR_ID_PHILIPS,
4730 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4731 .subvendor = 0x185b,
4732 .subdevice = 0xc100,
4733 .driver_data = SAA7134_BOARD_VIDEOMATE_TV_PVR,
4735 .vendor = PCI_VENDOR_ID_PHILIPS,
4736 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4737 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4738 .subdevice = 0x9715,
4739 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_307,
4741 .vendor = PCI_VENDOR_ID_PHILIPS,
4742 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4743 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4744 .subdevice = 0xa70a,
4745 .driver_data = SAA7134_BOARD_AVERMEDIA_307,
4747 .vendor = PCI_VENDOR_ID_PHILIPS,
4748 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4749 .subvendor = 0x185b,
4750 .subdevice = 0xc200,
4751 .driver_data = SAA7134_BOARD_VIDEOMATE_GOLD_PLUS,
4753 .vendor = PCI_VENDOR_ID_PHILIPS,
4754 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4755 .subvendor = 0x1540,
4756 .subdevice = 0x9524,
4757 .driver_data = SAA7134_BOARD_PROVIDEO_PV952,
4760 .vendor = PCI_VENDOR_ID_PHILIPS,
4761 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4762 .subvendor = 0x5168,
4763 .subdevice = 0x0502, /* Cardbus version */
4764 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
4766 .vendor = PCI_VENDOR_ID_PHILIPS,
4767 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4768 .subvendor = 0x5168,
4769 .subdevice = 0x0306, /* PCI version */
4770 .driver_data = SAA7134_BOARD_FLYDVBTDUO,
4772 .vendor = PCI_VENDOR_ID_PHILIPS,
4773 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4774 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4775 .subdevice = 0xf31f,
4776 .driver_data = SAA7134_BOARD_AVERMEDIA_GO_007_FM,
4779 .vendor = PCI_VENDOR_ID_PHILIPS,
4780 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4781 .subvendor = PCI_VENDOR_ID_PHILIPS,
4782 .subdevice = 0x2004,
4783 .driver_data = SAA7134_BOARD_PHILIPS_TOUGH,
4785 .vendor = PCI_VENDOR_ID_PHILIPS,
4786 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4787 .subvendor = 0x1421,
4788 .subdevice = 0x0350, /* PCI version */
4789 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
4791 .vendor = PCI_VENDOR_ID_PHILIPS,
4792 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4793 .subvendor = 0x1421,
4794 .subdevice = 0x0351, /* PCI version, new revision */
4795 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
4797 .vendor = PCI_VENDOR_ID_PHILIPS,
4798 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4799 .subvendor = 0x1421,
4800 .subdevice = 0x0370, /* cardbus version */
4801 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
4803 .vendor = PCI_VENDOR_ID_PHILIPS,
4804 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4805 .subvendor = 0x1421,
4806 .subdevice = 0x1370, /* cardbus version */
4807 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
4810 .vendor = PCI_VENDOR_ID_PHILIPS,
4811 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4812 .subvendor = 0x4e42, /* Typhoon */
4813 .subdevice = 0x0502, /* LifeView LR502 OEM */
4814 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
4816 .vendor = PCI_VENDOR_ID_PHILIPS,
4817 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4818 .subvendor = 0x1043,
4819 .subdevice = 0x0210, /* mini pci NTSC version */
4820 .driver_data = SAA7134_BOARD_FLYTV_DIGIMATRIX,
4822 .vendor = PCI_VENDOR_ID_PHILIPS,
4823 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4824 .subvendor = 0x1043,
4825 .subdevice = 0x0210, /* mini pci PAL/SECAM version */
4826 .driver_data = SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV,
4829 .vendor = PCI_VENDOR_ID_PHILIPS,
4830 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4831 .subvendor = 0x0000, /* It shouldn't break anything, since subdevice id seems unique */
4832 .subdevice = 0x4091,
4833 .driver_data = SAA7134_BOARD_BEHOLD_409FM,
4835 .vendor = PCI_VENDOR_ID_PHILIPS,
4836 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4837 .subvendor = 0x5456, /* GoTView */
4838 .subdevice = 0x7135,
4839 .driver_data = SAA7134_BOARD_GOTVIEW_7135,
4841 .vendor = PCI_VENDOR_ID_PHILIPS,
4842 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4843 .subvendor = PCI_VENDOR_ID_PHILIPS,
4844 .subdevice = 0x2004,
4845 .driver_data = SAA7134_BOARD_PHILIPS_EUROPA,
4847 .vendor = PCI_VENDOR_ID_PHILIPS,
4848 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4849 .subvendor = 0x185b,
4850 .subdevice = 0xc900,
4851 .driver_data = SAA7134_BOARD_VIDEOMATE_DVBT_300,
4853 .vendor = PCI_VENDOR_ID_PHILIPS,
4854 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4855 .subvendor = 0x185b,
4856 .subdevice = 0xc901,
4857 .driver_data = SAA7134_BOARD_VIDEOMATE_DVBT_200,
4859 .vendor = PCI_VENDOR_ID_PHILIPS,
4860 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4861 .subvendor = 0x1435,
4862 .subdevice = 0x7350,
4863 .driver_data = SAA7134_BOARD_RTD_VFG7350,
4865 .vendor = PCI_VENDOR_ID_PHILIPS,
4866 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4867 .subvendor = 0x1435,
4868 .subdevice = 0x7330,
4869 .driver_data = SAA7134_BOARD_RTD_VFG7330,
4871 .vendor = PCI_VENDOR_ID_PHILIPS,
4872 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4873 .subvendor = 0x1461,
4874 .subdevice = 0x1044,
4875 .driver_data = SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180,
4877 .vendor = PCI_VENDOR_ID_PHILIPS,
4878 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4879 .subvendor = 0x1131,
4880 .subdevice = 0x4ee9,
4881 .driver_data = SAA7134_BOARD_MONSTERTV_MOBILE,
4883 .vendor = PCI_VENDOR_ID_PHILIPS,
4884 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4885 .subvendor = 0x11bd,
4886 .subdevice = 0x002e,
4887 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_110i,
4889 .vendor = PCI_VENDOR_ID_PHILIPS,
4890 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4891 .subvendor = 0x1043,
4892 .subdevice = 0x4862,
4893 .driver_data = SAA7134_BOARD_ASUSTeK_P7131_DUAL,
4895 .vendor = PCI_VENDOR_ID_PHILIPS,
4896 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4897 .subvendor = PCI_VENDOR_ID_PHILIPS,
4898 .subdevice = 0x2018,
4899 .driver_data = SAA7134_BOARD_PHILIPS_TIGER,
4901 .vendor = PCI_VENDOR_ID_PHILIPS,
4902 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4903 .subvendor = 0x1462,
4904 .subdevice = 0x6231, /* tda8275a, ks003 IR */
4905 .driver_data = SAA7134_BOARD_MSI_TVATANYWHERE_PLUS,
4907 .vendor = PCI_VENDOR_ID_PHILIPS,
4908 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4909 .subvendor = 0x1462,
4910 .subdevice = 0x8624, /* tda8275, ks003 IR */
4911 .driver_data = SAA7134_BOARD_MSI_TVATANYWHERE_PLUS,
4913 .vendor = PCI_VENDOR_ID_PHILIPS,
4914 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4915 .subvendor = 0x153b,
4916 .subdevice = 0x1160,
4917 .driver_data = SAA7134_BOARD_CINERGY250PCI,
4919 .vendor = PCI_VENDOR_ID_PHILIPS,
4920 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA 7131E */
4921 .subvendor = 0x5168,
4922 .subdevice = 0x0319,
4923 .driver_data = SAA7134_BOARD_FLYDVB_TRIO,
4925 .vendor = PCI_VENDOR_ID_PHILIPS,
4926 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4927 .subvendor = 0x1461,
4928 .subdevice = 0x2c05,
4929 .driver_data = SAA7134_BOARD_AVERMEDIA_777,
4931 .vendor = PCI_VENDOR_ID_PHILIPS,
4932 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4933 .subvendor = 0x5168,
4934 .subdevice = 0x0301,
4935 .driver_data = SAA7134_BOARD_FLYDVBT_LR301,
4937 .vendor = PCI_VENDOR_ID_PHILIPS,
4938 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4939 .subvendor = 0x0331,
4940 .subdevice = 0x1421,
4941 .driver_data = SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331,
4943 .vendor = PCI_VENDOR_ID_PHILIPS,
4944 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4945 .subvendor = 0x17de,
4946 .subdevice = 0x7201,
4947 .driver_data = SAA7134_BOARD_TEVION_DVBT_220RF,
4949 .vendor = PCI_VENDOR_ID_PHILIPS,
4950 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4951 .subvendor = 0x17de,
4952 .subdevice = 0x7250,
4953 .driver_data = SAA7134_BOARD_KWORLD_DVBT_210,
4955 .vendor = PCI_VENDOR_ID_PHILIPS,
4956 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA7135HL */
4957 .subvendor = 0x17de,
4958 .subdevice = 0x7350,
4959 .driver_data = SAA7134_BOARD_KWORLD_ATSC110,
4961 .vendor = PCI_VENDOR_ID_PHILIPS,
4962 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA7135HL */
4963 .subvendor = 0x17de,
4964 .subdevice = 0x7352,
4965 .driver_data = SAA7134_BOARD_KWORLD_ATSC110, /* ATSC 115 */
4967 .vendor = PCI_VENDOR_ID_PHILIPS,
4968 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4969 .subvendor = 0x1461,
4970 .subdevice = 0x7360,
4971 .driver_data = SAA7134_BOARD_AVERMEDIA_A169_B,
4973 .vendor = PCI_VENDOR_ID_PHILIPS,
4974 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4975 .subvendor = 0x1461,
4976 .subdevice = 0x6360,
4977 .driver_data = SAA7134_BOARD_AVERMEDIA_A169_B1,
4979 .vendor = PCI_VENDOR_ID_PHILIPS,
4980 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4981 .subvendor = 0x16be,
4982 .subdevice = 0x0005,
4983 .driver_data = SAA7134_BOARD_MD7134_BRIDGE_2,
4985 .vendor = PCI_VENDOR_ID_PHILIPS,
4986 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4987 .subvendor = 0x5168,
4988 .subdevice = 0x0300,
4989 .driver_data = SAA7134_BOARD_FLYDVBS_LR300,
4991 .vendor = PCI_VENDOR_ID_PHILIPS,
4992 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4993 .subvendor = 0x4e42,
4994 .subdevice = 0x0300,/* LR300 */
4995 .driver_data = SAA7134_BOARD_FLYDVBS_LR300,
4997 .vendor = PCI_VENDOR_ID_PHILIPS,
4998 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4999 .subvendor = 0x1489,
5000 .subdevice = 0x0301,
5001 .driver_data = SAA7134_BOARD_FLYDVBT_LR301,
5003 .vendor = PCI_VENDOR_ID_PHILIPS,
5004 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5005 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
5006 .subdevice = 0x0304,
5007 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
5009 .vendor = PCI_VENDOR_ID_PHILIPS,
5010 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5011 .subvendor = 0x5168,
5012 .subdevice = 0x3306,
5013 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
5015 .vendor = PCI_VENDOR_ID_PHILIPS,
5016 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5017 .subvendor = 0x5168,
5018 .subdevice = 0x3502, /* whats the difference to 0x3306 ?*/
5019 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
5021 .vendor = PCI_VENDOR_ID_PHILIPS,
5022 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5023 .subvendor = 0x5168,
5024 .subdevice = 0x3307, /* FlyDVB-T Hybrid Mini PCI */
5025 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
5027 .vendor = PCI_VENDOR_ID_PHILIPS,
5028 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5029 .subvendor = 0x16be,
5030 .subdevice = 0x0007,
5031 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
5033 .vendor = PCI_VENDOR_ID_PHILIPS,
5034 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5035 .subvendor = 0x16be,
5036 .subdevice = 0x0008,
5037 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
5039 .vendor = PCI_VENDOR_ID_PHILIPS,
5040 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5041 .subvendor = 0x16be,
5042 .subdevice = 0x000d, /* triple CTX948_V1.1.1 */
5043 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
5045 .vendor = PCI_VENDOR_ID_PHILIPS,
5046 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5047 .subvendor = 0x1461,
5048 .subdevice = 0x2c05,
5049 .driver_data = SAA7134_BOARD_AVERMEDIA_777,
5051 .vendor = PCI_VENDOR_ID_PHILIPS,
5052 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5053 .subvendor = 0x1489,
5054 .subdevice = 0x0502, /* Cardbus version */
5055 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
5057 .vendor = PCI_VENDOR_ID_PHILIPS,
5058 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5059 .subvendor = 0x0919, /* Philips Proteus PRO 2309 */
5060 .subdevice = 0x2003,
5061 .driver_data = SAA7134_BOARD_PROTEUS_2309,
5063 .vendor = PCI_VENDOR_ID_PHILIPS,
5064 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5065 .subvendor = 0x1461,
5066 .subdevice = 0x2c00,
5067 .driver_data = SAA7134_BOARD_AVERMEDIA_A16AR,
5069 .vendor = PCI_VENDOR_ID_PHILIPS,
5070 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5071 .subvendor = 0x1043,
5072 .subdevice = 0x4860,
5073 .driver_data = SAA7134_BOARD_ASUS_EUROPA2_HYBRID,
5075 .vendor = PCI_VENDOR_ID_PHILIPS,
5076 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5077 .subvendor = 0x11bd,
5078 .subdevice = 0x002f,
5079 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_310i,
5081 .vendor = PCI_VENDOR_ID_PHILIPS,
5082 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5083 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5084 .subdevice = 0x9715,
5085 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_507,
5087 .vendor = PCI_VENDOR_ID_PHILIPS,
5088 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5089 .subvendor = 0x1043,
5090 .subdevice = 0x4876,
5091 .driver_data = SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA,
5093 .vendor = PCI_VENDOR_ID_PHILIPS,
5094 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5095 .subvendor = 0x0070,
5096 .subdevice = 0x6700,
5097 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
5099 .vendor = PCI_VENDOR_ID_PHILIPS,
5100 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5101 .subvendor = 0x0070,
5102 .subdevice = 0x6701,
5103 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
5105 .vendor = PCI_VENDOR_ID_PHILIPS,
5106 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5107 .subvendor = 0x0070,
5108 .subdevice = 0x6702,
5109 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
5111 .vendor = PCI_VENDOR_ID_PHILIPS,
5112 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5113 .subvendor = 0x0070,
5114 .subdevice = 0x6703,
5115 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
5117 .vendor = PCI_VENDOR_ID_PHILIPS,
5118 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5119 .subvendor = 0x0070,
5120 .subdevice = 0x6704,
5121 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
5123 .vendor = PCI_VENDOR_ID_PHILIPS,
5124 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5125 .subvendor = 0x0070,
5126 .subdevice = 0x6705,
5127 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
5129 .vendor = PCI_VENDOR_ID_PHILIPS,
5130 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5131 .subvendor = 0x153b,
5132 .subdevice = 0x1172,
5133 .driver_data = SAA7134_BOARD_CINERGY_HT_PCMCIA,
5135 .vendor = PCI_VENDOR_ID_PHILIPS,
5136 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5137 .subvendor = PCI_VENDOR_ID_PHILIPS,
5138 .subdevice = 0x2342,
5139 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
5141 .vendor = PCI_VENDOR_ID_PHILIPS,
5142 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5143 .subvendor = 0x1131,
5144 .subdevice = 0x2341,
5145 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
5147 .vendor = PCI_VENDOR_ID_PHILIPS,
5148 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5149 .subvendor = 0x3016,
5150 .subdevice = 0x2344,
5151 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
5153 .vendor = PCI_VENDOR_ID_PHILIPS,
5154 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5155 .subvendor = 0x1131,
5156 .subdevice = 0x230f,
5157 .driver_data = SAA7134_BOARD_ENCORE_ENLTV_FM,
5159 .vendor = PCI_VENDOR_ID_PHILIPS,
5160 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5161 .subvendor = 0x153b,
5162 .subdevice = 0x1175,
5163 .driver_data = SAA7134_BOARD_CINERGY_HT_PCI,
5165 .vendor = PCI_VENDOR_ID_PHILIPS,
5166 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5167 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5168 .subdevice = 0xf31e,
5169 .driver_data = SAA7134_BOARD_AVERMEDIA_M102,
5171 .vendor = PCI_VENDOR_ID_PHILIPS,
5172 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5173 .subvendor = 0x4E42, /* MSI */
5174 .subdevice = 0x0306, /* TV@nywhere DUO */
5175 .driver_data = SAA7134_BOARD_FLYDVBTDUO,
5177 .vendor = PCI_VENDOR_ID_PHILIPS,
5178 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5179 .subvendor = 0x1043,
5180 .subdevice = 0x4871,
5181 .driver_data = SAA7134_BOARD_ASUS_P7131_4871,
5183 .vendor = PCI_VENDOR_ID_PHILIPS,
5184 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5185 .subvendor = 0x1043,
5186 .subdevice = 0x4857,
5187 .driver_data = SAA7134_BOARD_ASUSTeK_P7131_DUAL,
5189 .vendor = PCI_VENDOR_ID_PHILIPS,
5190 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5191 .subvendor = 0x0919, /* SinoVideo PCI 2309 Proteus (7134) */
5192 .subdevice = 0x2003, /* OEM cardbus */
5193 .driver_data = SAA7134_BOARD_SABRENT_TV_PCB05,
5195 .vendor = PCI_VENDOR_ID_PHILIPS,
5196 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5197 .subvendor = PCI_VENDOR_ID_PHILIPS,
5198 .subdevice = 0x2304,
5199 .driver_data = SAA7134_BOARD_10MOONSTVMASTER3,
5201 .vendor = PCI_VENDOR_ID_PHILIPS,
5202 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5203 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5204 .subdevice = 0xf01d, /* AVerTV DVB-T Super 007 */
5205 .driver_data = SAA7134_BOARD_AVERMEDIA_SUPER_007,
5207 .vendor = PCI_VENDOR_ID_PHILIPS,
5208 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5209 .subvendor = 0x0000,
5210 .subdevice = 0x4016,
5211 .driver_data = SAA7134_BOARD_BEHOLD_401,
5213 .vendor = PCI_VENDOR_ID_PHILIPS,
5214 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5215 .subvendor = 0x0000,
5216 .subdevice = 0x4036,
5217 .driver_data = SAA7134_BOARD_BEHOLD_403,
5219 .vendor = PCI_VENDOR_ID_PHILIPS,
5220 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5221 .subvendor = 0x0000,
5222 .subdevice = 0x4037,
5223 .driver_data = SAA7134_BOARD_BEHOLD_403FM,
5225 .vendor = PCI_VENDOR_ID_PHILIPS,
5226 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5227 .subvendor = 0x0000,
5228 .subdevice = 0x4050,
5229 .driver_data = SAA7134_BOARD_BEHOLD_405,
5231 .vendor = PCI_VENDOR_ID_PHILIPS,
5232 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5233 .subvendor = 0x0000,
5234 .subdevice = 0x4051,
5235 .driver_data = SAA7134_BOARD_BEHOLD_405FM,
5237 .vendor = PCI_VENDOR_ID_PHILIPS,
5238 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5239 .subvendor = 0x0000,
5240 .subdevice = 0x4070,
5241 .driver_data = SAA7134_BOARD_BEHOLD_407,
5243 .vendor = PCI_VENDOR_ID_PHILIPS,
5244 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5245 .subvendor = 0x0000,
5246 .subdevice = 0x4071,
5247 .driver_data = SAA7134_BOARD_BEHOLD_407FM,
5249 .vendor = PCI_VENDOR_ID_PHILIPS,
5250 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5251 .subvendor = 0x0000,
5252 .subdevice = 0x4090,
5253 .driver_data = SAA7134_BOARD_BEHOLD_409,
5255 .vendor = PCI_VENDOR_ID_PHILIPS,
5256 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5257 .subvendor = 0x0000,
5258 .subdevice = 0x5051,
5259 .driver_data = SAA7134_BOARD_BEHOLD_505FM,
5261 .vendor = PCI_VENDOR_ID_PHILIPS,
5262 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5263 .subvendor = 0x0000,
5264 .subdevice = 0x505B,
5265 .driver_data = SAA7134_BOARD_BEHOLD_505FM,
5267 .vendor = PCI_VENDOR_ID_PHILIPS,
5268 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5269 .subvendor = 0x5ace,
5270 .subdevice = 0x5050,
5271 .driver_data = SAA7134_BOARD_BEHOLD_505FM,
5273 .vendor = PCI_VENDOR_ID_PHILIPS,
5274 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5275 .subvendor = 0x0000,
5276 .subdevice = 0x5071,
5277 .driver_data = SAA7134_BOARD_BEHOLD_507_9FM,
5279 .vendor = PCI_VENDOR_ID_PHILIPS,
5280 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5281 .subvendor = 0x0000,
5282 .subdevice = 0x507B,
5283 .driver_data = SAA7134_BOARD_BEHOLD_507_9FM,
5285 .vendor = PCI_VENDOR_ID_PHILIPS,
5286 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5287 .subvendor = 0x5ace,
5288 .subdevice = 0x5070,
5289 .driver_data = SAA7134_BOARD_BEHOLD_507_9FM,
5291 .vendor = PCI_VENDOR_ID_PHILIPS,
5292 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5293 .subvendor = 0x5ace,
5294 .subdevice = 0x5090,
5295 .driver_data = SAA7134_BOARD_BEHOLD_507_9FM,
5297 .vendor = PCI_VENDOR_ID_PHILIPS,
5298 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5299 .subvendor = 0x0000,
5300 .subdevice = 0x5201,
5301 .driver_data = SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM,
5303 .vendor = PCI_VENDOR_ID_PHILIPS,
5304 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5305 .subvendor = 0x5ace,
5306 .subdevice = 0x6070,
5307 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5309 .vendor = PCI_VENDOR_ID_PHILIPS,
5310 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5311 .subvendor = 0x5ace,
5312 .subdevice = 0x6071,
5313 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5315 .vendor = PCI_VENDOR_ID_PHILIPS,
5316 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5317 .subvendor = 0x5ace,
5318 .subdevice = 0x6072,
5319 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5321 .vendor = PCI_VENDOR_ID_PHILIPS,
5322 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5323 .subvendor = 0x5ace,
5324 .subdevice = 0x6073,
5325 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5327 .vendor = PCI_VENDOR_ID_PHILIPS,
5328 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5329 .subvendor = 0x5ace,
5330 .subdevice = 0x6090,
5331 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5333 .vendor = PCI_VENDOR_ID_PHILIPS,
5334 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5335 .subvendor = 0x5ace,
5336 .subdevice = 0x6091,
5337 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5339 .vendor = PCI_VENDOR_ID_PHILIPS,
5340 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5341 .subvendor = 0x5ace,
5342 .subdevice = 0x6092,
5343 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5345 .vendor = PCI_VENDOR_ID_PHILIPS,
5346 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5347 .subvendor = 0x5ace,
5348 .subdevice = 0x6093,
5349 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5351 .vendor = PCI_VENDOR_ID_PHILIPS,
5352 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5353 .subvendor = 0x5ace,
5354 .subdevice = 0x6190,
5355 .driver_data = SAA7134_BOARD_BEHOLD_M6,
5357 .vendor = PCI_VENDOR_ID_PHILIPS,
5358 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5359 .subvendor = 0x5ace,
5360 .subdevice = 0x6193,
5361 .driver_data = SAA7134_BOARD_BEHOLD_M6_EXTRA,
5363 .vendor = PCI_VENDOR_ID_PHILIPS,
5364 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5365 .subvendor = 0x5ace,
5366 .subdevice = 0x6191,
5367 .driver_data = SAA7134_BOARD_BEHOLD_M63,
5369 .vendor = PCI_VENDOR_ID_PHILIPS,
5370 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5371 .subvendor = 0x4e42,
5372 .subdevice = 0x3502,
5373 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
5375 .vendor = PCI_VENDOR_ID_PHILIPS,
5376 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5377 .subvendor = 0x1822, /*Twinhan Technology Co. Ltd*/
5378 .subdevice = 0x0022,
5379 .driver_data = SAA7134_BOARD_TWINHAN_DTV_DVB_3056,
5381 .vendor = PCI_VENDOR_ID_PHILIPS,
5382 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5383 .subvendor = 0x16be,
5384 .subdevice = 0x0010, /* Medion version CTX953_V.1.4.3 */
5385 .driver_data = SAA7134_BOARD_CREATIX_CTX953,
5387 .vendor = PCI_VENDOR_ID_PHILIPS,
5388 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5389 .subvendor = 0x1462, /* MSI */
5390 .subdevice = 0x8625, /* TV@nywhere A/D v1.1 */
5391 .driver_data = SAA7134_BOARD_MSI_TVANYWHERE_AD11,
5393 .vendor = PCI_VENDOR_ID_PHILIPS,
5394 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5395 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5396 .subdevice = 0xf436,
5397 .driver_data = SAA7134_BOARD_AVERMEDIA_CARDBUS_506,
5399 .vendor = PCI_VENDOR_ID_PHILIPS,
5400 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5401 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5402 .subdevice = 0xf936,
5403 .driver_data = SAA7134_BOARD_AVERMEDIA_A16D,
5405 .vendor = PCI_VENDOR_ID_PHILIPS,
5406 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5407 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5408 .subdevice = 0xa836,
5409 .driver_data = SAA7134_BOARD_AVERMEDIA_M115,
5411 .vendor = PCI_VENDOR_ID_PHILIPS,
5412 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5413 .subvendor = 0x185b,
5414 .subdevice = 0xc900,
5415 .driver_data = SAA7134_BOARD_VIDEOMATE_T750,
5417 .vendor = PCI_VENDOR_ID_PHILIPS,
5418 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5419 .subvendor = 0x5169,
5420 .subdevice = 0x1502,
5421 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
5423 .vendor = PCI_VENDOR_ID_PHILIPS,
5424 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5425 .subvendor = 0x5ace,
5426 .subdevice = 0x6290,
5427 .driver_data = SAA7134_BOARD_BEHOLD_H6,
5429 .vendor = PCI_VENDOR_ID_PHILIPS,
5430 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5431 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5432 .subdevice = 0xf636,
5433 .driver_data = SAA7134_BOARD_AVERMEDIA_M103,
5435 /* --- boards without eeprom + subsystem ID --- */
5436 .vendor = PCI_VENDOR_ID_PHILIPS,
5437 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5438 .subvendor = PCI_VENDOR_ID_PHILIPS,
5440 .driver_data = SAA7134_BOARD_NOAUTO,
5442 .vendor = PCI_VENDOR_ID_PHILIPS,
5443 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5444 .subvendor = PCI_VENDOR_ID_PHILIPS,
5446 .driver_data = SAA7134_BOARD_NOAUTO,
5448 /* --- default catch --- */
5449 .vendor = PCI_VENDOR_ID_PHILIPS,
5450 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5451 .subvendor = PCI_ANY_ID,
5452 .subdevice = PCI_ANY_ID,
5453 .driver_data = SAA7134_BOARD_UNKNOWN,
5455 .vendor = PCI_VENDOR_ID_PHILIPS,
5456 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5457 .subvendor = PCI_ANY_ID,
5458 .subdevice = PCI_ANY_ID,
5459 .driver_data = SAA7134_BOARD_UNKNOWN,
5461 .vendor = PCI_VENDOR_ID_PHILIPS,
5462 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5463 .subvendor = PCI_ANY_ID,
5464 .subdevice = PCI_ANY_ID,
5465 .driver_data = SAA7134_BOARD_UNKNOWN,
5467 .vendor = PCI_VENDOR_ID_PHILIPS,
5468 .device = PCI_DEVICE_ID_PHILIPS_SAA7135,
5469 .subvendor = PCI_ANY_ID,
5470 .subdevice = PCI_ANY_ID,
5471 .driver_data = SAA7134_BOARD_UNKNOWN,
5473 /* --- end of list --- */
5476 MODULE_DEVICE_TABLE(pci, saa7134_pci_tbl);
5478 /* ----------------------------------------------------------- */
5479 /* flyvideo tweaks */
5482 static void board_flyvideo(struct saa7134_dev *dev)
5484 printk("%s: there are different flyvideo cards with different tuners\n"
5485 "%s: out there, you might have to use the tuner=<nr> insmod\n"
5486 "%s: option to override the default value.\n",
5487 dev->name, dev->name, dev->name);
5490 static int saa7134_xc2028_callback(struct saa7134_dev *dev,
5491 int command, int arg)
5494 case XC2028_TUNER_RESET:
5495 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00008000, 0x00000000);
5496 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00008000, 0x00008000);
5497 switch (dev->board) {
5498 case SAA7134_BOARD_AVERMEDIA_CARDBUS_506:
5499 case SAA7134_BOARD_AVERMEDIA_M103:
5500 saa7134_set_gpio(dev, 23, 0);
5502 saa7134_set_gpio(dev, 23, 1);
5504 case SAA7134_BOARD_AVERMEDIA_A16D:
5505 saa7134_set_gpio(dev, 21, 0);
5507 saa7134_set_gpio(dev, 21, 1);
5516 static int saa7134_tda8290_callback(struct saa7134_dev *dev,
5517 int command, int arg)
5522 case 0: /* switch LNA gain through GPIO 22*/
5523 saa7134_set_gpio(dev, 22, arg) ;
5525 case 1: /* vsync output at GPIO22. 50 / 60Hz */
5526 saa_andorb(SAA7134_VIDEO_PORT_CTRL3, 0x80, 0x80);
5527 saa_andorb(SAA7134_VIDEO_PORT_CTRL6, 0x0f, 0x03);
5532 saa_writeb(SAA7134_VGATE_START, sync_control);
5533 saa_writeb(SAA7134_VGATE_STOP, sync_control + 1);
5534 saa_andorb(SAA7134_MISC_VGATE_MSB, 0x03, 0x00);
5543 int saa7134_tuner_callback(void *priv, int command, int arg)
5545 struct saa7134_dev *dev = priv;
5547 switch (dev->tuner_type) {
5548 case TUNER_PHILIPS_TDA8290:
5549 return saa7134_tda8290_callback(dev, command, arg);
5551 return saa7134_xc2028_callback(dev, command, arg);
5554 printk(KERN_ERR "saa7134: Error - device struct undefined.\n");
5559 EXPORT_SYMBOL(saa7134_tuner_callback);
5561 /* ----------------------------------------------------------- */
5563 static void hauppauge_eeprom(struct saa7134_dev *dev, u8 *eeprom_data)
5567 tveeprom_hauppauge_analog(&dev->i2c_client, &tv, eeprom_data);
5569 /* Make sure we support the board model */
5571 case 67019: /* WinTV-HVR1110 (Retail, IR Blaster, hybrid, FM, SVid/Comp, 3.5mm audio in) */
5572 case 67109: /* WinTV-HVR1000 (Retail, IR Receive, analog, no FM, SVid/Comp, 3.5mm audio in) */
5573 case 67559: /* WinTV-HVR1110 (OEM, no IR, hybrid, FM, SVid/Comp, RCA aud) */
5574 case 67569: /* WinTV-HVR1110 (OEM, no IR, hybrid, FM) */
5575 case 67579: /* WinTV-HVR1110 (OEM, no IR, hybrid, no FM) */
5576 case 67589: /* WinTV-HVR1110 (OEM, no IR, hybrid, no FM, SVid/Comp, RCA aud) */
5577 case 67599: /* WinTV-HVR1110 (OEM, no IR, hybrid, no FM, SVid/Comp, RCA aud) */
5580 printk(KERN_WARNING "%s: warning: "
5581 "unknown hauppauge model #%d\n", dev->name, tv.model);
5585 printk(KERN_INFO "%s: hauppauge eeprom: model=%d\n",
5586 dev->name, tv.model);
5589 /* ----------------------------------------------------------- */
5591 int saa7134_board_init1(struct saa7134_dev *dev)
5593 /* Always print gpio, often manufacturers encode tuner type and other info. */
5594 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0);
5595 dev->gpio_value = saa_readl(SAA7134_GPIO_GPSTATUS0 >> 2);
5596 printk(KERN_INFO "%s: board init: gpio is %x\n", dev->name, dev->gpio_value);
5598 switch (dev->board) {
5599 case SAA7134_BOARD_FLYVIDEO2000:
5600 case SAA7134_BOARD_FLYVIDEO3000:
5601 case SAA7134_BOARD_FLYVIDEO3000_NTSC:
5602 dev->has_remote = SAA7134_REMOTE_GPIO;
5603 board_flyvideo(dev);
5605 case SAA7134_BOARD_FLYTVPLATINUM_MINI2:
5606 case SAA7134_BOARD_FLYTVPLATINUM_FM:
5607 case SAA7134_BOARD_CINERGY400:
5608 case SAA7134_BOARD_CINERGY600:
5609 case SAA7134_BOARD_CINERGY600_MK3:
5610 case SAA7134_BOARD_ECS_TVP3XP:
5611 case SAA7134_BOARD_ECS_TVP3XP_4CB5:
5612 case SAA7134_BOARD_ECS_TVP3XP_4CB6:
5613 case SAA7134_BOARD_MD2819:
5614 case SAA7134_BOARD_KWORLD_VSTREAM_XPERT:
5615 case SAA7134_BOARD_KWORLD_XPERT:
5616 case SAA7134_BOARD_AVERMEDIA_STUDIO_305:
5617 case SAA7134_BOARD_AVERMEDIA_305:
5618 case SAA7134_BOARD_AVERMEDIA_STUDIO_307:
5619 case SAA7134_BOARD_AVERMEDIA_307:
5620 case SAA7134_BOARD_AVERMEDIA_STUDIO_507:
5621 case SAA7134_BOARD_AVERMEDIA_GO_007_FM:
5622 case SAA7134_BOARD_AVERMEDIA_777:
5623 /* case SAA7134_BOARD_SABRENT_SBTTVFM: */ /* not finished yet */
5624 case SAA7134_BOARD_VIDEOMATE_TV_PVR:
5625 case SAA7134_BOARD_VIDEOMATE_GOLD_PLUS:
5626 case SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII:
5627 case SAA7134_BOARD_VIDEOMATE_DVBT_300:
5628 case SAA7134_BOARD_VIDEOMATE_DVBT_200:
5629 case SAA7134_BOARD_VIDEOMATE_DVBT_200A:
5630 case SAA7134_BOARD_VIDEOMATE_T750:
5631 case SAA7134_BOARD_MANLI_MTV001:
5632 case SAA7134_BOARD_MANLI_MTV002:
5633 case SAA7134_BOARD_BEHOLD_409FM:
5634 case SAA7134_BOARD_AVACSSMARTTV:
5635 case SAA7134_BOARD_GOTVIEW_7135:
5636 case SAA7134_BOARD_KWORLD_TERMINATOR:
5637 case SAA7134_BOARD_SEDNA_PC_TV_CARDBUS:
5638 case SAA7134_BOARD_FLYDVBT_LR301:
5639 case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
5640 case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA:
5641 case SAA7134_BOARD_ASUSTeK_P7131_ANALOG:
5642 case SAA7134_BOARD_FLYDVBTDUO:
5643 case SAA7134_BOARD_PROTEUS_2309:
5644 case SAA7134_BOARD_AVERMEDIA_A16AR:
5645 case SAA7134_BOARD_ENCORE_ENLTV:
5646 case SAA7134_BOARD_ENCORE_ENLTV_FM:
5647 case SAA7134_BOARD_10MOONSTVMASTER3:
5648 case SAA7134_BOARD_BEHOLD_401:
5649 case SAA7134_BOARD_BEHOLD_403:
5650 case SAA7134_BOARD_BEHOLD_403FM:
5651 case SAA7134_BOARD_BEHOLD_405:
5652 case SAA7134_BOARD_BEHOLD_405FM:
5653 case SAA7134_BOARD_BEHOLD_407:
5654 case SAA7134_BOARD_BEHOLD_407FM:
5655 case SAA7134_BOARD_BEHOLD_409:
5656 case SAA7134_BOARD_BEHOLD_505FM:
5657 case SAA7134_BOARD_BEHOLD_507_9FM:
5658 case SAA7134_BOARD_GENIUS_TVGO_A11MCE:
5659 dev->has_remote = SAA7134_REMOTE_GPIO;
5661 case SAA7134_BOARD_FLYDVBS_LR300:
5662 saa_writeb(SAA7134_GPIO_GPMODE3, 0x80);
5663 saa_writeb(SAA7134_GPIO_GPSTATUS2, 0x40);
5664 dev->has_remote = SAA7134_REMOTE_GPIO;
5666 case SAA7134_BOARD_MD5044:
5667 printk("%s: seems there are two different versions of the MD5044\n"
5668 "%s: (with the same ID) out there. If sound doesn't work for\n"
5669 "%s: you try the audio_clock_override=0x200000 insmod option.\n",
5670 dev->name,dev->name,dev->name);
5672 case SAA7134_BOARD_CINERGY400_CARDBUS:
5673 /* power-up tuner chip */
5674 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000);
5675 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000000);
5677 case SAA7134_BOARD_PINNACLE_300I_DVBT_PAL:
5678 /* this turns the remote control chip off to work around a bug in it */
5679 saa_writeb(SAA7134_GPIO_GPMODE1, 0x80);
5680 saa_writeb(SAA7134_GPIO_GPSTATUS1, 0x80);
5682 case SAA7134_BOARD_MONSTERTV_MOBILE:
5683 /* power-up tuner chip */
5684 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000);
5685 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000004);
5687 case SAA7134_BOARD_FLYDVBT_DUO_CARDBUS:
5688 /* turn the fan on */
5689 saa_writeb(SAA7134_GPIO_GPMODE3, 0x08);
5690 saa_writeb(SAA7134_GPIO_GPSTATUS3, 0x06);
5692 case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331:
5693 case SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS:
5694 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x08000000, 0x08000000);
5695 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x08000000, 0x00000000);
5697 case SAA7134_BOARD_AVERMEDIA_CARDBUS:
5698 case SAA7134_BOARD_AVERMEDIA_M115:
5699 /* power-down tuner chip */
5700 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0xffffffff, 0);
5701 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0);
5703 /* power-up tuner chip */
5704 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0xffffffff, 0xffffffff);
5705 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0xffffffff);
5708 case SAA7134_BOARD_AVERMEDIA_CARDBUS_506:
5709 case SAA7134_BOARD_AVERMEDIA_M103:
5710 saa7134_set_gpio(dev, 23, 0);
5712 saa7134_set_gpio(dev, 23, 1);
5714 case SAA7134_BOARD_AVERMEDIA_A16D:
5715 saa7134_set_gpio(dev, 21, 0);
5717 saa7134_set_gpio(dev, 21, 1);
5719 dev->has_remote = SAA7134_REMOTE_GPIO;
5721 case SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM:
5722 /* power-down tuner chip */
5723 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x000A8004, 0x000A8004);
5724 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x000A8004, 0);
5726 /* power-up tuner chip */
5727 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x000A8004, 0x000A8004);
5728 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x000A8004, 0x000A8004);
5730 /* remote via GPIO */
5731 dev->has_remote = SAA7134_REMOTE_GPIO;
5733 case SAA7134_BOARD_RTD_VFG7350:
5736 * Make sure Production Test Register at offset 0x1D1 is cleared
5737 * to take chip out of test mode. Clearing bit 4 (TST_EN_AOUT)
5738 * prevents pin 105 from remaining low; keeping pin 105 low
5739 * continually resets the SAA6752 chip.
5742 saa_writeb (SAA7134_PRODUCTION_TEST_MODE, 0x00);
5745 case SAA7134_BOARD_PINNACLE_PCTV_110i:
5746 case SAA7134_BOARD_PINNACLE_PCTV_310i:
5747 case SAA7134_BOARD_UPMOST_PURPLE_TV:
5748 case SAA7134_BOARD_HAUPPAUGE_HVR1110:
5749 case SAA7134_BOARD_BEHOLD_607_9FM:
5750 case SAA7134_BOARD_BEHOLD_M6:
5751 case SAA7134_BOARD_BEHOLD_M63:
5752 case SAA7134_BOARD_BEHOLD_M6_EXTRA:
5753 dev->has_remote = SAA7134_REMOTE_I2C;
5755 case SAA7134_BOARD_AVERMEDIA_A169_B:
5756 printk("%s: %s: dual saa713x broadcast decoders\n"
5757 "%s: Sorry, none of the inputs to this chip are supported yet.\n"
5758 "%s: Dual decoder functionality is disabled for now, use the other chip.\n",
5759 dev->name,card(dev).name,dev->name,dev->name);
5761 case SAA7134_BOARD_AVERMEDIA_M102:
5763 dev->has_remote = SAA7134_REMOTE_GPIO;
5764 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x8c040007, 0x8c040007);
5765 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x0c0007cd, 0x0c0007cd);
5767 case SAA7134_BOARD_AVERMEDIA_A700_PRO:
5768 case SAA7134_BOARD_AVERMEDIA_A700_HYBRID:
5769 /* write windows gpio values */
5770 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x80040100, 0x80040100);
5771 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x80040100, 0x00040100);
5772 printk("%s: %s: hybrid analog/dvb card\n"
5773 "%s: Sorry, only analog s-video and composite input "
5774 "are supported for now.\n",
5775 dev->name, card(dev).name, dev->name);
5781 static void saa7134_tuner_setup(struct saa7134_dev *dev)
5783 struct tuner_setup tun_setup;
5784 unsigned int mode_mask = T_RADIO |
5788 memset(&tun_setup, 0, sizeof(tun_setup));
5789 tun_setup.tuner_callback = saa7134_tuner_callback;
5791 if (saa7134_boards[dev->board].radio_type != UNSET) {
5792 tun_setup.type = saa7134_boards[dev->board].radio_type;
5793 tun_setup.addr = saa7134_boards[dev->board].radio_addr;
5795 tun_setup.mode_mask = T_RADIO;
5797 saa7134_i2c_call_clients(dev, TUNER_SET_TYPE_ADDR, &tun_setup);
5798 mode_mask &= ~T_RADIO;
5801 if ((dev->tuner_type != TUNER_ABSENT) && (dev->tuner_type != UNSET)) {
5802 tun_setup.type = dev->tuner_type;
5803 tun_setup.addr = dev->tuner_addr;
5804 tun_setup.config = saa7134_boards[dev->board].tuner_config;
5805 tun_setup.tuner_callback = saa7134_tuner_callback;
5807 tun_setup.mode_mask = mode_mask;
5809 saa7134_i2c_call_clients(dev, TUNER_SET_TYPE_ADDR, &tun_setup);
5812 if (dev->tda9887_conf) {
5813 struct v4l2_priv_tun_config tda9887_cfg;
5815 tda9887_cfg.tuner = TUNER_TDA9887;
5816 tda9887_cfg.priv = &dev->tda9887_conf;
5818 saa7134_i2c_call_clients(dev, TUNER_SET_CONFIG,
5822 if (dev->tuner_type == TUNER_XC2028) {
5823 struct v4l2_priv_tun_config xc2028_cfg;
5824 struct xc2028_ctrl ctl;
5826 memset(&xc2028_cfg, 0, sizeof(ctl));
5827 memset(&ctl, 0, sizeof(ctl));
5829 ctl.fname = XC2028_DEFAULT_FIRMWARE;
5832 switch (dev->board) {
5833 case SAA7134_BOARD_AVERMEDIA_A16D:
5834 case SAA7134_BOARD_AVERMEDIA_CARDBUS_506:
5835 case SAA7134_BOARD_AVERMEDIA_M103:
5836 ctl.demod = XC3028_FE_ZARLINK456;
5839 ctl.demod = XC3028_FE_OREN538;
5843 xc2028_cfg.tuner = TUNER_XC2028;
5844 xc2028_cfg.priv = &ctl;
5846 saa7134_i2c_call_clients(dev, TUNER_SET_CONFIG, &xc2028_cfg);
5850 /* stuff which needs working i2c */
5851 int saa7134_board_init2(struct saa7134_dev *dev)
5856 switch (dev->board) {
5857 case SAA7134_BOARD_BMK_MPEX_NOTUNER:
5858 case SAA7134_BOARD_BMK_MPEX_TUNER:
5859 dev->i2c_client.addr = 0x60;
5860 board = (i2c_master_recv(&dev->i2c_client, &buf, 0) < 0)
5861 ? SAA7134_BOARD_BMK_MPEX_NOTUNER
5862 : SAA7134_BOARD_BMK_MPEX_TUNER;
5863 if (board == dev->board)
5866 printk("%s: board type fixup: %s\n", dev->name,
5867 saa7134_boards[dev->board].name);
5868 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
5871 case SAA7134_BOARD_MD7134:
5877 struct i2c_msg msg[] = {{.addr=0x50, .flags=0, .buf=&subaddr, .len = 1},
5878 {.addr=0x50, .flags=I2C_M_RD, .buf=data, .len = 3}};
5881 ret = i2c_transfer(&dev->i2c_adap, msg, 2);
5883 printk(KERN_ERR "EEPROM read failure\n");
5884 } else if ((data[0] != 0) && (data[0] != 0xff)) {
5885 /* old config structure */
5886 subaddr = data[0] + 2;
5888 i2c_transfer(&dev->i2c_adap, msg, 2);
5889 tuner_t = (data[0] << 8) + data[1];
5892 dev->tuner_type = TUNER_PHILIPS_PAL;
5895 dev->tuner_type = TUNER_PHILIPS_FM1216ME_MK3;
5898 printk(KERN_ERR "%s Cant determine tuner type %x from EEPROM\n", dev->name, tuner_t);
5900 } else if ((data[1] != 0) && (data[1] != 0xff)) {
5901 /* new config structure */
5902 subaddr = data[1] + 1;
5904 i2c_transfer(&dev->i2c_adap, msg, 2);
5905 subaddr = data[0] + 1;
5907 i2c_transfer(&dev->i2c_adap, msg, 2);
5908 tuner_t = (data[1] << 8) + data[0];
5911 dev->tuner_type = TUNER_PHILIPS_FM1216ME_MK3;
5914 dev->tuner_type = TUNER_PHILIPS_FMD1216ME_MK3;
5915 printk(KERN_INFO "%s Board has DVB-T\n", dev->name);
5918 printk(KERN_ERR "%s Cant determine tuner type %x from EEPROM\n", dev->name, tuner_t);
5921 printk(KERN_ERR "%s unexpected config structure\n", dev->name);
5924 printk(KERN_INFO "%s Tuner type is %d\n", dev->name, dev->tuner_type);
5927 case SAA7134_BOARD_PHILIPS_EUROPA:
5928 if (dev->autodetected && (dev->eedata[0x41] == 0x1c)) {
5929 /* Reconfigure board as Snake reference design */
5930 dev->board = SAA7134_BOARD_PHILIPS_SNAKE;
5931 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
5932 printk(KERN_INFO "%s: Reconfigured board as %s\n",
5933 dev->name, saa7134_boards[dev->board].name);
5936 case SAA7134_BOARD_VIDEOMATE_DVBT_300:
5937 case SAA7134_BOARD_ASUS_EUROPA2_HYBRID:
5940 /* The Philips EUROPA based hybrid boards have the tuner connected through
5941 * the channel decoder. We have to make it transparent to find it
5943 u8 data[] = { 0x07, 0x02};
5944 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
5945 i2c_transfer(&dev->i2c_adap, &msg, 1);
5949 case SAA7134_BOARD_PHILIPS_TIGER:
5950 case SAA7134_BOARD_PHILIPS_TIGER_S:
5952 u8 data[] = { 0x3c, 0x33, 0x60};
5953 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
5954 if (dev->autodetected && (dev->eedata[0x49] == 0x50)) {
5955 dev->board = SAA7134_BOARD_PHILIPS_TIGER_S;
5956 printk(KERN_INFO "%s: Reconfigured board as %s\n",
5957 dev->name, saa7134_boards[dev->board].name);
5959 if (dev->board == SAA7134_BOARD_PHILIPS_TIGER_S) {
5960 dev->tuner_type = TUNER_PHILIPS_TDA8290;
5962 saa7134_tuner_setup(dev);
5965 i2c_transfer(&dev->i2c_adap, &msg, 1);
5967 /* Tuner setup is handled before I2C transfer.
5968 Due to that, there's no need to do it later
5972 i2c_transfer(&dev->i2c_adap, &msg, 1);
5975 case SAA7134_BOARD_ASUSTeK_TVFM7135:
5976 /* The card below is detected as card=53, but is different */
5977 if (dev->autodetected && (dev->eedata[0x27] == 0x03)) {
5978 dev->board = SAA7134_BOARD_ASUSTeK_P7131_ANALOG;
5979 printk(KERN_INFO "%s: P7131 analog only, using "
5981 dev->name, saa7134_boards[dev->board].name);
5984 case SAA7134_BOARD_HAUPPAUGE_HVR1110:
5985 hauppauge_eeprom(dev, dev->eedata+0x80);
5986 /* break intentionally omitted */
5987 case SAA7134_BOARD_PINNACLE_PCTV_310i:
5988 case SAA7134_BOARD_KWORLD_DVBT_210:
5989 case SAA7134_BOARD_TEVION_DVBT_220RF:
5990 case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
5991 case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA:
5992 case SAA7134_BOARD_MEDION_MD8800_QUADRO:
5993 case SAA7134_BOARD_AVERMEDIA_SUPER_007:
5994 case SAA7134_BOARD_TWINHAN_DTV_DVB_3056:
5995 case SAA7134_BOARD_CREATIX_CTX953:
5997 /* this is a hybrid board, initialize to analog mode
5998 * and configure firmware eeprom address
6000 u8 data[] = { 0x3c, 0x33, 0x60};
6001 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
6002 i2c_transfer(&dev->i2c_adap, &msg, 1);
6005 case SAA7134_BOARD_FLYDVB_TRIO:
6007 u8 data[] = { 0x3c, 0x33, 0x62};
6008 struct i2c_msg msg = {.addr=0x09, .flags=0, .buf=data, .len = sizeof(data)};
6009 i2c_transfer(&dev->i2c_adap, &msg, 1);
6012 case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331:
6013 case SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS:
6015 /* initialize analog mode */
6016 u8 data[] = { 0x3c, 0x33, 0x6a};
6017 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
6018 i2c_transfer(&dev->i2c_adap, &msg, 1);
6021 case SAA7134_BOARD_CINERGY_HT_PCMCIA:
6022 case SAA7134_BOARD_CINERGY_HT_PCI:
6024 /* initialize analog mode */
6025 u8 data[] = { 0x3c, 0x33, 0x68};
6026 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
6027 i2c_transfer(&dev->i2c_adap, &msg, 1);
6030 case SAA7134_BOARD_KWORLD_ATSC110:
6034 static const u8 buffer [] = { 0x10, 0x12, 0x13, 0x04, 0x16,
6035 0x00, 0x14, 0x04, 0x17, 0x00 };
6036 dev->i2c_client.addr = 0x0a;
6037 for (i = 0; i < 5; i++)
6038 if (2 != i2c_master_send(&dev->i2c_client,
6041 "%s: Unable to enable tuner(%i).\n",
6045 case SAA7134_BOARD_VIDEOMATE_DVBT_200:
6046 case SAA7134_BOARD_VIDEOMATE_DVBT_200A:
6047 /* The T200 and the T200A share the same pci id. Consequently,
6048 * we are going to query eeprom to try to find out which one we
6049 * are actually looking at. */
6051 /* Don't do this if the board was specifically selected with an
6052 * insmod option or if we have the default configuration T200*/
6053 if(!dev->autodetected || (dev->eedata[0x41] == 0xd0))
6055 if(dev->eedata[0x41] == 0x02) {
6056 /* Reconfigure board as T200A */
6057 dev->board = SAA7134_BOARD_VIDEOMATE_DVBT_200A;
6058 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
6059 dev->tda9887_conf = saa7134_boards[dev->board].tda9887_conf;
6060 printk(KERN_INFO "%s: Reconfigured board as %s\n",
6061 dev->name, saa7134_boards[dev->board].name);
6063 printk(KERN_WARNING "%s: Unexpected tuner type info: %x in eeprom\n",
6064 dev->name, dev->eedata[0x41]);
6068 case SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM:
6070 struct v4l2_priv_tun_config tea5767_cfg;
6071 struct tea5767_ctrl ctl;
6073 dev->i2c_client.addr = 0xC0;
6074 /* set TEA5767(analog FM) defines */
6075 memset(&ctl, 0, sizeof(ctl));
6076 ctl.xtal_freq = TEA5767_HIGH_LO_13MHz;
6077 tea5767_cfg.tuner = TUNER_TEA5767;
6078 tea5767_cfg.priv = &ctl;
6079 saa7134_i2c_call_clients(dev, TUNER_SET_CONFIG, &tea5767_cfg);
6084 saa7134_tuner_setup(dev);