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,
2472 .name = name_svideo,
2483 [SAA7134_BOARD_SEDNA_PC_TV_CARDBUS] = {
2484 /* Paul Tom Zalac <pzalac@gmail.com> */
2485 /* Pavel Mihaylov <bin@bash.info> */
2486 .name = "Sedna/MuchTV PC TV Cardbus TV/Radio (ITO25 Rev:2B)",
2487 /* Sedna/MuchTV (OEM) Cardbus TV Tuner */
2488 .audio_clock = 0x00187de7,
2489 .tuner_type = TUNER_PHILIPS_TDA8290,
2490 .radio_type = UNSET,
2491 .tuner_addr = ADDR_UNSET,
2492 .radio_addr = ADDR_UNSET,
2493 .gpiomask = 0xe880c0,
2504 .name = name_svideo,
2513 [SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV] = {
2514 /* "Cyril Lacoux (Yack)" <clacoux@ifeelgood.org> */
2515 .name = "ASUS Digimatrix TV",
2516 .audio_clock = 0x00200000,
2517 .tuner_type = TUNER_PHILIPS_FQ1216ME,
2518 .tda9887_conf = TDA9887_PRESENT,
2519 .radio_type = UNSET,
2520 .tuner_addr = ADDR_UNSET,
2521 .radio_addr = ADDR_UNSET,
2532 .name = name_svideo,
2537 [SAA7134_BOARD_PHILIPS_TIGER] = {
2538 .name = "Philips Tiger reference design",
2539 .audio_clock = 0x00187de7,
2540 .tuner_type = TUNER_PHILIPS_TDA8290,
2541 .radio_type = UNSET,
2542 .tuner_addr = ADDR_UNSET,
2543 .radio_addr = ADDR_UNSET,
2544 .mpeg = SAA7134_MPEG_DVB,
2545 .gpiomask = 1 << 21,
2556 .name = name_svideo,
2566 [SAA7134_BOARD_MSI_TVATANYWHERE_PLUS] = {
2567 .name = "MSI TV@Anywhere plus",
2568 .audio_clock = 0x00187de7,
2569 .tuner_type = TUNER_PHILIPS_TDA8290,
2570 .radio_type = UNSET,
2571 .tuner_addr = ADDR_UNSET,
2572 .radio_addr = ADDR_UNSET,
2583 .name = name_svideo,
2592 [SAA7134_BOARD_CINERGY250PCI] = {
2593 /* remote-control does not work. The signal about a
2594 key press comes in via gpio, but the key code
2595 doesn't. Neither does it have an i2c remote control
2597 .name = "Terratec Cinergy 250 PCI TV",
2598 .audio_clock = 0x00187de7,
2599 .tuner_type = TUNER_PHILIPS_TDA8290,
2600 .radio_type = UNSET,
2601 .tuner_addr = ADDR_UNSET,
2602 .radio_addr = ADDR_UNSET,
2603 .gpiomask = 0x80200000,
2610 .name = name_svideo, /* NOT tested */
2620 [SAA7134_BOARD_FLYDVB_TRIO] = {
2621 /* LifeView LR319 FlyDVB Trio */
2622 /* Peter Missel <peter.missel@onlinehome.de> */
2623 .name = "LifeView FlyDVB Trio",
2624 .audio_clock = 0x00200000,
2625 .tuner_type = TUNER_PHILIPS_TDA8290,
2626 .radio_type = UNSET,
2627 .tuner_addr = ADDR_UNSET,
2628 .radio_addr = ADDR_UNSET,
2629 .gpiomask = 0x00200000,
2630 .mpeg = SAA7134_MPEG_DVB,
2632 .name = name_tv, /* Analog broadcast/cable TV */
2635 .gpio = 0x200000, /* GPIO21=High for TV input */
2638 .name = name_svideo, /* S-Video signal on S-Video input */
2642 .name = name_comp1, /* Composite signal on S-Video input */
2646 .name = name_comp2, /* Composite input */
2653 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
2656 [SAA7134_BOARD_AVERMEDIA_777] = {
2657 .name = "AverTV DVB-T 777",
2658 .audio_clock = 0x00187de7,
2659 .tuner_type = TUNER_ABSENT,
2660 .radio_type = UNSET,
2661 .tuner_addr = ADDR_UNSET,
2662 .radio_addr = ADDR_UNSET,
2663 .mpeg = SAA7134_MPEG_DVB,
2669 .name = name_svideo,
2674 [SAA7134_BOARD_FLYDVBT_LR301] = {
2675 /* LifeView FlyDVB-T */
2676 /* Giampiero Giancipoli <gianci@libero.it> */
2677 .name = "LifeView FlyDVB-T / Genius VideoWonder DVB-T",
2678 .audio_clock = 0x00200000,
2679 .tuner_type = TUNER_ABSENT,
2680 .radio_type = UNSET,
2681 .tuner_addr = ADDR_UNSET,
2682 .radio_addr = ADDR_UNSET,
2683 .mpeg = SAA7134_MPEG_DVB,
2685 .name = name_comp1, /* Composite input */
2689 .name = name_svideo, /* S-Video signal on S-Video input */
2694 [SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331] = {
2695 .name = "ADS Instant TV Duo Cardbus PTV331",
2696 .audio_clock = 0x00200000,
2697 .tuner_type = TUNER_PHILIPS_TDA8290,
2698 .radio_type = UNSET,
2699 .tuner_addr = ADDR_UNSET,
2700 .radio_addr = ADDR_UNSET,
2701 .mpeg = SAA7134_MPEG_DVB,
2702 .gpiomask = 0x00600000, /* Bit 21 0=Radio, Bit 22 0=TV */
2711 [SAA7134_BOARD_TEVION_DVBT_220RF] = {
2712 .name = "Tevion/KWorld DVB-T 220RF",
2713 .audio_clock = 0x00187de7,
2714 .tuner_type = TUNER_PHILIPS_TDA8290,
2715 .radio_type = UNSET,
2716 .tuner_addr = ADDR_UNSET,
2717 .radio_addr = ADDR_UNSET,
2718 .mpeg = SAA7134_MPEG_DVB,
2729 .name = name_svideo,
2738 [SAA7134_BOARD_KWORLD_ATSC110] = {
2739 .name = "Kworld ATSC110",
2740 .audio_clock = 0x00187de7,
2741 .tuner_type = TUNER_PHILIPS_TUV1236D,
2742 .radio_type = UNSET,
2743 .tuner_addr = ADDR_UNSET,
2744 .radio_addr = ADDR_UNSET,
2745 .tda9887_conf = TDA9887_PRESENT,
2746 .mpeg = SAA7134_MPEG_DVB,
2757 .name = name_svideo,
2762 [SAA7134_BOARD_AVERMEDIA_A169_B] = {
2763 /* AVerMedia A169 */
2764 /* Rickard Osser <ricky@osser.se> */
2765 /* This card has two saa7134 chips on it,
2766 but only one of them is currently working. */
2767 .name = "AVerMedia A169 B",
2768 .audio_clock = 0x02187de7,
2769 .tuner_type = TUNER_LG_TALN,
2770 .radio_type = UNSET,
2771 .tuner_addr = ADDR_UNSET,
2772 .radio_addr = ADDR_UNSET,
2773 .tda9887_conf = TDA9887_PRESENT,
2774 .gpiomask = 0x0a60000,
2776 [SAA7134_BOARD_AVERMEDIA_A169_B1] = {
2777 /* AVerMedia A169 */
2778 /* Rickard Osser <ricky@osser.se> */
2779 .name = "AVerMedia A169 B1",
2780 .audio_clock = 0x02187de7,
2781 .tuner_type = TUNER_LG_TALN,
2782 .radio_type = UNSET,
2783 .tuner_addr = ADDR_UNSET,
2784 .radio_addr = ADDR_UNSET,
2785 .tda9887_conf = TDA9887_PRESENT,
2786 .gpiomask = 0xca60000,
2794 .name = name_comp2, /* Composite SVIDEO (B/W if signal is carried with SVIDEO) */
2798 .name = name_svideo,
2799 .vmux = 9, /* 9 is correct as S-VIDEO1 according to a169.inf! */
2803 [SAA7134_BOARD_MD7134_BRIDGE_2] = {
2804 /* This card has two saa7134 chips on it,
2805 but only one of them is currently working.
2806 The programming for the primary decoder is
2807 in SAA7134_BOARD_MD7134 */
2808 .name = "Medion 7134 Bridge #2",
2809 .audio_clock = 0x00187de7,
2810 .radio_type = UNSET,
2811 .tuner_addr = ADDR_UNSET,
2812 .radio_addr = ADDR_UNSET,
2814 [SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS] = {
2815 .name = "LifeView FlyDVB-T Hybrid Cardbus",
2816 .audio_clock = 0x00200000,
2817 .tuner_type = TUNER_PHILIPS_TDA8290,
2818 .radio_type = UNSET,
2819 .tuner_addr = ADDR_UNSET,
2820 .radio_addr = ADDR_UNSET,
2821 .mpeg = SAA7134_MPEG_DVB,
2822 .gpiomask = 0x00600000, /* Bit 21 0=Radio, Bit 22 0=TV */
2827 .gpio = 0x200000, /* GPIO21=High for TV input */
2830 .name = name_svideo, /* S-Video signal on S-Video input */
2834 .name = name_comp1, /* Composite signal on S-Video input */
2838 .name = name_comp2, /* Composite input */
2845 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
2848 [SAA7134_BOARD_FLYVIDEO3000_NTSC] = {
2849 /* "Zac Bowling" <zac@zacbowling.com> */
2850 .name = "LifeView FlyVIDEO3000 (NTSC)",
2851 .audio_clock = 0x00200000,
2852 .tuner_type = TUNER_PHILIPS_NTSC,
2853 .radio_type = UNSET,
2854 .tuner_addr = ADDR_UNSET,
2855 .radio_addr = ADDR_UNSET,
2865 .name = name_tv_mono,
2881 .name = name_svideo,
2897 [SAA7134_BOARD_MEDION_MD8800_QUADRO] = {
2898 .name = "Medion Md8800 Quadro",
2899 .audio_clock = 0x00187de7,
2900 .tuner_type = TUNER_PHILIPS_TDA8290,
2901 .radio_type = UNSET,
2902 .tuner_addr = ADDR_UNSET,
2903 .radio_addr = ADDR_UNSET,
2904 .mpeg = SAA7134_MPEG_DVB,
2915 .name = name_svideo,
2920 [SAA7134_BOARD_FLYDVBS_LR300] = {
2921 /* LifeView FlyDVB-s */
2922 /* Igor M. Liplianin <liplianin@tut.by> */
2923 .name = "LifeView FlyDVB-S /Acorp TV134DS",
2924 .audio_clock = 0x00200000,
2925 .tuner_type = TUNER_ABSENT,
2926 .radio_type = UNSET,
2927 .tuner_addr = ADDR_UNSET,
2928 .radio_addr = ADDR_UNSET,
2929 .mpeg = SAA7134_MPEG_DVB,
2931 .name = name_comp1, /* Composite input */
2935 .name = name_svideo, /* S-Video signal on S-Video input */
2940 [SAA7134_BOARD_PROTEUS_2309] = {
2941 .name = "Proteus Pro 2309",
2942 .audio_clock = 0x00187de7,
2943 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
2944 .radio_type = UNSET,
2945 .tuner_addr = ADDR_UNSET,
2946 .radio_addr = ADDR_UNSET,
2947 .tda9887_conf = TDA9887_PRESENT,
2962 .name = name_svideo,
2971 [SAA7134_BOARD_AVERMEDIA_A16AR] = {
2972 /* Petr Baudis <pasky@ucw.cz> */
2973 .name = "AVerMedia TV Hybrid A16AR",
2974 .audio_clock = 0x187de7,
2975 .tuner_type = TUNER_PHILIPS_TD1316, /* untested */
2976 .radio_type = TUNER_TEA5767, /* untested */
2977 .tuner_addr = ADDR_UNSET,
2978 .radio_addr = ADDR_UNSET,
2979 .tda9887_conf = TDA9887_PRESENT,
2980 .mpeg = SAA7134_MPEG_DVB,
2991 .name = name_svideo,
3000 [SAA7134_BOARD_ASUS_EUROPA2_HYBRID] = {
3001 .name = "Asus Europa2 OEM",
3002 .audio_clock = 0x00187de7,
3003 .tuner_type = TUNER_PHILIPS_FMD1216ME_MK3,
3004 .radio_type = UNSET,
3005 .tuner_addr = ADDR_UNSET,
3006 .radio_addr = ADDR_UNSET,
3007 .tda9887_conf = TDA9887_PRESENT| TDA9887_PORT1_ACTIVE | TDA9887_PORT2_ACTIVE,
3008 .mpeg = SAA7134_MPEG_DVB,
3019 .name = name_svideo,
3028 [SAA7134_BOARD_PINNACLE_PCTV_310i] = {
3029 .name = "Pinnacle PCTV 310i",
3030 .audio_clock = 0x00187de7,
3031 .tuner_type = TUNER_PHILIPS_TDA8290,
3032 .radio_type = UNSET,
3033 .tuner_addr = ADDR_UNSET,
3034 .radio_addr = ADDR_UNSET,
3035 .mpeg = SAA7134_MPEG_DVB,
3036 .gpiomask = 0x000200000,
3051 .name = name_svideo,
3061 [SAA7134_BOARD_AVERMEDIA_STUDIO_507] = {
3062 /* Mikhail Fedotov <mo_fedotov@mail.ru> */
3063 .name = "Avermedia AVerTV Studio 507",
3064 .audio_clock = 0x00187de7,
3065 .tuner_type = TUNER_PHILIPS_FM1256_IH3,
3066 .radio_type = UNSET,
3067 .tuner_addr = ADDR_UNSET,
3068 .radio_addr = ADDR_UNSET,
3069 .tda9887_conf = TDA9887_PRESENT,
3088 .name = name_svideo,
3104 [SAA7134_BOARD_VIDEOMATE_DVBT_200A] = {
3105 /* Francis Barber <fedora@barber-family.id.au> */
3106 .name = "Compro Videomate DVB-T200A",
3107 .audio_clock = 0x00187de7,
3108 .tuner_type = TUNER_ABSENT,
3109 .radio_type = UNSET,
3110 .tuner_addr = ADDR_UNSET,
3111 .radio_addr = ADDR_UNSET,
3112 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
3113 .mpeg = SAA7134_MPEG_DVB,
3124 .name = name_svideo,
3129 [SAA7134_BOARD_HAUPPAUGE_HVR1110] = {
3130 /* Thomas Genty <tomlohave@gmail.com> */
3131 .name = "Hauppauge WinTV-HVR1110 DVB-T/Hybrid",
3132 .audio_clock = 0x00187de7,
3133 .tuner_type = TUNER_PHILIPS_TDA8290,
3134 .radio_type = UNSET,
3135 .tuner_addr = ADDR_UNSET,
3136 .radio_addr = ADDR_UNSET,
3137 .mpeg = SAA7134_MPEG_DVB,
3146 .amux = LINE2, /* FIXME: audio doesn't work on svideo/composite */
3148 .name = name_svideo,
3150 .amux = LINE2, /* FIXME: audio doesn't work on svideo/composite */
3157 [SAA7134_BOARD_CINERGY_HT_PCMCIA] = {
3158 .name = "Terratec Cinergy HT PCMCIA",
3159 .audio_clock = 0x00187de7,
3160 .tuner_type = TUNER_PHILIPS_TDA8290,
3161 .radio_type = UNSET,
3162 .tuner_addr = ADDR_UNSET,
3163 .radio_addr = ADDR_UNSET,
3164 .mpeg = SAA7134_MPEG_DVB,
3175 .name = name_svideo,
3182 const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards);
3184 /* ------------------------------------------------------------------ */
3185 /* PCI ids + subsystem IDs */
3187 struct pci_device_id saa7134_pci_tbl[] = {
3189 .vendor = PCI_VENDOR_ID_PHILIPS,
3190 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3191 .subvendor = PCI_VENDOR_ID_PHILIPS,
3192 .subdevice = 0x2001,
3193 .driver_data = SAA7134_BOARD_PROTEUS_PRO,
3195 .vendor = PCI_VENDOR_ID_PHILIPS,
3196 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3197 .subvendor = PCI_VENDOR_ID_PHILIPS,
3198 .subdevice = 0x2001,
3199 .driver_data = SAA7134_BOARD_PROTEUS_PRO,
3201 .vendor = PCI_VENDOR_ID_PHILIPS,
3202 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3203 .subvendor = PCI_VENDOR_ID_PHILIPS,
3204 .subdevice = 0x6752,
3205 .driver_data = SAA7134_BOARD_EMPRESS,
3207 .vendor = PCI_VENDOR_ID_PHILIPS,
3208 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3209 .subvendor = 0x1131,
3210 .subdevice = 0x4e85,
3211 .driver_data = SAA7134_BOARD_MONSTERTV,
3213 .vendor = PCI_VENDOR_ID_PHILIPS,
3214 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3215 .subvendor = 0x153b,
3216 .subdevice = 0x1142,
3217 .driver_data = SAA7134_BOARD_CINERGY400,
3219 .vendor = PCI_VENDOR_ID_PHILIPS,
3220 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3221 .subvendor = 0x153b,
3222 .subdevice = 0x1143,
3223 .driver_data = SAA7134_BOARD_CINERGY600,
3225 .vendor = PCI_VENDOR_ID_PHILIPS,
3226 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3227 .subvendor = 0x153b,
3228 .subdevice = 0x1158,
3229 .driver_data = SAA7134_BOARD_CINERGY600_MK3,
3231 .vendor = PCI_VENDOR_ID_PHILIPS,
3232 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3233 .subvendor = 0x153b,
3234 .subdevice = 0x1162,
3235 .driver_data = SAA7134_BOARD_CINERGY400_CARDBUS,
3237 .vendor = PCI_VENDOR_ID_PHILIPS,
3238 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3239 .subvendor = 0x5169,
3240 .subdevice = 0x0138,
3241 .driver_data = SAA7134_BOARD_FLYVIDEO3000_NTSC,
3243 .vendor = PCI_VENDOR_ID_PHILIPS,
3244 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3245 .subvendor = 0x5168,
3246 .subdevice = 0x0138,
3247 .driver_data = SAA7134_BOARD_FLYVIDEO3000,
3249 .vendor = PCI_VENDOR_ID_PHILIPS,
3250 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3251 .subvendor = 0x4e42, /* "Typhoon PCI Capture TV Card" Art.No. 50673 */
3252 .subdevice = 0x0138,
3253 .driver_data = SAA7134_BOARD_FLYVIDEO3000,
3255 .vendor = PCI_VENDOR_ID_PHILIPS,
3256 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3257 .subvendor = 0x5168,
3258 .subdevice = 0x0138,
3259 .driver_data = SAA7134_BOARD_FLYVIDEO2000,
3261 .vendor = PCI_VENDOR_ID_PHILIPS,
3262 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3263 .subvendor = 0x4e42, /* Typhoon */
3264 .subdevice = 0x0138, /* LifeView FlyTV Prime30 OEM */
3265 .driver_data = SAA7134_BOARD_FLYVIDEO2000,
3267 .vendor = PCI_VENDOR_ID_PHILIPS,
3268 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3269 .subvendor = 0x5168,
3270 .subdevice = 0x0212, /* minipci, LR212 */
3271 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
3273 .vendor = PCI_VENDOR_ID_PHILIPS,
3274 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3275 .subvendor = 0x14c0,
3276 .subdevice = 0x1212, /* minipci, LR1212 */
3277 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI2,
3279 .vendor = PCI_VENDOR_ID_PHILIPS,
3280 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3281 .subvendor = 0x4e42,
3282 .subdevice = 0x0212, /* OEM minipci, LR212 */
3283 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
3285 .vendor = PCI_VENDOR_ID_PHILIPS,
3286 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3287 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
3288 .subdevice = 0x0214, /* Standard PCI, LR214WF */
3289 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
3291 .vendor = PCI_VENDOR_ID_PHILIPS,
3292 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3293 .subvendor = 0x1489, /* KYE */
3294 .subdevice = 0x0214, /* Genius VideoWonder ProTV */
3295 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM, /* is an LR214WF actually */
3297 .vendor = PCI_VENDOR_ID_PHILIPS,
3298 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3299 .subvendor = 0x16be,
3300 .subdevice = 0x0003,
3301 .driver_data = SAA7134_BOARD_MD7134,
3303 .vendor = PCI_VENDOR_ID_PHILIPS,
3304 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3305 .subvendor = 0x1048,
3306 .subdevice = 0x226b,
3307 .driver_data = SAA7134_BOARD_ELSA,
3309 .vendor = PCI_VENDOR_ID_PHILIPS,
3310 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3311 .subvendor = 0x1048,
3312 .subdevice = 0x226a,
3313 .driver_data = SAA7134_BOARD_ELSA_500TV,
3315 .vendor = PCI_VENDOR_ID_PHILIPS,
3316 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3317 .subvendor = 0x1048,
3318 .subdevice = 0x226c,
3319 .driver_data = SAA7134_BOARD_ELSA_700TV,
3321 .vendor = PCI_VENDOR_ID_PHILIPS,
3322 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3323 .subvendor = PCI_VENDOR_ID_ASUSTEK,
3324 .subdevice = 0x4842,
3325 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
3327 .vendor = PCI_VENDOR_ID_PHILIPS,
3328 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3329 .subvendor = PCI_VENDOR_ID_ASUSTEK,
3330 .subdevice = 0x4845,
3331 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7135,
3333 .vendor = PCI_VENDOR_ID_PHILIPS,
3334 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3335 .subvendor = PCI_VENDOR_ID_ASUSTEK,
3336 .subdevice = 0x4830,
3337 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
3339 .vendor = PCI_VENDOR_ID_PHILIPS,
3340 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3341 .subvendor = PCI_VENDOR_ID_ASUSTEK,
3342 .subdevice = 0x4843,
3343 .driver_data = SAA7134_BOARD_ASUSTEK_TVFM7133,
3345 .vendor = PCI_VENDOR_ID_PHILIPS,
3346 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3347 .subvendor = PCI_VENDOR_ID_ASUSTEK,
3348 .subdevice = 0x4840,
3349 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
3351 .vendor = PCI_VENDOR_ID_PHILIPS,
3352 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3353 .subvendor = PCI_VENDOR_ID_PHILIPS,
3354 .subdevice = 0xfe01,
3355 .driver_data = SAA7134_BOARD_TVSTATION_RDS,
3357 .vendor = PCI_VENDOR_ID_PHILIPS,
3358 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3359 .subvendor = 0x1894,
3360 .subdevice = 0xfe01,
3361 .driver_data = SAA7134_BOARD_TVSTATION_RDS,
3363 .vendor = PCI_VENDOR_ID_PHILIPS,
3364 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3365 .subvendor = 0x1894,
3366 .subdevice = 0xa006,
3367 .driver_data = SAA7134_BOARD_TVSTATION_DVR,
3369 .vendor = PCI_VENDOR_ID_PHILIPS,
3370 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3371 .subvendor = 0x1131,
3372 .subdevice = 0x7133,
3373 .driver_data = SAA7134_BOARD_VA1000POWER,
3375 .vendor = PCI_VENDOR_ID_PHILIPS,
3376 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3377 .subvendor = PCI_VENDOR_ID_PHILIPS,
3378 .subdevice = 0x2001,
3379 .driver_data = SAA7134_BOARD_10MOONSTVMASTER,
3381 .vendor = PCI_VENDOR_ID_PHILIPS,
3382 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3383 .subvendor = 0x185b,
3384 .subdevice = 0xc100,
3385 .driver_data = SAA7134_BOARD_VIDEOMATE_TV,
3387 .vendor = PCI_VENDOR_ID_PHILIPS,
3388 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3389 .subvendor = 0x185b,
3390 .subdevice = 0xc100,
3391 .driver_data = SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS,
3393 .vendor = PCI_VENDOR_ID_PHILIPS,
3394 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3395 .subvendor = PCI_VENDOR_ID_MATROX,
3396 .subdevice = 0x48d0,
3397 .driver_data = SAA7134_BOARD_CRONOS_PLUS,
3399 .vendor = PCI_VENDOR_ID_PHILIPS,
3400 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3401 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3402 .subdevice = 0xa70b,
3403 .driver_data = SAA7134_BOARD_MD2819,
3405 .vendor = PCI_VENDOR_ID_PHILIPS,
3406 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3407 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3408 .subdevice = 0x2115,
3409 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_305,
3411 .vendor = PCI_VENDOR_ID_PHILIPS,
3412 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3413 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3414 .subdevice = 0x2108,
3415 .driver_data = SAA7134_BOARD_AVERMEDIA_305,
3417 .vendor = PCI_VENDOR_ID_PHILIPS,
3418 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3419 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3420 .subdevice = 0x10ff,
3421 .driver_data = SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER,
3423 /* AVerMedia CardBus */
3424 .vendor = PCI_VENDOR_ID_PHILIPS,
3425 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3426 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3427 .subdevice = 0xd6ee,
3428 .driver_data = SAA7134_BOARD_AVERMEDIA_CARDBUS,
3430 /* TransGear 3000TV */
3431 .vendor = PCI_VENDOR_ID_PHILIPS,
3432 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3433 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3434 .subdevice = 0x050c,
3435 .driver_data = SAA7134_BOARD_TG3000TV,
3437 .vendor = PCI_VENDOR_ID_PHILIPS,
3438 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3439 .subvendor = 0x11bd,
3440 .subdevice = 0x002b,
3441 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_STEREO,
3443 .vendor = PCI_VENDOR_ID_PHILIPS,
3444 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3445 .subvendor = 0x11bd,
3446 .subdevice = 0x002d,
3447 .driver_data = SAA7134_BOARD_PINNACLE_300I_DVBT_PAL,
3449 .vendor = PCI_VENDOR_ID_PHILIPS,
3450 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3451 .subvendor = 0x1019,
3452 .subdevice = 0x4cb4,
3453 .driver_data = SAA7134_BOARD_ECS_TVP3XP,
3455 .vendor = PCI_VENDOR_ID_PHILIPS,
3456 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3457 .subvendor = 0x1019,
3458 .subdevice = 0x4cb5,
3459 .driver_data = SAA7134_BOARD_ECS_TVP3XP_4CB5,
3461 .vendor = PCI_VENDOR_ID_PHILIPS,
3462 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3463 .subvendor = 0x12ab,
3464 .subdevice = 0x0800,
3465 .driver_data = SAA7134_BOARD_UPMOST_PURPLE_TV,
3467 .vendor = PCI_VENDOR_ID_PHILIPS,
3468 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3469 .subvendor = 0x153b,
3470 .subdevice = 0x1152,
3471 .driver_data = SAA7134_BOARD_CINERGY200,
3473 .vendor = PCI_VENDOR_ID_PHILIPS,
3474 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3475 .subvendor = 0x185b,
3476 .subdevice = 0xc100,
3477 .driver_data = SAA7134_BOARD_VIDEOMATE_TV_PVR,
3479 .vendor = PCI_VENDOR_ID_PHILIPS,
3480 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3481 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3482 .subdevice = 0x9715,
3483 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_307,
3485 .vendor = PCI_VENDOR_ID_PHILIPS,
3486 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3487 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3488 .subdevice = 0xa70a,
3489 .driver_data = SAA7134_BOARD_AVERMEDIA_307,
3491 .vendor = PCI_VENDOR_ID_PHILIPS,
3492 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3493 .subvendor = 0x185b,
3494 .subdevice = 0xc200,
3495 .driver_data = SAA7134_BOARD_VIDEOMATE_GOLD_PLUS,
3497 .vendor = PCI_VENDOR_ID_PHILIPS,
3498 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3499 .subvendor = 0x1540,
3500 .subdevice = 0x9524,
3501 .driver_data = SAA7134_BOARD_PROVIDEO_PV952,
3504 .vendor = PCI_VENDOR_ID_PHILIPS,
3505 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3506 .subvendor = 0x5168,
3507 .subdevice = 0x0502, /* Cardbus version */
3508 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
3510 .vendor = PCI_VENDOR_ID_PHILIPS,
3511 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3512 .subvendor = 0x5168,
3513 .subdevice = 0x0306, /* PCI version */
3514 .driver_data = SAA7134_BOARD_FLYDVBTDUO,
3516 .vendor = PCI_VENDOR_ID_PHILIPS,
3517 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3518 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3519 .subdevice = 0xf31f,
3520 .driver_data = SAA7134_BOARD_AVERMEDIA_GO_007_FM,
3523 .vendor = PCI_VENDOR_ID_PHILIPS,
3524 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3525 .subvendor = PCI_VENDOR_ID_PHILIPS,
3526 .subdevice = 0x2004,
3527 .driver_data = SAA7134_BOARD_PHILIPS_TOUGH,
3529 .vendor = PCI_VENDOR_ID_PHILIPS,
3530 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3531 .subvendor = 0x1421,
3532 .subdevice = 0x0350, /* PCI version */
3533 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
3535 .vendor = PCI_VENDOR_ID_PHILIPS,
3536 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3537 .subvendor = 0x1421,
3538 .subdevice = 0x0351, /* PCI version, new revision */
3539 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
3541 .vendor = PCI_VENDOR_ID_PHILIPS,
3542 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3543 .subvendor = 0x1421,
3544 .subdevice = 0x0370, /* cardbus version */
3545 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
3547 .vendor = PCI_VENDOR_ID_PHILIPS,
3548 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3549 .subvendor = 0x1421,
3550 .subdevice = 0x1370, /* cardbus version */
3551 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
3554 .vendor = PCI_VENDOR_ID_PHILIPS,
3555 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3556 .subvendor = 0x4e42, /* Typhoon */
3557 .subdevice = 0x0502, /* LifeView LR502 OEM */
3558 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
3560 .vendor = PCI_VENDOR_ID_PHILIPS,
3561 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3562 .subvendor = 0x1043,
3563 .subdevice = 0x0210, /* mini pci NTSC version */
3564 .driver_data = SAA7134_BOARD_FLYTV_DIGIMATRIX,
3566 .vendor = PCI_VENDOR_ID_PHILIPS,
3567 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3568 .subvendor = 0x1043,
3569 .subdevice = 0x0210, /* mini pci PAL/SECAM version */
3570 .driver_data = SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV,
3573 .vendor = PCI_VENDOR_ID_PHILIPS,
3574 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3575 .subvendor = 0x0000, /* It shouldn't break anything, since subdevice id seems unique */
3576 .subdevice = 0x4091,
3577 .driver_data = SAA7134_BOARD_BEHOLD_409FM,
3579 .vendor = PCI_VENDOR_ID_PHILIPS,
3580 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3581 .subvendor = 0x5456, /* GoTView */
3582 .subdevice = 0x7135,
3583 .driver_data = SAA7134_BOARD_GOTVIEW_7135,
3585 .vendor = PCI_VENDOR_ID_PHILIPS,
3586 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3587 .subvendor = PCI_VENDOR_ID_PHILIPS,
3588 .subdevice = 0x2004,
3589 .driver_data = SAA7134_BOARD_PHILIPS_EUROPA,
3591 .vendor = PCI_VENDOR_ID_PHILIPS,
3592 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3593 .subvendor = 0x185b,
3594 .subdevice = 0xc900,
3595 .driver_data = SAA7134_BOARD_VIDEOMATE_DVBT_300,
3597 .vendor = PCI_VENDOR_ID_PHILIPS,
3598 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3599 .subvendor = 0x185b,
3600 .subdevice = 0xc901,
3601 .driver_data = SAA7134_BOARD_VIDEOMATE_DVBT_200,
3603 .vendor = PCI_VENDOR_ID_PHILIPS,
3604 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3605 .subvendor = 0x1435,
3606 .subdevice = 0x7350,
3607 .driver_data = SAA7134_BOARD_RTD_VFG7350,
3609 .vendor = PCI_VENDOR_ID_PHILIPS,
3610 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3611 .subvendor = 0x1435,
3612 .subdevice = 0x7330,
3613 .driver_data = SAA7134_BOARD_RTD_VFG7330,
3615 .vendor = PCI_VENDOR_ID_PHILIPS,
3616 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3617 .subvendor = 0x1461,
3618 .subdevice = 0x1044,
3619 .driver_data = SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180,
3621 .vendor = PCI_VENDOR_ID_PHILIPS,
3622 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3623 .subvendor = 0x1131,
3624 .subdevice = 0x4ee9,
3625 .driver_data = SAA7134_BOARD_MONSTERTV_MOBILE,
3627 .vendor = PCI_VENDOR_ID_PHILIPS,
3628 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3629 .subvendor = 0x11bd,
3630 .subdevice = 0x002e,
3631 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_110i,
3633 .vendor = PCI_VENDOR_ID_PHILIPS,
3634 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3635 .subvendor = 0x1043,
3636 .subdevice = 0x4862,
3637 .driver_data = SAA7134_BOARD_ASUSTeK_P7131_DUAL,
3639 .vendor = PCI_VENDOR_ID_PHILIPS,
3640 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3641 .subvendor = PCI_VENDOR_ID_PHILIPS,
3642 .subdevice = 0x2018,
3643 .driver_data = SAA7134_BOARD_PHILIPS_TIGER,
3645 .vendor = PCI_VENDOR_ID_PHILIPS,
3646 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3647 .subvendor = 0x1462,
3648 .subdevice = 0x6231,
3649 .driver_data = SAA7134_BOARD_MSI_TVATANYWHERE_PLUS,
3651 .vendor = PCI_VENDOR_ID_PHILIPS,
3652 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3653 .subvendor = 0x153b,
3654 .subdevice = 0x1160,
3655 .driver_data = SAA7134_BOARD_CINERGY250PCI,
3657 .vendor = PCI_VENDOR_ID_PHILIPS,
3658 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA 7131E */
3659 .subvendor = 0x5168,
3660 .subdevice = 0x0319,
3661 .driver_data = SAA7134_BOARD_FLYDVB_TRIO,
3663 .vendor = PCI_VENDOR_ID_PHILIPS,
3664 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3665 .subvendor = 0x1461,
3666 .subdevice = 0x2c05,
3667 .driver_data = SAA7134_BOARD_AVERMEDIA_777,
3669 .vendor = PCI_VENDOR_ID_PHILIPS,
3670 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3671 .subvendor = 0x5168,
3672 .subdevice = 0x0301,
3673 .driver_data = SAA7134_BOARD_FLYDVBT_LR301,
3675 .vendor = PCI_VENDOR_ID_PHILIPS,
3676 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3677 .subvendor = 0x0331,
3678 .subdevice = 0x1421,
3679 .driver_data = SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331,
3681 .vendor = PCI_VENDOR_ID_PHILIPS,
3682 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3683 .subvendor = 0x17de,
3684 .subdevice = 0x7201,
3685 .driver_data = SAA7134_BOARD_TEVION_DVBT_220RF,
3687 .vendor = PCI_VENDOR_ID_PHILIPS,
3688 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA7135HL */
3689 .subvendor = 0x17de,
3690 .subdevice = 0x7350,
3691 .driver_data = SAA7134_BOARD_KWORLD_ATSC110,
3693 .vendor = PCI_VENDOR_ID_PHILIPS,
3694 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3695 .subvendor = 0x1461,
3696 .subdevice = 0x7360,
3697 .driver_data = SAA7134_BOARD_AVERMEDIA_A169_B,
3699 .vendor = PCI_VENDOR_ID_PHILIPS,
3700 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3701 .subvendor = 0x1461,
3702 .subdevice = 0x6360,
3703 .driver_data = SAA7134_BOARD_AVERMEDIA_A169_B1,
3705 .vendor = PCI_VENDOR_ID_PHILIPS,
3706 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3707 .subvendor = 0x16be,
3708 .subdevice = 0x0005,
3709 .driver_data = SAA7134_BOARD_MD7134_BRIDGE_2,
3711 .vendor = PCI_VENDOR_ID_PHILIPS,
3712 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3713 .subvendor = 0x5168,
3714 .subdevice = 0x0300,
3715 .driver_data = SAA7134_BOARD_FLYDVBS_LR300,
3717 .vendor = PCI_VENDOR_ID_PHILIPS,
3718 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3719 .subvendor = 0x4e42,
3720 .subdevice = 0x0300,/* LR300 */
3721 .driver_data = SAA7134_BOARD_FLYDVBS_LR300,
3723 .vendor = PCI_VENDOR_ID_PHILIPS,
3724 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3725 .subvendor = 0x1489,
3726 .subdevice = 0x0301,
3727 .driver_data = SAA7134_BOARD_FLYDVBT_LR301,
3729 .vendor = PCI_VENDOR_ID_PHILIPS,
3730 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3731 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
3732 .subdevice = 0x0304,
3733 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
3735 .vendor = PCI_VENDOR_ID_PHILIPS,
3736 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3737 .subvendor = 0x5168,
3738 .subdevice = 0x3306,
3739 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
3741 .vendor = PCI_VENDOR_ID_PHILIPS,
3742 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3743 .subvendor = 0x5168,
3744 .subdevice = 0x3502, /* whats the difference to 0x3306 ?*/
3745 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
3747 .vendor = PCI_VENDOR_ID_PHILIPS,
3748 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3749 .subvendor = 0x16be,
3750 .subdevice = 0x0007,
3751 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
3753 .vendor = PCI_VENDOR_ID_PHILIPS,
3754 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3755 .subvendor = 0x16be,
3756 .subdevice = 0x0008,
3757 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
3759 .vendor = PCI_VENDOR_ID_PHILIPS,
3760 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3761 .subvendor = 0x1461,
3762 .subdevice = 0x2c05,
3763 .driver_data = SAA7134_BOARD_AVERMEDIA_777,
3765 .vendor = PCI_VENDOR_ID_PHILIPS,
3766 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3767 .subvendor = 0x1489,
3768 .subdevice = 0x0502, /* Cardbus version */
3769 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
3771 .vendor = PCI_VENDOR_ID_PHILIPS,
3772 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3773 .subvendor = 0x0919, /* Philips Proteus PRO 2309 */
3774 .subdevice = 0x2003,
3775 .driver_data = SAA7134_BOARD_PROTEUS_2309,
3777 .vendor = PCI_VENDOR_ID_PHILIPS,
3778 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3779 .subvendor = 0x1461,
3780 .subdevice = 0x2c00,
3781 .driver_data = SAA7134_BOARD_AVERMEDIA_A16AR,
3783 .vendor = PCI_VENDOR_ID_PHILIPS,
3784 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3785 .subvendor = 0x1043,
3786 .subdevice = 0x4860,
3787 .driver_data = SAA7134_BOARD_ASUS_EUROPA2_HYBRID,
3789 .vendor = PCI_VENDOR_ID_PHILIPS,
3790 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3791 .subvendor = 0x11bd,
3792 .subdevice = 0x002f,
3793 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_310i,
3795 .vendor = PCI_VENDOR_ID_PHILIPS,
3796 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3797 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3798 .subdevice = 0x9715,
3799 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_507,
3801 .vendor = PCI_VENDOR_ID_PHILIPS,
3802 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3803 .subvendor = 0x1043,
3804 .subdevice = 0x4876,
3805 .driver_data = SAA7134_BOARD_ASUSTeK_P7131_DUAL,
3807 .vendor = PCI_VENDOR_ID_PHILIPS,
3808 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3809 .subvendor = 0x0070,
3810 .subdevice = 0x6701,
3811 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
3813 .vendor = PCI_VENDOR_ID_PHILIPS,
3814 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3815 .subvendor = 0x153b,
3816 .subdevice = 0x1172,
3817 .driver_data = SAA7134_BOARD_CINERGY_HT_PCMCIA,
3819 /* --- boards without eeprom + subsystem ID --- */
3820 .vendor = PCI_VENDOR_ID_PHILIPS,
3821 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3822 .subvendor = PCI_VENDOR_ID_PHILIPS,
3824 .driver_data = SAA7134_BOARD_NOAUTO,
3826 .vendor = PCI_VENDOR_ID_PHILIPS,
3827 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3828 .subvendor = PCI_VENDOR_ID_PHILIPS,
3830 .driver_data = SAA7134_BOARD_NOAUTO,
3833 /* --- default catch --- */
3834 .vendor = PCI_VENDOR_ID_PHILIPS,
3835 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3836 .subvendor = PCI_ANY_ID,
3837 .subdevice = PCI_ANY_ID,
3838 .driver_data = SAA7134_BOARD_UNKNOWN,
3840 .vendor = PCI_VENDOR_ID_PHILIPS,
3841 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3842 .subvendor = PCI_ANY_ID,
3843 .subdevice = PCI_ANY_ID,
3844 .driver_data = SAA7134_BOARD_UNKNOWN,
3846 .vendor = PCI_VENDOR_ID_PHILIPS,
3847 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3848 .subvendor = PCI_ANY_ID,
3849 .subdevice = PCI_ANY_ID,
3850 .driver_data = SAA7134_BOARD_UNKNOWN,
3852 .vendor = PCI_VENDOR_ID_PHILIPS,
3853 .device = PCI_DEVICE_ID_PHILIPS_SAA7135,
3854 .subvendor = PCI_ANY_ID,
3855 .subdevice = PCI_ANY_ID,
3856 .driver_data = SAA7134_BOARD_UNKNOWN,
3858 /* --- end of list --- */
3861 MODULE_DEVICE_TABLE(pci, saa7134_pci_tbl);
3863 /* ----------------------------------------------------------- */
3864 /* flyvideo tweaks */
3867 static void board_flyvideo(struct saa7134_dev *dev)
3869 printk("%s: there are different flyvideo cards with different tuners\n"
3870 "%s: out there, you might have to use the tuner=<nr> insmod\n"
3871 "%s: option to override the default value.\n",
3872 dev->name, dev->name, dev->name);
3875 /* ----------------------------------------------------------- */
3877 int saa7134_board_init1(struct saa7134_dev *dev)
3879 /* Always print gpio, often manufacturers encode tuner type and other info. */
3880 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0);
3881 dev->gpio_value = saa_readl(SAA7134_GPIO_GPSTATUS0 >> 2);
3882 printk(KERN_INFO "%s: board init: gpio is %x\n", dev->name, dev->gpio_value);
3884 switch (dev->board) {
3885 case SAA7134_BOARD_FLYVIDEO2000:
3886 case SAA7134_BOARD_FLYVIDEO3000:
3887 case SAA7134_BOARD_FLYVIDEO3000_NTSC:
3888 dev->has_remote = SAA7134_REMOTE_GPIO;
3889 board_flyvideo(dev);
3891 case SAA7134_BOARD_FLYTVPLATINUM_MINI2:
3892 case SAA7134_BOARD_FLYTVPLATINUM_FM:
3893 case SAA7134_BOARD_CINERGY400:
3894 case SAA7134_BOARD_CINERGY600:
3895 case SAA7134_BOARD_CINERGY600_MK3:
3896 case SAA7134_BOARD_ECS_TVP3XP:
3897 case SAA7134_BOARD_ECS_TVP3XP_4CB5:
3898 case SAA7134_BOARD_MD2819:
3899 case SAA7134_BOARD_KWORLD_VSTREAM_XPERT:
3900 case SAA7134_BOARD_KWORLD_XPERT:
3901 case SAA7134_BOARD_AVERMEDIA_STUDIO_305:
3902 case SAA7134_BOARD_AVERMEDIA_305:
3903 case SAA7134_BOARD_AVERMEDIA_STUDIO_307:
3904 case SAA7134_BOARD_AVERMEDIA_307:
3905 case SAA7134_BOARD_AVERMEDIA_STUDIO_507:
3906 case SAA7134_BOARD_AVERMEDIA_GO_007_FM:
3907 case SAA7134_BOARD_AVERMEDIA_777:
3908 /* case SAA7134_BOARD_SABRENT_SBTTVFM: */ /* not finished yet */
3909 case SAA7134_BOARD_VIDEOMATE_TV_PVR:
3910 case SAA7134_BOARD_VIDEOMATE_GOLD_PLUS:
3911 case SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII:
3912 case SAA7134_BOARD_VIDEOMATE_DVBT_300:
3913 case SAA7134_BOARD_VIDEOMATE_DVBT_200:
3914 case SAA7134_BOARD_VIDEOMATE_DVBT_200A:
3915 case SAA7134_BOARD_MANLI_MTV001:
3916 case SAA7134_BOARD_MANLI_MTV002:
3917 case SAA7134_BOARD_BEHOLD_409FM:
3918 case SAA7134_BOARD_AVACSSMARTTV:
3919 case SAA7134_BOARD_GOTVIEW_7135:
3920 case SAA7134_BOARD_KWORLD_TERMINATOR:
3921 case SAA7134_BOARD_SEDNA_PC_TV_CARDBUS:
3922 case SAA7134_BOARD_FLYDVBT_LR301:
3923 case SAA7134_BOARD_FLYDVBTDUO:
3924 case SAA7134_BOARD_PROTEUS_2309:
3925 case SAA7134_BOARD_AVERMEDIA_A16AR:
3926 dev->has_remote = SAA7134_REMOTE_GPIO;
3928 case SAA7134_BOARD_FLYDVBS_LR300:
3929 saa_writeb(SAA7134_GPIO_GPMODE3, 0x80);
3930 saa_writeb(SAA7134_GPIO_GPSTATUS2, 0x40);
3931 dev->has_remote = SAA7134_REMOTE_GPIO;
3933 case SAA7134_BOARD_MD5044:
3934 printk("%s: seems there are two different versions of the MD5044\n"
3935 "%s: (with the same ID) out there. If sound doesn't work for\n"
3936 "%s: you try the audio_clock_override=0x200000 insmod option.\n",
3937 dev->name,dev->name,dev->name);
3939 case SAA7134_BOARD_CINERGY400_CARDBUS:
3940 /* power-up tuner chip */
3941 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000);
3942 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000000);
3944 case SAA7134_BOARD_PINNACLE_300I_DVBT_PAL:
3945 /* this turns the remote control chip off to work around a bug in it */
3946 saa_writeb(SAA7134_GPIO_GPMODE1, 0x80);
3947 saa_writeb(SAA7134_GPIO_GPSTATUS1, 0x80);
3949 case SAA7134_BOARD_MONSTERTV_MOBILE:
3950 /* power-up tuner chip */
3951 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000);
3952 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000004);
3954 case SAA7134_BOARD_FLYDVBT_DUO_CARDBUS:
3955 /* turn the fan on */
3956 saa_writeb(SAA7134_GPIO_GPMODE3, 0x08);
3957 saa_writeb(SAA7134_GPIO_GPSTATUS3, 0x06);
3959 case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331:
3960 case SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS:
3961 saa_writeb(SAA7134_GPIO_GPMODE3, 0x08);
3962 saa_writeb(SAA7134_GPIO_GPSTATUS3, 0x00);
3964 case SAA7134_BOARD_AVERMEDIA_CARDBUS:
3965 /* power-up tuner chip */
3966 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0xffffffff, 0xffffffff);
3967 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0xffffffff);
3970 case SAA7134_BOARD_RTD_VFG7350:
3973 * Make sure Production Test Register at offset 0x1D1 is cleared
3974 * to take chip out of test mode. Clearing bit 4 (TST_EN_AOUT)
3975 * prevents pin 105 from remaining low; keeping pin 105 low
3976 * continually resets the SAA6752 chip.
3979 saa_writeb (SAA7134_PRODUCTION_TEST_MODE, 0x00);
3982 case SAA7134_BOARD_PINNACLE_PCTV_110i:
3983 case SAA7134_BOARD_PINNACLE_PCTV_310i:
3984 case SAA7134_BOARD_UPMOST_PURPLE_TV:
3985 case SAA7134_BOARD_HAUPPAUGE_HVR1110:
3986 dev->has_remote = SAA7134_REMOTE_I2C;
3988 case SAA7134_BOARD_AVERMEDIA_A169_B:
3989 case SAA7134_BOARD_MD7134_BRIDGE_2:
3990 printk("%s: %s: dual saa713x broadcast decoders\n"
3991 "%s: Sorry, none of the inputs to this chip are supported yet.\n"
3992 "%s: Dual decoder functionality is disabled for now, use the other chip.\n",
3993 dev->name,card(dev).name,dev->name,dev->name);
3999 /* stuff which needs working i2c */
4000 int saa7134_board_init2(struct saa7134_dev *dev)
4005 switch (dev->board) {
4006 case SAA7134_BOARD_BMK_MPEX_NOTUNER:
4007 case SAA7134_BOARD_BMK_MPEX_TUNER:
4008 dev->i2c_client.addr = 0x60;
4009 board = (i2c_master_recv(&dev->i2c_client,&buf,0) < 0)
4010 ? SAA7134_BOARD_BMK_MPEX_NOTUNER
4011 : SAA7134_BOARD_BMK_MPEX_TUNER;
4012 if (board == dev->board)
4015 printk("%s: board type fixup: %s\n", dev->name,
4016 saa7134_boards[dev->board].name);
4017 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
4019 if (TUNER_ABSENT != dev->tuner_type) {
4020 struct tuner_setup tun_setup;
4022 tun_setup.mode_mask = T_RADIO | T_ANALOG_TV | T_DIGITAL_TV;
4023 tun_setup.type = dev->tuner_type;
4024 tun_setup.addr = ADDR_UNSET;
4026 saa7134_i2c_call_clients (dev, TUNER_SET_TYPE_ADDR, &tun_setup);
4029 case SAA7134_BOARD_MD7134:
4031 struct tuner_setup tun_setup;
4036 struct i2c_msg msg[] = {{.addr=0x50, .flags=0, .buf=&subaddr, .len = 1},
4037 {.addr=0x50, .flags=I2C_M_RD, .buf=data, .len = 3}};
4040 ret = i2c_transfer(&dev->i2c_adap, msg, 2);
4042 printk(KERN_ERR "EEPROM read failure\n");
4043 } else if ((data[0] != 0) && (data[0] != 0xff)) {
4044 /* old config structure */
4045 subaddr = data[0] + 2;
4047 i2c_transfer(&dev->i2c_adap, msg, 2);
4048 tuner_t = (data[0] << 8) + data[1];
4051 dev->tuner_type = TUNER_PHILIPS_PAL;
4054 dev->tuner_type = TUNER_PHILIPS_FM1216ME_MK3;
4057 printk(KERN_ERR "%s Cant determine tuner type %x from EEPROM\n", dev->name, tuner_t);
4059 } else if ((data[1] != 0) && (data[1] != 0xff)) {
4060 /* new config structure */
4061 subaddr = data[1] + 1;
4063 i2c_transfer(&dev->i2c_adap, msg, 2);
4064 subaddr = data[0] + 1;
4066 i2c_transfer(&dev->i2c_adap, msg, 2);
4067 tuner_t = (data[1] << 8) + data[0];
4070 dev->tuner_type = TUNER_PHILIPS_FM1216ME_MK3;
4073 dev->tuner_type = TUNER_PHILIPS_FMD1216ME_MK3;
4074 printk(KERN_INFO "%s Board has DVB-T\n", dev->name);
4077 printk(KERN_ERR "%s Cant determine tuner type %x from EEPROM\n", dev->name, tuner_t);
4080 printk(KERN_ERR "%s unexpected config structure\n", dev->name);
4083 printk(KERN_INFO "%s Tuner type is %d\n", dev->name, dev->tuner_type);
4084 if (dev->tuner_type == TUNER_PHILIPS_FMD1216ME_MK3) {
4085 dev->tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE | TDA9887_PORT2_ACTIVE;
4086 saa7134_i2c_call_clients(dev,TDA9887_SET_CONFIG, &dev->tda9887_conf);
4089 tun_setup.mode_mask = T_RADIO | T_ANALOG_TV | T_DIGITAL_TV;
4090 tun_setup.type = dev->tuner_type;
4091 tun_setup.addr = ADDR_UNSET;
4093 saa7134_i2c_call_clients (dev, TUNER_SET_TYPE_ADDR,&tun_setup);
4096 case SAA7134_BOARD_PHILIPS_EUROPA:
4097 case SAA7134_BOARD_VIDEOMATE_DVBT_300:
4098 case SAA7134_BOARD_ASUS_EUROPA2_HYBRID:
4099 /* The Philips EUROPA based hybrid boards have the tuner connected through
4100 * the channel decoder. We have to make it transparent to find it
4103 struct tuner_setup tun_setup;
4104 u8 data[] = { 0x07, 0x02};
4105 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
4106 i2c_transfer(&dev->i2c_adap, &msg, 1);
4108 tun_setup.mode_mask = T_ANALOG_TV | T_DIGITAL_TV;
4109 tun_setup.type = dev->tuner_type;
4110 tun_setup.addr = dev->tuner_addr;
4112 saa7134_i2c_call_clients (dev, TUNER_SET_TYPE_ADDR,&tun_setup);
4115 case SAA7134_BOARD_PHILIPS_TIGER:
4116 case SAA7134_BOARD_PINNACLE_PCTV_310i:
4117 case SAA7134_BOARD_TEVION_DVBT_220RF:
4118 case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
4119 case SAA7134_BOARD_MEDION_MD8800_QUADRO:
4120 case SAA7134_BOARD_HAUPPAUGE_HVR1110:
4121 /* this is a hybrid board, initialize to analog mode
4122 * and configure firmware eeprom address
4125 u8 data[] = { 0x3c, 0x33, 0x68};
4126 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
4127 i2c_transfer(&dev->i2c_adap, &msg, 1);
4130 case SAA7134_BOARD_FLYDVB_TRIO:
4132 u8 data[] = { 0x3c, 0x33, 0x62};
4133 struct i2c_msg msg = {.addr=0x09, .flags=0, .buf=data, .len = sizeof(data)};
4134 i2c_transfer(&dev->i2c_adap, &msg, 1);
4137 case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331:
4138 case SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS:
4139 /* make the tda10046 find its eeprom */
4141 u8 data[] = { 0x3c, 0x33, 0x62};
4142 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
4143 i2c_transfer(&dev->i2c_adap, &msg, 1);
4146 case SAA7134_BOARD_CINERGY_HT_PCMCIA:
4147 /* make the tda10046 find its eeprom */
4149 u8 data[] = { 0x3c, 0x33, 0x60};
4150 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
4151 i2c_transfer(&dev->i2c_adap, &msg, 1);
4154 case SAA7134_BOARD_KWORLD_ATSC110:
4158 static const u8 buffer [] = { 0x10,0x12,0x13,0x04,0x16,0x00,0x14,0x04,0x017,0x00 };
4159 dev->i2c_client.addr = 0x0a;
4160 for (i = 0; i < 5; i++)
4161 if (2 != i2c_master_send(&dev->i2c_client,&buffer[i*2],2))
4162 printk(KERN_WARNING "%s: Unable to enable tuner(%i).\n",
4166 case SAA7134_BOARD_VIDEOMATE_DVBT_200:
4167 case SAA7134_BOARD_VIDEOMATE_DVBT_200A:
4168 /* The T200 and the T200A share the same pci id. Consequently,
4169 * we are going to query eeprom to try to find out which one we
4170 * are actually looking at. */
4172 /* Don't do this if the board was specifically selected with an
4173 * insmod option or if we have the default configuration T200*/
4174 if(!dev->autodetected || (dev->eedata[0x41] == 0xd0))
4176 if(dev->eedata[0x41] == 0x02) {
4177 /* Reconfigure board as T200A */
4178 dev->board = SAA7134_BOARD_VIDEOMATE_DVBT_200A;
4179 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
4180 dev->tda9887_conf = saa7134_boards[dev->board].tda9887_conf;
4181 printk(KERN_INFO "%s: Reconfigured board as %s\n",
4182 dev->name, saa7134_boards[dev->board].name);
4184 printk(KERN_WARNING "%s: Unexpected tuner type info: %x in eeprom\n",
4185 dev->name, dev->eedata[0x41]);
4193 /* ----------------------------------------------------------- */