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 .gpiomask = 0x00200000,
1788 .mpeg = SAA7134_MPEG_DVB,
1793 .gpio = 0x200000, /* GPIO21=High for TV input */
1796 .name = name_comp1, /* Composite signal on S-Video input */
1800 .name = name_comp2, /* Composite input */
1804 .name = name_svideo, /* S-Video signal on S-Video input */
1811 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
1814 [SAA7134_BOARD_PHILIPS_TOUGH] = {
1815 .name = "Philips TOUGH DVB-T reference design",
1816 .tuner_type = TUNER_ABSENT,
1817 .audio_clock = 0x00187de7,
1818 .radio_type = UNSET,
1819 .tuner_addr = ADDR_UNSET,
1820 .radio_addr = ADDR_UNSET,
1821 .mpeg = SAA7134_MPEG_DVB,
1827 .name = name_svideo,
1832 [SAA7134_BOARD_AVERMEDIA_307] = {
1834 Davydov Vladimir <vladimir@iqmedia.com>
1836 .name = "Avermedia AVerTV 307",
1837 .audio_clock = 0x00187de7,
1838 .tuner_type = TUNER_PHILIPS_FQ1216ME,
1839 .radio_type = UNSET,
1840 .tuner_addr = ADDR_UNSET,
1841 .radio_addr = ADDR_UNSET,
1842 .tda9887_conf = TDA9887_PRESENT,
1857 .name = name_svideo,
1862 [SAA7134_BOARD_ADS_INSTANT_TV] = {
1863 .name = "ADS Tech Instant TV (saa7135)",
1864 .audio_clock = 0x00187de7,
1865 .tuner_type = TUNER_PHILIPS_TDA8290,
1866 .radio_type = UNSET,
1867 .tuner_addr = ADDR_UNSET,
1868 .radio_addr = ADDR_UNSET,
1879 .name = name_svideo,
1884 [SAA7134_BOARD_KWORLD_VSTREAM_XPERT] = {
1885 .name = "Kworld/Tevion V-Stream Xpert TV PVR7134",
1886 .audio_clock = 0x00187de7,
1887 .tuner_type = TUNER_PHILIPS_PAL_I,
1888 .radio_type = UNSET,
1889 .tuner_addr = ADDR_UNSET,
1890 .radio_addr = ADDR_UNSET,
1902 .gpio = 0x200, /* gpio by DScaler */
1904 .name = name_svideo,
1920 [SAA7134_BOARD_FLYDVBT_DUO_CARDBUS] = {
1921 .name = "LifeView/Typhoon/Genius FlyDVB-T Duo Cardbus",
1922 .audio_clock = 0x00200000,
1923 .tuner_type = TUNER_PHILIPS_TDA8290,
1924 .radio_type = UNSET,
1925 .tuner_addr = ADDR_UNSET,
1926 .radio_addr = ADDR_UNSET,
1927 .mpeg = SAA7134_MPEG_DVB,
1928 .gpiomask = 0x00200000,
1933 .gpio = 0x200000, /* GPIO21=High for TV input */
1936 .name = name_svideo, /* S-Video signal on S-Video input */
1940 .name = name_comp1, /* Composite signal on S-Video input */
1944 .name = name_comp2, /* Composite input */
1951 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
1954 [SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII] = {
1955 .name = "Compro VideoMate TV Gold+II",
1956 .audio_clock = 0x002187de7,
1957 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
1958 .radio_type = TUNER_TEA5767,
1961 .gpiomask = 0x8c1880,
1963 .name = name_svideo,
1990 [SAA7134_BOARD_KWORLD_XPERT] = {
1993 - Remote control doesn't initialize properly.
1994 - Audio volume starts muted,
1995 then gradually increases after channel change.
1996 - Overlay scaling problems (application error?)
1997 - Composite S-Video untested.
1998 From: Konrad Rzepecki <hannibal@megapolis.pl>
2000 .name = "Kworld Xpert TV PVR7134",
2001 .audio_clock = 0x00187de7,
2002 .tuner_type = TUNER_TENA_9533_DI,
2003 .radio_type = TUNER_TEA5767,
2017 .gpio = 0x200, /* gpio by DScaler */
2019 .name = name_svideo,
2035 [SAA7134_BOARD_FLYTV_DIGIMATRIX] = {
2036 .name = "FlyTV mini Asus Digimatrix",
2037 .audio_clock = 0x00200000,
2038 .tuner_type = TUNER_LG_TALN,
2039 .radio_type = UNSET,
2040 .tuner_addr = ADDR_UNSET,
2041 .radio_addr = ADDR_UNSET,
2048 .name = name_tv_mono,
2061 .name = name_svideo,
2066 .name = name_radio, /* radio unconfirmed */
2070 [SAA7134_BOARD_KWORLD_TERMINATOR] = {
2071 /* Kworld V-Stream Studio TV Terminator */
2072 /* "James Webb <jrwebb@qwest.net> */
2073 .name = "V-Stream Studio TV Terminator",
2074 .audio_clock = 0x00187de7,
2075 .tuner_type = TUNER_PHILIPS_TDA8290,
2076 .radio_type = UNSET,
2077 .tuner_addr = ADDR_UNSET,
2078 .radio_addr = ADDR_UNSET,
2079 .gpiomask = 1 << 21,
2087 .name = name_comp1, /* Composite input */
2092 .name = name_svideo, /* S-Video input */
2103 [SAA7134_BOARD_YUAN_TUN900] = {
2105 * S-Video and composite sources untested.
2106 * Radio not working.
2107 * Remote control not yet implemented.
2108 * From : codemaster@webgeeks.be */
2109 .name = "Yuan TUN-900 (saa7135)",
2110 .audio_clock = 0x00187de7,
2111 .tuner_type = TUNER_PHILIPS_TDA8290,
2112 .radio_type = UNSET,
2113 .tuner_addr= ADDR_UNSET,
2114 .radio_addr= ADDR_UNSET,
2115 .gpiomask = 0x00010003,
2128 .name = name_svideo,
2144 [SAA7134_BOARD_BEHOLD_409FM] = {
2145 /* <http://tuner.beholder.ru>, Sergey <skiv@orel.ru> */
2146 .name = "Beholder BeholdTV 409 FM",
2147 .audio_clock = 0x00187de7,
2148 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
2149 .radio_type = UNSET,
2150 .tuner_addr = ADDR_UNSET,
2151 .radio_addr = ADDR_UNSET,
2152 .tda9887_conf = TDA9887_PRESENT,
2163 .name = name_svideo,
2172 [SAA7134_BOARD_GOTVIEW_7135] = {
2173 /* Mike Baikov <mike@baikov.com> */
2174 /* Andrey Cvetcov <ays14@yandex.ru> */
2175 .name = "GoTView 7135 PCI",
2176 .audio_clock = 0x00187de7,
2177 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
2178 .radio_type = UNSET,
2179 .tuner_addr = ADDR_UNSET,
2180 .radio_addr = ADDR_UNSET,
2181 .tda9887_conf = TDA9887_PRESENT,
2182 .gpiomask = 0x00200003,
2190 .name = name_tv_mono,
2200 .name = name_svideo,
2216 [SAA7134_BOARD_PHILIPS_EUROPA] = {
2217 .name = "Philips EUROPA V3 reference design",
2218 .audio_clock = 0x00187de7,
2219 .tuner_type = TUNER_PHILIPS_TD1316,
2220 .radio_type = UNSET,
2222 .radio_addr = ADDR_UNSET,
2223 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
2224 .mpeg = SAA7134_MPEG_DVB,
2235 .name = name_svideo,
2240 [SAA7134_BOARD_VIDEOMATE_DVBT_300] = {
2241 .name = "Compro Videomate DVB-T300",
2242 .audio_clock = 0x00187de7,
2243 .tuner_type = TUNER_PHILIPS_TD1316,
2244 .radio_type = UNSET,
2246 .radio_addr = ADDR_UNSET,
2247 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
2248 .mpeg = SAA7134_MPEG_DVB,
2259 .name = name_svideo,
2264 [SAA7134_BOARD_VIDEOMATE_DVBT_200] = {
2265 .name = "Compro Videomate DVB-T200",
2266 .tuner_type = TUNER_ABSENT,
2267 .audio_clock = 0x00187de7,
2268 .radio_type = UNSET,
2269 .tuner_addr = ADDR_UNSET,
2270 .radio_addr = ADDR_UNSET,
2271 .mpeg = SAA7134_MPEG_DVB,
2277 .name = name_svideo,
2282 [SAA7134_BOARD_RTD_VFG7350] = {
2283 .name = "RTD Embedded Technologies VFG7350",
2284 .audio_clock = 0x00200000,
2285 .tuner_type = TUNER_ABSENT,
2286 .radio_type = UNSET,
2287 .tuner_addr = ADDR_UNSET,
2288 .radio_addr = ADDR_UNSET,
2290 .name = "Composite 0",
2294 .name = "Composite 1",
2298 .name = "Composite 2",
2302 .name = "Composite 3",
2306 .name = "S-Video 0",
2310 .name = "S-Video 1",
2314 .mpeg = SAA7134_MPEG_EMPRESS,
2315 .video_out = CCIR656,
2316 .vid_port_opts = ( SET_T_CODE_POLARITY_NON_INVERTED |
2317 SET_CLOCK_NOT_DELAYED |
2318 SET_CLOCK_INVERTED |
2321 [SAA7134_BOARD_RTD_VFG7330] = {
2322 .name = "RTD Embedded Technologies VFG7330",
2323 .audio_clock = 0x00200000,
2324 .tuner_type = TUNER_ABSENT,
2325 .radio_type = UNSET,
2326 .tuner_addr = ADDR_UNSET,
2327 .radio_addr = ADDR_UNSET,
2329 .name = "Composite 0",
2333 .name = "Composite 1",
2337 .name = "Composite 2",
2341 .name = "Composite 3",
2345 .name = "S-Video 0",
2349 .name = "S-Video 1",
2354 [SAA7134_BOARD_FLYTVPLATINUM_MINI2] = {
2355 .name = "LifeView FlyTV Platinum Mini2",
2356 .audio_clock = 0x00200000,
2357 .tuner_type = TUNER_PHILIPS_TDA8290,
2358 .radio_type = UNSET,
2359 .tuner_addr = ADDR_UNSET,
2360 .radio_addr = ADDR_UNSET,
2368 .name = name_comp1, /* Composite signal on S-Video input */
2372 .name = name_comp2, /* Composite input */
2376 .name = name_svideo,
2381 [SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180] = {
2382 /* Michael Krufky <mkrufky@m1k.net>
2383 * Uses Alps Electric TDHU2, containing NXT2004 ATSC Decoder
2384 * AFAIK, there is no analog demod, thus,
2385 * no support for analog television.
2387 .name = "AVerMedia AVerTVHD MCE A180",
2388 .audio_clock = 0x00187de7,
2389 .tuner_type = TUNER_ABSENT,
2390 .radio_type = UNSET,
2391 .tuner_addr = ADDR_UNSET,
2392 .radio_addr = ADDR_UNSET,
2393 .mpeg = SAA7134_MPEG_DVB,
2399 .name = name_svideo,
2404 [SAA7134_BOARD_MONSTERTV_MOBILE] = {
2405 .name = "SKNet MonsterTV Mobile",
2406 .audio_clock = 0x00187de7,
2407 .tuner_type = TUNER_PHILIPS_TDA8290,
2408 .radio_type = UNSET,
2409 .tuner_addr = ADDR_UNSET,
2410 .radio_addr = ADDR_UNSET,
2422 .name = name_svideo,
2427 [SAA7134_BOARD_PINNACLE_PCTV_110i] = {
2428 .name = "Pinnacle PCTV 40i/50i/110i (saa7133)",
2429 .audio_clock = 0x00187de7,
2430 .tuner_type = TUNER_PHILIPS_TDA8290,
2431 .radio_type = UNSET,
2432 .tuner_addr = ADDR_UNSET,
2433 .radio_addr = ADDR_UNSET,
2434 .gpiomask = 0x080200000,
2449 .name = name_svideo,
2458 [SAA7134_BOARD_ASUSTeK_P7131_DUAL] = {
2459 .name = "ASUSTeK P7131 Dual",
2460 .audio_clock = 0x00187de7,
2461 .tuner_type = TUNER_PHILIPS_TDA8290,
2462 .radio_type = UNSET,
2463 .tuner_addr = ADDR_UNSET,
2464 .radio_addr = ADDR_UNSET,
2465 .gpiomask = 1 << 21,
2466 .mpeg = SAA7134_MPEG_DVB,
2484 .name = name_svideo,
2495 [SAA7134_BOARD_SEDNA_PC_TV_CARDBUS] = {
2496 /* Paul Tom Zalac <pzalac@gmail.com> */
2497 /* Pavel Mihaylov <bin@bash.info> */
2498 .name = "Sedna/MuchTV PC TV Cardbus TV/Radio (ITO25 Rev:2B)",
2499 /* Sedna/MuchTV (OEM) Cardbus TV Tuner */
2500 .audio_clock = 0x00187de7,
2501 .tuner_type = TUNER_PHILIPS_TDA8290,
2502 .radio_type = UNSET,
2503 .tuner_addr = ADDR_UNSET,
2504 .radio_addr = ADDR_UNSET,
2505 .gpiomask = 0xe880c0,
2516 .name = name_svideo,
2525 [SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV] = {
2526 /* "Cyril Lacoux (Yack)" <clacoux@ifeelgood.org> */
2527 .name = "ASUS Digimatrix TV",
2528 .audio_clock = 0x00200000,
2529 .tuner_type = TUNER_PHILIPS_FQ1216ME,
2530 .tda9887_conf = TDA9887_PRESENT,
2531 .radio_type = UNSET,
2532 .tuner_addr = ADDR_UNSET,
2533 .radio_addr = ADDR_UNSET,
2544 .name = name_svideo,
2549 [SAA7134_BOARD_PHILIPS_TIGER] = {
2550 .name = "Philips Tiger reference design",
2551 .audio_clock = 0x00187de7,
2552 .tuner_type = TUNER_PHILIPS_TDA8290,
2553 .radio_type = UNSET,
2554 .tuner_addr = ADDR_UNSET,
2555 .radio_addr = ADDR_UNSET,
2557 .mpeg = SAA7134_MPEG_DVB,
2558 .gpiomask = 0x0200000,
2569 .name = name_svideo,
2579 [SAA7134_BOARD_MSI_TVATANYWHERE_PLUS] = {
2580 .name = "MSI TV@Anywhere plus",
2581 .audio_clock = 0x00187de7,
2582 .tuner_type = TUNER_PHILIPS_TDA8290,
2583 .radio_type = UNSET,
2584 .tuner_addr = ADDR_UNSET,
2585 .radio_addr = ADDR_UNSET,
2586 .gpiomask = 1 << 21,
2595 .amux = LINE2, /* unconfirmed, taken from Philips driver */
2598 .vmux = 0, /* untested, Composite over S-Video */
2601 .name = name_svideo,
2611 [SAA7134_BOARD_CINERGY250PCI] = {
2612 /* remote-control does not work. The signal about a
2613 key press comes in via gpio, but the key code
2614 doesn't. Neither does it have an i2c remote control
2616 .name = "Terratec Cinergy 250 PCI TV",
2617 .audio_clock = 0x00187de7,
2618 .tuner_type = TUNER_PHILIPS_TDA8290,
2619 .radio_type = UNSET,
2620 .tuner_addr = ADDR_UNSET,
2621 .radio_addr = ADDR_UNSET,
2622 .gpiomask = 0x80200000,
2629 .name = name_svideo, /* NOT tested */
2639 [SAA7134_BOARD_FLYDVB_TRIO] = {
2640 /* LifeView LR319 FlyDVB Trio */
2641 /* Peter Missel <peter.missel@onlinehome.de> */
2642 .name = "LifeView FlyDVB Trio",
2643 .audio_clock = 0x00200000,
2644 .tuner_type = TUNER_PHILIPS_TDA8290,
2645 .radio_type = UNSET,
2646 .tuner_addr = ADDR_UNSET,
2647 .radio_addr = ADDR_UNSET,
2648 .gpiomask = 0x00200000,
2649 .mpeg = SAA7134_MPEG_DVB,
2651 .name = name_tv, /* Analog broadcast/cable TV */
2654 .gpio = 0x200000, /* GPIO21=High for TV input */
2657 .name = name_svideo, /* S-Video signal on S-Video input */
2661 .name = name_comp1, /* Composite signal on S-Video input */
2665 .name = name_comp2, /* Composite input */
2672 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
2675 [SAA7134_BOARD_AVERMEDIA_777] = {
2676 .name = "AverTV DVB-T 777",
2677 .audio_clock = 0x00187de7,
2678 .tuner_type = TUNER_ABSENT,
2679 .radio_type = UNSET,
2680 .tuner_addr = ADDR_UNSET,
2681 .radio_addr = ADDR_UNSET,
2682 .mpeg = SAA7134_MPEG_DVB,
2688 .name = name_svideo,
2693 [SAA7134_BOARD_FLYDVBT_LR301] = {
2694 /* LifeView FlyDVB-T */
2695 /* Giampiero Giancipoli <gianci@libero.it> */
2696 .name = "LifeView FlyDVB-T / Genius VideoWonder DVB-T",
2697 .audio_clock = 0x00200000,
2698 .tuner_type = TUNER_ABSENT,
2699 .radio_type = UNSET,
2700 .tuner_addr = ADDR_UNSET,
2701 .radio_addr = ADDR_UNSET,
2702 .mpeg = SAA7134_MPEG_DVB,
2704 .name = name_comp1, /* Composite input */
2708 .name = name_svideo, /* S-Video signal on S-Video input */
2713 [SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331] = {
2714 .name = "ADS Instant TV Duo Cardbus PTV331",
2715 .audio_clock = 0x00200000,
2716 .tuner_type = TUNER_PHILIPS_TDA8290,
2717 .radio_type = UNSET,
2718 .tuner_addr = ADDR_UNSET,
2719 .radio_addr = ADDR_UNSET,
2720 .mpeg = SAA7134_MPEG_DVB,
2721 .gpiomask = 0x00600000, /* Bit 21 0=Radio, Bit 22 0=TV */
2730 [SAA7134_BOARD_TEVION_DVBT_220RF] = {
2731 .name = "Tevion/KWorld DVB-T 220RF",
2732 .audio_clock = 0x00187de7,
2733 .tuner_type = TUNER_PHILIPS_TDA8290,
2734 .radio_type = UNSET,
2735 .tuner_addr = ADDR_UNSET,
2736 .radio_addr = ADDR_UNSET,
2737 .mpeg = SAA7134_MPEG_DVB,
2748 .name = name_svideo,
2757 [SAA7134_BOARD_KWORLD_ATSC110] = {
2758 .name = "Kworld ATSC110",
2759 .audio_clock = 0x00187de7,
2760 .tuner_type = TUNER_PHILIPS_TUV1236D,
2761 .radio_type = UNSET,
2762 .tuner_addr = ADDR_UNSET,
2763 .radio_addr = ADDR_UNSET,
2764 .tda9887_conf = TDA9887_PRESENT,
2765 .mpeg = SAA7134_MPEG_DVB,
2776 .name = name_svideo,
2781 [SAA7134_BOARD_AVERMEDIA_A169_B] = {
2782 /* AVerMedia A169 */
2783 /* Rickard Osser <ricky@osser.se> */
2784 /* This card has two saa7134 chips on it,
2785 but only one of them is currently working. */
2786 .name = "AVerMedia A169 B",
2787 .audio_clock = 0x02187de7,
2788 .tuner_type = TUNER_LG_TALN,
2789 .radio_type = UNSET,
2790 .tuner_addr = ADDR_UNSET,
2791 .radio_addr = ADDR_UNSET,
2792 .tda9887_conf = TDA9887_PRESENT,
2793 .gpiomask = 0x0a60000,
2795 [SAA7134_BOARD_AVERMEDIA_A169_B1] = {
2796 /* AVerMedia A169 */
2797 /* Rickard Osser <ricky@osser.se> */
2798 .name = "AVerMedia A169 B1",
2799 .audio_clock = 0x02187de7,
2800 .tuner_type = TUNER_LG_TALN,
2801 .radio_type = UNSET,
2802 .tuner_addr = ADDR_UNSET,
2803 .radio_addr = ADDR_UNSET,
2804 .tda9887_conf = TDA9887_PRESENT,
2805 .gpiomask = 0xca60000,
2813 .name = name_comp2, /* Composite SVIDEO (B/W if signal is carried with SVIDEO) */
2817 .name = name_svideo,
2818 .vmux = 9, /* 9 is correct as S-VIDEO1 according to a169.inf! */
2822 [SAA7134_BOARD_MD7134_BRIDGE_2] = {
2823 /* This card has two saa7134 chips on it,
2824 but only one of them is currently working.
2825 The programming for the primary decoder is
2826 in SAA7134_BOARD_MD7134 */
2827 .name = "Medion 7134 Bridge #2",
2828 .audio_clock = 0x00187de7,
2829 .radio_type = UNSET,
2830 .tuner_addr = ADDR_UNSET,
2831 .radio_addr = ADDR_UNSET,
2833 [SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS] = {
2834 .name = "LifeView FlyDVB-T Hybrid Cardbus",
2835 .audio_clock = 0x00200000,
2836 .tuner_type = TUNER_PHILIPS_TDA8290,
2837 .radio_type = UNSET,
2838 .tuner_addr = ADDR_UNSET,
2839 .radio_addr = ADDR_UNSET,
2840 .mpeg = SAA7134_MPEG_DVB,
2841 .gpiomask = 0x00600000, /* Bit 21 0=Radio, Bit 22 0=TV */
2846 .gpio = 0x200000, /* GPIO21=High for TV input */
2849 .name = name_svideo, /* S-Video signal on S-Video input */
2853 .name = name_comp1, /* Composite signal on S-Video input */
2857 .name = name_comp2, /* Composite input */
2864 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
2867 [SAA7134_BOARD_FLYVIDEO3000_NTSC] = {
2868 /* "Zac Bowling" <zac@zacbowling.com> */
2869 .name = "LifeView FlyVIDEO3000 (NTSC)",
2870 .audio_clock = 0x00200000,
2871 .tuner_type = TUNER_PHILIPS_NTSC,
2872 .radio_type = UNSET,
2873 .tuner_addr = ADDR_UNSET,
2874 .radio_addr = ADDR_UNSET,
2884 .name = name_tv_mono,
2900 .name = name_svideo,
2916 [SAA7134_BOARD_MEDION_MD8800_QUADRO] = {
2917 .name = "Medion Md8800 Quadro",
2918 .audio_clock = 0x00187de7,
2919 .tuner_type = TUNER_PHILIPS_TDA8290,
2920 .radio_type = UNSET,
2921 .tuner_addr = ADDR_UNSET,
2922 .radio_addr = ADDR_UNSET,
2923 .mpeg = SAA7134_MPEG_DVB,
2934 .name = name_svideo,
2939 [SAA7134_BOARD_FLYDVBS_LR300] = {
2940 /* LifeView FlyDVB-s */
2941 /* Igor M. Liplianin <liplianin@tut.by> */
2942 .name = "LifeView FlyDVB-S /Acorp TV134DS",
2943 .audio_clock = 0x00200000,
2944 .tuner_type = TUNER_ABSENT,
2945 .radio_type = UNSET,
2946 .tuner_addr = ADDR_UNSET,
2947 .radio_addr = ADDR_UNSET,
2948 .mpeg = SAA7134_MPEG_DVB,
2950 .name = name_comp1, /* Composite input */
2954 .name = name_svideo, /* S-Video signal on S-Video input */
2959 [SAA7134_BOARD_PROTEUS_2309] = {
2960 .name = "Proteus Pro 2309",
2961 .audio_clock = 0x00187de7,
2962 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
2963 .radio_type = UNSET,
2964 .tuner_addr = ADDR_UNSET,
2965 .radio_addr = ADDR_UNSET,
2966 .tda9887_conf = TDA9887_PRESENT,
2981 .name = name_svideo,
2990 [SAA7134_BOARD_AVERMEDIA_A16AR] = {
2991 /* Petr Baudis <pasky@ucw.cz> */
2992 .name = "AVerMedia TV Hybrid A16AR",
2993 .audio_clock = 0x187de7,
2994 .tuner_type = TUNER_PHILIPS_TD1316, /* untested */
2995 .radio_type = TUNER_TEA5767, /* untested */
2996 .tuner_addr = ADDR_UNSET,
2997 .radio_addr = ADDR_UNSET,
2998 .tda9887_conf = TDA9887_PRESENT,
2999 .mpeg = SAA7134_MPEG_DVB,
3010 .name = name_svideo,
3019 [SAA7134_BOARD_ASUS_EUROPA2_HYBRID] = {
3020 .name = "Asus Europa2 OEM",
3021 .audio_clock = 0x00187de7,
3022 .tuner_type = TUNER_PHILIPS_FMD1216ME_MK3,
3023 .radio_type = UNSET,
3024 .tuner_addr = ADDR_UNSET,
3025 .radio_addr = ADDR_UNSET,
3026 .tda9887_conf = TDA9887_PRESENT| TDA9887_PORT1_ACTIVE | TDA9887_PORT2_ACTIVE,
3027 .mpeg = SAA7134_MPEG_DVB,
3038 .name = name_svideo,
3047 [SAA7134_BOARD_PINNACLE_PCTV_310i] = {
3048 .name = "Pinnacle PCTV 310i",
3049 .audio_clock = 0x00187de7,
3050 .tuner_type = TUNER_PHILIPS_TDA8290,
3051 .radio_type = UNSET,
3052 .tuner_addr = ADDR_UNSET,
3053 .radio_addr = ADDR_UNSET,
3055 .mpeg = SAA7134_MPEG_DVB,
3056 .gpiomask = 0x000200000,
3071 .name = name_svideo,
3081 [SAA7134_BOARD_AVERMEDIA_STUDIO_507] = {
3082 /* Mikhail Fedotov <mo_fedotov@mail.ru> */
3083 .name = "Avermedia AVerTV Studio 507",
3084 .audio_clock = 0x00187de7,
3085 .tuner_type = TUNER_PHILIPS_FM1256_IH3,
3086 .radio_type = UNSET,
3087 .tuner_addr = ADDR_UNSET,
3088 .radio_addr = ADDR_UNSET,
3089 .tda9887_conf = TDA9887_PRESENT,
3108 .name = name_svideo,
3124 [SAA7134_BOARD_VIDEOMATE_DVBT_200A] = {
3125 /* Francis Barber <fedora@barber-family.id.au> */
3126 .name = "Compro Videomate DVB-T200A",
3127 .audio_clock = 0x00187de7,
3128 .tuner_type = TUNER_ABSENT,
3129 .radio_type = UNSET,
3130 .tuner_addr = ADDR_UNSET,
3131 .radio_addr = ADDR_UNSET,
3132 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
3133 .mpeg = SAA7134_MPEG_DVB,
3144 .name = name_svideo,
3149 [SAA7134_BOARD_HAUPPAUGE_HVR1110] = {
3150 /* Thomas Genty <tomlohave@gmail.com> */
3151 .name = "Hauppauge WinTV-HVR1110 DVB-T/Hybrid",
3152 .audio_clock = 0x00187de7,
3153 .tuner_type = TUNER_PHILIPS_TDA8290,
3154 .radio_type = UNSET,
3155 .tuner_addr = ADDR_UNSET,
3156 .radio_addr = ADDR_UNSET,
3157 .mpeg = SAA7134_MPEG_DVB,
3166 .amux = LINE2, /* FIXME: audio doesn't work on svideo/composite */
3168 .name = name_svideo,
3170 .amux = LINE2, /* FIXME: audio doesn't work on svideo/composite */
3177 [SAA7134_BOARD_CINERGY_HT_PCMCIA] = {
3178 .name = "Terratec Cinergy HT PCMCIA",
3179 .audio_clock = 0x00187de7,
3180 .tuner_type = TUNER_PHILIPS_TDA8290,
3181 .radio_type = UNSET,
3182 .tuner_addr = ADDR_UNSET,
3183 .radio_addr = ADDR_UNSET,
3184 .mpeg = SAA7134_MPEG_DVB,
3195 .name = name_svideo,
3200 [SAA7134_BOARD_ENCORE_ENLTV] = {
3201 /* Steven Walter <stevenrwalter@gmail.com>
3202 Juan Pablo Sormani <sorman@gmail.com> */
3203 .name = "Encore ENLTV",
3204 .audio_clock = 0x00200000,
3205 .tuner_type = TUNER_TNF_5335MF,
3206 .radio_type = UNSET,
3207 .tuner_addr = ADDR_UNSET,
3208 .radio_addr = ADDR_UNSET,
3215 .name = name_tv_mono,
3224 .name = name_svideo,
3231 /* .gpio = 0x00300001,*/
3240 [SAA7134_BOARD_ENCORE_ENLTV_FM] = {
3241 /* Juan Pablo Sormani <sorman@gmail.com> */
3242 .name = "Encore ENLTV-FM",
3243 .audio_clock = 0x00200000,
3244 .tuner_type = TUNER_PHILIPS_ATSC,
3245 .radio_type = UNSET,
3246 .tuner_addr = ADDR_UNSET,
3247 .radio_addr = ADDR_UNSET,
3254 .name = name_tv_mono,
3263 .name = name_svideo,
3278 [SAA7134_BOARD_CINERGY_HT_PCI] = {
3279 .name = "Terratec Cinergy HT PCI",
3280 .audio_clock = 0x00187de7,
3281 .tuner_type = TUNER_PHILIPS_TDA8290,
3282 .radio_type = UNSET,
3283 .tuner_addr = ADDR_UNSET,
3284 .radio_addr = ADDR_UNSET,
3285 .mpeg = SAA7134_MPEG_DVB,
3296 .name = name_svideo,
3301 [SAA7134_BOARD_PHILIPS_TIGER_S] = {
3302 .name = "Philips Tiger - S Reference design",
3303 .audio_clock = 0x00187de7,
3304 .tuner_type = TUNER_PHILIPS_TDA8290,
3305 .radio_type = UNSET,
3306 .tuner_addr = ADDR_UNSET,
3307 .radio_addr = ADDR_UNSET,
3309 .mpeg = SAA7134_MPEG_DVB,
3310 .gpiomask = 0x0200000,
3321 .name = name_svideo,
3333 const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards);
3335 /* ------------------------------------------------------------------ */
3336 /* PCI ids + subsystem IDs */
3338 struct pci_device_id saa7134_pci_tbl[] = {
3340 .vendor = PCI_VENDOR_ID_PHILIPS,
3341 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3342 .subvendor = PCI_VENDOR_ID_PHILIPS,
3343 .subdevice = 0x2001,
3344 .driver_data = SAA7134_BOARD_PROTEUS_PRO,
3346 .vendor = PCI_VENDOR_ID_PHILIPS,
3347 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3348 .subvendor = PCI_VENDOR_ID_PHILIPS,
3349 .subdevice = 0x2001,
3350 .driver_data = SAA7134_BOARD_PROTEUS_PRO,
3352 .vendor = PCI_VENDOR_ID_PHILIPS,
3353 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3354 .subvendor = PCI_VENDOR_ID_PHILIPS,
3355 .subdevice = 0x6752,
3356 .driver_data = SAA7134_BOARD_EMPRESS,
3358 .vendor = PCI_VENDOR_ID_PHILIPS,
3359 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3360 .subvendor = 0x1131,
3361 .subdevice = 0x4e85,
3362 .driver_data = SAA7134_BOARD_MONSTERTV,
3364 .vendor = PCI_VENDOR_ID_PHILIPS,
3365 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3366 .subvendor = 0x153b,
3367 .subdevice = 0x1142,
3368 .driver_data = SAA7134_BOARD_CINERGY400,
3370 .vendor = PCI_VENDOR_ID_PHILIPS,
3371 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3372 .subvendor = 0x153b,
3373 .subdevice = 0x1143,
3374 .driver_data = SAA7134_BOARD_CINERGY600,
3376 .vendor = PCI_VENDOR_ID_PHILIPS,
3377 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3378 .subvendor = 0x153b,
3379 .subdevice = 0x1158,
3380 .driver_data = SAA7134_BOARD_CINERGY600_MK3,
3382 .vendor = PCI_VENDOR_ID_PHILIPS,
3383 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3384 .subvendor = 0x153b,
3385 .subdevice = 0x1162,
3386 .driver_data = SAA7134_BOARD_CINERGY400_CARDBUS,
3388 .vendor = PCI_VENDOR_ID_PHILIPS,
3389 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3390 .subvendor = 0x5169,
3391 .subdevice = 0x0138,
3392 .driver_data = SAA7134_BOARD_FLYVIDEO3000_NTSC,
3394 .vendor = PCI_VENDOR_ID_PHILIPS,
3395 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3396 .subvendor = 0x5168,
3397 .subdevice = 0x0138,
3398 .driver_data = SAA7134_BOARD_FLYVIDEO3000,
3400 .vendor = PCI_VENDOR_ID_PHILIPS,
3401 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3402 .subvendor = 0x4e42, /* "Typhoon PCI Capture TV Card" Art.No. 50673 */
3403 .subdevice = 0x0138,
3404 .driver_data = SAA7134_BOARD_FLYVIDEO3000,
3406 .vendor = PCI_VENDOR_ID_PHILIPS,
3407 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3408 .subvendor = 0x5168,
3409 .subdevice = 0x0138,
3410 .driver_data = SAA7134_BOARD_FLYVIDEO2000,
3412 .vendor = PCI_VENDOR_ID_PHILIPS,
3413 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3414 .subvendor = 0x4e42, /* Typhoon */
3415 .subdevice = 0x0138, /* LifeView FlyTV Prime30 OEM */
3416 .driver_data = SAA7134_BOARD_FLYVIDEO2000,
3418 .vendor = PCI_VENDOR_ID_PHILIPS,
3419 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3420 .subvendor = 0x5168,
3421 .subdevice = 0x0212, /* minipci, LR212 */
3422 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
3424 .vendor = PCI_VENDOR_ID_PHILIPS,
3425 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3426 .subvendor = 0x14c0,
3427 .subdevice = 0x1212, /* minipci, LR1212 */
3428 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI2,
3430 .vendor = PCI_VENDOR_ID_PHILIPS,
3431 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3432 .subvendor = 0x4e42,
3433 .subdevice = 0x0212, /* OEM minipci, LR212 */
3434 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
3436 .vendor = PCI_VENDOR_ID_PHILIPS,
3437 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3438 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
3439 .subdevice = 0x0214, /* Standard PCI, LR214WF */
3440 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
3442 .vendor = PCI_VENDOR_ID_PHILIPS,
3443 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3444 .subvendor = 0x1489, /* KYE */
3445 .subdevice = 0x0214, /* Genius VideoWonder ProTV */
3446 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM, /* is an LR214WF actually */
3448 .vendor = PCI_VENDOR_ID_PHILIPS,
3449 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3450 .subvendor = 0x16be,
3451 .subdevice = 0x0003,
3452 .driver_data = SAA7134_BOARD_MD7134,
3454 .vendor = PCI_VENDOR_ID_PHILIPS,
3455 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3456 .subvendor = 0x1048,
3457 .subdevice = 0x226b,
3458 .driver_data = SAA7134_BOARD_ELSA,
3460 .vendor = PCI_VENDOR_ID_PHILIPS,
3461 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3462 .subvendor = 0x1048,
3463 .subdevice = 0x226a,
3464 .driver_data = SAA7134_BOARD_ELSA_500TV,
3466 .vendor = PCI_VENDOR_ID_PHILIPS,
3467 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3468 .subvendor = 0x1048,
3469 .subdevice = 0x226c,
3470 .driver_data = SAA7134_BOARD_ELSA_700TV,
3472 .vendor = PCI_VENDOR_ID_PHILIPS,
3473 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3474 .subvendor = PCI_VENDOR_ID_ASUSTEK,
3475 .subdevice = 0x4842,
3476 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
3478 .vendor = PCI_VENDOR_ID_PHILIPS,
3479 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3480 .subvendor = PCI_VENDOR_ID_ASUSTEK,
3481 .subdevice = 0x4845,
3482 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7135,
3484 .vendor = PCI_VENDOR_ID_PHILIPS,
3485 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3486 .subvendor = PCI_VENDOR_ID_ASUSTEK,
3487 .subdevice = 0x4830,
3488 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
3490 .vendor = PCI_VENDOR_ID_PHILIPS,
3491 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3492 .subvendor = PCI_VENDOR_ID_ASUSTEK,
3493 .subdevice = 0x4843,
3494 .driver_data = SAA7134_BOARD_ASUSTEK_TVFM7133,
3496 .vendor = PCI_VENDOR_ID_PHILIPS,
3497 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3498 .subvendor = PCI_VENDOR_ID_ASUSTEK,
3499 .subdevice = 0x4840,
3500 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
3502 .vendor = PCI_VENDOR_ID_PHILIPS,
3503 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3504 .subvendor = PCI_VENDOR_ID_PHILIPS,
3505 .subdevice = 0xfe01,
3506 .driver_data = SAA7134_BOARD_TVSTATION_RDS,
3508 .vendor = PCI_VENDOR_ID_PHILIPS,
3509 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3510 .subvendor = 0x1894,
3511 .subdevice = 0xfe01,
3512 .driver_data = SAA7134_BOARD_TVSTATION_RDS,
3514 .vendor = PCI_VENDOR_ID_PHILIPS,
3515 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3516 .subvendor = 0x1894,
3517 .subdevice = 0xa006,
3518 .driver_data = SAA7134_BOARD_TVSTATION_DVR,
3520 .vendor = PCI_VENDOR_ID_PHILIPS,
3521 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3522 .subvendor = 0x1131,
3523 .subdevice = 0x7133,
3524 .driver_data = SAA7134_BOARD_VA1000POWER,
3526 .vendor = PCI_VENDOR_ID_PHILIPS,
3527 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3528 .subvendor = PCI_VENDOR_ID_PHILIPS,
3529 .subdevice = 0x2001,
3530 .driver_data = SAA7134_BOARD_10MOONSTVMASTER,
3532 .vendor = PCI_VENDOR_ID_PHILIPS,
3533 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3534 .subvendor = 0x185b,
3535 .subdevice = 0xc100,
3536 .driver_data = SAA7134_BOARD_VIDEOMATE_TV,
3538 .vendor = PCI_VENDOR_ID_PHILIPS,
3539 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3540 .subvendor = 0x185b,
3541 .subdevice = 0xc100,
3542 .driver_data = SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS,
3544 .vendor = PCI_VENDOR_ID_PHILIPS,
3545 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3546 .subvendor = PCI_VENDOR_ID_MATROX,
3547 .subdevice = 0x48d0,
3548 .driver_data = SAA7134_BOARD_CRONOS_PLUS,
3550 .vendor = PCI_VENDOR_ID_PHILIPS,
3551 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3552 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3553 .subdevice = 0xa70b,
3554 .driver_data = SAA7134_BOARD_MD2819,
3556 .vendor = PCI_VENDOR_ID_PHILIPS,
3557 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3558 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3559 .subdevice = 0x2115,
3560 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_305,
3562 .vendor = PCI_VENDOR_ID_PHILIPS,
3563 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3564 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3565 .subdevice = 0x2108,
3566 .driver_data = SAA7134_BOARD_AVERMEDIA_305,
3568 .vendor = PCI_VENDOR_ID_PHILIPS,
3569 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3570 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3571 .subdevice = 0x10ff,
3572 .driver_data = SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER,
3574 /* AVerMedia CardBus */
3575 .vendor = PCI_VENDOR_ID_PHILIPS,
3576 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3577 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3578 .subdevice = 0xd6ee,
3579 .driver_data = SAA7134_BOARD_AVERMEDIA_CARDBUS,
3581 /* TransGear 3000TV */
3582 .vendor = PCI_VENDOR_ID_PHILIPS,
3583 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3584 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3585 .subdevice = 0x050c,
3586 .driver_data = SAA7134_BOARD_TG3000TV,
3588 .vendor = PCI_VENDOR_ID_PHILIPS,
3589 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3590 .subvendor = 0x11bd,
3591 .subdevice = 0x002b,
3592 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_STEREO,
3594 .vendor = PCI_VENDOR_ID_PHILIPS,
3595 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3596 .subvendor = 0x11bd,
3597 .subdevice = 0x002d,
3598 .driver_data = SAA7134_BOARD_PINNACLE_300I_DVBT_PAL,
3600 .vendor = PCI_VENDOR_ID_PHILIPS,
3601 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3602 .subvendor = 0x1019,
3603 .subdevice = 0x4cb4,
3604 .driver_data = SAA7134_BOARD_ECS_TVP3XP,
3606 .vendor = PCI_VENDOR_ID_PHILIPS,
3607 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3608 .subvendor = 0x1019,
3609 .subdevice = 0x4cb5,
3610 .driver_data = SAA7134_BOARD_ECS_TVP3XP_4CB5,
3612 .vendor = PCI_VENDOR_ID_PHILIPS,
3613 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3614 .subvendor = 0x12ab,
3615 .subdevice = 0x0800,
3616 .driver_data = SAA7134_BOARD_UPMOST_PURPLE_TV,
3618 .vendor = PCI_VENDOR_ID_PHILIPS,
3619 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3620 .subvendor = 0x153b,
3621 .subdevice = 0x1152,
3622 .driver_data = SAA7134_BOARD_CINERGY200,
3624 .vendor = PCI_VENDOR_ID_PHILIPS,
3625 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3626 .subvendor = 0x185b,
3627 .subdevice = 0xc100,
3628 .driver_data = SAA7134_BOARD_VIDEOMATE_TV_PVR,
3630 .vendor = PCI_VENDOR_ID_PHILIPS,
3631 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3632 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3633 .subdevice = 0x9715,
3634 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_307,
3636 .vendor = PCI_VENDOR_ID_PHILIPS,
3637 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3638 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3639 .subdevice = 0xa70a,
3640 .driver_data = SAA7134_BOARD_AVERMEDIA_307,
3642 .vendor = PCI_VENDOR_ID_PHILIPS,
3643 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3644 .subvendor = 0x185b,
3645 .subdevice = 0xc200,
3646 .driver_data = SAA7134_BOARD_VIDEOMATE_GOLD_PLUS,
3648 .vendor = PCI_VENDOR_ID_PHILIPS,
3649 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3650 .subvendor = 0x1540,
3651 .subdevice = 0x9524,
3652 .driver_data = SAA7134_BOARD_PROVIDEO_PV952,
3655 .vendor = PCI_VENDOR_ID_PHILIPS,
3656 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3657 .subvendor = 0x5168,
3658 .subdevice = 0x0502, /* Cardbus version */
3659 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
3661 .vendor = PCI_VENDOR_ID_PHILIPS,
3662 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3663 .subvendor = 0x5168,
3664 .subdevice = 0x0306, /* PCI version */
3665 .driver_data = SAA7134_BOARD_FLYDVBTDUO,
3667 .vendor = PCI_VENDOR_ID_PHILIPS,
3668 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3669 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3670 .subdevice = 0xf31f,
3671 .driver_data = SAA7134_BOARD_AVERMEDIA_GO_007_FM,
3674 .vendor = PCI_VENDOR_ID_PHILIPS,
3675 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3676 .subvendor = PCI_VENDOR_ID_PHILIPS,
3677 .subdevice = 0x2004,
3678 .driver_data = SAA7134_BOARD_PHILIPS_TOUGH,
3680 .vendor = PCI_VENDOR_ID_PHILIPS,
3681 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3682 .subvendor = 0x1421,
3683 .subdevice = 0x0350, /* PCI version */
3684 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
3686 .vendor = PCI_VENDOR_ID_PHILIPS,
3687 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3688 .subvendor = 0x1421,
3689 .subdevice = 0x0351, /* PCI version, new revision */
3690 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
3692 .vendor = PCI_VENDOR_ID_PHILIPS,
3693 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3694 .subvendor = 0x1421,
3695 .subdevice = 0x0370, /* cardbus version */
3696 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
3698 .vendor = PCI_VENDOR_ID_PHILIPS,
3699 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3700 .subvendor = 0x1421,
3701 .subdevice = 0x1370, /* cardbus version */
3702 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
3705 .vendor = PCI_VENDOR_ID_PHILIPS,
3706 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3707 .subvendor = 0x4e42, /* Typhoon */
3708 .subdevice = 0x0502, /* LifeView LR502 OEM */
3709 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
3711 .vendor = PCI_VENDOR_ID_PHILIPS,
3712 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3713 .subvendor = 0x1043,
3714 .subdevice = 0x0210, /* mini pci NTSC version */
3715 .driver_data = SAA7134_BOARD_FLYTV_DIGIMATRIX,
3717 .vendor = PCI_VENDOR_ID_PHILIPS,
3718 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3719 .subvendor = 0x1043,
3720 .subdevice = 0x0210, /* mini pci PAL/SECAM version */
3721 .driver_data = SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV,
3724 .vendor = PCI_VENDOR_ID_PHILIPS,
3725 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3726 .subvendor = 0x0000, /* It shouldn't break anything, since subdevice id seems unique */
3727 .subdevice = 0x4091,
3728 .driver_data = SAA7134_BOARD_BEHOLD_409FM,
3730 .vendor = PCI_VENDOR_ID_PHILIPS,
3731 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3732 .subvendor = 0x5456, /* GoTView */
3733 .subdevice = 0x7135,
3734 .driver_data = SAA7134_BOARD_GOTVIEW_7135,
3736 .vendor = PCI_VENDOR_ID_PHILIPS,
3737 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3738 .subvendor = PCI_VENDOR_ID_PHILIPS,
3739 .subdevice = 0x2004,
3740 .driver_data = SAA7134_BOARD_PHILIPS_EUROPA,
3742 .vendor = PCI_VENDOR_ID_PHILIPS,
3743 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3744 .subvendor = 0x185b,
3745 .subdevice = 0xc900,
3746 .driver_data = SAA7134_BOARD_VIDEOMATE_DVBT_300,
3748 .vendor = PCI_VENDOR_ID_PHILIPS,
3749 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3750 .subvendor = 0x185b,
3751 .subdevice = 0xc901,
3752 .driver_data = SAA7134_BOARD_VIDEOMATE_DVBT_200,
3754 .vendor = PCI_VENDOR_ID_PHILIPS,
3755 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3756 .subvendor = 0x1435,
3757 .subdevice = 0x7350,
3758 .driver_data = SAA7134_BOARD_RTD_VFG7350,
3760 .vendor = PCI_VENDOR_ID_PHILIPS,
3761 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3762 .subvendor = 0x1435,
3763 .subdevice = 0x7330,
3764 .driver_data = SAA7134_BOARD_RTD_VFG7330,
3766 .vendor = PCI_VENDOR_ID_PHILIPS,
3767 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3768 .subvendor = 0x1461,
3769 .subdevice = 0x1044,
3770 .driver_data = SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180,
3772 .vendor = PCI_VENDOR_ID_PHILIPS,
3773 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3774 .subvendor = 0x1131,
3775 .subdevice = 0x4ee9,
3776 .driver_data = SAA7134_BOARD_MONSTERTV_MOBILE,
3778 .vendor = PCI_VENDOR_ID_PHILIPS,
3779 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3780 .subvendor = 0x11bd,
3781 .subdevice = 0x002e,
3782 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_110i,
3784 .vendor = PCI_VENDOR_ID_PHILIPS,
3785 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3786 .subvendor = 0x1043,
3787 .subdevice = 0x4862,
3788 .driver_data = SAA7134_BOARD_ASUSTeK_P7131_DUAL,
3790 .vendor = PCI_VENDOR_ID_PHILIPS,
3791 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3792 .subvendor = PCI_VENDOR_ID_PHILIPS,
3793 .subdevice = 0x2018,
3794 .driver_data = SAA7134_BOARD_PHILIPS_TIGER,
3796 .vendor = PCI_VENDOR_ID_PHILIPS,
3797 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3798 .subvendor = 0x1462,
3799 .subdevice = 0x6231,
3800 .driver_data = SAA7134_BOARD_MSI_TVATANYWHERE_PLUS,
3802 .vendor = PCI_VENDOR_ID_PHILIPS,
3803 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3804 .subvendor = 0x153b,
3805 .subdevice = 0x1160,
3806 .driver_data = SAA7134_BOARD_CINERGY250PCI,
3808 .vendor = PCI_VENDOR_ID_PHILIPS,
3809 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA 7131E */
3810 .subvendor = 0x5168,
3811 .subdevice = 0x0319,
3812 .driver_data = SAA7134_BOARD_FLYDVB_TRIO,
3814 .vendor = PCI_VENDOR_ID_PHILIPS,
3815 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3816 .subvendor = 0x1461,
3817 .subdevice = 0x2c05,
3818 .driver_data = SAA7134_BOARD_AVERMEDIA_777,
3820 .vendor = PCI_VENDOR_ID_PHILIPS,
3821 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3822 .subvendor = 0x5168,
3823 .subdevice = 0x0301,
3824 .driver_data = SAA7134_BOARD_FLYDVBT_LR301,
3826 .vendor = PCI_VENDOR_ID_PHILIPS,
3827 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3828 .subvendor = 0x0331,
3829 .subdevice = 0x1421,
3830 .driver_data = SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331,
3832 .vendor = PCI_VENDOR_ID_PHILIPS,
3833 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3834 .subvendor = 0x17de,
3835 .subdevice = 0x7201,
3836 .driver_data = SAA7134_BOARD_TEVION_DVBT_220RF,
3838 .vendor = PCI_VENDOR_ID_PHILIPS,
3839 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA7135HL */
3840 .subvendor = 0x17de,
3841 .subdevice = 0x7350,
3842 .driver_data = SAA7134_BOARD_KWORLD_ATSC110,
3844 .vendor = PCI_VENDOR_ID_PHILIPS,
3845 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3846 .subvendor = 0x1461,
3847 .subdevice = 0x7360,
3848 .driver_data = SAA7134_BOARD_AVERMEDIA_A169_B,
3850 .vendor = PCI_VENDOR_ID_PHILIPS,
3851 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3852 .subvendor = 0x1461,
3853 .subdevice = 0x6360,
3854 .driver_data = SAA7134_BOARD_AVERMEDIA_A169_B1,
3856 .vendor = PCI_VENDOR_ID_PHILIPS,
3857 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3858 .subvendor = 0x16be,
3859 .subdevice = 0x0005,
3860 .driver_data = SAA7134_BOARD_MD7134_BRIDGE_2,
3862 .vendor = PCI_VENDOR_ID_PHILIPS,
3863 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3864 .subvendor = 0x5168,
3865 .subdevice = 0x0300,
3866 .driver_data = SAA7134_BOARD_FLYDVBS_LR300,
3868 .vendor = PCI_VENDOR_ID_PHILIPS,
3869 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3870 .subvendor = 0x4e42,
3871 .subdevice = 0x0300,/* LR300 */
3872 .driver_data = SAA7134_BOARD_FLYDVBS_LR300,
3874 .vendor = PCI_VENDOR_ID_PHILIPS,
3875 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3876 .subvendor = 0x1489,
3877 .subdevice = 0x0301,
3878 .driver_data = SAA7134_BOARD_FLYDVBT_LR301,
3880 .vendor = PCI_VENDOR_ID_PHILIPS,
3881 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3882 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
3883 .subdevice = 0x0304,
3884 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
3886 .vendor = PCI_VENDOR_ID_PHILIPS,
3887 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3888 .subvendor = 0x5168,
3889 .subdevice = 0x3306,
3890 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
3892 .vendor = PCI_VENDOR_ID_PHILIPS,
3893 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3894 .subvendor = 0x5168,
3895 .subdevice = 0x3502, /* whats the difference to 0x3306 ?*/
3896 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
3898 .vendor = PCI_VENDOR_ID_PHILIPS,
3899 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3900 .subvendor = 0x16be,
3901 .subdevice = 0x0007,
3902 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
3904 .vendor = PCI_VENDOR_ID_PHILIPS,
3905 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3906 .subvendor = 0x16be,
3907 .subdevice = 0x0008,
3908 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
3910 .vendor = PCI_VENDOR_ID_PHILIPS,
3911 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3912 .subvendor = 0x1461,
3913 .subdevice = 0x2c05,
3914 .driver_data = SAA7134_BOARD_AVERMEDIA_777,
3916 .vendor = PCI_VENDOR_ID_PHILIPS,
3917 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3918 .subvendor = 0x1489,
3919 .subdevice = 0x0502, /* Cardbus version */
3920 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
3922 .vendor = PCI_VENDOR_ID_PHILIPS,
3923 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3924 .subvendor = 0x0919, /* Philips Proteus PRO 2309 */
3925 .subdevice = 0x2003,
3926 .driver_data = SAA7134_BOARD_PROTEUS_2309,
3928 .vendor = PCI_VENDOR_ID_PHILIPS,
3929 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3930 .subvendor = 0x1461,
3931 .subdevice = 0x2c00,
3932 .driver_data = SAA7134_BOARD_AVERMEDIA_A16AR,
3934 .vendor = PCI_VENDOR_ID_PHILIPS,
3935 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
3936 .subvendor = 0x1043,
3937 .subdevice = 0x4860,
3938 .driver_data = SAA7134_BOARD_ASUS_EUROPA2_HYBRID,
3940 .vendor = PCI_VENDOR_ID_PHILIPS,
3941 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3942 .subvendor = 0x11bd,
3943 .subdevice = 0x002f,
3944 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_310i,
3946 .vendor = PCI_VENDOR_ID_PHILIPS,
3947 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3948 .subvendor = 0x1461, /* Avermedia Technologies Inc */
3949 .subdevice = 0x9715,
3950 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_507,
3952 .vendor = PCI_VENDOR_ID_PHILIPS,
3953 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3954 .subvendor = 0x1043,
3955 .subdevice = 0x4876,
3956 .driver_data = SAA7134_BOARD_ASUSTeK_P7131_DUAL,
3958 .vendor = PCI_VENDOR_ID_PHILIPS,
3959 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3960 .subvendor = 0x0070,
3961 .subdevice = 0x6701,
3962 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
3964 .vendor = PCI_VENDOR_ID_PHILIPS,
3965 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3966 .subvendor = 0x153b,
3967 .subdevice = 0x1172,
3968 .driver_data = SAA7134_BOARD_CINERGY_HT_PCMCIA,
3970 .vendor = PCI_VENDOR_ID_PHILIPS,
3971 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3972 .subvendor = PCI_VENDOR_ID_PHILIPS,
3973 .subdevice = 0x2342,
3974 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
3976 .vendor = PCI_VENDOR_ID_PHILIPS,
3977 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3978 .subvendor = 0x1131,
3979 .subdevice = 0x2341,
3980 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
3982 .vendor = PCI_VENDOR_ID_PHILIPS,
3983 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3984 .subvendor = 0x3016,
3985 .subdevice = 0x2344,
3986 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
3988 .vendor = PCI_VENDOR_ID_PHILIPS,
3989 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
3990 .subvendor = 0x1131,
3991 .subdevice = 0x230f,
3992 .driver_data = SAA7134_BOARD_ENCORE_ENLTV_FM,
3994 .vendor = PCI_VENDOR_ID_PHILIPS,
3995 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
3996 .subvendor = 0x153b,
3997 .subdevice = 0x1175,
3998 .driver_data = SAA7134_BOARD_CINERGY_HT_PCI,
4000 /* --- boards without eeprom + subsystem ID --- */
4001 .vendor = PCI_VENDOR_ID_PHILIPS,
4002 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4003 .subvendor = PCI_VENDOR_ID_PHILIPS,
4005 .driver_data = SAA7134_BOARD_NOAUTO,
4007 .vendor = PCI_VENDOR_ID_PHILIPS,
4008 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4009 .subvendor = PCI_VENDOR_ID_PHILIPS,
4011 .driver_data = SAA7134_BOARD_NOAUTO,
4014 /* --- default catch --- */
4015 .vendor = PCI_VENDOR_ID_PHILIPS,
4016 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4017 .subvendor = PCI_ANY_ID,
4018 .subdevice = PCI_ANY_ID,
4019 .driver_data = SAA7134_BOARD_UNKNOWN,
4021 .vendor = PCI_VENDOR_ID_PHILIPS,
4022 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4023 .subvendor = PCI_ANY_ID,
4024 .subdevice = PCI_ANY_ID,
4025 .driver_data = SAA7134_BOARD_UNKNOWN,
4027 .vendor = PCI_VENDOR_ID_PHILIPS,
4028 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4029 .subvendor = PCI_ANY_ID,
4030 .subdevice = PCI_ANY_ID,
4031 .driver_data = SAA7134_BOARD_UNKNOWN,
4033 .vendor = PCI_VENDOR_ID_PHILIPS,
4034 .device = PCI_DEVICE_ID_PHILIPS_SAA7135,
4035 .subvendor = PCI_ANY_ID,
4036 .subdevice = PCI_ANY_ID,
4037 .driver_data = SAA7134_BOARD_UNKNOWN,
4039 /* --- end of list --- */
4042 MODULE_DEVICE_TABLE(pci, saa7134_pci_tbl);
4044 /* ----------------------------------------------------------- */
4045 /* flyvideo tweaks */
4048 static void board_flyvideo(struct saa7134_dev *dev)
4050 printk("%s: there are different flyvideo cards with different tuners\n"
4051 "%s: out there, you might have to use the tuner=<nr> insmod\n"
4052 "%s: option to override the default value.\n",
4053 dev->name, dev->name, dev->name);
4056 /* ----------------------------------------------------------- */
4058 int saa7134_board_init1(struct saa7134_dev *dev)
4060 /* Always print gpio, often manufacturers encode tuner type and other info. */
4061 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0);
4062 dev->gpio_value = saa_readl(SAA7134_GPIO_GPSTATUS0 >> 2);
4063 printk(KERN_INFO "%s: board init: gpio is %x\n", dev->name, dev->gpio_value);
4065 switch (dev->board) {
4066 case SAA7134_BOARD_FLYVIDEO2000:
4067 case SAA7134_BOARD_FLYVIDEO3000:
4068 case SAA7134_BOARD_FLYVIDEO3000_NTSC:
4069 dev->has_remote = SAA7134_REMOTE_GPIO;
4070 board_flyvideo(dev);
4072 case SAA7134_BOARD_FLYTVPLATINUM_MINI2:
4073 case SAA7134_BOARD_FLYTVPLATINUM_FM:
4074 case SAA7134_BOARD_CINERGY400:
4075 case SAA7134_BOARD_CINERGY600:
4076 case SAA7134_BOARD_CINERGY600_MK3:
4077 case SAA7134_BOARD_ECS_TVP3XP:
4078 case SAA7134_BOARD_ECS_TVP3XP_4CB5:
4079 case SAA7134_BOARD_MD2819:
4080 case SAA7134_BOARD_KWORLD_VSTREAM_XPERT:
4081 case SAA7134_BOARD_KWORLD_XPERT:
4082 case SAA7134_BOARD_AVERMEDIA_STUDIO_305:
4083 case SAA7134_BOARD_AVERMEDIA_305:
4084 case SAA7134_BOARD_AVERMEDIA_STUDIO_307:
4085 case SAA7134_BOARD_AVERMEDIA_307:
4086 case SAA7134_BOARD_AVERMEDIA_STUDIO_507:
4087 case SAA7134_BOARD_AVERMEDIA_GO_007_FM:
4088 case SAA7134_BOARD_AVERMEDIA_777:
4089 /* case SAA7134_BOARD_SABRENT_SBTTVFM: */ /* not finished yet */
4090 case SAA7134_BOARD_VIDEOMATE_TV_PVR:
4091 case SAA7134_BOARD_VIDEOMATE_GOLD_PLUS:
4092 case SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII:
4093 case SAA7134_BOARD_VIDEOMATE_DVBT_300:
4094 case SAA7134_BOARD_VIDEOMATE_DVBT_200:
4095 case SAA7134_BOARD_VIDEOMATE_DVBT_200A:
4096 case SAA7134_BOARD_MANLI_MTV001:
4097 case SAA7134_BOARD_MANLI_MTV002:
4098 case SAA7134_BOARD_BEHOLD_409FM:
4099 case SAA7134_BOARD_AVACSSMARTTV:
4100 case SAA7134_BOARD_GOTVIEW_7135:
4101 case SAA7134_BOARD_KWORLD_TERMINATOR:
4102 case SAA7134_BOARD_SEDNA_PC_TV_CARDBUS:
4103 case SAA7134_BOARD_FLYDVBT_LR301:
4104 case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
4105 case SAA7134_BOARD_FLYDVBTDUO:
4106 case SAA7134_BOARD_PROTEUS_2309:
4107 case SAA7134_BOARD_AVERMEDIA_A16AR:
4108 case SAA7134_BOARD_ENCORE_ENLTV:
4109 case SAA7134_BOARD_ENCORE_ENLTV_FM:
4110 dev->has_remote = SAA7134_REMOTE_GPIO;
4112 case SAA7134_BOARD_FLYDVBS_LR300:
4113 saa_writeb(SAA7134_GPIO_GPMODE3, 0x80);
4114 saa_writeb(SAA7134_GPIO_GPSTATUS2, 0x40);
4115 dev->has_remote = SAA7134_REMOTE_GPIO;
4117 case SAA7134_BOARD_MD5044:
4118 printk("%s: seems there are two different versions of the MD5044\n"
4119 "%s: (with the same ID) out there. If sound doesn't work for\n"
4120 "%s: you try the audio_clock_override=0x200000 insmod option.\n",
4121 dev->name,dev->name,dev->name);
4123 case SAA7134_BOARD_CINERGY400_CARDBUS:
4124 /* power-up tuner chip */
4125 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000);
4126 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000000);
4128 case SAA7134_BOARD_PINNACLE_300I_DVBT_PAL:
4129 /* this turns the remote control chip off to work around a bug in it */
4130 saa_writeb(SAA7134_GPIO_GPMODE1, 0x80);
4131 saa_writeb(SAA7134_GPIO_GPSTATUS1, 0x80);
4133 case SAA7134_BOARD_MONSTERTV_MOBILE:
4134 /* power-up tuner chip */
4135 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000);
4136 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000004);
4138 case SAA7134_BOARD_FLYDVBT_DUO_CARDBUS:
4139 /* turn the fan on */
4140 saa_writeb(SAA7134_GPIO_GPMODE3, 0x08);
4141 saa_writeb(SAA7134_GPIO_GPSTATUS3, 0x06);
4143 case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331:
4144 case SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS:
4145 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x08000000, 0x08000000);
4146 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x08000000, 0x00000000);
4148 case SAA7134_BOARD_AVERMEDIA_CARDBUS:
4149 /* power-up tuner chip */
4150 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0xffffffff, 0xffffffff);
4151 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0xffffffff);
4154 case SAA7134_BOARD_RTD_VFG7350:
4157 * Make sure Production Test Register at offset 0x1D1 is cleared
4158 * to take chip out of test mode. Clearing bit 4 (TST_EN_AOUT)
4159 * prevents pin 105 from remaining low; keeping pin 105 low
4160 * continually resets the SAA6752 chip.
4163 saa_writeb (SAA7134_PRODUCTION_TEST_MODE, 0x00);
4166 case SAA7134_BOARD_PINNACLE_PCTV_110i:
4167 case SAA7134_BOARD_PINNACLE_PCTV_310i:
4168 case SAA7134_BOARD_UPMOST_PURPLE_TV:
4169 case SAA7134_BOARD_HAUPPAUGE_HVR1110:
4170 dev->has_remote = SAA7134_REMOTE_I2C;
4172 case SAA7134_BOARD_AVERMEDIA_A169_B:
4173 case SAA7134_BOARD_MD7134_BRIDGE_2:
4174 printk("%s: %s: dual saa713x broadcast decoders\n"
4175 "%s: Sorry, none of the inputs to this chip are supported yet.\n"
4176 "%s: Dual decoder functionality is disabled for now, use the other chip.\n",
4177 dev->name,card(dev).name,dev->name,dev->name);
4183 /* stuff which needs working i2c */
4184 int saa7134_board_init2(struct saa7134_dev *dev)
4188 struct tuner_setup tun_setup;
4189 tun_setup.config = 0;
4190 tun_setup.tuner_callback = saa7134_tuner_callback;
4192 switch (dev->board) {
4193 case SAA7134_BOARD_BMK_MPEX_NOTUNER:
4194 case SAA7134_BOARD_BMK_MPEX_TUNER:
4195 dev->i2c_client.addr = 0x60;
4196 board = (i2c_master_recv(&dev->i2c_client,&buf,0) < 0)
4197 ? SAA7134_BOARD_BMK_MPEX_NOTUNER
4198 : SAA7134_BOARD_BMK_MPEX_TUNER;
4199 if (board == dev->board)
4202 printk("%s: board type fixup: %s\n", dev->name,
4203 saa7134_boards[dev->board].name);
4204 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
4206 if (TUNER_ABSENT != dev->tuner_type) {
4207 tun_setup.mode_mask = T_RADIO | T_ANALOG_TV | T_DIGITAL_TV;
4208 tun_setup.type = dev->tuner_type;
4209 tun_setup.addr = ADDR_UNSET;
4211 saa7134_i2c_call_clients (dev, TUNER_SET_TYPE_ADDR, &tun_setup);
4214 case SAA7134_BOARD_MD7134:
4220 struct i2c_msg msg[] = {{.addr=0x50, .flags=0, .buf=&subaddr, .len = 1},
4221 {.addr=0x50, .flags=I2C_M_RD, .buf=data, .len = 3}};
4224 ret = i2c_transfer(&dev->i2c_adap, msg, 2);
4226 printk(KERN_ERR "EEPROM read failure\n");
4227 } else if ((data[0] != 0) && (data[0] != 0xff)) {
4228 /* old config structure */
4229 subaddr = data[0] + 2;
4231 i2c_transfer(&dev->i2c_adap, msg, 2);
4232 tuner_t = (data[0] << 8) + data[1];
4235 dev->tuner_type = TUNER_PHILIPS_PAL;
4238 dev->tuner_type = TUNER_PHILIPS_FM1216ME_MK3;
4241 printk(KERN_ERR "%s Cant determine tuner type %x from EEPROM\n", dev->name, tuner_t);
4243 } else if ((data[1] != 0) && (data[1] != 0xff)) {
4244 /* new config structure */
4245 subaddr = data[1] + 1;
4247 i2c_transfer(&dev->i2c_adap, msg, 2);
4248 subaddr = data[0] + 1;
4250 i2c_transfer(&dev->i2c_adap, msg, 2);
4251 tuner_t = (data[1] << 8) + data[0];
4254 dev->tuner_type = TUNER_PHILIPS_FM1216ME_MK3;
4257 dev->tuner_type = TUNER_PHILIPS_FMD1216ME_MK3;
4258 printk(KERN_INFO "%s Board has DVB-T\n", dev->name);
4261 printk(KERN_ERR "%s Cant determine tuner type %x from EEPROM\n", dev->name, tuner_t);
4264 printk(KERN_ERR "%s unexpected config structure\n", dev->name);
4267 printk(KERN_INFO "%s Tuner type is %d\n", dev->name, dev->tuner_type);
4268 if (dev->tuner_type == TUNER_PHILIPS_FMD1216ME_MK3) {
4269 dev->tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE | TDA9887_PORT2_ACTIVE;
4270 saa7134_i2c_call_clients(dev,TDA9887_SET_CONFIG, &dev->tda9887_conf);
4273 tun_setup.mode_mask = T_RADIO | T_ANALOG_TV | T_DIGITAL_TV;
4274 tun_setup.type = dev->tuner_type;
4275 tun_setup.addr = ADDR_UNSET;
4277 saa7134_i2c_call_clients (dev, TUNER_SET_TYPE_ADDR,&tun_setup);
4280 case SAA7134_BOARD_PHILIPS_EUROPA:
4281 case SAA7134_BOARD_VIDEOMATE_DVBT_300:
4282 case SAA7134_BOARD_ASUS_EUROPA2_HYBRID:
4283 /* The Philips EUROPA based hybrid boards have the tuner connected through
4284 * the channel decoder. We have to make it transparent to find it
4287 u8 data[] = { 0x07, 0x02};
4288 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
4289 i2c_transfer(&dev->i2c_adap, &msg, 1);
4291 tun_setup.mode_mask = T_ANALOG_TV | T_DIGITAL_TV;
4292 tun_setup.type = dev->tuner_type;
4293 tun_setup.addr = dev->tuner_addr;
4295 saa7134_i2c_call_clients (dev, TUNER_SET_TYPE_ADDR,&tun_setup);
4298 case SAA7134_BOARD_PHILIPS_TIGER:
4299 case SAA7134_BOARD_PHILIPS_TIGER_S:
4301 u8 data[] = { 0x3c, 0x33, 0x60};
4302 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
4303 if(dev->autodetected && (dev->eedata[0x49] == 0x50)) {
4304 dev->board = SAA7134_BOARD_PHILIPS_TIGER_S;
4305 printk(KERN_INFO "%s: Reconfigured board as %s\n",
4306 dev->name, saa7134_boards[dev->board].name);
4308 if(dev->board == SAA7134_BOARD_PHILIPS_TIGER_S) {
4309 tun_setup.mode_mask = T_ANALOG_TV | T_DIGITAL_TV;
4310 tun_setup.type = TUNER_PHILIPS_TDA8290;
4311 tun_setup.addr = 0x4b;
4312 tun_setup.config = 2;
4314 saa7134_i2c_call_clients (dev, TUNER_SET_TYPE_ADDR,&tun_setup);
4317 i2c_transfer(&dev->i2c_adap, &msg, 1);
4320 case SAA7134_BOARD_PINNACLE_PCTV_310i:
4321 case SAA7134_BOARD_TEVION_DVBT_220RF:
4322 case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
4323 case SAA7134_BOARD_MEDION_MD8800_QUADRO:
4324 case SAA7134_BOARD_HAUPPAUGE_HVR1110:
4325 /* this is a hybrid board, initialize to analog mode
4326 * and configure firmware eeprom address
4329 u8 data[] = { 0x3c, 0x33, 0x60};
4330 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
4331 i2c_transfer(&dev->i2c_adap, &msg, 1);
4334 case SAA7134_BOARD_FLYDVB_TRIO:
4336 u8 data[] = { 0x3c, 0x33, 0x62};
4337 struct i2c_msg msg = {.addr=0x09, .flags=0, .buf=data, .len = sizeof(data)};
4338 i2c_transfer(&dev->i2c_adap, &msg, 1);
4341 case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331:
4342 case SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS:
4343 /* initialize analog mode */
4345 u8 data[] = { 0x3c, 0x33, 0x6a};
4346 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
4347 i2c_transfer(&dev->i2c_adap, &msg, 1);
4350 case SAA7134_BOARD_CINERGY_HT_PCMCIA:
4351 case SAA7134_BOARD_CINERGY_HT_PCI:
4352 /* initialize analog mode */
4354 u8 data[] = { 0x3c, 0x33, 0x68};
4355 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
4356 i2c_transfer(&dev->i2c_adap, &msg, 1);
4359 case SAA7134_BOARD_KWORLD_ATSC110:
4363 static const u8 buffer [] = { 0x10,0x12,0x13,0x04,0x16,0x00,0x14,0x04,0x017,0x00 };
4364 dev->i2c_client.addr = 0x0a;
4365 for (i = 0; i < 5; i++)
4366 if (2 != i2c_master_send(&dev->i2c_client,&buffer[i*2],2))
4367 printk(KERN_WARNING "%s: Unable to enable tuner(%i).\n",
4371 case SAA7134_BOARD_VIDEOMATE_DVBT_200:
4372 case SAA7134_BOARD_VIDEOMATE_DVBT_200A:
4373 /* The T200 and the T200A share the same pci id. Consequently,
4374 * we are going to query eeprom to try to find out which one we
4375 * are actually looking at. */
4377 /* Don't do this if the board was specifically selected with an
4378 * insmod option or if we have the default configuration T200*/
4379 if(!dev->autodetected || (dev->eedata[0x41] == 0xd0))
4381 if(dev->eedata[0x41] == 0x02) {
4382 /* Reconfigure board as T200A */
4383 dev->board = SAA7134_BOARD_VIDEOMATE_DVBT_200A;
4384 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
4385 dev->tda9887_conf = saa7134_boards[dev->board].tda9887_conf;
4386 printk(KERN_INFO "%s: Reconfigured board as %s\n",
4387 dev->name, saa7134_boards[dev->board].name);
4389 printk(KERN_WARNING "%s: Unexpected tuner type info: %x in eeprom\n",
4390 dev->name, dev->eedata[0x41]);
4398 /* ----------------------------------------------------------- */