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",
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 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_NTSC_TALN_MINI,
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,
2470 .name = name_svideo,
2480 [SAA7134_BOARD_SEDNA_PC_TV_CARDBUS] = {
2481 /* Paul Tom Zalac <pzalac@gmail.com> */
2482 /* Pavel Mihaylov <bin@bash.info> */
2483 .name = "Sedna/MuchTV PC TV Cardbus TV/Radio (ITO25 Rev:2B)",
2484 /* Sedna/MuchTV (OEM) Cardbus TV Tuner */
2485 .audio_clock = 0x00187de7,
2486 .tuner_type = TUNER_PHILIPS_TDA8290,
2487 .radio_type = UNSET,
2488 .tuner_addr = ADDR_UNSET,
2489 .radio_addr = ADDR_UNSET,
2490 .gpiomask = 0xe880c0,
2501 .name = name_svideo,
2510 [SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV] = {
2511 /* "Cyril Lacoux (Yack)" <clacoux@ifeelgood.org> */
2512 .name = "ASUS Digimatrix TV",
2513 .audio_clock = 0x00200000,
2514 .tuner_type = TUNER_PHILIPS_FQ1216ME,
2515 .tda9887_conf = TDA9887_PRESENT,
2516 .radio_type = UNSET,
2517 .tuner_addr = ADDR_UNSET,
2518 .radio_addr = ADDR_UNSET,
2529 .name = name_svideo,
2534 [SAA7134_BOARD_PHILIPS_TIGER] = {
2535 .name = "Philips Tiger reference design",
2536 .audio_clock = 0x00187de7,
2537 .tuner_type = TUNER_PHILIPS_TDA8290,
2538 .radio_type = UNSET,
2539 .tuner_addr = ADDR_UNSET,
2540 .radio_addr = ADDR_UNSET,
2541 .mpeg = SAA7134_MPEG_DVB,
2542 .gpiomask = 1 << 21,
2553 .name = name_svideo,
2563 [SAA7134_BOARD_MSI_TVATANYWHERE_PLUS] = {
2564 .name = "MSI TV@Anywhere plus",
2565 .audio_clock = 0x00187de7,
2566 .tuner_type = TUNER_PHILIPS_TDA8290,
2567 .radio_type = UNSET,
2568 .tuner_addr = ADDR_UNSET,
2569 .radio_addr = ADDR_UNSET,
2580 .name = name_svideo,
2589 [SAA7134_BOARD_CINERGY250PCI] = {
2590 /* remote-control does not work. The signal about a
2591 key press comes in via gpio, but the key code
2592 doesn't. Neither does it have an i2c remote control
2594 .name = "Terratec Cinergy 250 PCI TV",
2595 .audio_clock = 0x00187de7,
2596 .tuner_type = TUNER_PHILIPS_TDA8290,
2597 .radio_type = UNSET,
2598 .tuner_addr = ADDR_UNSET,
2599 .radio_addr = ADDR_UNSET,
2600 .gpiomask = 0x80200000,
2607 .name = name_svideo, /* NOT tested */
2617 [SAA7134_BOARD_FLYDVB_TRIO] = {
2618 /* LifeView LR319 FlyDVB Trio */
2619 /* Peter Missel <peter.missel@onlinehome.de> */
2620 .name = "LifeView FlyDVB Trio",
2621 .audio_clock = 0x00200000,
2622 .tuner_type = TUNER_PHILIPS_TDA8290,
2623 .radio_type = UNSET,
2624 .tuner_addr = ADDR_UNSET,
2625 .radio_addr = ADDR_UNSET,
2626 .gpiomask = 0x00200000,
2627 .mpeg = SAA7134_MPEG_DVB, /* FIXME: DVB not implemented yet */
2629 .name = name_tv, /* Analog broadcast/cable TV */
2632 .gpio = 0x200000, /* GPIO21=High for TV input */
2635 .name = name_svideo, /* S-Video signal on S-Video input */
2639 .name = name_comp1, /* Composite signal on S-Video input */
2643 .name = name_comp2, /* Composite input */
2650 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
2653 [SAA7134_BOARD_AVERMEDIA_777] = {
2654 .name = "AverTV DVB-T 777",
2655 .audio_clock = 0x00187de7,
2656 .tuner_type = TUNER_ABSENT,
2657 .radio_type = UNSET,
2658 .tuner_addr = ADDR_UNSET,
2659 .radio_addr = ADDR_UNSET,
2660 .mpeg = SAA7134_MPEG_DVB,
2666 .name = name_svideo,
2671 [SAA7134_BOARD_FLYDVBT_LR301] = {
2672 /* LifeView FlyDVB-T */
2673 /* Giampiero Giancipoli <gianci@libero.it> */
2674 .name = "LifeView FlyDVB-T",
2675 .audio_clock = 0x00200000,
2676 .tuner_type = TUNER_ABSENT,
2677 .radio_type = UNSET,
2678 .tuner_addr = ADDR_UNSET,
2679 .radio_addr = ADDR_UNSET,
2680 .mpeg = SAA7134_MPEG_DVB,
2682 .name = name_comp1, /* Composite input */
2686 .name = name_svideo, /* S-Video signal on S-Video input */
2691 [SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331] = {
2692 .name = "ADS Instant TV Duo Cardbus PTV331",
2693 .audio_clock = 0x00200000,
2694 .tuner_type = TUNER_PHILIPS_TDA8290,
2695 .radio_type = UNSET,
2696 .tuner_addr = ADDR_UNSET,
2697 .radio_addr = ADDR_UNSET,
2698 .mpeg = SAA7134_MPEG_DVB,
2699 .gpiomask = 0x00600000, /* Bit 21 0=Radio, Bit 22 0=TV */
2708 [SAA7134_BOARD_TEVION_DVBT_220RF] = {
2709 .name = "Tevion DVB-T 220RF",
2710 .audio_clock = 0x00187de7,
2711 .tuner_type = TUNER_PHILIPS_TDA8290,
2712 .radio_type = UNSET,
2713 .tuner_addr = ADDR_UNSET,
2714 .radio_addr = ADDR_UNSET,
2715 .mpeg = SAA7134_MPEG_DVB,
2726 .name = name_svideo,
2735 [SAA7134_BOARD_KWORLD_ATSC110] = {
2736 .name = "Kworld ATSC110",
2737 .audio_clock = 0x00187de7,
2738 .tuner_type = TUNER_PHILIPS_TUV1236D,
2739 .radio_type = UNSET,
2740 .tuner_addr = ADDR_UNSET,
2741 .radio_addr = ADDR_UNSET,
2742 .tda9887_conf = TDA9887_PRESENT,
2743 .mpeg = SAA7134_MPEG_DVB,
2754 .name = name_svideo,
2761 const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards);
2763 /* ------------------------------------------------------------------ */
2764 /* PCI ids + subsystem IDs */
2766 struct pci_device_id saa7134_pci_tbl[] = {
2768 .vendor = PCI_VENDOR_ID_PHILIPS,
2769 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
2770 .subvendor = PCI_VENDOR_ID_PHILIPS,
2771 .subdevice = 0x2001,
2772 .driver_data = SAA7134_BOARD_PROTEUS_PRO,
2774 .vendor = PCI_VENDOR_ID_PHILIPS,
2775 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
2776 .subvendor = PCI_VENDOR_ID_PHILIPS,
2777 .subdevice = 0x2001,
2778 .driver_data = SAA7134_BOARD_PROTEUS_PRO,
2780 .vendor = PCI_VENDOR_ID_PHILIPS,
2781 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
2782 .subvendor = PCI_VENDOR_ID_PHILIPS,
2783 .subdevice = 0x6752,
2784 .driver_data = SAA7134_BOARD_EMPRESS,
2786 .vendor = PCI_VENDOR_ID_PHILIPS,
2787 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
2788 .subvendor = 0x1131,
2789 .subdevice = 0x4e85,
2790 .driver_data = SAA7134_BOARD_MONSTERTV,
2792 .vendor = PCI_VENDOR_ID_PHILIPS,
2793 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
2794 .subvendor = 0x153b,
2795 .subdevice = 0x1142,
2796 .driver_data = SAA7134_BOARD_CINERGY400,
2798 .vendor = PCI_VENDOR_ID_PHILIPS,
2799 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
2800 .subvendor = 0x153b,
2801 .subdevice = 0x1143,
2802 .driver_data = SAA7134_BOARD_CINERGY600,
2804 .vendor = PCI_VENDOR_ID_PHILIPS,
2805 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
2806 .subvendor = 0x153b,
2807 .subdevice = 0x1158,
2808 .driver_data = SAA7134_BOARD_CINERGY600_MK3,
2810 .vendor = PCI_VENDOR_ID_PHILIPS,
2811 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
2812 .subvendor = 0x153b,
2813 .subdevice = 0x1162,
2814 .driver_data = SAA7134_BOARD_CINERGY400_CARDBUS,
2816 .vendor = PCI_VENDOR_ID_PHILIPS,
2817 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
2818 .subvendor = 0x5168,
2819 .subdevice = 0x0138,
2820 .driver_data = SAA7134_BOARD_FLYVIDEO3000,
2822 .vendor = PCI_VENDOR_ID_PHILIPS,
2823 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
2824 .subvendor = 0x4e42, /* "Typhoon PCI Capture TV Card" Art.No. 50673 */
2825 .subdevice = 0x0138,
2826 .driver_data = SAA7134_BOARD_FLYVIDEO3000,
2828 .vendor = PCI_VENDOR_ID_PHILIPS,
2829 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
2830 .subvendor = 0x5168,
2831 .subdevice = 0x0138,
2832 .driver_data = SAA7134_BOARD_FLYVIDEO2000,
2834 .vendor = PCI_VENDOR_ID_PHILIPS,
2835 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
2836 .subvendor = 0x4e42, /* Typhoon */
2837 .subdevice = 0x0138, /* LifeView FlyTV Prime30 OEM */
2838 .driver_data = SAA7134_BOARD_FLYVIDEO2000,
2840 .vendor = PCI_VENDOR_ID_PHILIPS,
2841 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
2842 .subvendor = 0x5168,
2843 .subdevice = 0x0212, /* minipci, LR212 */
2844 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
2846 .vendor = PCI_VENDOR_ID_PHILIPS,
2847 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
2848 .subvendor = 0x14c0,
2849 .subdevice = 0x1212, /* minipci, LR1212 */
2850 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI2,
2852 .vendor = PCI_VENDOR_ID_PHILIPS,
2853 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
2854 .subvendor = 0x4e42,
2855 .subdevice = 0x0212, /* OEM minipci, LR212 */
2856 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
2858 .vendor = PCI_VENDOR_ID_PHILIPS,
2859 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
2860 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
2861 .subdevice = 0x0214, /* Standard PCI, LR214WF */
2862 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
2864 .vendor = PCI_VENDOR_ID_PHILIPS,
2865 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
2866 .subvendor = 0x1489, /* KYE */
2867 .subdevice = 0x0214, /* Genius VideoWonder ProTV */
2868 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM, /* is an LR214WF actually */
2870 .vendor = PCI_VENDOR_ID_PHILIPS,
2871 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
2872 .subvendor = 0x16be,
2873 .subdevice = 0x0003,
2874 .driver_data = SAA7134_BOARD_MD7134,
2876 .vendor = PCI_VENDOR_ID_PHILIPS,
2877 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
2878 .subvendor = 0x1048,
2879 .subdevice = 0x226b,
2880 .driver_data = SAA7134_BOARD_ELSA,
2882 .vendor = PCI_VENDOR_ID_PHILIPS,
2883 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
2884 .subvendor = 0x1048,
2885 .subdevice = 0x226b,
2886 .driver_data = SAA7134_BOARD_ELSA_500TV,
2888 .vendor = PCI_VENDOR_ID_PHILIPS,
2889 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
2890 .subvendor = 0x1048,
2891 .subdevice = 0x226c,
2892 .driver_data = SAA7134_BOARD_ELSA_700TV,
2894 .vendor = PCI_VENDOR_ID_PHILIPS,
2895 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
2896 .subvendor = PCI_VENDOR_ID_ASUSTEK,
2897 .subdevice = 0x4842,
2898 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
2900 .vendor = PCI_VENDOR_ID_PHILIPS,
2901 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
2902 .subvendor = PCI_VENDOR_ID_ASUSTEK,
2903 .subdevice = 0x4845,
2904 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7135,
2906 .vendor = PCI_VENDOR_ID_PHILIPS,
2907 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
2908 .subvendor = PCI_VENDOR_ID_ASUSTEK,
2909 .subdevice = 0x4830,
2910 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
2912 .vendor = PCI_VENDOR_ID_PHILIPS,
2913 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
2914 .subvendor = PCI_VENDOR_ID_ASUSTEK,
2915 .subdevice = 0x4843,
2916 .driver_data = SAA7134_BOARD_ASUSTEK_TVFM7133,
2918 .vendor = PCI_VENDOR_ID_PHILIPS,
2919 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
2920 .subvendor = PCI_VENDOR_ID_ASUSTEK,
2921 .subdevice = 0x4840,
2922 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
2924 .vendor = PCI_VENDOR_ID_PHILIPS,
2925 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
2926 .subvendor = PCI_VENDOR_ID_PHILIPS,
2927 .subdevice = 0xfe01,
2928 .driver_data = SAA7134_BOARD_TVSTATION_RDS,
2930 .vendor = PCI_VENDOR_ID_PHILIPS,
2931 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
2932 .subvendor = 0x1894,
2933 .subdevice = 0xfe01,
2934 .driver_data = SAA7134_BOARD_TVSTATION_RDS,
2936 .vendor = PCI_VENDOR_ID_PHILIPS,
2937 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
2938 .subvendor = 0x1894,
2939 .subdevice = 0xa006,
2940 .driver_data = SAA7134_BOARD_TVSTATION_DVR,
2942 .vendor = PCI_VENDOR_ID_PHILIPS,
2943 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
2944 .subvendor = 0x1131,
2945 .subdevice = 0x7133,
2946 .driver_data = SAA7134_BOARD_VA1000POWER,
2948 .vendor = PCI_VENDOR_ID_PHILIPS,
2949 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
2950 .subvendor = PCI_VENDOR_ID_PHILIPS,
2951 .subdevice = 0x2001,
2952 .driver_data = SAA7134_BOARD_10MOONSTVMASTER,
2954 .vendor = PCI_VENDOR_ID_PHILIPS,
2955 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
2956 .subvendor = 0x185b,
2957 .subdevice = 0xc100,
2958 .driver_data = SAA7134_BOARD_VIDEOMATE_TV,
2960 .vendor = PCI_VENDOR_ID_PHILIPS,
2961 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
2962 .subvendor = 0x185b,
2963 .subdevice = 0xc100,
2964 .driver_data = SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS,
2966 .vendor = PCI_VENDOR_ID_PHILIPS,
2967 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
2968 .subvendor = PCI_VENDOR_ID_MATROX,
2969 .subdevice = 0x48d0,
2970 .driver_data = SAA7134_BOARD_CRONOS_PLUS,
2972 .vendor = PCI_VENDOR_ID_PHILIPS,
2973 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
2974 .subvendor = 0x1461, /* Avermedia Technologies Inc */
2975 .subdevice = 0xa70b,
2976 .driver_data = SAA7134_BOARD_MD2819,
2978 .vendor = PCI_VENDOR_ID_PHILIPS,
2979 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
2980 .subvendor = 0x1461, /* Avermedia Technologies Inc */
2981 .subdevice = 0x2115,
2982 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_305,
2984 .vendor = PCI_VENDOR_ID_PHILIPS,
2985 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
2986 .subvendor = 0x1461, /* Avermedia Technologies Inc */
2987 .subdevice = 0x2108,
2988 .driver_data = SAA7134_BOARD_AVERMEDIA_305,
2990 .vendor = PCI_VENDOR_ID_PHILIPS,
2991 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
2992 .subvendor = 0x1461, /* Avermedia Technologies Inc */
2993 .subdevice = 0x10ff,
2994 .driver_data = SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER,
2996 /* AVerMedia CardBus */
2997 .vendor = PCI_VENDOR_ID_PHILIPS,
2998 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
2999 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3000 .subdevice = 0xd6ee,
3001 .driver_data = SAA7134_BOARD_AVERMEDIA_CARDBUS,
3003 /* TransGear 3000TV */
3004 .vendor = PCI_VENDOR_ID_PHILIPS,
3005 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3006 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3007 .subdevice = 0x050c,
3008 .driver_data = SAA7134_BOARD_TG3000TV,
3010 .vendor = PCI_VENDOR_ID_PHILIPS,
3011 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3012 .subvendor = 0x11bd,
3013 .subdevice = 0x002b,
3014 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_STEREO,
3016 .vendor = PCI_VENDOR_ID_PHILIPS,
3017 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3018 .subvendor = 0x11bd,
3019 .subdevice = 0x002d,
3020 .driver_data = SAA7134_BOARD_PINNACLE_300I_DVBT_PAL,
3022 .vendor = PCI_VENDOR_ID_PHILIPS,
3023 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3024 .subvendor = 0x1019,
3025 .subdevice = 0x4cb4,
3026 .driver_data = SAA7134_BOARD_ECS_TVP3XP,
3028 .vendor = PCI_VENDOR_ID_PHILIPS,
3029 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3030 .subvendor = 0x1019,
3031 .subdevice = 0x4cb5,
3032 .driver_data = SAA7134_BOARD_ECS_TVP3XP_4CB5,
3034 .vendor = PCI_VENDOR_ID_PHILIPS,
3035 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3036 .subvendor = 0x12ab,
3037 .subdevice = 0x0800,
3038 .driver_data = SAA7134_BOARD_UPMOST_PURPLE_TV,
3040 .vendor = PCI_VENDOR_ID_PHILIPS,
3041 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3042 .subvendor = 0x153b,
3043 .subdevice = 0x1152,
3044 .driver_data = SAA7134_BOARD_CINERGY200,
3046 .vendor = PCI_VENDOR_ID_PHILIPS,
3047 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3048 .subvendor = 0x185b,
3049 .subdevice = 0xc100,
3050 .driver_data = SAA7134_BOARD_VIDEOMATE_TV_PVR,
3052 .vendor = PCI_VENDOR_ID_PHILIPS,
3053 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3054 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3055 .subdevice = 0x9715,
3056 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_307,
3058 .vendor = PCI_VENDOR_ID_PHILIPS,
3059 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3060 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3061 .subdevice = 0xa70a,
3062 .driver_data = SAA7134_BOARD_AVERMEDIA_307,
3064 .vendor = PCI_VENDOR_ID_PHILIPS,
3065 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3066 .subvendor = 0x185b,
3067 .subdevice = 0xc200,
3068 .driver_data = SAA7134_BOARD_VIDEOMATE_GOLD_PLUS,
3070 .vendor = PCI_VENDOR_ID_PHILIPS,
3071 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3072 .subvendor = 0x1540,
3073 .subdevice = 0x9524,
3074 .driver_data = SAA7134_BOARD_PROVIDEO_PV952,
3077 .vendor = PCI_VENDOR_ID_PHILIPS,
3078 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3079 .subvendor = 0x5168,
3080 .subdevice = 0x0502, /* Cardbus version */
3081 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
3083 .vendor = PCI_VENDOR_ID_PHILIPS,
3084 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3085 .subvendor = 0x5168,
3086 .subdevice = 0x0306, /* PCI version */
3087 .driver_data = SAA7134_BOARD_FLYDVBTDUO,
3089 .vendor = PCI_VENDOR_ID_PHILIPS,
3090 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3091 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3092 .subdevice = 0xf31f,
3093 .driver_data = SAA7134_BOARD_AVERMEDIA_GO_007_FM,
3096 .vendor = PCI_VENDOR_ID_PHILIPS,
3097 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3098 .subvendor = PCI_VENDOR_ID_PHILIPS,
3099 .subdevice = 0x2004,
3100 .driver_data = SAA7134_BOARD_PHILIPS_TOUGH,
3102 .vendor = PCI_VENDOR_ID_PHILIPS,
3103 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3104 .subvendor = 0x1421,
3105 .subdevice = 0x0350, /* PCI version */
3106 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
3108 .vendor = PCI_VENDOR_ID_PHILIPS,
3109 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3110 .subvendor = 0x1421,
3111 .subdevice = 0x0351, /* PCI version, new revision */
3112 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
3114 .vendor = PCI_VENDOR_ID_PHILIPS,
3115 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3116 .subvendor = 0x1421,
3117 .subdevice = 0x0370, /* cardbus version */
3118 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
3120 .vendor = PCI_VENDOR_ID_PHILIPS,
3121 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3122 .subvendor = 0x1421,
3123 .subdevice = 0x1370, /* cardbus version */
3124 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
3127 .vendor = PCI_VENDOR_ID_PHILIPS,
3128 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3129 .subvendor = 0x4e42, /* Typhoon */
3130 .subdevice = 0x0502, /* LifeView LR502 OEM */
3131 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
3133 .vendor = PCI_VENDOR_ID_PHILIPS,
3134 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3135 .subvendor = 0x1043,
3136 .subdevice = 0x0210, /* mini pci NTSC version */
3137 .driver_data = SAA7134_BOARD_FLYTV_DIGIMATRIX,
3139 .vendor = PCI_VENDOR_ID_PHILIPS,
3140 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3141 .subvendor = 0x1043,
3142 .subdevice = 0x0210, /* mini pci PAL/SECAM version */
3143 .driver_data = SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV,
3146 .vendor = PCI_VENDOR_ID_PHILIPS,
3147 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3148 .subvendor = 0x0000, /* It shouldn't break anything, since subdevice id seems unique */
3149 .subdevice = 0x4091,
3150 .driver_data = SAA7134_BOARD_BEHOLD_409FM,
3152 .vendor = PCI_VENDOR_ID_PHILIPS,
3153 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3154 .subvendor = 0x5456, /* GoTView */
3155 .subdevice = 0x7135,
3156 .driver_data = SAA7134_BOARD_GOTVIEW_7135,
3158 .vendor = PCI_VENDOR_ID_PHILIPS,
3159 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3160 .subvendor = PCI_VENDOR_ID_PHILIPS,
3161 .subdevice = 0x2004,
3162 .driver_data = SAA7134_BOARD_PHILIPS_EUROPA,
3164 .vendor = PCI_VENDOR_ID_PHILIPS,
3165 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3166 .subvendor = 0x185b,
3167 .subdevice = 0xc900,
3168 .driver_data = SAA7134_BOARD_VIDEOMATE_DVBT_300,
3170 .vendor = PCI_VENDOR_ID_PHILIPS,
3171 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3172 .subvendor = 0x185b,
3173 .subdevice = 0xc901,
3174 .driver_data = SAA7134_BOARD_VIDEOMATE_DVBT_200,
3176 .vendor = PCI_VENDOR_ID_PHILIPS,
3177 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3178 .subvendor = 0x1435,
3179 .subdevice = 0x7350,
3180 .driver_data = SAA7134_BOARD_RTD_VFG7350,
3182 .vendor = PCI_VENDOR_ID_PHILIPS,
3183 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3184 .subvendor = 0x1435,
3185 .subdevice = 0x7330,
3186 .driver_data = SAA7134_BOARD_RTD_VFG7330,
3188 .vendor = PCI_VENDOR_ID_PHILIPS,
3189 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3190 .subvendor = 0x1461,
3191 .subdevice = 0x1044,
3192 .driver_data = SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180,
3194 .vendor = PCI_VENDOR_ID_PHILIPS,
3195 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3196 .subvendor = 0x1131,
3197 .subdevice = 0x4ee9,
3198 .driver_data = SAA7134_BOARD_MONSTERTV_MOBILE,
3200 .vendor = PCI_VENDOR_ID_PHILIPS,
3201 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3202 .subvendor = 0x11bd,
3203 .subdevice = 0x002e,
3204 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_110i,
3206 .vendor = PCI_VENDOR_ID_PHILIPS,
3207 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3208 .subvendor = 0x1043,
3209 .subdevice = 0x4862,
3210 .driver_data = SAA7134_BOARD_ASUSTeK_P7131_DUAL,
3212 .vendor = PCI_VENDOR_ID_PHILIPS,
3213 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3214 .subvendor = PCI_VENDOR_ID_PHILIPS,
3215 .subdevice = 0x2018,
3216 .driver_data = SAA7134_BOARD_PHILIPS_TIGER,
3218 .vendor = PCI_VENDOR_ID_PHILIPS,
3219 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3220 .subvendor = 0x1462,
3221 .subdevice = 0x6231,
3222 .driver_data = SAA7134_BOARD_MSI_TVATANYWHERE_PLUS,
3224 .vendor = PCI_VENDOR_ID_PHILIPS,
3225 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3226 .subvendor = 0x153b,
3227 .subdevice = 0x1160,
3228 .driver_data = SAA7134_BOARD_CINERGY250PCI,
3230 .vendor = PCI_VENDOR_ID_PHILIPS,
3231 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA 7131E */
3232 .subvendor = 0x5168,
3233 .subdevice = 0x0319,
3234 .driver_data = SAA7134_BOARD_FLYDVB_TRIO,
3236 .vendor = PCI_VENDOR_ID_PHILIPS,
3237 .device = PCI_DEVICE_ID_PHILIPS_SAA7134, /* SAA 7131E */
3238 .subvendor = 0x1461,
3239 .subdevice = 0x2c05,
3240 .driver_data = SAA7134_BOARD_AVERMEDIA_777,
3242 .vendor = PCI_VENDOR_ID_PHILIPS,
3243 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3244 .subvendor = 0x5168,
3245 .subdevice = 0x0301,
3246 .driver_data = SAA7134_BOARD_FLYDVBT_LR301,
3248 .vendor = PCI_VENDOR_ID_PHILIPS,
3249 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3250 .subvendor = 0x0331,
3251 .subdevice = 0x1421,
3252 .driver_data = SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331,
3254 .vendor = PCI_VENDOR_ID_PHILIPS,
3255 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3256 .subvendor = 0x17de,
3257 .subdevice = 0x7201,
3258 .driver_data = SAA7134_BOARD_TEVION_DVBT_220RF,
3260 .vendor = PCI_VENDOR_ID_PHILIPS,
3261 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA7135HL */
3262 .subvendor = 0x17de,
3263 .subdevice = 0x7350,
3264 .driver_data = SAA7134_BOARD_KWORLD_ATSC110,
3266 /* --- boards without eeprom + subsystem ID --- */
3267 .vendor = PCI_VENDOR_ID_PHILIPS,
3268 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3269 .subvendor = PCI_VENDOR_ID_PHILIPS,
3271 .driver_data = SAA7134_BOARD_NOAUTO,
3273 .vendor = PCI_VENDOR_ID_PHILIPS,
3274 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3275 .subvendor = PCI_VENDOR_ID_PHILIPS,
3277 .driver_data = SAA7134_BOARD_NOAUTO,
3280 /* --- default catch --- */
3281 .vendor = PCI_VENDOR_ID_PHILIPS,
3282 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3283 .subvendor = PCI_ANY_ID,
3284 .subdevice = PCI_ANY_ID,
3285 .driver_data = SAA7134_BOARD_UNKNOWN,
3287 .vendor = PCI_VENDOR_ID_PHILIPS,
3288 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3289 .subvendor = PCI_ANY_ID,
3290 .subdevice = PCI_ANY_ID,
3291 .driver_data = SAA7134_BOARD_UNKNOWN,
3293 .vendor = PCI_VENDOR_ID_PHILIPS,
3294 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3295 .subvendor = PCI_ANY_ID,
3296 .subdevice = PCI_ANY_ID,
3297 .driver_data = SAA7134_BOARD_UNKNOWN,
3299 .vendor = PCI_VENDOR_ID_PHILIPS,
3300 .device = PCI_DEVICE_ID_PHILIPS_SAA7135,
3301 .subvendor = PCI_ANY_ID,
3302 .subdevice = PCI_ANY_ID,
3303 .driver_data = SAA7134_BOARD_UNKNOWN,
3305 /* --- end of list --- */
3308 MODULE_DEVICE_TABLE(pci, saa7134_pci_tbl);
3310 /* ----------------------------------------------------------- */
3311 /* flyvideo tweaks */
3314 static void board_flyvideo(struct saa7134_dev *dev)
3316 printk("%s: there are different flyvideo cards with different tuners\n"
3317 "%s: out there, you might have to use the tuner=<nr> insmod\n"
3318 "%s: option to override the default value.\n",
3319 dev->name, dev->name, dev->name);
3322 /* ----------------------------------------------------------- */
3324 int saa7134_board_init1(struct saa7134_dev *dev)
3326 /* Always print gpio, often manufacturers encode tuner type and other info. */
3327 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0);
3328 dev->gpio_value = saa_readl(SAA7134_GPIO_GPSTATUS0 >> 2);
3329 printk(KERN_INFO "%s: board init: gpio is %x\n", dev->name, dev->gpio_value);
3331 switch (dev->board) {
3332 case SAA7134_BOARD_FLYVIDEO2000:
3333 case SAA7134_BOARD_FLYVIDEO3000:
3334 dev->has_remote = SAA7134_REMOTE_GPIO;
3335 board_flyvideo(dev);
3337 case SAA7134_BOARD_FLYTVPLATINUM_MINI2:
3338 case SAA7134_BOARD_FLYTVPLATINUM_FM:
3339 case SAA7134_BOARD_CINERGY400:
3340 case SAA7134_BOARD_CINERGY600:
3341 case SAA7134_BOARD_CINERGY600_MK3:
3342 case SAA7134_BOARD_ECS_TVP3XP:
3343 case SAA7134_BOARD_ECS_TVP3XP_4CB5:
3344 case SAA7134_BOARD_MD2819:
3345 case SAA7134_BOARD_KWORLD_VSTREAM_XPERT:
3346 case SAA7134_BOARD_KWORLD_XPERT:
3347 case SAA7134_BOARD_AVERMEDIA_STUDIO_305:
3348 case SAA7134_BOARD_AVERMEDIA_305:
3349 case SAA7134_BOARD_AVERMEDIA_STUDIO_307:
3350 case SAA7134_BOARD_AVERMEDIA_307:
3351 case SAA7134_BOARD_AVERMEDIA_GO_007_FM:
3352 /* case SAA7134_BOARD_SABRENT_SBTTVFM: */ /* not finished yet */
3353 case SAA7134_BOARD_VIDEOMATE_TV_PVR:
3354 case SAA7134_BOARD_VIDEOMATE_GOLD_PLUS:
3355 case SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII:
3356 case SAA7134_BOARD_VIDEOMATE_DVBT_300:
3357 case SAA7134_BOARD_VIDEOMATE_DVBT_200:
3358 case SAA7134_BOARD_MANLI_MTV001:
3359 case SAA7134_BOARD_MANLI_MTV002:
3360 case SAA7134_BOARD_BEHOLD_409FM:
3361 case SAA7134_BOARD_AVACSSMARTTV:
3362 case SAA7134_BOARD_GOTVIEW_7135:
3363 case SAA7134_BOARD_KWORLD_TERMINATOR:
3364 case SAA7134_BOARD_SEDNA_PC_TV_CARDBUS:
3365 case SAA7134_BOARD_FLYDVBT_LR301:
3366 case SAA7134_BOARD_FLYDVBTDUO:
3367 dev->has_remote = SAA7134_REMOTE_GPIO;
3369 case SAA7134_BOARD_MD5044:
3370 printk("%s: seems there are two different versions of the MD5044\n"
3371 "%s: (with the same ID) out there. If sound doesn't work for\n"
3372 "%s: you try the audio_clock_override=0x200000 insmod option.\n",
3373 dev->name,dev->name,dev->name);
3375 case SAA7134_BOARD_CINERGY400_CARDBUS:
3376 /* power-up tuner chip */
3377 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000);
3378 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000000);
3379 case SAA7134_BOARD_PINNACLE_300I_DVBT_PAL:
3380 /* this turns the remote control chip off to work around a bug in it */
3381 saa_writeb(SAA7134_GPIO_GPMODE1, 0x80);
3382 saa_writeb(SAA7134_GPIO_GPSTATUS1, 0x80);
3384 case SAA7134_BOARD_MONSTERTV_MOBILE:
3385 /* power-up tuner chip */
3386 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000);
3387 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000004);
3389 case SAA7134_BOARD_FLYDVBT_DUO_CARDBUS:
3390 /* turn the fan on */
3391 saa_writeb(SAA7134_GPIO_GPMODE3, 0x08);
3392 saa_writeb(SAA7134_GPIO_GPSTATUS3, 0x06);
3394 case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331:
3395 saa_writeb(SAA7134_GPIO_GPMODE3, 0x08);
3396 saa_writeb(SAA7134_GPIO_GPSTATUS3, 0x00);
3398 case SAA7134_BOARD_AVERMEDIA_CARDBUS:
3399 /* power-up tuner chip */
3400 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0xffffffff, 0xffffffff);
3401 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0xffffffff);
3404 case SAA7134_BOARD_RTD_VFG7350:
3407 * Make sure Production Test Register at offset 0x1D1 is cleared
3408 * to take chip out of test mode. Clearing bit 4 (TST_EN_AOUT)
3409 * prevents pin 105 from remaining low; keeping pin 105 low
3410 * continually resets the SAA6752 chip.
3413 saa_writeb (SAA7134_PRODUCTION_TEST_MODE, 0x00);
3416 case SAA7134_BOARD_PINNACLE_PCTV_110i:
3417 case SAA7134_BOARD_UPMOST_PURPLE_TV:
3418 dev->has_remote = SAA7134_REMOTE_I2C;
3424 /* stuff which needs working i2c */
3425 int saa7134_board_init2(struct saa7134_dev *dev)
3430 switch (dev->board) {
3431 case SAA7134_BOARD_BMK_MPEX_NOTUNER:
3432 case SAA7134_BOARD_BMK_MPEX_TUNER:
3433 dev->i2c_client.addr = 0x60;
3434 board = (i2c_master_recv(&dev->i2c_client,&buf,0) < 0)
3435 ? SAA7134_BOARD_BMK_MPEX_NOTUNER
3436 : SAA7134_BOARD_BMK_MPEX_TUNER;
3437 if (board == dev->board)
3440 printk("%s: board type fixup: %s\n", dev->name,
3441 saa7134_boards[dev->board].name);
3442 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
3444 if (TUNER_ABSENT != dev->tuner_type) {
3445 struct tuner_setup tun_setup;
3447 tun_setup.mode_mask = T_RADIO | T_ANALOG_TV | T_DIGITAL_TV;
3448 tun_setup.type = dev->tuner_type;
3449 tun_setup.addr = ADDR_UNSET;
3451 saa7134_i2c_call_clients (dev, TUNER_SET_TYPE_ADDR, &tun_setup);
3454 case SAA7134_BOARD_MD7134:
3456 struct tuner_setup tun_setup;
3461 struct i2c_msg msg[] = {{.addr=0x50, .flags=0, .buf=&subaddr, .len = 1},
3462 {.addr=0x50, .flags=I2C_M_RD, .buf=data, .len = 3}};
3465 ret = i2c_transfer(&dev->i2c_adap, msg, 2);
3467 printk(KERN_ERR "EEPROM read failure\n");
3468 } else if ((data[0] != 0) && (data[0] != 0xff)) {
3469 /* old config structure */
3470 subaddr = data[0] + 2;
3472 i2c_transfer(&dev->i2c_adap, msg, 2);
3473 tuner_t = (data[0] << 8) + data[1];
3476 dev->tuner_type = TUNER_PHILIPS_PAL;
3479 dev->tuner_type = TUNER_PHILIPS_FM1216ME_MK3;
3482 printk(KERN_ERR "%s Cant determine tuner type %x from EEPROM\n", dev->name, tuner_t);
3484 } else if ((data[1] != 0) && (data[1] != 0xff)) {
3485 /* new config structure */
3486 subaddr = data[1] + 1;
3488 i2c_transfer(&dev->i2c_adap, msg, 2);
3489 subaddr = data[0] + 1;
3491 i2c_transfer(&dev->i2c_adap, msg, 2);
3492 tuner_t = (data[1] << 8) + data[0];
3495 dev->tuner_type = TUNER_PHILIPS_FM1216ME_MK3;
3498 dev->tuner_type = TUNER_PHILIPS_FMD1216ME_MK3;
3499 printk(KERN_INFO "%s Board has DVB-T\n", dev->name);
3502 printk(KERN_ERR "%s Cant determine tuner type %x from EEPROM\n", dev->name, tuner_t);
3505 printk(KERN_ERR "%s unexpected config structure\n", dev->name);
3508 printk(KERN_INFO "%s Tuner type is %d\n", dev->name, dev->tuner_type);
3509 if (dev->tuner_type == TUNER_PHILIPS_FMD1216ME_MK3) {
3510 dev->tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE | TDA9887_PORT2_ACTIVE;
3511 saa7134_i2c_call_clients(dev,TDA9887_SET_CONFIG, &dev->tda9887_conf);
3514 tun_setup.mode_mask = T_RADIO | T_ANALOG_TV | T_DIGITAL_TV;
3515 tun_setup.type = dev->tuner_type;
3516 tun_setup.addr = ADDR_UNSET;
3518 saa7134_i2c_call_clients (dev, TUNER_SET_TYPE_ADDR,&tun_setup);
3521 case SAA7134_BOARD_PHILIPS_EUROPA:
3522 case SAA7134_BOARD_VIDEOMATE_DVBT_300:
3523 /* The Philips EUROPA based hybrid boards have the tuner connected through
3524 * the channel decoder. We have to make it transparent to find it
3527 struct tuner_setup tun_setup;
3528 u8 data[] = { 0x07, 0x02};
3529 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
3530 i2c_transfer(&dev->i2c_adap, &msg, 1);
3532 tun_setup.mode_mask = T_ANALOG_TV | T_DIGITAL_TV;
3533 tun_setup.type = dev->tuner_type;
3534 tun_setup.addr = dev->tuner_addr;
3536 saa7134_i2c_call_clients (dev, TUNER_SET_TYPE_ADDR,&tun_setup);
3539 case SAA7134_BOARD_PHILIPS_TIGER:
3540 case SAA7134_BOARD_TEVION_DVBT_220RF:
3541 case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
3542 /* this is a hybrid board, initialize to analog mode
3543 * and configure firmware eeprom address
3546 u8 data[] = { 0x3c, 0x33, 0x68};
3547 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
3548 i2c_transfer(&dev->i2c_adap, &msg, 1);
3551 case SAA7134_BOARD_FLYDVB_TRIO:
3552 case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331:
3553 /* make the tda10046 find its eeprom */
3555 u8 data[] = { 0x3c, 0x33, 0x62};
3556 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
3557 i2c_transfer(&dev->i2c_adap, &msg, 1);
3560 case SAA7134_BOARD_KWORLD_ATSC110:
3564 static const u8 buffer [] = { 0x10,0x12,0x13,0x04,0x16,0x00,0x14,0x04,0x017,0x00 };
3565 dev->i2c_client.addr = 0x0a;
3566 for (i = 0; i < 5; i++)
3567 if (2 != i2c_master_send(&dev->i2c_client,&buffer[i*2],2))
3568 printk(KERN_WARNING "%s: Unable to enable tuner(%i).\n",
3576 /* ----------------------------------------------------------- */