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>
26 #include "saa7134-reg.h"
28 #include <media/v4l2-common.h>
30 /* commly used strings */
31 static char name_mute[] = "mute";
32 static char name_radio[] = "Radio";
33 static char name_tv[] = "Television";
34 static char name_tv_mono[] = "TV (mono only)";
35 static char name_comp1[] = "Composite1";
36 static char name_comp2[] = "Composite2";
37 static char name_comp3[] = "Composite3";
38 static char name_comp4[] = "Composite4";
39 static char name_svideo[] = "S-Video";
41 /* ------------------------------------------------------------------ */
42 /* board config info */
44 struct saa7134_board saa7134_boards[] = {
45 [SAA7134_BOARD_UNKNOWN] = {
46 .name = "UNKNOWN/GENERIC",
47 .audio_clock = 0x00187de7,
48 .tuner_type = TUNER_ABSENT,
50 .tuner_addr = ADDR_UNSET,
51 .radio_addr = ADDR_UNSET,
59 [SAA7134_BOARD_PROTEUS_PRO] = {
61 .name = "Proteus Pro [philips reference design]",
62 .audio_clock = 0x00187de7,
63 .tuner_type = TUNER_PHILIPS_PAL,
65 .tuner_addr = ADDR_UNSET,
66 .radio_addr = ADDR_UNSET,
88 [SAA7134_BOARD_FLYVIDEO3000] = {
89 /* "Marco d'Itri" <md@Linux.IT> */
90 .name = "LifeView FlyVIDEO3000",
91 .audio_clock = 0x00200000,
92 .tuner_type = TUNER_PHILIPS_PAL,
94 .tuner_addr = ADDR_UNSET,
95 .radio_addr = ADDR_UNSET,
105 .name = name_tv_mono,
137 [SAA7134_BOARD_FLYVIDEO2000] = {
138 /* "TC Wan" <tcwan@cs.usm.my> */
139 .name = "LifeView/Typhoon FlyVIDEO2000",
140 .audio_clock = 0x00200000,
141 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
143 .tuner_addr = ADDR_UNSET,
144 .radio_addr = ADDR_UNSET,
180 [SAA7134_BOARD_FLYTVPLATINUM_MINI] = {
181 /* "Arnaud Quette" <aquette@free.fr> */
182 .name = "LifeView FlyTV Platinum Mini",
183 .audio_clock = 0x00200000,
184 .tuner_type = TUNER_PHILIPS_TDA8290,
186 .tuner_addr = ADDR_UNSET,
187 .radio_addr = ADDR_UNSET,
195 .name = name_comp1, /* Composite signal on S-Video input */
199 .name = name_comp2, /* Composite input */
208 [SAA7134_BOARD_FLYTVPLATINUM_FM] = {
209 /* LifeView FlyTV Platinum FM (LR214WF) */
210 /* "Peter Missel <peter.missel@onlinehome.de> */
211 .name = "LifeView FlyTV Platinum FM / Gold",
212 .audio_clock = 0x00200000,
213 .tuner_type = TUNER_PHILIPS_TDA8290,
215 .tuner_addr = ADDR_UNSET,
216 .radio_addr = ADDR_UNSET,
218 .gpiomask = 0x1E000, /* Set GP16 and unused 15,14,13 to Output */
223 .gpio = 0x10000, /* GP16=1 selects TV input */
226 /* .name = name_tv_mono,
232 */ .name = name_comp1, /* Composite signal on S-Video input */
235 /* .gpio = 0x4000, */
237 .name = name_comp2, /* Composite input */
240 /* .gpio = 0x4000, */
242 .name = name_svideo, /* S-Video signal on S-Video input */
245 /* .gpio = 0x4000, */
250 .gpio = 0x00000, /* GP16=0 selects FM radio antenna */
258 [SAA7134_BOARD_EMPRESS] = {
259 /* "Gert Vervoort" <gert.vervoort@philips.com> */
261 .audio_clock = 0x00187de7,
262 .tuner_type = TUNER_PHILIPS_PAL,
264 .tuner_addr = ADDR_UNSET,
265 .radio_addr = ADDR_UNSET,
285 .mpeg = SAA7134_MPEG_EMPRESS,
286 .video_out = CCIR656,
288 [SAA7134_BOARD_MONSTERTV] = {
289 /* "K.Ohta" <alpha292@bremen.or.jp> */
290 .name = "SKNet Monster TV",
291 .audio_clock = 0x00187de7,
292 .tuner_type = TUNER_PHILIPS_NTSC_M,
294 .tuner_addr = ADDR_UNSET,
295 .radio_addr = ADDR_UNSET,
316 [SAA7134_BOARD_MD9717] = {
317 .name = "Tevion MD 9717",
318 .audio_clock = 0x00200000,
319 .tuner_type = TUNER_PHILIPS_PAL,
321 .tuner_addr = ADDR_UNSET,
322 .radio_addr = ADDR_UNSET,
329 /* workaround for problems with normal TV sound */
330 .name = name_tv_mono,
352 [SAA7134_BOARD_TVSTATION_RDS] = {
353 /* Typhoon TV Tuner RDS: Art.Nr. 50694 */
354 .name = "KNC One TV-Station RDS / Typhoon TV Tuner RDS",
355 .audio_clock = 0x00200000,
356 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
358 .tuner_addr = ADDR_UNSET,
359 .radio_addr = ADDR_UNSET,
360 .tda9887_conf = TDA9887_PRESENT,
367 .name = name_tv_mono,
382 .name = "CVid over SVid",
391 [SAA7134_BOARD_TVSTATION_DVR] = {
392 .name = "KNC One TV-Station DVR",
393 .audio_clock = 0x00200000,
394 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
396 .tuner_addr = ADDR_UNSET,
397 .radio_addr = ADDR_UNSET,
398 .tda9887_conf = TDA9887_PRESENT,
399 .gpiomask = 0x820000,
422 .mpeg = SAA7134_MPEG_EMPRESS,
423 .video_out = CCIR656,
425 [SAA7134_BOARD_CINERGY400] = {
426 .name = "Terratec Cinergy 400 TV",
427 .audio_clock = 0x00200000,
428 .tuner_type = TUNER_PHILIPS_PAL,
430 .tuner_addr = ADDR_UNSET,
431 .radio_addr = ADDR_UNSET,
446 .name = name_comp2, /* CVideo over SVideo Connector */
451 [SAA7134_BOARD_MD5044] = {
452 .name = "Medion 5044",
453 .audio_clock = 0x00187de7, /* was: 0x00200000, */
454 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
456 .tuner_addr = ADDR_UNSET,
457 .radio_addr = ADDR_UNSET,
458 .tda9887_conf = TDA9887_PRESENT,
465 /* workaround for problems with normal TV sound */
466 .name = name_tv_mono,
488 [SAA7134_BOARD_KWORLD] = {
489 .name = "Kworld/KuroutoShikou SAA7130-TVPCI",
490 .audio_clock = 0x00187de7,
491 .tuner_type = TUNER_PHILIPS_NTSC_M,
493 .tuner_addr = ADDR_UNSET,
494 .radio_addr = ADDR_UNSET,
510 [SAA7134_BOARD_CINERGY600] = {
511 .name = "Terratec Cinergy 600 TV",
512 .audio_clock = 0x00200000,
513 .tuner_type = TUNER_PHILIPS_PAL,
515 .tuner_addr = ADDR_UNSET,
516 .radio_addr = ADDR_UNSET,
517 .tda9887_conf = TDA9887_PRESENT,
532 .name = name_comp2, /* CVideo over SVideo Connector */
541 [SAA7134_BOARD_MD7134] = {
542 .name = "Medion 7134",
543 .audio_clock = 0x00187de7,
544 .tuner_type = TUNER_PHILIPS_FMD1216ME_MK3,
546 .tuner_addr = ADDR_UNSET,
547 .radio_addr = ADDR_UNSET,
548 .tda9887_conf = TDA9887_PRESENT,
549 .mpeg = SAA7134_MPEG_DVB,
569 [SAA7134_BOARD_TYPHOON_90031] = {
570 /* aka Typhoon "TV+Radio", Art.Nr 90031 */
571 /* Tom Zoerner <tomzo at users sourceforge net> */
572 .name = "Typhoon TV+Radio 90031",
573 .audio_clock = 0x00200000,
574 .tuner_type = TUNER_PHILIPS_PAL,
576 .tuner_addr = ADDR_UNSET,
577 .radio_addr = ADDR_UNSET,
578 .tda9887_conf = TDA9887_PRESENT,
598 [SAA7134_BOARD_ELSA] = {
599 .name = "ELSA EX-VISION 300TV",
600 .audio_clock = 0x00187de7,
601 .tuner_type = TUNER_HITACHI_NTSC,
603 .tuner_addr = ADDR_UNSET,
604 .radio_addr = ADDR_UNSET,
620 [SAA7134_BOARD_ELSA_500TV] = {
621 .name = "ELSA EX-VISION 500TV",
622 .audio_clock = 0x00187de7,
623 .tuner_type = TUNER_HITACHI_NTSC,
625 .tuner_addr = ADDR_UNSET,
626 .radio_addr = ADDR_UNSET,
637 .name = name_tv_mono,
643 [SAA7134_BOARD_ELSA_700TV] = {
644 .name = "ELSA EX-VISION 700TV",
645 .audio_clock = 0x00187de7,
646 .tuner_type = TUNER_HITACHI_NTSC,
648 .tuner_addr = ADDR_UNSET,
649 .radio_addr = ADDR_UNSET,
669 [SAA7134_BOARD_ASUSTeK_TVFM7134] = {
670 .name = "ASUS TV-FM 7134",
671 .audio_clock = 0x00187de7,
672 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
674 .tuner_addr = ADDR_UNSET,
675 .radio_addr = ADDR_UNSET,
676 .tda9887_conf = TDA9887_PRESENT,
696 [SAA7134_BOARD_ASUSTeK_TVFM7135] = {
697 .name = "ASUS TV-FM 7135",
698 .audio_clock = 0x00187de7,
699 .tuner_type = TUNER_PHILIPS_TDA8290,
701 .tuner_addr = ADDR_UNSET,
702 .radio_addr = ADDR_UNSET,
703 .gpiomask = 0x200000,
732 [SAA7134_BOARD_VA1000POWER] = {
733 .name = "AOPEN VA1000 POWER",
734 .audio_clock = 0x00187de7,
735 .tuner_type = TUNER_PHILIPS_NTSC,
737 .tuner_addr = ADDR_UNSET,
738 .radio_addr = ADDR_UNSET,
754 [SAA7134_BOARD_10MOONSTVMASTER] = {
755 /* "lilicheng" <llc@linuxfans.org> */
756 .name = "10MOONS PCI TV CAPTURE CARD",
757 .audio_clock = 0x00200000,
758 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
760 .tuner_addr = ADDR_UNSET,
761 .radio_addr = ADDR_UNSET,
796 [SAA7134_BOARD_BMK_MPEX_NOTUNER] = {
797 /* "Andrew de Quincey" <adq@lidskialf.net> */
798 .name = "BMK MPEX No Tuner",
799 .audio_clock = 0x200000,
800 .tuner_type = TUNER_ABSENT,
802 .tuner_addr = ADDR_UNSET,
803 .radio_addr = ADDR_UNSET,
825 .mpeg = SAA7134_MPEG_EMPRESS,
826 .video_out = CCIR656,
828 [SAA7134_BOARD_VIDEOMATE_TV] = {
829 .name = "Compro VideoMate TV",
830 .audio_clock = 0x00187de7,
831 .tuner_type = TUNER_PHILIPS_NTSC_M,
833 .tuner_addr = ADDR_UNSET,
834 .radio_addr = ADDR_UNSET,
850 [SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS] = {
851 .name = "Compro VideoMate TV Gold+",
852 .audio_clock = 0x00187de7,
853 .tuner_type = TUNER_PHILIPS_NTSC_M,
854 .gpiomask = 0x800c0000,
856 .tuner_addr = ADDR_UNSET,
857 .radio_addr = ADDR_UNSET,
874 }}, /* radio and probably mute is missing */
876 [SAA7134_BOARD_CRONOS_PLUS] = {
885 .name = "Matrox CronosPlus",
886 .tuner_type = TUNER_ABSENT,
888 .tuner_addr = ADDR_UNSET,
889 .radio_addr = ADDR_UNSET,
913 [SAA7134_BOARD_MD2819] = {
914 .name = "AverMedia M156 / Medion 2819",
915 .audio_clock = 0x00187de7,
916 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
918 .tuner_addr = ADDR_UNSET,
919 .radio_addr = ADDR_UNSET,
920 .tda9887_conf = TDA9887_PRESENT,
944 [SAA7134_BOARD_BMK_MPEX_TUNER] = {
945 /* "Greg Wickham <greg.wickham@grangenet.net> */
946 .name = "BMK MPEX Tuner",
947 .audio_clock = 0x200000,
948 .tuner_type = TUNER_PHILIPS_PAL,
950 .tuner_addr = ADDR_UNSET,
951 .radio_addr = ADDR_UNSET,
966 .mpeg = SAA7134_MPEG_EMPRESS,
967 .video_out = CCIR656,
969 [SAA7134_BOARD_ASUSTEK_TVFM7133] = {
970 .name = "ASUS TV-FM 7133",
971 .audio_clock = 0x00187de7,
972 /* probably wrong, the 7133 one is the NTSC version ...
973 * .tuner_type = TUNER_PHILIPS_FM1236_MK3 */
974 .tuner_type = TUNER_LG_NTSC_NEW_TAPC,
976 .tuner_addr = ADDR_UNSET,
977 .radio_addr = ADDR_UNSET,
978 .tda9887_conf = TDA9887_PRESENT,
999 [SAA7134_BOARD_PINNACLE_PCTV_STEREO] = {
1000 .name = "Pinnacle PCTV Stereo (saa7134)",
1001 .audio_clock = 0x00187de7,
1002 .tuner_type = TUNER_MT2032,
1003 .radio_type = UNSET,
1004 .tuner_addr = ADDR_UNSET,
1005 .radio_addr = ADDR_UNSET,
1006 .tda9887_conf = TDA9887_PRESENT | TDA9887_INTERCARRIER | TDA9887_PORT2_INACTIVE,
1021 .name = name_svideo,
1026 [SAA7134_BOARD_MANLI_MTV002] = {
1027 /* Ognjen Nastic <ognjen@logosoft.ba> */
1028 .name = "Manli MuchTV M-TV002/Behold TV 403 FM",
1029 .audio_clock = 0x00200000,
1030 .tuner_type = TUNER_PHILIPS_PAL,
1031 .radio_type = UNSET,
1032 .tuner_addr = ADDR_UNSET,
1033 .radio_addr = ADDR_UNSET,
1035 .name = name_svideo,
1053 [SAA7134_BOARD_MANLI_MTV001] = {
1054 /* Ognjen Nastic <ognjen@logosoft.ba> UNTESTED */
1055 .name = "Manli MuchTV M-TV001/Behold TV 401",
1056 .audio_clock = 0x00200000,
1057 .tuner_type = TUNER_PHILIPS_PAL,
1058 .radio_type = UNSET,
1059 .tuner_addr = ADDR_UNSET,
1060 .radio_addr = ADDR_UNSET,
1062 .name = name_svideo,
1080 [SAA7134_BOARD_TG3000TV] = {
1081 /* TransGear 3000TV */
1082 .name = "Nagase Sangyo TransGear 3000TV",
1083 .audio_clock = 0x00187de7,
1084 .tuner_type = TUNER_PHILIPS_NTSC_M,
1085 .radio_type = UNSET,
1086 .tuner_addr = ADDR_UNSET,
1087 .radio_addr = ADDR_UNSET,
1098 .name = name_svideo,
1103 [SAA7134_BOARD_ECS_TVP3XP] = {
1104 .name = "Elitegroup ECS TVP3XP FM1216 Tuner Card(PAL-BG,FM) ",
1105 .audio_clock = 0x187de7, /* xtal 32.1 MHz */
1106 .tuner_type = TUNER_PHILIPS_PAL,
1107 .radio_type = UNSET,
1108 .tuner_addr = ADDR_UNSET,
1109 .radio_addr = ADDR_UNSET,
1116 .name = name_tv_mono,
1125 .name = name_svideo,
1129 .name = "CVid over SVid",
1138 [SAA7134_BOARD_ECS_TVP3XP_4CB5] = {
1139 .name = "Elitegroup ECS TVP3XP FM1236 Tuner Card (NTSC,FM)",
1140 .audio_clock = 0x187de7,
1141 .tuner_type = TUNER_PHILIPS_NTSC,
1142 .radio_type = UNSET,
1143 .tuner_addr = ADDR_UNSET,
1144 .radio_addr = ADDR_UNSET,
1151 .name = name_tv_mono,
1160 .name = name_svideo,
1164 .name = "CVid over SVid",
1173 [SAA7134_BOARD_AVACSSMARTTV] = {
1174 /* Roman Pszonczenko <romka@kolos.math.uni.lodz.pl> */
1175 .name = "AVACS SmartTV",
1176 .audio_clock = 0x00187de7,
1177 .tuner_type = TUNER_PHILIPS_PAL,
1178 .radio_type = UNSET,
1179 .tuner_addr = ADDR_UNSET,
1180 .radio_addr = ADDR_UNSET,
1187 .name = name_tv_mono,
1200 .name = name_svideo,
1210 [SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER] = {
1211 /* Michael Smith <msmith@cbnco.com> */
1212 .name = "AVerMedia DVD EZMaker",
1213 .audio_clock = 0x00187de7,
1214 .tuner_type = TUNER_ABSENT,
1215 .radio_type = UNSET,
1216 .tuner_addr = ADDR_UNSET,
1217 .radio_addr = ADDR_UNSET,
1222 .name = name_svideo,
1226 [SAA7134_BOARD_NOVAC_PRIMETV7133] = {
1227 /* toshii@netbsd.org */
1228 .name = "Noval Prime TV 7133",
1229 .audio_clock = 0x00200000,
1230 .tuner_type = TUNER_ALPS_TSBH1_NTSC,
1231 .radio_type = UNSET,
1232 .tuner_addr = ADDR_UNSET,
1233 .radio_addr = ADDR_UNSET,
1243 .name = name_svideo,
1247 [SAA7134_BOARD_AVERMEDIA_STUDIO_305] = {
1248 .name = "AverMedia AverTV Studio 305",
1249 .audio_clock = 0x00187de7,
1250 .tuner_type = TUNER_PHILIPS_FM1256_IH3,
1251 .radio_type = UNSET,
1252 .tuner_addr = ADDR_UNSET,
1253 .radio_addr = ADDR_UNSET,
1254 .tda9887_conf = TDA9887_PRESENT,
1269 .name = name_svideo,
1282 [SAA7134_BOARD_UPMOST_PURPLE_TV] = {
1283 .name = "UPMOST PURPLE TV",
1284 .audio_clock = 0x00187de7,
1285 .tuner_type = TUNER_PHILIPS_FM1236_MK3,
1286 .radio_type = UNSET,
1287 .tuner_addr = ADDR_UNSET,
1288 .radio_addr = ADDR_UNSET,
1289 .tda9887_conf = TDA9887_PRESENT,
1296 .name = name_svideo,
1301 [SAA7134_BOARD_ITEMS_MTV005] = {
1302 /* Norman Jonas <normanjonas@arcor.de> */
1303 .name = "Items MuchTV Plus / IT-005",
1304 .audio_clock = 0x00187de7,
1305 .tuner_type = TUNER_PHILIPS_PAL,
1306 .radio_type = UNSET,
1307 .tuner_addr = ADDR_UNSET,
1308 .radio_addr = ADDR_UNSET,
1319 .name = name_svideo,
1328 [SAA7134_BOARD_CINERGY200] = {
1329 .name = "Terratec Cinergy 200 TV",
1330 .audio_clock = 0x00200000,
1331 .tuner_type = TUNER_PHILIPS_PAL,
1332 .radio_type = UNSET,
1333 .tuner_addr = ADDR_UNSET,
1334 .radio_addr = ADDR_UNSET,
1345 .name = name_svideo,
1349 .name = name_comp2, /* CVideo over SVideo Connector */
1358 [SAA7134_BOARD_VIDEOMATE_TV_PVR] = {
1359 /* Alain St-Denis <alain@topaze.homeip.net> */
1360 .name = "Compro VideoMate TV PVR/FM",
1361 .audio_clock = 0x00187de7,
1362 .tuner_type = TUNER_PHILIPS_NTSC_M,
1363 .radio_type = UNSET,
1364 .tuner_addr = ADDR_UNSET,
1365 .radio_addr = ADDR_UNSET,
1366 .gpiomask = 0x808c0080,
1368 .name = name_svideo,
1395 [SAA7134_BOARD_SABRENT_SBTTVFM] = {
1396 /* Michael Rodriguez-Torrent <mrtorrent@asu.edu> */
1397 .name = "Sabrent SBT-TVFM (saa7130)",
1398 .audio_clock = 0x00187de7,
1399 .tuner_type = TUNER_PHILIPS_NTSC_M,
1400 .radio_type = UNSET,
1401 .tuner_addr = ADDR_UNSET,
1402 .radio_addr = ADDR_UNSET,
1413 .name = name_svideo,
1422 [SAA7134_BOARD_ZOLID_XPERT_TV7134] = {
1423 /* Helge Jensen <helge.jensen@slog.dk> */
1424 .name = ":Zolid Xpert TV7134",
1425 .audio_clock = 0x00187de7,
1426 .tuner_type = TUNER_PHILIPS_NTSC,
1427 .radio_type = UNSET,
1428 .tuner_addr = ADDR_UNSET,
1429 .radio_addr = ADDR_UNSET,
1431 .name = name_svideo,
1445 [SAA7134_BOARD_EMPIRE_PCI_TV_RADIO_LE] = {
1446 /* "Matteo Az" <matte.az@nospam.libero.it> ;-) */
1447 .name = "Empire PCI TV-Radio LE",
1448 .audio_clock = 0x00187de7,
1449 .tuner_type = TUNER_PHILIPS_PAL,
1450 .radio_type = UNSET,
1451 .tuner_addr = ADDR_UNSET,
1452 .radio_addr = ADDR_UNSET,
1455 .name = name_tv_mono,
1466 .name = name_svideo,
1482 [SAA7134_BOARD_AVERMEDIA_STUDIO_307] = {
1484 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1485 Lots of thanks to Andrey Zolotarev <zolotarev_andrey@mail.ru>
1487 .name = "Avermedia AVerTV Studio 307",
1488 .audio_clock = 0x00187de7,
1489 .tuner_type = TUNER_PHILIPS_FM1256_IH3,
1490 .radio_type = UNSET,
1491 .tuner_addr = ADDR_UNSET,
1492 .radio_addr = ADDR_UNSET,
1493 .tda9887_conf = TDA9887_PRESENT,
1512 .name = name_svideo,
1528 [SAA7134_BOARD_AVERMEDIA_GO_007_FM] = {
1529 .name = "Avermedia AVerTV GO 007 FM",
1530 .audio_clock = 0x00187de7,
1531 .tuner_type = TUNER_PHILIPS_TDA8290,
1532 .radio_type = UNSET,
1533 .tuner_addr = ADDR_UNSET,
1534 .radio_addr = ADDR_UNSET,
1535 .gpiomask = 0x00300003,
1536 /* .gpiomask = 0x8c240003, */
1549 .name = name_svideo,
1565 [SAA7134_BOARD_AVERMEDIA_CARDBUS] = {
1566 /* Kees.Blom@cwi.nl */
1567 .name = "AVerMedia Cardbus TV/Radio (E500)",
1568 .audio_clock = 0x187de7,
1569 .tuner_type = TUNER_PHILIPS_TDA8290,
1570 .radio_type = UNSET,
1571 .tuner_addr = ADDR_UNSET,
1572 .radio_addr = ADDR_UNSET,
1583 .name = name_svideo,
1592 [SAA7134_BOARD_CINERGY400_CARDBUS] = {
1593 .name = "Terratec Cinergy 400 mobile",
1594 .audio_clock = 0x187de7,
1595 .tuner_type = TUNER_ALPS_TSBE5_PAL,
1596 .radio_type = UNSET,
1597 .tuner_addr = ADDR_UNSET,
1598 .radio_addr = ADDR_UNSET,
1599 .tda9887_conf = TDA9887_PRESENT,
1606 .name = name_tv_mono,
1615 .name = name_svideo,
1620 [SAA7134_BOARD_CINERGY600_MK3] = {
1621 .name = "Terratec Cinergy 600 TV MK3",
1622 .audio_clock = 0x00200000,
1623 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
1624 .radio_type = UNSET,
1625 .tuner_addr = ADDR_UNSET,
1626 .radio_addr = ADDR_UNSET,
1627 .tda9887_conf = TDA9887_PRESENT,
1638 .name = name_svideo,
1642 .name = name_comp2, /* CVideo over SVideo Connector */
1651 [SAA7134_BOARD_VIDEOMATE_GOLD_PLUS] = {
1652 /* Dylan Walkden <dylan_walkden@hotmail.com> */
1653 .name = "Compro VideoMate Gold+ Pal",
1654 .audio_clock = 0x00187de7,
1655 .tuner_type = TUNER_PHILIPS_PAL,
1656 .radio_type = UNSET,
1657 .tuner_addr = ADDR_UNSET,
1658 .radio_addr = ADDR_UNSET,
1659 .gpiomask = 0x1ce780,
1661 .name = name_svideo,
1662 .vmux = 0, /* CVideo over SVideo Connector - ok? */
1688 [SAA7134_BOARD_PINNACLE_300I_DVBT_PAL] = {
1689 .name = "Pinnacle PCTV 300i DVB-T + PAL",
1690 .audio_clock = 0x00187de7,
1691 .tuner_type = TUNER_MT2032,
1692 .radio_type = UNSET,
1693 .tuner_addr = ADDR_UNSET,
1694 .radio_addr = ADDR_UNSET,
1695 .tda9887_conf = TDA9887_PRESENT | TDA9887_INTERCARRIER | TDA9887_PORT2_INACTIVE,
1696 .mpeg = SAA7134_MPEG_DVB,
1711 .name = name_svideo,
1716 [SAA7134_BOARD_PROVIDEO_PV952] = {
1717 /* andreas.kretschmer@web.de */
1718 .name = "ProVideo PV952",
1719 .audio_clock = 0x00187de7,
1720 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
1721 .radio_type = UNSET,
1722 .tuner_addr = ADDR_UNSET,
1723 .radio_addr = ADDR_UNSET,
1724 .tda9887_conf = TDA9887_PRESENT,
1735 .name = name_tv_mono,
1745 [SAA7134_BOARD_AVERMEDIA_305] = {
1746 /* much like the "studio" version but without radio
1747 * and another tuner (sirspiritus@yandex.ru) */
1748 .name = "AverMedia AverTV/305",
1749 .audio_clock = 0x00187de7,
1750 .tuner_type = TUNER_PHILIPS_FQ1216ME,
1751 .radio_type = UNSET,
1752 .tuner_addr = ADDR_UNSET,
1753 .radio_addr = ADDR_UNSET,
1754 .tda9887_conf = TDA9887_PRESENT,
1769 .name = name_svideo,
1778 [SAA7134_BOARD_FLYDVBTDUO] = {
1779 /* LifeView FlyDVB-T DUO */
1780 /* "Nico Sabbi <nsabbi@tiscali.it> Hartmut Hackmann hartmut.hackmann@t-online.de*/
1781 .name = "LifeView FlyDVB-T DUO",
1782 .audio_clock = 0x00200000,
1783 .tuner_type = TUNER_PHILIPS_TDA8290,
1784 .radio_type = UNSET,
1785 .tuner_addr = ADDR_UNSET,
1786 .radio_addr = ADDR_UNSET,
1787 .mpeg = SAA7134_MPEG_DVB,
1794 .name = name_comp1, /* Composite signal on S-Video input */
1798 .name = name_comp2, /* Composite input */
1802 .name = name_svideo, /* S-Video signal on S-Video input */
1807 [SAA7134_BOARD_PHILIPS_TOUGH] = {
1808 .name = "Philips TOUGH DVB-T reference design",
1809 .tuner_type = TUNER_ABSENT,
1810 .audio_clock = 0x00187de7,
1811 .radio_type = UNSET,
1812 .tuner_addr = ADDR_UNSET,
1813 .radio_addr = ADDR_UNSET,
1814 .mpeg = SAA7134_MPEG_DVB,
1820 .name = name_svideo,
1825 [SAA7134_BOARD_AVERMEDIA_307] = {
1827 Davydov Vladimir <vladimir@iqmedia.com>
1829 .name = "Avermedia AVerTV 307",
1830 .audio_clock = 0x00187de7,
1831 .tuner_type = TUNER_PHILIPS_FQ1216ME,
1832 .radio_type = UNSET,
1833 .tuner_addr = ADDR_UNSET,
1834 .radio_addr = ADDR_UNSET,
1835 .tda9887_conf = TDA9887_PRESENT,
1850 .name = name_svideo,
1855 [SAA7134_BOARD_ADS_INSTANT_TV] = {
1856 .name = "ADS Tech Instant TV (saa7135)",
1857 .audio_clock = 0x00187de7,
1858 .tuner_type = TUNER_PHILIPS_TDA8290,
1859 .radio_type = UNSET,
1860 .tuner_addr = ADDR_UNSET,
1861 .radio_addr = ADDR_UNSET,
1872 .name = name_svideo,
1877 [SAA7134_BOARD_KWORLD_VSTREAM_XPERT] = {
1878 .name = "Kworld/Tevion V-Stream Xpert TV PVR7134",
1879 .audio_clock = 0x00187de7,
1880 .tuner_type = TUNER_PHILIPS_PAL_I,
1881 .radio_type = UNSET,
1882 .tuner_addr = ADDR_UNSET,
1883 .radio_addr = ADDR_UNSET,
1895 .gpio = 0x200, /* gpio by DScaler */
1897 .name = name_svideo,
1913 [SAA7134_BOARD_FLYDVBT_DUO_CARDBUS] = {
1914 .name = "LifeView/Typhoon/Genius FlyDVB-T Duo Cardbus",
1915 .audio_clock = 0x00200000,
1916 .tuner_type = TUNER_PHILIPS_TDA8290,
1917 .radio_type = UNSET,
1918 .tuner_addr = ADDR_UNSET,
1919 .radio_addr = ADDR_UNSET,
1920 .mpeg = SAA7134_MPEG_DVB,
1921 .gpiomask = 0x00200000,
1926 .gpio = 0x200000, /* GPIO21=High for TV input */
1929 .name = name_svideo, /* S-Video signal on S-Video input */
1933 .name = name_comp1, /* Composite signal on S-Video input */
1937 .name = name_comp2, /* Composite input */
1944 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
1947 [SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII] = {
1948 .name = "Compro VideoMate TV Gold+II",
1949 .audio_clock = 0x002187de7,
1950 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
1951 .radio_type = TUNER_TEA5767,
1954 .gpiomask = 0x8c1880,
1956 .name = name_svideo,
1983 [SAA7134_BOARD_KWORLD_XPERT] = {
1986 - Remote control doesn't initialize properly.
1987 - Audio volume starts muted,
1988 then gradually increases after channel change.
1989 - Overlay scaling problems (application error?)
1990 - Composite S-Video untested.
1991 From: Konrad Rzepecki <hannibal@megapolis.pl>
1993 .name = "Kworld Xpert TV PVR7134",
1994 .audio_clock = 0x00187de7,
1995 .tuner_type = TUNER_TENA_9533_DI,
1996 .radio_type = TUNER_TEA5767,
2010 .gpio = 0x200, /* gpio by DScaler */
2012 .name = name_svideo,
2028 [SAA7134_BOARD_FLYTV_DIGIMATRIX] = {
2029 .name = "FlyTV mini Asus Digimatrix",
2030 .audio_clock = 0x00200000,
2031 .tuner_type = TUNER_LG_TALN,
2032 .radio_type = UNSET,
2033 .tuner_addr = ADDR_UNSET,
2034 .radio_addr = ADDR_UNSET,
2041 .name = name_tv_mono,
2054 .name = name_svideo,
2059 .name = name_radio, /* radio unconfirmed */
2063 [SAA7134_BOARD_KWORLD_TERMINATOR] = {
2064 /* Kworld V-Stream Studio TV Terminator */
2065 /* "James Webb <jrwebb@qwest.net> */
2066 .name = "V-Stream Studio TV Terminator",
2067 .audio_clock = 0x00187de7,
2068 .tuner_type = TUNER_PHILIPS_TDA8290,
2069 .radio_type = UNSET,
2070 .tuner_addr = ADDR_UNSET,
2071 .radio_addr = ADDR_UNSET,
2072 .gpiomask = 1 << 21,
2080 .name = name_comp1, /* Composite input */
2085 .name = name_svideo, /* S-Video input */
2096 [SAA7134_BOARD_YUAN_TUN900] = {
2098 * S-Video and composite sources untested.
2099 * Radio not working.
2100 * Remote control not yet implemented.
2101 * From : codemaster@webgeeks.be */
2102 .name = "Yuan TUN-900 (saa7135)",
2103 .audio_clock = 0x00187de7,
2104 .tuner_type = TUNER_PHILIPS_TDA8290,
2105 .radio_type = UNSET,
2106 .tuner_addr= ADDR_UNSET,
2107 .radio_addr= ADDR_UNSET,
2108 .gpiomask = 0x00010003,
2121 .name = name_svideo,
2137 [SAA7134_BOARD_BEHOLD_409FM] = {
2138 /* <http://tuner.beholder.ru>, Sergey <skiv@orel.ru> */
2139 .name = "Beholder BeholdTV 409 FM",
2140 .audio_clock = 0x00187de7,
2141 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
2142 .radio_type = UNSET,
2143 .tuner_addr = ADDR_UNSET,
2144 .radio_addr = ADDR_UNSET,
2145 .tda9887_conf = TDA9887_PRESENT,
2156 .name = name_svideo,
2165 [SAA7134_BOARD_GOTVIEW_7135] = {
2166 /* Mike Baikov <mike@baikov.com> */
2167 /* Andrey Cvetcov <ays14@yandex.ru> */
2168 .name = "GoTView 7135 PCI",
2169 .audio_clock = 0x00187de7,
2170 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
2171 .radio_type = UNSET,
2172 .tuner_addr = ADDR_UNSET,
2173 .radio_addr = ADDR_UNSET,
2174 .tda9887_conf = TDA9887_PRESENT,
2175 .gpiomask = 0x00200003,
2183 .name = name_tv_mono,
2193 .name = name_svideo,
2209 [SAA7134_BOARD_PHILIPS_EUROPA] = {
2210 .name = "Philips EUROPA V3 reference design",
2211 .audio_clock = 0x00187de7,
2212 .tuner_type = TUNER_PHILIPS_TD1316,
2213 .radio_type = UNSET,
2215 .radio_addr = ADDR_UNSET,
2216 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
2217 .mpeg = SAA7134_MPEG_DVB,
2228 .name = name_svideo,
2233 [SAA7134_BOARD_VIDEOMATE_DVBT_300] = {
2234 .name = "Compro Videomate DVB-T300",
2235 .audio_clock = 0x00187de7,
2236 .tuner_type = TUNER_PHILIPS_TD1316,
2237 .radio_type = UNSET,
2239 .radio_addr = ADDR_UNSET,
2240 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
2241 .mpeg = SAA7134_MPEG_DVB,
2252 .name = name_svideo,
2257 [SAA7134_BOARD_VIDEOMATE_DVBT_200] = {
2258 .name = "Compro Videomate DVB-T200",
2259 .tuner_type = TUNER_ABSENT,
2260 .audio_clock = 0x00187de7,
2261 .radio_type = UNSET,
2262 .tuner_addr = ADDR_UNSET,
2263 .radio_addr = ADDR_UNSET,
2264 .mpeg = SAA7134_MPEG_DVB,
2270 .name = name_svideo,
2275 [SAA7134_BOARD_RTD_VFG7350] = {
2276 .name = "RTD Embedded Technologies VFG7350",
2277 .audio_clock = 0x00200000,
2278 .tuner_type = TUNER_ABSENT,
2279 .radio_type = UNSET,
2280 .tuner_addr = ADDR_UNSET,
2281 .radio_addr = ADDR_UNSET,
2283 .name = "Composite 0",
2287 .name = "Composite 1",
2291 .name = "Composite 2",
2295 .name = "Composite 3",
2299 .name = "S-Video 0",
2303 .name = "S-Video 1",
2307 .mpeg = SAA7134_MPEG_EMPRESS,
2308 .video_out = CCIR656,
2309 .vid_port_opts = ( SET_T_CODE_POLARITY_NON_INVERTED |
2310 SET_CLOCK_NOT_DELAYED |
2311 SET_CLOCK_INVERTED |
2314 [SAA7134_BOARD_RTD_VFG7330] = {
2315 .name = "RTD Embedded Technologies VFG7330",
2316 .audio_clock = 0x00200000,
2317 .tuner_type = TUNER_ABSENT,
2318 .radio_type = UNSET,
2319 .tuner_addr = ADDR_UNSET,
2320 .radio_addr = ADDR_UNSET,
2322 .name = "Composite 0",
2326 .name = "Composite 1",
2330 .name = "Composite 2",
2334 .name = "Composite 3",
2338 .name = "S-Video 0",
2342 .name = "S-Video 1",
2347 [SAA7134_BOARD_FLYTVPLATINUM_MINI2] = {
2348 .name = "LifeView FlyTV Platinum Mini2",
2349 .audio_clock = 0x00200000,
2350 .tuner_type = TUNER_PHILIPS_TDA8290,
2351 .radio_type = UNSET,
2352 .tuner_addr = ADDR_UNSET,
2353 .radio_addr = ADDR_UNSET,
2361 .name = name_comp1, /* Composite signal on S-Video input */
2365 .name = name_comp2, /* Composite input */
2369 .name = name_svideo,
2374 [SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180] = {
2375 /* Michael Krufky <mkrufky@m1k.net>
2376 * Uses Alps Electric TDHU2, containing NXT2004 ATSC Decoder
2377 * AFAIK, there is no analog demod, thus,
2378 * no support for analog television.
2380 .name = "AVerMedia AVerTVHD MCE A180",
2381 .audio_clock = 0x00187de7,
2382 .tuner_type = TUNER_ABSENT,
2383 .radio_type = UNSET,
2384 .tuner_addr = ADDR_UNSET,
2385 .radio_addr = ADDR_UNSET,
2386 .mpeg = SAA7134_MPEG_DVB,
2392 .name = name_svideo,
2397 [SAA7134_BOARD_MONSTERTV_MOBILE] = {
2398 .name = "SKNet MonsterTV Mobile",
2399 .audio_clock = 0x00187de7,
2400 .tuner_type = TUNER_PHILIPS_TDA8290,
2401 .radio_type = UNSET,
2402 .tuner_addr = ADDR_UNSET,
2403 .radio_addr = ADDR_UNSET,
2415 .name = name_svideo,
2420 [SAA7134_BOARD_PINNACLE_PCTV_110i] = {
2421 .name = "Pinnacle PCTV 40i/50i/110i (saa7133)",
2422 .audio_clock = 0x00187de7,
2423 .tuner_type = TUNER_PHILIPS_TDA8290,
2424 .radio_type = UNSET,
2425 .tuner_addr = ADDR_UNSET,
2426 .radio_addr = ADDR_UNSET,
2427 .gpiomask = 0x080200000,
2442 .name = name_svideo,
2451 [SAA7134_BOARD_ASUSTeK_P7131_DUAL] = {
2452 .name = "ASUSTeK P7131 Dual",
2453 .audio_clock = 0x00187de7,
2454 .tuner_type = TUNER_PHILIPS_TDA8290,
2455 .radio_type = UNSET,
2456 .tuner_addr = ADDR_UNSET,
2457 .radio_addr = ADDR_UNSET,
2458 .gpiomask = 1 << 21,
2459 .mpeg = SAA7134_MPEG_DVB,
2477 .name = name_svideo,
2488 [SAA7134_BOARD_SEDNA_PC_TV_CARDBUS] = {
2489 /* Paul Tom Zalac <pzalac@gmail.com> */
2490 /* Pavel Mihaylov <bin@bash.info> */
2491 .name = "Sedna/MuchTV PC TV Cardbus TV/Radio (ITO25 Rev:2B)",
2492 /* Sedna/MuchTV (OEM) Cardbus TV Tuner */
2493 .audio_clock = 0x00187de7,
2494 .tuner_type = TUNER_PHILIPS_TDA8290,
2495 .radio_type = UNSET,
2496 .tuner_addr = ADDR_UNSET,
2497 .radio_addr = ADDR_UNSET,
2498 .gpiomask = 0xe880c0,
2509 .name = name_svideo,
2518 [SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV] = {
2519 /* "Cyril Lacoux (Yack)" <clacoux@ifeelgood.org> */
2520 .name = "ASUS Digimatrix TV",
2521 .audio_clock = 0x00200000,
2522 .tuner_type = TUNER_PHILIPS_FQ1216ME,
2523 .tda9887_conf = TDA9887_PRESENT,
2524 .radio_type = UNSET,
2525 .tuner_addr = ADDR_UNSET,
2526 .radio_addr = ADDR_UNSET,
2537 .name = name_svideo,
2542 [SAA7134_BOARD_PHILIPS_TIGER] = {
2543 .name = "Philips Tiger reference design",
2544 .audio_clock = 0x00187de7,
2545 .tuner_type = TUNER_PHILIPS_TDA8290,
2546 .radio_type = UNSET,
2547 .tuner_addr = ADDR_UNSET,
2548 .radio_addr = ADDR_UNSET,
2549 .mpeg = SAA7134_MPEG_DVB,
2550 .gpiomask = 1 << 21,
2561 .name = name_svideo,
2571 [SAA7134_BOARD_MSI_TVATANYWHERE_PLUS] = {
2572 .name = "MSI TV@Anywhere plus",
2573 .audio_clock = 0x00187de7,
2574 .tuner_type = TUNER_PHILIPS_TDA8290,
2575 .radio_type = UNSET,
2576 .tuner_addr = ADDR_UNSET,
2577 .radio_addr = ADDR_UNSET,
2578 .gpiomask = 1 << 21,
2587 .amux = LINE2, /* unconfirmed, taken from Philips driver */
2590 .vmux = 0, /* untested, Composite over S-Video */
2593 .name = name_svideo,
2603 [SAA7134_BOARD_CINERGY250PCI] = {
2604 /* remote-control does not work. The signal about a
2605 key press comes in via gpio, but the key code
2606 doesn't. Neither does it have an i2c remote control
2608 .name = "Terratec Cinergy 250 PCI TV",
2609 .audio_clock = 0x00187de7,
2610 .tuner_type = TUNER_PHILIPS_TDA8290,
2611 .radio_type = UNSET,
2612 .tuner_addr = ADDR_UNSET,
2613 .radio_addr = ADDR_UNSET,
2614 .gpiomask = 0x80200000,
2621 .name = name_svideo, /* NOT tested */
2631 [SAA7134_BOARD_FLYDVB_TRIO] = {
2632 /* LifeView LR319 FlyDVB Trio */
2633 /* Peter Missel <peter.missel@onlinehome.de> */
2634 .name = "LifeView FlyDVB Trio",
2635 .audio_clock = 0x00200000,
2636 .tuner_type = TUNER_PHILIPS_TDA8290,
2637 .radio_type = UNSET,
2638 .tuner_addr = ADDR_UNSET,
2639 .radio_addr = ADDR_UNSET,
2640 .gpiomask = 0x00200000,
2641 .mpeg = SAA7134_MPEG_DVB,
2643 .name = name_tv, /* Analog broadcast/cable TV */
2646 .gpio = 0x200000, /* GPIO21=High for TV input */
2649 .name = name_svideo, /* S-Video signal on S-Video input */
2653 .name = name_comp1, /* Composite signal on S-Video input */
2657 .name = name_comp2, /* Composite input */
2664 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
2667 [SAA7134_BOARD_AVERMEDIA_777] = {
2668 .name = "AverTV DVB-T 777",
2669 .audio_clock = 0x00187de7,
2670 .tuner_type = TUNER_ABSENT,
2671 .radio_type = UNSET,
2672 .tuner_addr = ADDR_UNSET,
2673 .radio_addr = ADDR_UNSET,
2674 .mpeg = SAA7134_MPEG_DVB,
2680 .name = name_svideo,
2685 [SAA7134_BOARD_FLYDVBT_LR301] = {
2686 /* LifeView FlyDVB-T */
2687 /* Giampiero Giancipoli <gianci@libero.it> */
2688 .name = "LifeView FlyDVB-T / Genius VideoWonder DVB-T",
2689 .audio_clock = 0x00200000,
2690 .tuner_type = TUNER_ABSENT,
2691 .radio_type = UNSET,
2692 .tuner_addr = ADDR_UNSET,
2693 .radio_addr = ADDR_UNSET,
2694 .mpeg = SAA7134_MPEG_DVB,
2696 .name = name_comp1, /* Composite input */
2700 .name = name_svideo, /* S-Video signal on S-Video input */
2705 [SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331] = {
2706 .name = "ADS Instant TV Duo Cardbus PTV331",
2707 .audio_clock = 0x00200000,
2708 .tuner_type = TUNER_PHILIPS_TDA8290,
2709 .radio_type = UNSET,
2710 .tuner_addr = ADDR_UNSET,
2711 .radio_addr = ADDR_UNSET,
2712 .mpeg = SAA7134_MPEG_DVB,
2713 .gpiomask = 0x00600000, /* Bit 21 0=Radio, Bit 22 0=TV */
2722 [SAA7134_BOARD_TEVION_DVBT_220RF] = {
2723 .name = "Tevion/KWorld DVB-T 220RF",
2724 .audio_clock = 0x00187de7,
2725 .tuner_type = TUNER_PHILIPS_TDA8290,
2726 .radio_type = UNSET,
2727 .tuner_addr = ADDR_UNSET,
2728 .radio_addr = ADDR_UNSET,
2729 .mpeg = SAA7134_MPEG_DVB,
2740 .name = name_svideo,
2749 [SAA7134_BOARD_KWORLD_ATSC110] = {
2750 .name = "Kworld ATSC110",
2751 .audio_clock = 0x00187de7,
2752 .tuner_type = TUNER_PHILIPS_TUV1236D,
2753 .radio_type = UNSET,
2754 .tuner_addr = ADDR_UNSET,
2755 .radio_addr = ADDR_UNSET,
2756 .tda9887_conf = TDA9887_PRESENT,
2757 .mpeg = SAA7134_MPEG_DVB,
2768 .name = name_svideo,
2773 [SAA7134_BOARD_AVERMEDIA_A169_B] = {
2774 /* AVerMedia A169 */
2775 /* Rickard Osser <ricky@osser.se> */
2776 /* This card has two saa7134 chips on it,
2777 but only one of them is currently working. */
2778 .name = "AVerMedia A169 B",
2779 .audio_clock = 0x02187de7,
2780 .tuner_type = TUNER_LG_TALN,
2781 .radio_type = UNSET,
2782 .tuner_addr = ADDR_UNSET,
2783 .radio_addr = ADDR_UNSET,
2784 .tda9887_conf = TDA9887_PRESENT,
2785 .gpiomask = 0x0a60000,
2787 [SAA7134_BOARD_AVERMEDIA_A169_B1] = {
2788 /* AVerMedia A169 */
2789 /* Rickard Osser <ricky@osser.se> */
2790 .name = "AVerMedia A169 B1",
2791 .audio_clock = 0x02187de7,
2792 .tuner_type = TUNER_LG_TALN,
2793 .radio_type = UNSET,
2794 .tuner_addr = ADDR_UNSET,
2795 .radio_addr = ADDR_UNSET,
2796 .tda9887_conf = TDA9887_PRESENT,
2797 .gpiomask = 0xca60000,
2805 .name = name_comp2, /* Composite SVIDEO (B/W if signal is carried with SVIDEO) */
2809 .name = name_svideo,
2810 .vmux = 9, /* 9 is correct as S-VIDEO1 according to a169.inf! */
2814 [SAA7134_BOARD_MD7134_BRIDGE_2] = {
2815 /* This card has two saa7134 chips on it,
2816 but only one of them is currently working.
2817 The programming for the primary decoder is
2818 in SAA7134_BOARD_MD7134 */
2819 .name = "Medion 7134 Bridge #2",
2820 .audio_clock = 0x00187de7,
2821 .radio_type = UNSET,
2822 .tuner_addr = ADDR_UNSET,
2823 .radio_addr = ADDR_UNSET,
2825 [SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS] = {
2826 .name = "LifeView FlyDVB-T Hybrid Cardbus",
2827 .audio_clock = 0x00200000,
2828 .tuner_type = TUNER_PHILIPS_TDA8290,
2829 .radio_type = UNSET,
2830 .tuner_addr = ADDR_UNSET,
2831 .radio_addr = ADDR_UNSET,
2832 .mpeg = SAA7134_MPEG_DVB,
2833 .gpiomask = 0x00600000, /* Bit 21 0=Radio, Bit 22 0=TV */
2838 .gpio = 0x200000, /* GPIO21=High for TV input */
2841 .name = name_svideo, /* S-Video signal on S-Video input */
2845 .name = name_comp1, /* Composite signal on S-Video input */
2849 .name = name_comp2, /* Composite input */
2856 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
2859 [SAA7134_BOARD_FLYVIDEO3000_NTSC] = {
2860 /* "Zac Bowling" <zac@zacbowling.com> */
2861 .name = "LifeView FlyVIDEO3000 (NTSC)",
2862 .audio_clock = 0x00200000,
2863 .tuner_type = TUNER_PHILIPS_NTSC,
2864 .radio_type = UNSET,
2865 .tuner_addr = ADDR_UNSET,
2866 .radio_addr = ADDR_UNSET,
2876 .name = name_tv_mono,
2892 .name = name_svideo,
2908 [SAA7134_BOARD_MEDION_MD8800_QUADRO] = {
2909 .name = "Medion Md8800 Quadro",
2910 .audio_clock = 0x00187de7,
2911 .tuner_type = TUNER_PHILIPS_TDA8290,
2912 .radio_type = UNSET,
2913 .tuner_addr = ADDR_UNSET,
2914 .radio_addr = ADDR_UNSET,
2915 .mpeg = SAA7134_MPEG_DVB,
2926 .name = name_svideo,
2931 [SAA7134_BOARD_FLYDVBS_LR300] = {
2932 /* LifeView FlyDVB-s */
2933 /* Igor M. Liplianin <liplianin@tut.by> */
2934 .name = "LifeView FlyDVB-S /Acorp TV134DS",
2935 .audio_clock = 0x00200000,
2936 .tuner_type = TUNER_ABSENT,
2937 .radio_type = UNSET,
2938 .tuner_addr = ADDR_UNSET,
2939 .radio_addr = ADDR_UNSET,
2940 .mpeg = SAA7134_MPEG_DVB,
2942 .name = name_comp1, /* Composite input */
2946 .name = name_svideo, /* S-Video signal on S-Video input */
2951 [SAA7134_BOARD_PROTEUS_2309] = {
2952 .name = "Proteus Pro 2309",
2953 .audio_clock = 0x00187de7,
2954 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
2955 .radio_type = UNSET,
2956 .tuner_addr = ADDR_UNSET,
2957 .radio_addr = ADDR_UNSET,
2958 .tda9887_conf = TDA9887_PRESENT,
2973 .name = name_svideo,
2982 [SAA7134_BOARD_AVERMEDIA_A16AR] = {
2983 /* Petr Baudis <pasky@ucw.cz> */
2984 .name = "AVerMedia TV Hybrid A16AR",
2985 .audio_clock = 0x187de7,
2986 .tuner_type = TUNER_PHILIPS_TD1316, /* untested */
2987 .radio_type = TUNER_TEA5767, /* untested */
2988 .tuner_addr = ADDR_UNSET,
2989 .radio_addr = ADDR_UNSET,
2990 .tda9887_conf = TDA9887_PRESENT,
2991 .mpeg = SAA7134_MPEG_DVB,
3002 .name = name_svideo,
3011 [SAA7134_BOARD_ASUS_EUROPA2_HYBRID] = {
3012 .name = "Asus Europa2 OEM",
3013 .audio_clock = 0x00187de7,
3014 .tuner_type = TUNER_PHILIPS_FMD1216ME_MK3,
3015 .radio_type = UNSET,
3016 .tuner_addr = ADDR_UNSET,
3017 .radio_addr = ADDR_UNSET,
3018 .tda9887_conf = TDA9887_PRESENT| TDA9887_PORT1_ACTIVE | TDA9887_PORT2_ACTIVE,
3019 .mpeg = SAA7134_MPEG_DVB,
3030 .name = name_svideo,
3039 [SAA7134_BOARD_PINNACLE_PCTV_310i] = {
3040 .name = "Pinnacle PCTV 310i",
3041 .audio_clock = 0x00187de7,
3042 .tuner_type = TUNER_PHILIPS_TDA8290,
3043 .radio_type = UNSET,
3044 .tuner_addr = ADDR_UNSET,
3045 .radio_addr = ADDR_UNSET,
3046 .mpeg = SAA7134_MPEG_DVB,
3047 .gpiomask = 0x000200000,
3062 .name = name_svideo,
3072 [SAA7134_BOARD_AVERMEDIA_STUDIO_507] = {
3073 /* Mikhail Fedotov <mo_fedotov@mail.ru> */
3074 .name = "Avermedia AVerTV Studio 507",
3075 .audio_clock = 0x00187de7,
3076 .tuner_type = TUNER_PHILIPS_FM1256_IH3,
3077 .radio_type = UNSET,
3078 .tuner_addr = ADDR_UNSET,
3079 .radio_addr = ADDR_UNSET,
3080 .tda9887_conf = TDA9887_PRESENT,
3099 .name = name_svideo,
3115 [SAA7134_BOARD_VIDEOMATE_DVBT_200A] = {
3116 /* Francis Barber <fedora@barber-family.id.au> */
3117 .name = "Compro Videomate DVB-T200A",
3118 .audio_clock = 0x00187de7,
3119 .tuner_type = TUNER_ABSENT,
3120 .radio_type = UNSET,
3121 .tuner_addr = ADDR_UNSET,
3122 .radio_addr = ADDR_UNSET,
3123 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
3124 .mpeg = SAA7134_MPEG_DVB,
3135 .name = name_svideo,
3140 [SAA7134_BOARD_HAUPPAUGE_HVR1110] = {
3141 /* Thomas Genty <tomlohave@gmail.com> */
3142 .name = "Hauppauge WinTV-HVR1110 DVB-T/Hybrid",
3143 .audio_clock = 0x00187de7,
3144 .tuner_type = TUNER_PHILIPS_TDA8290,
3145 .radio_type = UNSET,
3146 .tuner_addr = ADDR_UNSET,
3147 .radio_addr = ADDR_UNSET,
3148 .mpeg = SAA7134_MPEG_DVB,
3157 .amux = LINE2, /* FIXME: audio doesn't work on svideo/composite */
3159 .name = name_svideo,
3161 .amux = LINE2, /* FIXME: audio doesn't work on svideo/composite */
3168 [SAA7134_BOARD_CINERGY_HT_PCMCIA] = {
3169 .name = "Terratec Cinergy HT PCMCIA",
3170 .audio_clock = 0x00187de7,
3171 .tuner_type = TUNER_PHILIPS_TDA8290,
3172 .radio_type = UNSET,
3173 .tuner_addr = ADDR_UNSET,
3174 .radio_addr = ADDR_UNSET,
3175 .mpeg = SAA7134_MPEG_DVB,
3186 .name = name_svideo,
3191 [SAA7134_BOARD_ENCORE_ENLTV] = {
3192 /* Steven Walter <stevenrwalter@gmail.com>
3193 Juan Pablo Sormani <sorman@gmail.com> */
3194 .name = "Encore ENLTV",
3195 .audio_clock = 0x00200000,
3196 .tuner_type = TUNER_TNF_5335MF,
3197 .radio_type = UNSET,
3198 .tuner_addr = ADDR_UNSET,
3199 .radio_addr = ADDR_UNSET,
3206 .name = name_tv_mono,
3215 .name = name_svideo,
3222 /* .gpio = 0x00300001,*/
3231 [SAA7134_BOARD_ENCORE_ENLTV_FM] = {
3232 /* Juan Pablo Sormani <sorman@gmail.com> */
3233 .name = "Encore ENLTV-FM",
3234 .audio_clock = 0x00200000,
3235 .tuner_type = TUNER_PHILIPS_ATSC,
3236 .radio_type = UNSET,
3237 .tuner_addr = ADDR_UNSET,
3238 .radio_addr = ADDR_UNSET,
3245 .name = name_tv_mono,
3254 .name = name_svideo,
3269 [SAA7134_BOARD_CINERGY_HT_PCI] = {
3270 .name = "Terratec Cinergy HT PCI",
3271 .audio_clock = 0x00187de7,
3272 .tuner_type = TUNER_PHILIPS_TDA8290,
3273 .radio_type = UNSET,
3274 .tuner_addr = ADDR_UNSET,
3275 .radio_addr = ADDR_UNSET,
3276 .mpeg = SAA7134_MPEG_DVB,
3287 .name = name_svideo,
3294 const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards);
3296 /* ------------------------------------------------------------------ */
3297 /* PCI ids + subsystem IDs */
3299 struct pci_device_id saa7134_pci_tbl[] = {
3301 .vendor = PCI_VENDOR_ID_PHILIPS,
3302 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3303 .subvendor = PCI_VENDOR_ID_PHILIPS,
3304 .subdevice = 0x2001,
3305 .driver_data = SAA7134_BOARD_PROTEUS_PRO,
3307 .vendor = PCI_VENDOR_ID_PHILIPS,
3308 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3309 .subvendor = PCI_VENDOR_ID_PHILIPS,
3310 .subdevice = 0x2001,
3311 .driver_data = SAA7134_BOARD_PROTEUS_PRO,
3313 .vendor = PCI_VENDOR_ID_PHILIPS,
3314 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3315 .subvendor = PCI_VENDOR_ID_PHILIPS,
3316 .subdevice = 0x6752,
3317 .driver_data = SAA7134_BOARD_EMPRESS,
3319 .vendor = PCI_VENDOR_ID_PHILIPS,
3320 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3321 .subvendor = 0x1131,
3322 .subdevice = 0x4e85,
3323 .driver_data = SAA7134_BOARD_MONSTERTV,
3325 .vendor = PCI_VENDOR_ID_PHILIPS,
3326 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3327 .subvendor = 0x153b,
3328 .subdevice = 0x1142,
3329 .driver_data = SAA7134_BOARD_CINERGY400,
3331 .vendor = PCI_VENDOR_ID_PHILIPS,
3332 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3333 .subvendor = 0x153b,
3334 .subdevice = 0x1143,
3335 .driver_data = SAA7134_BOARD_CINERGY600,
3337 .vendor = PCI_VENDOR_ID_PHILIPS,
3338 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3339 .subvendor = 0x153b,
3340 .subdevice = 0x1158,
3341 .driver_data = SAA7134_BOARD_CINERGY600_MK3,
3343 .vendor = PCI_VENDOR_ID_PHILIPS,
3344 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3345 .subvendor = 0x153b,
3346 .subdevice = 0x1162,
3347 .driver_data = SAA7134_BOARD_CINERGY400_CARDBUS,
3349 .vendor = PCI_VENDOR_ID_PHILIPS,
3350 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3351 .subvendor = 0x5169,
3352 .subdevice = 0x0138,
3353 .driver_data = SAA7134_BOARD_FLYVIDEO3000_NTSC,
3355 .vendor = PCI_VENDOR_ID_PHILIPS,
3356 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3357 .subvendor = 0x5168,
3358 .subdevice = 0x0138,
3359 .driver_data = SAA7134_BOARD_FLYVIDEO3000,
3361 .vendor = PCI_VENDOR_ID_PHILIPS,
3362 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3363 .subvendor = 0x4e42, /* "Typhoon PCI Capture TV Card" Art.No. 50673 */
3364 .subdevice = 0x0138,
3365 .driver_data = SAA7134_BOARD_FLYVIDEO3000,
3367 .vendor = PCI_VENDOR_ID_PHILIPS,
3368 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3369 .subvendor = 0x5168,
3370 .subdevice = 0x0138,
3371 .driver_data = SAA7134_BOARD_FLYVIDEO2000,
3373 .vendor = PCI_VENDOR_ID_PHILIPS,
3374 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3375 .subvendor = 0x4e42, /* Typhoon */
3376 .subdevice = 0x0138, /* LifeView FlyTV Prime30 OEM */
3377 .driver_data = SAA7134_BOARD_FLYVIDEO2000,
3379 .vendor = PCI_VENDOR_ID_PHILIPS,
3380 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3381 .subvendor = 0x5168,
3382 .subdevice = 0x0212, /* minipci, LR212 */
3383 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
3385 .vendor = PCI_VENDOR_ID_PHILIPS,
3386 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3387 .subvendor = 0x14c0,
3388 .subdevice = 0x1212, /* minipci, LR1212 */
3389 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI2,
3391 .vendor = PCI_VENDOR_ID_PHILIPS,
3392 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3393 .subvendor = 0x4e42,
3394 .subdevice = 0x0212, /* OEM minipci, LR212 */
3395 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
3397 .vendor = PCI_VENDOR_ID_PHILIPS,
3398 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3399 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
3400 .subdevice = 0x0214, /* Standard PCI, LR214WF */
3401 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
3403 .vendor = PCI_VENDOR_ID_PHILIPS,
3404 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3405 .subvendor = 0x1489, /* KYE */
3406 .subdevice = 0x0214, /* Genius VideoWonder ProTV */
3407 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM, /* is an LR214WF actually */
3409 .vendor = PCI_VENDOR_ID_PHILIPS,
3410 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3411 .subvendor = 0x16be,
3412 .subdevice = 0x0003,
3413 .driver_data = SAA7134_BOARD_MD7134,
3415 .vendor = PCI_VENDOR_ID_PHILIPS,
3416 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3417 .subvendor = 0x1048,
3418 .subdevice = 0x226b,
3419 .driver_data = SAA7134_BOARD_ELSA,
3421 .vendor = PCI_VENDOR_ID_PHILIPS,
3422 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3423 .subvendor = 0x1048,
3424 .subdevice = 0x226a,
3425 .driver_data = SAA7134_BOARD_ELSA_500TV,
3427 .vendor = PCI_VENDOR_ID_PHILIPS,
3428 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3429 .subvendor = 0x1048,
3430 .subdevice = 0x226c,
3431 .driver_data = SAA7134_BOARD_ELSA_700TV,
3433 .vendor = PCI_VENDOR_ID_PHILIPS,
3434 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3435 .subvendor = PCI_VENDOR_ID_ASUSTEK,
3436 .subdevice = 0x4842,
3437 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
3439 .vendor = PCI_VENDOR_ID_PHILIPS,
3440 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3441 .subvendor = PCI_VENDOR_ID_ASUSTEK,
3442 .subdevice = 0x4845,
3443 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7135,
3445 .vendor = PCI_VENDOR_ID_PHILIPS,
3446 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3447 .subvendor = PCI_VENDOR_ID_ASUSTEK,
3448 .subdevice = 0x4830,
3449 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
3451 .vendor = PCI_VENDOR_ID_PHILIPS,
3452 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3453 .subvendor = PCI_VENDOR_ID_ASUSTEK,
3454 .subdevice = 0x4843,
3455 .driver_data = SAA7134_BOARD_ASUSTEK_TVFM7133,
3457 .vendor = PCI_VENDOR_ID_PHILIPS,
3458 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3459 .subvendor = PCI_VENDOR_ID_ASUSTEK,
3460 .subdevice = 0x4840,
3461 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
3463 .vendor = PCI_VENDOR_ID_PHILIPS,
3464 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3465 .subvendor = PCI_VENDOR_ID_PHILIPS,
3466 .subdevice = 0xfe01,
3467 .driver_data = SAA7134_BOARD_TVSTATION_RDS,
3469 .vendor = PCI_VENDOR_ID_PHILIPS,
3470 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3471 .subvendor = 0x1894,
3472 .subdevice = 0xfe01,
3473 .driver_data = SAA7134_BOARD_TVSTATION_RDS,
3475 .vendor = PCI_VENDOR_ID_PHILIPS,
3476 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3477 .subvendor = 0x1894,
3478 .subdevice = 0xa006,
3479 .driver_data = SAA7134_BOARD_TVSTATION_DVR,
3481 .vendor = PCI_VENDOR_ID_PHILIPS,
3482 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3483 .subvendor = 0x1131,
3484 .subdevice = 0x7133,
3485 .driver_data = SAA7134_BOARD_VA1000POWER,
3487 .vendor = PCI_VENDOR_ID_PHILIPS,
3488 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3489 .subvendor = PCI_VENDOR_ID_PHILIPS,
3490 .subdevice = 0x2001,
3491 .driver_data = SAA7134_BOARD_10MOONSTVMASTER,
3493 .vendor = PCI_VENDOR_ID_PHILIPS,
3494 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3495 .subvendor = 0x185b,
3496 .subdevice = 0xc100,
3497 .driver_data = SAA7134_BOARD_VIDEOMATE_TV,
3499 .vendor = PCI_VENDOR_ID_PHILIPS,
3500 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3501 .subvendor = 0x185b,
3502 .subdevice = 0xc100,
3503 .driver_data = SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS,
3505 .vendor = PCI_VENDOR_ID_PHILIPS,
3506 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3507 .subvendor = PCI_VENDOR_ID_MATROX,
3508 .subdevice = 0x48d0,
3509 .driver_data = SAA7134_BOARD_CRONOS_PLUS,
3511 .vendor = PCI_VENDOR_ID_PHILIPS,
3512 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3513 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3514 .subdevice = 0xa70b,
3515 .driver_data = SAA7134_BOARD_MD2819,
3517 .vendor = PCI_VENDOR_ID_PHILIPS,
3518 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3519 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3520 .subdevice = 0x2115,
3521 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_305,
3523 .vendor = PCI_VENDOR_ID_PHILIPS,
3524 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3525 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3526 .subdevice = 0x2108,
3527 .driver_data = SAA7134_BOARD_AVERMEDIA_305,
3529 .vendor = PCI_VENDOR_ID_PHILIPS,
3530 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3531 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3532 .subdevice = 0x10ff,
3533 .driver_data = SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER,
3535 /* AVerMedia CardBus */
3536 .vendor = PCI_VENDOR_ID_PHILIPS,
3537 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3538 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3539 .subdevice = 0xd6ee,
3540 .driver_data = SAA7134_BOARD_AVERMEDIA_CARDBUS,
3542 /* TransGear 3000TV */
3543 .vendor = PCI_VENDOR_ID_PHILIPS,
3544 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3545 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3546 .subdevice = 0x050c,
3547 .driver_data = SAA7134_BOARD_TG3000TV,
3549 .vendor = PCI_VENDOR_ID_PHILIPS,
3550 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3551 .subvendor = 0x11bd,
3552 .subdevice = 0x002b,
3553 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_STEREO,
3555 .vendor = PCI_VENDOR_ID_PHILIPS,
3556 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3557 .subvendor = 0x11bd,
3558 .subdevice = 0x002d,
3559 .driver_data = SAA7134_BOARD_PINNACLE_300I_DVBT_PAL,
3561 .vendor = PCI_VENDOR_ID_PHILIPS,
3562 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3563 .subvendor = 0x1019,
3564 .subdevice = 0x4cb4,
3565 .driver_data = SAA7134_BOARD_ECS_TVP3XP,
3567 .vendor = PCI_VENDOR_ID_PHILIPS,
3568 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3569 .subvendor = 0x1019,
3570 .subdevice = 0x4cb5,
3571 .driver_data = SAA7134_BOARD_ECS_TVP3XP_4CB5,
3573 .vendor = PCI_VENDOR_ID_PHILIPS,
3574 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3575 .subvendor = 0x12ab,
3576 .subdevice = 0x0800,
3577 .driver_data = SAA7134_BOARD_UPMOST_PURPLE_TV,
3579 .vendor = PCI_VENDOR_ID_PHILIPS,
3580 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3581 .subvendor = 0x153b,
3582 .subdevice = 0x1152,
3583 .driver_data = SAA7134_BOARD_CINERGY200,
3585 .vendor = PCI_VENDOR_ID_PHILIPS,
3586 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3587 .subvendor = 0x185b,
3588 .subdevice = 0xc100,
3589 .driver_data = SAA7134_BOARD_VIDEOMATE_TV_PVR,
3591 .vendor = PCI_VENDOR_ID_PHILIPS,
3592 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3593 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3594 .subdevice = 0x9715,
3595 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_307,
3597 .vendor = PCI_VENDOR_ID_PHILIPS,
3598 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3599 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3600 .subdevice = 0xa70a,
3601 .driver_data = SAA7134_BOARD_AVERMEDIA_307,
3603 .vendor = PCI_VENDOR_ID_PHILIPS,
3604 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3605 .subvendor = 0x185b,
3606 .subdevice = 0xc200,
3607 .driver_data = SAA7134_BOARD_VIDEOMATE_GOLD_PLUS,
3609 .vendor = PCI_VENDOR_ID_PHILIPS,
3610 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3611 .subvendor = 0x1540,
3612 .subdevice = 0x9524,
3613 .driver_data = SAA7134_BOARD_PROVIDEO_PV952,
3616 .vendor = PCI_VENDOR_ID_PHILIPS,
3617 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3618 .subvendor = 0x5168,
3619 .subdevice = 0x0502, /* Cardbus version */
3620 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
3622 .vendor = PCI_VENDOR_ID_PHILIPS,
3623 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3624 .subvendor = 0x5168,
3625 .subdevice = 0x0306, /* PCI version */
3626 .driver_data = SAA7134_BOARD_FLYDVBTDUO,
3628 .vendor = PCI_VENDOR_ID_PHILIPS,
3629 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3630 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3631 .subdevice = 0xf31f,
3632 .driver_data = SAA7134_BOARD_AVERMEDIA_GO_007_FM,
3635 .vendor = PCI_VENDOR_ID_PHILIPS,
3636 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3637 .subvendor = PCI_VENDOR_ID_PHILIPS,
3638 .subdevice = 0x2004,
3639 .driver_data = SAA7134_BOARD_PHILIPS_TOUGH,
3641 .vendor = PCI_VENDOR_ID_PHILIPS,
3642 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3643 .subvendor = 0x1421,
3644 .subdevice = 0x0350, /* PCI version */
3645 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
3647 .vendor = PCI_VENDOR_ID_PHILIPS,
3648 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3649 .subvendor = 0x1421,
3650 .subdevice = 0x0351, /* PCI version, new revision */
3651 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
3653 .vendor = PCI_VENDOR_ID_PHILIPS,
3654 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3655 .subvendor = 0x1421,
3656 .subdevice = 0x0370, /* cardbus version */
3657 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
3659 .vendor = PCI_VENDOR_ID_PHILIPS,
3660 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3661 .subvendor = 0x1421,
3662 .subdevice = 0x1370, /* cardbus version */
3663 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
3666 .vendor = PCI_VENDOR_ID_PHILIPS,
3667 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3668 .subvendor = 0x4e42, /* Typhoon */
3669 .subdevice = 0x0502, /* LifeView LR502 OEM */
3670 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
3672 .vendor = PCI_VENDOR_ID_PHILIPS,
3673 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3674 .subvendor = 0x1043,
3675 .subdevice = 0x0210, /* mini pci NTSC version */
3676 .driver_data = SAA7134_BOARD_FLYTV_DIGIMATRIX,
3678 .vendor = PCI_VENDOR_ID_PHILIPS,
3679 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3680 .subvendor = 0x1043,
3681 .subdevice = 0x0210, /* mini pci PAL/SECAM version */
3682 .driver_data = SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV,
3685 .vendor = PCI_VENDOR_ID_PHILIPS,
3686 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3687 .subvendor = 0x0000, /* It shouldn't break anything, since subdevice id seems unique */
3688 .subdevice = 0x4091,
3689 .driver_data = SAA7134_BOARD_BEHOLD_409FM,
3691 .vendor = PCI_VENDOR_ID_PHILIPS,
3692 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3693 .subvendor = 0x5456, /* GoTView */
3694 .subdevice = 0x7135,
3695 .driver_data = SAA7134_BOARD_GOTVIEW_7135,
3697 .vendor = PCI_VENDOR_ID_PHILIPS,
3698 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3699 .subvendor = PCI_VENDOR_ID_PHILIPS,
3700 .subdevice = 0x2004,
3701 .driver_data = SAA7134_BOARD_PHILIPS_EUROPA,
3703 .vendor = PCI_VENDOR_ID_PHILIPS,
3704 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3705 .subvendor = 0x185b,
3706 .subdevice = 0xc900,
3707 .driver_data = SAA7134_BOARD_VIDEOMATE_DVBT_300,
3709 .vendor = PCI_VENDOR_ID_PHILIPS,
3710 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3711 .subvendor = 0x185b,
3712 .subdevice = 0xc901,
3713 .driver_data = SAA7134_BOARD_VIDEOMATE_DVBT_200,
3715 .vendor = PCI_VENDOR_ID_PHILIPS,
3716 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3717 .subvendor = 0x1435,
3718 .subdevice = 0x7350,
3719 .driver_data = SAA7134_BOARD_RTD_VFG7350,
3721 .vendor = PCI_VENDOR_ID_PHILIPS,
3722 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3723 .subvendor = 0x1435,
3724 .subdevice = 0x7330,
3725 .driver_data = SAA7134_BOARD_RTD_VFG7330,
3727 .vendor = PCI_VENDOR_ID_PHILIPS,
3728 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3729 .subvendor = 0x1461,
3730 .subdevice = 0x1044,
3731 .driver_data = SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180,
3733 .vendor = PCI_VENDOR_ID_PHILIPS,
3734 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3735 .subvendor = 0x1131,
3736 .subdevice = 0x4ee9,
3737 .driver_data = SAA7134_BOARD_MONSTERTV_MOBILE,
3739 .vendor = PCI_VENDOR_ID_PHILIPS,
3740 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3741 .subvendor = 0x11bd,
3742 .subdevice = 0x002e,
3743 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_110i,
3745 .vendor = PCI_VENDOR_ID_PHILIPS,
3746 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3747 .subvendor = 0x1043,
3748 .subdevice = 0x4862,
3749 .driver_data = SAA7134_BOARD_ASUSTeK_P7131_DUAL,
3751 .vendor = PCI_VENDOR_ID_PHILIPS,
3752 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3753 .subvendor = PCI_VENDOR_ID_PHILIPS,
3754 .subdevice = 0x2018,
3755 .driver_data = SAA7134_BOARD_PHILIPS_TIGER,
3757 .vendor = PCI_VENDOR_ID_PHILIPS,
3758 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3759 .subvendor = 0x1462,
3760 .subdevice = 0x6231,
3761 .driver_data = SAA7134_BOARD_MSI_TVATANYWHERE_PLUS,
3763 .vendor = PCI_VENDOR_ID_PHILIPS,
3764 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3765 .subvendor = 0x153b,
3766 .subdevice = 0x1160,
3767 .driver_data = SAA7134_BOARD_CINERGY250PCI,
3769 .vendor = PCI_VENDOR_ID_PHILIPS,
3770 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA 7131E */
3771 .subvendor = 0x5168,
3772 .subdevice = 0x0319,
3773 .driver_data = SAA7134_BOARD_FLYDVB_TRIO,
3775 .vendor = PCI_VENDOR_ID_PHILIPS,
3776 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3777 .subvendor = 0x1461,
3778 .subdevice = 0x2c05,
3779 .driver_data = SAA7134_BOARD_AVERMEDIA_777,
3781 .vendor = PCI_VENDOR_ID_PHILIPS,
3782 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3783 .subvendor = 0x5168,
3784 .subdevice = 0x0301,
3785 .driver_data = SAA7134_BOARD_FLYDVBT_LR301,
3787 .vendor = PCI_VENDOR_ID_PHILIPS,
3788 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3789 .subvendor = 0x0331,
3790 .subdevice = 0x1421,
3791 .driver_data = SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331,
3793 .vendor = PCI_VENDOR_ID_PHILIPS,
3794 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3795 .subvendor = 0x17de,
3796 .subdevice = 0x7201,
3797 .driver_data = SAA7134_BOARD_TEVION_DVBT_220RF,
3799 .vendor = PCI_VENDOR_ID_PHILIPS,
3800 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA7135HL */
3801 .subvendor = 0x17de,
3802 .subdevice = 0x7350,
3803 .driver_data = SAA7134_BOARD_KWORLD_ATSC110,
3805 .vendor = PCI_VENDOR_ID_PHILIPS,
3806 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3807 .subvendor = 0x1461,
3808 .subdevice = 0x7360,
3809 .driver_data = SAA7134_BOARD_AVERMEDIA_A169_B,
3811 .vendor = PCI_VENDOR_ID_PHILIPS,
3812 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3813 .subvendor = 0x1461,
3814 .subdevice = 0x6360,
3815 .driver_data = SAA7134_BOARD_AVERMEDIA_A169_B1,
3817 .vendor = PCI_VENDOR_ID_PHILIPS,
3818 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3819 .subvendor = 0x16be,
3820 .subdevice = 0x0005,
3821 .driver_data = SAA7134_BOARD_MD7134_BRIDGE_2,
3823 .vendor = PCI_VENDOR_ID_PHILIPS,
3824 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3825 .subvendor = 0x5168,
3826 .subdevice = 0x0300,
3827 .driver_data = SAA7134_BOARD_FLYDVBS_LR300,
3829 .vendor = PCI_VENDOR_ID_PHILIPS,
3830 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3831 .subvendor = 0x4e42,
3832 .subdevice = 0x0300,/* LR300 */
3833 .driver_data = SAA7134_BOARD_FLYDVBS_LR300,
3835 .vendor = PCI_VENDOR_ID_PHILIPS,
3836 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3837 .subvendor = 0x1489,
3838 .subdevice = 0x0301,
3839 .driver_data = SAA7134_BOARD_FLYDVBT_LR301,
3841 .vendor = PCI_VENDOR_ID_PHILIPS,
3842 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3843 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
3844 .subdevice = 0x0304,
3845 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
3847 .vendor = PCI_VENDOR_ID_PHILIPS,
3848 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3849 .subvendor = 0x5168,
3850 .subdevice = 0x3306,
3851 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
3853 .vendor = PCI_VENDOR_ID_PHILIPS,
3854 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3855 .subvendor = 0x5168,
3856 .subdevice = 0x3502, /* whats the difference to 0x3306 ?*/
3857 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
3859 .vendor = PCI_VENDOR_ID_PHILIPS,
3860 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3861 .subvendor = 0x16be,
3862 .subdevice = 0x0007,
3863 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
3865 .vendor = PCI_VENDOR_ID_PHILIPS,
3866 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3867 .subvendor = 0x16be,
3868 .subdevice = 0x0008,
3869 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
3871 .vendor = PCI_VENDOR_ID_PHILIPS,
3872 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3873 .subvendor = 0x1461,
3874 .subdevice = 0x2c05,
3875 .driver_data = SAA7134_BOARD_AVERMEDIA_777,
3877 .vendor = PCI_VENDOR_ID_PHILIPS,
3878 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3879 .subvendor = 0x1489,
3880 .subdevice = 0x0502, /* Cardbus version */
3881 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
3883 .vendor = PCI_VENDOR_ID_PHILIPS,
3884 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3885 .subvendor = 0x0919, /* Philips Proteus PRO 2309 */
3886 .subdevice = 0x2003,
3887 .driver_data = SAA7134_BOARD_PROTEUS_2309,
3889 .vendor = PCI_VENDOR_ID_PHILIPS,
3890 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3891 .subvendor = 0x1461,
3892 .subdevice = 0x2c00,
3893 .driver_data = SAA7134_BOARD_AVERMEDIA_A16AR,
3895 .vendor = PCI_VENDOR_ID_PHILIPS,
3896 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3897 .subvendor = 0x1043,
3898 .subdevice = 0x4860,
3899 .driver_data = SAA7134_BOARD_ASUS_EUROPA2_HYBRID,
3901 .vendor = PCI_VENDOR_ID_PHILIPS,
3902 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3903 .subvendor = 0x11bd,
3904 .subdevice = 0x002f,
3905 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_310i,
3907 .vendor = PCI_VENDOR_ID_PHILIPS,
3908 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3909 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3910 .subdevice = 0x9715,
3911 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_507,
3913 .vendor = PCI_VENDOR_ID_PHILIPS,
3914 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3915 .subvendor = 0x1043,
3916 .subdevice = 0x4876,
3917 .driver_data = SAA7134_BOARD_ASUSTeK_P7131_DUAL,
3919 .vendor = PCI_VENDOR_ID_PHILIPS,
3920 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3921 .subvendor = 0x0070,
3922 .subdevice = 0x6701,
3923 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
3925 .vendor = PCI_VENDOR_ID_PHILIPS,
3926 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3927 .subvendor = 0x153b,
3928 .subdevice = 0x1172,
3929 .driver_data = SAA7134_BOARD_CINERGY_HT_PCMCIA,
3931 .vendor = PCI_VENDOR_ID_PHILIPS,
3932 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3933 .subvendor = PCI_VENDOR_ID_PHILIPS,
3934 .subdevice = 0x2342,
3935 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
3937 .vendor = PCI_VENDOR_ID_PHILIPS,
3938 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3939 .subvendor = 0x1131,
3940 .subdevice = 0x2341,
3941 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
3943 .vendor = PCI_VENDOR_ID_PHILIPS,
3944 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3945 .subvendor = 0x3016,
3946 .subdevice = 0x2344,
3947 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
3949 .vendor = PCI_VENDOR_ID_PHILIPS,
3950 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3951 .subvendor = 0x1131,
3952 .subdevice = 0x230f,
3953 .driver_data = SAA7134_BOARD_ENCORE_ENLTV_FM,
3955 .vendor = PCI_VENDOR_ID_PHILIPS,
3956 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3957 .subvendor = 0x153b,
3958 .subdevice = 0x1175,
3959 .driver_data = SAA7134_BOARD_CINERGY_HT_PCI,
3961 /* --- boards without eeprom + subsystem ID --- */
3962 .vendor = PCI_VENDOR_ID_PHILIPS,
3963 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3964 .subvendor = PCI_VENDOR_ID_PHILIPS,
3966 .driver_data = SAA7134_BOARD_NOAUTO,
3968 .vendor = PCI_VENDOR_ID_PHILIPS,
3969 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3970 .subvendor = PCI_VENDOR_ID_PHILIPS,
3972 .driver_data = SAA7134_BOARD_NOAUTO,
3975 /* --- default catch --- */
3976 .vendor = PCI_VENDOR_ID_PHILIPS,
3977 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3978 .subvendor = PCI_ANY_ID,
3979 .subdevice = PCI_ANY_ID,
3980 .driver_data = SAA7134_BOARD_UNKNOWN,
3982 .vendor = PCI_VENDOR_ID_PHILIPS,
3983 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3984 .subvendor = PCI_ANY_ID,
3985 .subdevice = PCI_ANY_ID,
3986 .driver_data = SAA7134_BOARD_UNKNOWN,
3988 .vendor = PCI_VENDOR_ID_PHILIPS,
3989 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3990 .subvendor = PCI_ANY_ID,
3991 .subdevice = PCI_ANY_ID,
3992 .driver_data = SAA7134_BOARD_UNKNOWN,
3994 .vendor = PCI_VENDOR_ID_PHILIPS,
3995 .device = PCI_DEVICE_ID_PHILIPS_SAA7135,
3996 .subvendor = PCI_ANY_ID,
3997 .subdevice = PCI_ANY_ID,
3998 .driver_data = SAA7134_BOARD_UNKNOWN,
4000 /* --- end of list --- */
4003 MODULE_DEVICE_TABLE(pci, saa7134_pci_tbl);
4005 /* ----------------------------------------------------------- */
4006 /* flyvideo tweaks */
4009 static void board_flyvideo(struct saa7134_dev *dev)
4011 printk("%s: there are different flyvideo cards with different tuners\n"
4012 "%s: out there, you might have to use the tuner=<nr> insmod\n"
4013 "%s: option to override the default value.\n",
4014 dev->name, dev->name, dev->name);
4017 /* ----------------------------------------------------------- */
4019 int saa7134_board_init1(struct saa7134_dev *dev)
4021 /* Always print gpio, often manufacturers encode tuner type and other info. */
4022 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0);
4023 dev->gpio_value = saa_readl(SAA7134_GPIO_GPSTATUS0 >> 2);
4024 printk(KERN_INFO "%s: board init: gpio is %x\n", dev->name, dev->gpio_value);
4026 switch (dev->board) {
4027 case SAA7134_BOARD_FLYVIDEO2000:
4028 case SAA7134_BOARD_FLYVIDEO3000:
4029 case SAA7134_BOARD_FLYVIDEO3000_NTSC:
4030 dev->has_remote = SAA7134_REMOTE_GPIO;
4031 board_flyvideo(dev);
4033 case SAA7134_BOARD_FLYTVPLATINUM_MINI2:
4034 case SAA7134_BOARD_FLYTVPLATINUM_FM:
4035 case SAA7134_BOARD_CINERGY400:
4036 case SAA7134_BOARD_CINERGY600:
4037 case SAA7134_BOARD_CINERGY600_MK3:
4038 case SAA7134_BOARD_ECS_TVP3XP:
4039 case SAA7134_BOARD_ECS_TVP3XP_4CB5:
4040 case SAA7134_BOARD_MD2819:
4041 case SAA7134_BOARD_KWORLD_VSTREAM_XPERT:
4042 case SAA7134_BOARD_KWORLD_XPERT:
4043 case SAA7134_BOARD_AVERMEDIA_STUDIO_305:
4044 case SAA7134_BOARD_AVERMEDIA_305:
4045 case SAA7134_BOARD_AVERMEDIA_STUDIO_307:
4046 case SAA7134_BOARD_AVERMEDIA_307:
4047 case SAA7134_BOARD_AVERMEDIA_STUDIO_507:
4048 case SAA7134_BOARD_AVERMEDIA_GO_007_FM:
4049 case SAA7134_BOARD_AVERMEDIA_777:
4050 /* case SAA7134_BOARD_SABRENT_SBTTVFM: */ /* not finished yet */
4051 case SAA7134_BOARD_VIDEOMATE_TV_PVR:
4052 case SAA7134_BOARD_VIDEOMATE_GOLD_PLUS:
4053 case SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII:
4054 case SAA7134_BOARD_VIDEOMATE_DVBT_300:
4055 case SAA7134_BOARD_VIDEOMATE_DVBT_200:
4056 case SAA7134_BOARD_VIDEOMATE_DVBT_200A:
4057 case SAA7134_BOARD_MANLI_MTV001:
4058 case SAA7134_BOARD_MANLI_MTV002:
4059 case SAA7134_BOARD_BEHOLD_409FM:
4060 case SAA7134_BOARD_AVACSSMARTTV:
4061 case SAA7134_BOARD_GOTVIEW_7135:
4062 case SAA7134_BOARD_KWORLD_TERMINATOR:
4063 case SAA7134_BOARD_SEDNA_PC_TV_CARDBUS:
4064 case SAA7134_BOARD_FLYDVBT_LR301:
4065 case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
4066 case SAA7134_BOARD_FLYDVBTDUO:
4067 case SAA7134_BOARD_PROTEUS_2309:
4068 case SAA7134_BOARD_AVERMEDIA_A16AR:
4069 case SAA7134_BOARD_ENCORE_ENLTV:
4070 case SAA7134_BOARD_ENCORE_ENLTV_FM:
4071 dev->has_remote = SAA7134_REMOTE_GPIO;
4073 case SAA7134_BOARD_FLYDVBS_LR300:
4074 saa_writeb(SAA7134_GPIO_GPMODE3, 0x80);
4075 saa_writeb(SAA7134_GPIO_GPSTATUS2, 0x40);
4076 dev->has_remote = SAA7134_REMOTE_GPIO;
4078 case SAA7134_BOARD_MD5044:
4079 printk("%s: seems there are two different versions of the MD5044\n"
4080 "%s: (with the same ID) out there. If sound doesn't work for\n"
4081 "%s: you try the audio_clock_override=0x200000 insmod option.\n",
4082 dev->name,dev->name,dev->name);
4084 case SAA7134_BOARD_CINERGY400_CARDBUS:
4085 /* power-up tuner chip */
4086 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000);
4087 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000000);
4089 case SAA7134_BOARD_PINNACLE_300I_DVBT_PAL:
4090 /* this turns the remote control chip off to work around a bug in it */
4091 saa_writeb(SAA7134_GPIO_GPMODE1, 0x80);
4092 saa_writeb(SAA7134_GPIO_GPSTATUS1, 0x80);
4094 case SAA7134_BOARD_MONSTERTV_MOBILE:
4095 /* power-up tuner chip */
4096 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000);
4097 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000004);
4099 case SAA7134_BOARD_FLYDVBT_DUO_CARDBUS:
4100 /* turn the fan on */
4101 saa_writeb(SAA7134_GPIO_GPMODE3, 0x08);
4102 saa_writeb(SAA7134_GPIO_GPSTATUS3, 0x06);
4104 case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331:
4105 case SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS:
4106 saa_writeb(SAA7134_GPIO_GPMODE3, 0x08);
4107 saa_writeb(SAA7134_GPIO_GPSTATUS3, 0x00);
4109 case SAA7134_BOARD_AVERMEDIA_CARDBUS:
4110 /* power-up tuner chip */
4111 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0xffffffff, 0xffffffff);
4112 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0xffffffff);
4115 case SAA7134_BOARD_RTD_VFG7350:
4118 * Make sure Production Test Register at offset 0x1D1 is cleared
4119 * to take chip out of test mode. Clearing bit 4 (TST_EN_AOUT)
4120 * prevents pin 105 from remaining low; keeping pin 105 low
4121 * continually resets the SAA6752 chip.
4124 saa_writeb (SAA7134_PRODUCTION_TEST_MODE, 0x00);
4127 case SAA7134_BOARD_PINNACLE_PCTV_110i:
4128 case SAA7134_BOARD_PINNACLE_PCTV_310i:
4129 case SAA7134_BOARD_UPMOST_PURPLE_TV:
4130 case SAA7134_BOARD_HAUPPAUGE_HVR1110:
4131 dev->has_remote = SAA7134_REMOTE_I2C;
4133 case SAA7134_BOARD_AVERMEDIA_A169_B:
4134 case SAA7134_BOARD_MD7134_BRIDGE_2:
4135 printk("%s: %s: dual saa713x broadcast decoders\n"
4136 "%s: Sorry, none of the inputs to this chip are supported yet.\n"
4137 "%s: Dual decoder functionality is disabled for now, use the other chip.\n",
4138 dev->name,card(dev).name,dev->name,dev->name);
4144 /* stuff which needs working i2c */
4145 int saa7134_board_init2(struct saa7134_dev *dev)
4150 switch (dev->board) {
4151 case SAA7134_BOARD_BMK_MPEX_NOTUNER:
4152 case SAA7134_BOARD_BMK_MPEX_TUNER:
4153 dev->i2c_client.addr = 0x60;
4154 board = (i2c_master_recv(&dev->i2c_client,&buf,0) < 0)
4155 ? SAA7134_BOARD_BMK_MPEX_NOTUNER
4156 : SAA7134_BOARD_BMK_MPEX_TUNER;
4157 if (board == dev->board)
4160 printk("%s: board type fixup: %s\n", dev->name,
4161 saa7134_boards[dev->board].name);
4162 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
4164 if (TUNER_ABSENT != dev->tuner_type) {
4165 struct tuner_setup tun_setup;
4167 tun_setup.mode_mask = T_RADIO | T_ANALOG_TV | T_DIGITAL_TV;
4168 tun_setup.type = dev->tuner_type;
4169 tun_setup.addr = ADDR_UNSET;
4171 saa7134_i2c_call_clients (dev, TUNER_SET_TYPE_ADDR, &tun_setup);
4174 case SAA7134_BOARD_MD7134:
4176 struct tuner_setup tun_setup;
4181 struct i2c_msg msg[] = {{.addr=0x50, .flags=0, .buf=&subaddr, .len = 1},
4182 {.addr=0x50, .flags=I2C_M_RD, .buf=data, .len = 3}};
4185 ret = i2c_transfer(&dev->i2c_adap, msg, 2);
4187 printk(KERN_ERR "EEPROM read failure\n");
4188 } else if ((data[0] != 0) && (data[0] != 0xff)) {
4189 /* old config structure */
4190 subaddr = data[0] + 2;
4192 i2c_transfer(&dev->i2c_adap, msg, 2);
4193 tuner_t = (data[0] << 8) + data[1];
4196 dev->tuner_type = TUNER_PHILIPS_PAL;
4199 dev->tuner_type = TUNER_PHILIPS_FM1216ME_MK3;
4202 printk(KERN_ERR "%s Cant determine tuner type %x from EEPROM\n", dev->name, tuner_t);
4204 } else if ((data[1] != 0) && (data[1] != 0xff)) {
4205 /* new config structure */
4206 subaddr = data[1] + 1;
4208 i2c_transfer(&dev->i2c_adap, msg, 2);
4209 subaddr = data[0] + 1;
4211 i2c_transfer(&dev->i2c_adap, msg, 2);
4212 tuner_t = (data[1] << 8) + data[0];
4215 dev->tuner_type = TUNER_PHILIPS_FM1216ME_MK3;
4218 dev->tuner_type = TUNER_PHILIPS_FMD1216ME_MK3;
4219 printk(KERN_INFO "%s Board has DVB-T\n", dev->name);
4222 printk(KERN_ERR "%s Cant determine tuner type %x from EEPROM\n", dev->name, tuner_t);
4225 printk(KERN_ERR "%s unexpected config structure\n", dev->name);
4228 printk(KERN_INFO "%s Tuner type is %d\n", dev->name, dev->tuner_type);
4229 if (dev->tuner_type == TUNER_PHILIPS_FMD1216ME_MK3) {
4230 dev->tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE | TDA9887_PORT2_ACTIVE;
4231 saa7134_i2c_call_clients(dev,TDA9887_SET_CONFIG, &dev->tda9887_conf);
4234 tun_setup.mode_mask = T_RADIO | T_ANALOG_TV | T_DIGITAL_TV;
4235 tun_setup.type = dev->tuner_type;
4236 tun_setup.addr = ADDR_UNSET;
4238 saa7134_i2c_call_clients (dev, TUNER_SET_TYPE_ADDR,&tun_setup);
4241 case SAA7134_BOARD_PHILIPS_EUROPA:
4242 case SAA7134_BOARD_VIDEOMATE_DVBT_300:
4243 case SAA7134_BOARD_ASUS_EUROPA2_HYBRID:
4244 /* The Philips EUROPA based hybrid boards have the tuner connected through
4245 * the channel decoder. We have to make it transparent to find it
4248 struct tuner_setup tun_setup;
4249 u8 data[] = { 0x07, 0x02};
4250 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
4251 i2c_transfer(&dev->i2c_adap, &msg, 1);
4253 tun_setup.mode_mask = T_ANALOG_TV | T_DIGITAL_TV;
4254 tun_setup.type = dev->tuner_type;
4255 tun_setup.addr = dev->tuner_addr;
4257 saa7134_i2c_call_clients (dev, TUNER_SET_TYPE_ADDR,&tun_setup);
4260 case SAA7134_BOARD_PHILIPS_TIGER:
4261 case SAA7134_BOARD_PINNACLE_PCTV_310i:
4262 case SAA7134_BOARD_TEVION_DVBT_220RF:
4263 case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
4264 case SAA7134_BOARD_MEDION_MD8800_QUADRO:
4265 case SAA7134_BOARD_HAUPPAUGE_HVR1110:
4266 /* this is a hybrid board, initialize to analog mode
4267 * and configure firmware eeprom address
4270 u8 data[] = { 0x3c, 0x33, 0x68};
4271 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
4272 i2c_transfer(&dev->i2c_adap, &msg, 1);
4275 case SAA7134_BOARD_FLYDVB_TRIO:
4277 u8 data[] = { 0x3c, 0x33, 0x62};
4278 struct i2c_msg msg = {.addr=0x09, .flags=0, .buf=data, .len = sizeof(data)};
4279 i2c_transfer(&dev->i2c_adap, &msg, 1);
4282 case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331:
4283 case SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS:
4284 /* make the tda10046 find its eeprom */
4286 u8 data[] = { 0x3c, 0x33, 0x62};
4287 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
4288 i2c_transfer(&dev->i2c_adap, &msg, 1);
4291 case SAA7134_BOARD_CINERGY_HT_PCMCIA:
4292 case SAA7134_BOARD_CINERGY_HT_PCI:
4293 /* make the tda10046 find its eeprom */
4295 u8 data[] = { 0x3c, 0x33, 0x60};
4296 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
4297 i2c_transfer(&dev->i2c_adap, &msg, 1);
4300 case SAA7134_BOARD_KWORLD_ATSC110:
4304 static const u8 buffer [] = { 0x10,0x12,0x13,0x04,0x16,0x00,0x14,0x04,0x017,0x00 };
4305 dev->i2c_client.addr = 0x0a;
4306 for (i = 0; i < 5; i++)
4307 if (2 != i2c_master_send(&dev->i2c_client,&buffer[i*2],2))
4308 printk(KERN_WARNING "%s: Unable to enable tuner(%i).\n",
4312 case SAA7134_BOARD_VIDEOMATE_DVBT_200:
4313 case SAA7134_BOARD_VIDEOMATE_DVBT_200A:
4314 /* The T200 and the T200A share the same pci id. Consequently,
4315 * we are going to query eeprom to try to find out which one we
4316 * are actually looking at. */
4318 /* Don't do this if the board was specifically selected with an
4319 * insmod option or if we have the default configuration T200*/
4320 if(!dev->autodetected || (dev->eedata[0x41] == 0xd0))
4322 if(dev->eedata[0x41] == 0x02) {
4323 /* Reconfigure board as T200A */
4324 dev->board = SAA7134_BOARD_VIDEOMATE_DVBT_200A;
4325 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
4326 dev->tda9887_conf = saa7134_boards[dev->board].tda9887_conf;
4327 printk(KERN_INFO "%s: Reconfigured board as %s\n",
4328 dev->name, saa7134_boards[dev->board].name);
4330 printk(KERN_WARNING "%s: Unexpected tuner type info: %x in eeprom\n",
4331 dev->name, dev->eedata[0x41]);
4339 /* ----------------------------------------------------------- */