3 * device driver for philips saa7134 based TV cards
6 * (c) 2001-04 Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 #include <linux/init.h>
24 #include <linux/module.h>
25 #include <linux/i2c.h>
26 #include <linux/i2c-algo-bit.h>
28 #include "saa7134-reg.h"
30 #include "tuner-xc2028.h"
31 #include <media/v4l2-common.h>
32 #include <media/tveeprom.h>
35 /* commly used strings */
36 static char name_mute[] = "mute";
37 static char name_radio[] = "Radio";
38 static char name_tv[] = "Television";
39 static char name_tv_mono[] = "TV (mono only)";
40 static char name_comp[] = "Composite";
41 static char name_comp1[] = "Composite1";
42 static char name_comp2[] = "Composite2";
43 static char name_comp3[] = "Composite3";
44 static char name_comp4[] = "Composite4";
45 static char name_svideo[] = "S-Video";
47 /* ------------------------------------------------------------------ */
48 /* board config info */
50 struct saa7134_board saa7134_boards[] = {
51 [SAA7134_BOARD_UNKNOWN] = {
52 .name = "UNKNOWN/GENERIC",
53 .audio_clock = 0x00187de7,
54 .tuner_type = TUNER_ABSENT,
56 .tuner_addr = ADDR_UNSET,
57 .radio_addr = ADDR_UNSET,
65 [SAA7134_BOARD_PROTEUS_PRO] = {
67 .name = "Proteus Pro [philips reference design]",
68 .audio_clock = 0x00187de7,
69 .tuner_type = TUNER_PHILIPS_PAL,
71 .tuner_addr = ADDR_UNSET,
72 .radio_addr = ADDR_UNSET,
94 [SAA7134_BOARD_FLYVIDEO3000] = {
95 /* "Marco d'Itri" <md@Linux.IT> */
96 .name = "LifeView FlyVIDEO3000",
97 .audio_clock = 0x00200000,
98 .tuner_type = TUNER_PHILIPS_PAL,
100 .tuner_addr = ADDR_UNSET,
101 .radio_addr = ADDR_UNSET,
111 .name = name_tv_mono,
143 [SAA7134_BOARD_FLYVIDEO2000] = {
144 /* "TC Wan" <tcwan@cs.usm.my> */
145 .name = "LifeView/Typhoon FlyVIDEO2000",
146 .audio_clock = 0x00200000,
147 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
149 .tuner_addr = ADDR_UNSET,
150 .radio_addr = ADDR_UNSET,
186 [SAA7134_BOARD_FLYTVPLATINUM_MINI] = {
187 /* "Arnaud Quette" <aquette@free.fr> */
188 .name = "LifeView FlyTV Platinum Mini",
189 .audio_clock = 0x00200000,
190 .tuner_type = TUNER_PHILIPS_TDA8290,
192 .tuner_addr = ADDR_UNSET,
193 .radio_addr = ADDR_UNSET,
201 .name = name_comp1, /* Composite signal on S-Video input */
205 .name = name_comp2, /* Composite input */
214 [SAA7134_BOARD_FLYTVPLATINUM_FM] = {
215 /* LifeView FlyTV Platinum FM (LR214WF) */
216 /* "Peter Missel <peter.missel@onlinehome.de> */
217 .name = "LifeView FlyTV Platinum FM / Gold",
218 .audio_clock = 0x00200000,
219 .tuner_type = TUNER_PHILIPS_TDA8290,
221 .tuner_addr = ADDR_UNSET,
222 .radio_addr = ADDR_UNSET,
224 .gpiomask = 0x1E000, /* Set GP16 and unused 15,14,13 to Output */
229 .gpio = 0x10000, /* GP16=1 selects TV input */
232 /* .name = name_tv_mono,
238 */ .name = name_comp1, /* Composite signal on S-Video input */
241 /* .gpio = 0x4000, */
243 .name = name_comp2, /* Composite input */
246 /* .gpio = 0x4000, */
248 .name = name_svideo, /* S-Video signal on S-Video input */
251 /* .gpio = 0x4000, */
256 .gpio = 0x00000, /* GP16=0 selects FM radio antenna */
264 [SAA7134_BOARD_EMPRESS] = {
265 /* "Gert Vervoort" <gert.vervoort@philips.com> */
267 .audio_clock = 0x00187de7,
268 .tuner_type = TUNER_PHILIPS_PAL,
270 .tuner_addr = ADDR_UNSET,
271 .radio_addr = ADDR_UNSET,
291 .mpeg = SAA7134_MPEG_EMPRESS,
292 .video_out = CCIR656,
294 [SAA7134_BOARD_MONSTERTV] = {
295 /* "K.Ohta" <alpha292@bremen.or.jp> */
296 .name = "SKNet Monster TV",
297 .audio_clock = 0x00187de7,
298 .tuner_type = TUNER_PHILIPS_NTSC_M,
300 .tuner_addr = ADDR_UNSET,
301 .radio_addr = ADDR_UNSET,
322 [SAA7134_BOARD_MD9717] = {
323 .name = "Tevion MD 9717",
324 .audio_clock = 0x00200000,
325 .tuner_type = TUNER_PHILIPS_PAL,
327 .tuner_addr = ADDR_UNSET,
328 .radio_addr = ADDR_UNSET,
335 /* workaround for problems with normal TV sound */
336 .name = name_tv_mono,
362 [SAA7134_BOARD_TVSTATION_RDS] = {
363 /* Typhoon TV Tuner RDS: Art.Nr. 50694 */
364 .name = "KNC One TV-Station RDS / Typhoon TV Tuner RDS",
365 .audio_clock = 0x00200000,
366 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
368 .tuner_addr = ADDR_UNSET,
369 .radio_addr = ADDR_UNSET,
370 .tda9887_conf = TDA9887_PRESENT,
377 .name = name_tv_mono,
392 .name = "CVid over SVid",
401 [SAA7134_BOARD_TVSTATION_DVR] = {
402 .name = "KNC One TV-Station DVR",
403 .audio_clock = 0x00200000,
404 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
406 .tuner_addr = ADDR_UNSET,
407 .radio_addr = ADDR_UNSET,
408 .tda9887_conf = TDA9887_PRESENT,
409 .gpiomask = 0x820000,
432 .mpeg = SAA7134_MPEG_EMPRESS,
433 .video_out = CCIR656,
435 [SAA7134_BOARD_CINERGY400] = {
436 .name = "Terratec Cinergy 400 TV",
437 .audio_clock = 0x00200000,
438 .tuner_type = TUNER_PHILIPS_PAL,
440 .tuner_addr = ADDR_UNSET,
441 .radio_addr = ADDR_UNSET,
456 .name = name_comp2, /* CVideo over SVideo Connector */
461 [SAA7134_BOARD_MD5044] = {
462 .name = "Medion 5044",
463 .audio_clock = 0x00187de7, /* was: 0x00200000, */
464 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
466 .tuner_addr = ADDR_UNSET,
467 .radio_addr = ADDR_UNSET,
468 .tda9887_conf = TDA9887_PRESENT,
475 /* workaround for problems with normal TV sound */
476 .name = name_tv_mono,
498 [SAA7134_BOARD_KWORLD] = {
499 .name = "Kworld/KuroutoShikou SAA7130-TVPCI",
500 .audio_clock = 0x00187de7,
501 .tuner_type = TUNER_PHILIPS_NTSC_M,
503 .tuner_addr = ADDR_UNSET,
504 .radio_addr = ADDR_UNSET,
520 [SAA7134_BOARD_CINERGY600] = {
521 .name = "Terratec Cinergy 600 TV",
522 .audio_clock = 0x00200000,
523 .tuner_type = TUNER_PHILIPS_PAL,
525 .tuner_addr = ADDR_UNSET,
526 .radio_addr = ADDR_UNSET,
527 .tda9887_conf = TDA9887_PRESENT,
542 .name = name_comp2, /* CVideo over SVideo Connector */
551 [SAA7134_BOARD_MD7134] = {
552 .name = "Medion 7134",
553 .audio_clock = 0x00187de7,
554 .tuner_type = TUNER_PHILIPS_FMD1216ME_MK3,
556 .tuner_addr = ADDR_UNSET,
557 .radio_addr = ADDR_UNSET,
558 .tda9887_conf = TDA9887_PRESENT,
559 .mpeg = SAA7134_MPEG_DVB,
583 [SAA7134_BOARD_TYPHOON_90031] = {
584 /* aka Typhoon "TV+Radio", Art.Nr 90031 */
585 /* Tom Zoerner <tomzo at users sourceforge net> */
586 .name = "Typhoon TV+Radio 90031",
587 .audio_clock = 0x00200000,
588 .tuner_type = TUNER_PHILIPS_PAL,
590 .tuner_addr = ADDR_UNSET,
591 .radio_addr = ADDR_UNSET,
592 .tda9887_conf = TDA9887_PRESENT,
612 [SAA7134_BOARD_ELSA] = {
613 .name = "ELSA EX-VISION 300TV",
614 .audio_clock = 0x00187de7,
615 .tuner_type = TUNER_HITACHI_NTSC,
617 .tuner_addr = ADDR_UNSET,
618 .radio_addr = ADDR_UNSET,
634 [SAA7134_BOARD_ELSA_500TV] = {
635 .name = "ELSA EX-VISION 500TV",
636 .audio_clock = 0x00187de7,
637 .tuner_type = TUNER_HITACHI_NTSC,
639 .tuner_addr = ADDR_UNSET,
640 .radio_addr = ADDR_UNSET,
651 .name = name_tv_mono,
657 [SAA7134_BOARD_ELSA_700TV] = {
658 .name = "ELSA EX-VISION 700TV",
659 .audio_clock = 0x00187de7,
660 .tuner_type = TUNER_HITACHI_NTSC,
662 .tuner_addr = ADDR_UNSET,
663 .radio_addr = ADDR_UNSET,
683 [SAA7134_BOARD_ASUSTeK_TVFM7134] = {
684 .name = "ASUS TV-FM 7134",
685 .audio_clock = 0x00187de7,
686 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
688 .tuner_addr = ADDR_UNSET,
689 .radio_addr = ADDR_UNSET,
690 .tda9887_conf = TDA9887_PRESENT,
710 [SAA7134_BOARD_ASUSTeK_TVFM7135] = {
711 .name = "ASUS TV-FM 7135",
712 .audio_clock = 0x00187de7,
713 .tuner_type = TUNER_PHILIPS_TDA8290,
715 .tuner_addr = ADDR_UNSET,
716 .radio_addr = ADDR_UNSET,
717 .gpiomask = 0x200000,
746 [SAA7134_BOARD_VA1000POWER] = {
747 .name = "AOPEN VA1000 POWER",
748 .audio_clock = 0x00187de7,
749 .tuner_type = TUNER_PHILIPS_NTSC,
751 .tuner_addr = ADDR_UNSET,
752 .radio_addr = ADDR_UNSET,
768 [SAA7134_BOARD_10MOONSTVMASTER] = {
769 /* "lilicheng" <llc@linuxfans.org> */
770 .name = "10MOONS PCI TV CAPTURE CARD",
771 .audio_clock = 0x00200000,
772 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
774 .tuner_addr = ADDR_UNSET,
775 .radio_addr = ADDR_UNSET,
810 [SAA7134_BOARD_BMK_MPEX_NOTUNER] = {
811 /* "Andrew de Quincey" <adq@lidskialf.net> */
812 .name = "BMK MPEX No Tuner",
813 .audio_clock = 0x200000,
814 .tuner_type = TUNER_ABSENT,
816 .tuner_addr = ADDR_UNSET,
817 .radio_addr = ADDR_UNSET,
839 .mpeg = SAA7134_MPEG_EMPRESS,
840 .video_out = CCIR656,
842 [SAA7134_BOARD_VIDEOMATE_TV] = {
843 .name = "Compro VideoMate TV",
844 .audio_clock = 0x00187de7,
845 .tuner_type = TUNER_PHILIPS_NTSC_M,
847 .tuner_addr = ADDR_UNSET,
848 .radio_addr = ADDR_UNSET,
864 [SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS] = {
865 .name = "Compro VideoMate TV Gold+",
866 .audio_clock = 0x00187de7,
867 .tuner_type = TUNER_PHILIPS_NTSC_M,
868 .gpiomask = 0x800c0000,
870 .tuner_addr = ADDR_UNSET,
871 .radio_addr = ADDR_UNSET,
888 }}, /* radio and probably mute is missing */
890 [SAA7134_BOARD_CRONOS_PLUS] = {
899 .name = "Matrox CronosPlus",
900 .tuner_type = TUNER_ABSENT,
902 .tuner_addr = ADDR_UNSET,
903 .radio_addr = ADDR_UNSET,
927 [SAA7134_BOARD_MD2819] = {
928 .name = "AverMedia M156 / Medion 2819",
929 .audio_clock = 0x00187de7,
930 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
932 .tuner_addr = ADDR_UNSET,
933 .radio_addr = ADDR_UNSET,
934 .tda9887_conf = TDA9887_PRESENT,
969 [SAA7134_BOARD_BMK_MPEX_TUNER] = {
970 /* "Greg Wickham <greg.wickham@grangenet.net> */
971 .name = "BMK MPEX Tuner",
972 .audio_clock = 0x200000,
973 .tuner_type = TUNER_PHILIPS_PAL,
975 .tuner_addr = ADDR_UNSET,
976 .radio_addr = ADDR_UNSET,
991 .mpeg = SAA7134_MPEG_EMPRESS,
992 .video_out = CCIR656,
994 [SAA7134_BOARD_ASUSTEK_TVFM7133] = {
995 .name = "ASUS TV-FM 7133",
996 .audio_clock = 0x00187de7,
997 /* probably wrong, the 7133 one is the NTSC version ...
998 * .tuner_type = TUNER_PHILIPS_FM1236_MK3 */
999 .tuner_type = TUNER_LG_NTSC_NEW_TAPC,
1000 .radio_type = UNSET,
1001 .tuner_addr = ADDR_UNSET,
1002 .radio_addr = ADDR_UNSET,
1003 .tda9887_conf = TDA9887_PRESENT,
1015 .name = name_svideo,
1024 [SAA7134_BOARD_PINNACLE_PCTV_STEREO] = {
1025 .name = "Pinnacle PCTV Stereo (saa7134)",
1026 .audio_clock = 0x00187de7,
1027 .tuner_type = TUNER_MT2032,
1028 .radio_type = UNSET,
1029 .tuner_addr = ADDR_UNSET,
1030 .radio_addr = ADDR_UNSET,
1031 .tda9887_conf = TDA9887_PRESENT | TDA9887_INTERCARRIER | TDA9887_PORT2_INACTIVE,
1046 .name = name_svideo,
1051 [SAA7134_BOARD_MANLI_MTV002] = {
1052 /* Ognjen Nastic <ognjen@logosoft.ba> */
1053 .name = "Manli MuchTV M-TV002",
1054 .audio_clock = 0x00200000,
1055 .tuner_type = TUNER_PHILIPS_PAL,
1056 .radio_type = UNSET,
1057 .tuner_addr = ADDR_UNSET,
1058 .radio_addr = ADDR_UNSET,
1060 .name = name_svideo,
1078 [SAA7134_BOARD_MANLI_MTV001] = {
1079 /* Ognjen Nastic <ognjen@logosoft.ba> UNTESTED */
1080 .name = "Manli MuchTV M-TV001",
1081 .audio_clock = 0x00200000,
1082 .tuner_type = TUNER_PHILIPS_PAL,
1083 .radio_type = UNSET,
1084 .tuner_addr = ADDR_UNSET,
1085 .radio_addr = ADDR_UNSET,
1087 .name = name_svideo,
1105 [SAA7134_BOARD_TG3000TV] = {
1106 /* TransGear 3000TV */
1107 .name = "Nagase Sangyo TransGear 3000TV",
1108 .audio_clock = 0x00187de7,
1109 .tuner_type = TUNER_PHILIPS_NTSC_M,
1110 .radio_type = UNSET,
1111 .tuner_addr = ADDR_UNSET,
1112 .radio_addr = ADDR_UNSET,
1123 .name = name_svideo,
1128 [SAA7134_BOARD_ECS_TVP3XP] = {
1129 .name = "Elitegroup ECS TVP3XP FM1216 Tuner Card(PAL-BG,FM) ",
1130 .audio_clock = 0x187de7, /* xtal 32.1 MHz */
1131 .tuner_type = TUNER_PHILIPS_PAL,
1132 .radio_type = UNSET,
1133 .tuner_addr = ADDR_UNSET,
1134 .radio_addr = ADDR_UNSET,
1141 .name = name_tv_mono,
1150 .name = name_svideo,
1154 .name = "CVid over SVid",
1163 [SAA7134_BOARD_ECS_TVP3XP_4CB5] = {
1164 .name = "Elitegroup ECS TVP3XP FM1236 Tuner Card (NTSC,FM)",
1165 .audio_clock = 0x187de7,
1166 .tuner_type = TUNER_PHILIPS_NTSC,
1167 .radio_type = UNSET,
1168 .tuner_addr = ADDR_UNSET,
1169 .radio_addr = ADDR_UNSET,
1176 .name = name_tv_mono,
1185 .name = name_svideo,
1189 .name = "CVid over SVid",
1198 [SAA7134_BOARD_ECS_TVP3XP_4CB6] = {
1199 /* Barry Scott <barry.scott@onelan.co.uk> */
1200 .name = "Elitegroup ECS TVP3XP FM1246 Tuner Card (PAL,FM)",
1201 .audio_clock = 0x187de7,
1202 .tuner_type = TUNER_PHILIPS_PAL_I,
1203 .radio_type = UNSET,
1204 .tuner_addr = ADDR_UNSET,
1205 .radio_addr = ADDR_UNSET,
1212 .name = name_tv_mono,
1221 .name = name_svideo,
1225 .name = "CVid over SVid",
1234 [SAA7134_BOARD_AVACSSMARTTV] = {
1235 /* Roman Pszonczenko <romka@kolos.math.uni.lodz.pl> */
1236 .name = "AVACS SmartTV",
1237 .audio_clock = 0x00187de7,
1238 .tuner_type = TUNER_PHILIPS_PAL,
1239 .radio_type = UNSET,
1240 .tuner_addr = ADDR_UNSET,
1241 .radio_addr = ADDR_UNSET,
1248 .name = name_tv_mono,
1261 .name = name_svideo,
1271 [SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER] = {
1272 /* Michael Smith <msmith@cbnco.com> */
1273 .name = "AVerMedia DVD EZMaker",
1274 .audio_clock = 0x00187de7,
1275 .tuner_type = TUNER_ABSENT,
1276 .radio_type = UNSET,
1277 .tuner_addr = ADDR_UNSET,
1278 .radio_addr = ADDR_UNSET,
1283 .name = name_svideo,
1287 [SAA7134_BOARD_NOVAC_PRIMETV7133] = {
1288 /* toshii@netbsd.org */
1289 .name = "Noval Prime TV 7133",
1290 .audio_clock = 0x00200000,
1291 .tuner_type = TUNER_ALPS_TSBH1_NTSC,
1292 .radio_type = UNSET,
1293 .tuner_addr = ADDR_UNSET,
1294 .radio_addr = ADDR_UNSET,
1304 .name = name_svideo,
1308 [SAA7134_BOARD_AVERMEDIA_STUDIO_305] = {
1309 .name = "AverMedia AverTV Studio 305",
1310 .audio_clock = 0x00187de7,
1311 .tuner_type = TUNER_PHILIPS_FM1256_IH3,
1312 .radio_type = UNSET,
1313 .tuner_addr = ADDR_UNSET,
1314 .radio_addr = ADDR_UNSET,
1315 .tda9887_conf = TDA9887_PRESENT,
1330 .name = name_svideo,
1343 [SAA7134_BOARD_UPMOST_PURPLE_TV] = {
1344 .name = "UPMOST PURPLE TV",
1345 .audio_clock = 0x00187de7,
1346 .tuner_type = TUNER_PHILIPS_FM1236_MK3,
1347 .radio_type = UNSET,
1348 .tuner_addr = ADDR_UNSET,
1349 .radio_addr = ADDR_UNSET,
1350 .tda9887_conf = TDA9887_PRESENT,
1357 .name = name_svideo,
1362 [SAA7134_BOARD_ITEMS_MTV005] = {
1363 /* Norman Jonas <normanjonas@arcor.de> */
1364 .name = "Items MuchTV Plus / IT-005",
1365 .audio_clock = 0x00187de7,
1366 .tuner_type = TUNER_PHILIPS_PAL,
1367 .radio_type = UNSET,
1368 .tuner_addr = ADDR_UNSET,
1369 .radio_addr = ADDR_UNSET,
1380 .name = name_svideo,
1389 [SAA7134_BOARD_CINERGY200] = {
1390 .name = "Terratec Cinergy 200 TV",
1391 .audio_clock = 0x00200000,
1392 .tuner_type = TUNER_PHILIPS_PAL,
1393 .radio_type = UNSET,
1394 .tuner_addr = ADDR_UNSET,
1395 .radio_addr = ADDR_UNSET,
1406 .name = name_svideo,
1410 .name = name_comp2, /* CVideo over SVideo Connector */
1419 [SAA7134_BOARD_VIDEOMATE_TV_PVR] = {
1420 /* Alain St-Denis <alain@topaze.homeip.net> */
1421 .name = "Compro VideoMate TV PVR/FM",
1422 .audio_clock = 0x00187de7,
1423 .tuner_type = TUNER_PHILIPS_NTSC_M,
1424 .radio_type = UNSET,
1425 .tuner_addr = ADDR_UNSET,
1426 .radio_addr = ADDR_UNSET,
1427 .gpiomask = 0x808c0080,
1429 .name = name_svideo,
1456 [SAA7134_BOARD_SABRENT_SBTTVFM] = {
1457 /* Michael Rodriguez-Torrent <mrtorrent@asu.edu> */
1458 .name = "Sabrent SBT-TVFM (saa7130)",
1459 .audio_clock = 0x00187de7,
1460 .tuner_type = TUNER_PHILIPS_NTSC_M,
1461 .radio_type = UNSET,
1462 .tuner_addr = ADDR_UNSET,
1463 .radio_addr = ADDR_UNSET,
1474 .name = name_svideo,
1483 [SAA7134_BOARD_ZOLID_XPERT_TV7134] = {
1484 /* Helge Jensen <helge.jensen@slog.dk> */
1485 .name = ":Zolid Xpert TV7134",
1486 .audio_clock = 0x00187de7,
1487 .tuner_type = TUNER_PHILIPS_NTSC,
1488 .radio_type = UNSET,
1489 .tuner_addr = ADDR_UNSET,
1490 .radio_addr = ADDR_UNSET,
1492 .name = name_svideo,
1506 [SAA7134_BOARD_EMPIRE_PCI_TV_RADIO_LE] = {
1507 /* "Matteo Az" <matte.az@nospam.libero.it> ;-) */
1508 .name = "Empire PCI TV-Radio LE",
1509 .audio_clock = 0x00187de7,
1510 .tuner_type = TUNER_PHILIPS_PAL,
1511 .radio_type = UNSET,
1512 .tuner_addr = ADDR_UNSET,
1513 .radio_addr = ADDR_UNSET,
1516 .name = name_tv_mono,
1527 .name = name_svideo,
1543 [SAA7134_BOARD_AVERMEDIA_STUDIO_307] = {
1545 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
1546 Lots of thanks to Andrey Zolotarev <zolotarev_andrey@mail.ru>
1548 .name = "Avermedia AVerTV Studio 307",
1549 .audio_clock = 0x00187de7,
1550 .tuner_type = TUNER_PHILIPS_FM1256_IH3,
1551 .radio_type = UNSET,
1552 .tuner_addr = ADDR_UNSET,
1553 .radio_addr = ADDR_UNSET,
1554 .tda9887_conf = TDA9887_PRESENT,
1568 .name = name_svideo,
1584 [SAA7134_BOARD_AVERMEDIA_GO_007_FM] = {
1585 .name = "Avermedia AVerTV GO 007 FM",
1586 .audio_clock = 0x00187de7,
1587 .tuner_type = TUNER_PHILIPS_TDA8290,
1588 .radio_type = UNSET,
1589 .tuner_addr = ADDR_UNSET,
1590 .radio_addr = ADDR_UNSET,
1591 .gpiomask = 0x00300003,
1592 /* .gpiomask = 0x8c240003, */
1605 .name = name_svideo,
1621 [SAA7134_BOARD_AVERMEDIA_CARDBUS] = {
1622 /* Kees.Blom@cwi.nl */
1623 .name = "AVerMedia Cardbus TV/Radio (E500)",
1624 .audio_clock = 0x187de7,
1625 .tuner_type = TUNER_PHILIPS_TDA8290,
1626 .radio_type = UNSET,
1627 .tuner_addr = ADDR_UNSET,
1628 .radio_addr = ADDR_UNSET,
1639 .name = name_svideo,
1648 [SAA7134_BOARD_CINERGY400_CARDBUS] = {
1649 .name = "Terratec Cinergy 400 mobile",
1650 .audio_clock = 0x187de7,
1651 .tuner_type = TUNER_ALPS_TSBE5_PAL,
1652 .radio_type = UNSET,
1653 .tuner_addr = ADDR_UNSET,
1654 .radio_addr = ADDR_UNSET,
1655 .tda9887_conf = TDA9887_PRESENT,
1662 .name = name_tv_mono,
1671 .name = name_svideo,
1676 [SAA7134_BOARD_CINERGY600_MK3] = {
1677 .name = "Terratec Cinergy 600 TV MK3",
1678 .audio_clock = 0x00200000,
1679 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
1680 .radio_type = UNSET,
1681 .tuner_addr = ADDR_UNSET,
1682 .radio_addr = ADDR_UNSET,
1683 .tda9887_conf = TDA9887_PRESENT,
1694 .name = name_svideo,
1698 .name = name_comp2, /* CVideo over SVideo Connector */
1707 [SAA7134_BOARD_VIDEOMATE_GOLD_PLUS] = {
1708 /* Dylan Walkden <dylan_walkden@hotmail.com> */
1709 .name = "Compro VideoMate Gold+ Pal",
1710 .audio_clock = 0x00187de7,
1711 .tuner_type = TUNER_PHILIPS_PAL,
1712 .radio_type = UNSET,
1713 .tuner_addr = ADDR_UNSET,
1714 .radio_addr = ADDR_UNSET,
1715 .gpiomask = 0x1ce780,
1717 .name = name_svideo,
1718 .vmux = 0, /* CVideo over SVideo Connector - ok? */
1744 [SAA7134_BOARD_PINNACLE_300I_DVBT_PAL] = {
1745 .name = "Pinnacle PCTV 300i DVB-T + PAL",
1746 .audio_clock = 0x00187de7,
1747 .tuner_type = TUNER_MT2032,
1748 .radio_type = UNSET,
1749 .tuner_addr = ADDR_UNSET,
1750 .radio_addr = ADDR_UNSET,
1751 .tda9887_conf = TDA9887_PRESENT | TDA9887_INTERCARRIER | TDA9887_PORT2_INACTIVE,
1752 .mpeg = SAA7134_MPEG_DVB,
1767 .name = name_svideo,
1772 [SAA7134_BOARD_PROVIDEO_PV952] = {
1773 /* andreas.kretschmer@web.de */
1774 .name = "ProVideo PV952",
1775 .audio_clock = 0x00187de7,
1776 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
1777 .radio_type = UNSET,
1778 .tuner_addr = ADDR_UNSET,
1779 .radio_addr = ADDR_UNSET,
1780 .tda9887_conf = TDA9887_PRESENT,
1791 .name = name_tv_mono,
1801 [SAA7134_BOARD_AVERMEDIA_305] = {
1802 /* much like the "studio" version but without radio
1803 * and another tuner (sirspiritus@yandex.ru) */
1804 .name = "AverMedia AverTV/305",
1805 .audio_clock = 0x00187de7,
1806 .tuner_type = TUNER_PHILIPS_FQ1216ME,
1807 .radio_type = UNSET,
1808 .tuner_addr = ADDR_UNSET,
1809 .radio_addr = ADDR_UNSET,
1810 .tda9887_conf = TDA9887_PRESENT,
1825 .name = name_svideo,
1834 [SAA7134_BOARD_FLYDVBTDUO] = {
1835 /* LifeView FlyDVB-T DUO */
1836 /* "Nico Sabbi <nsabbi@tiscali.it> Hartmut Hackmann hartmut.hackmann@t-online.de*/
1837 .name = "LifeView FlyDVB-T DUO / MSI TV@nywhere Duo",
1838 .audio_clock = 0x00200000,
1839 .tuner_type = TUNER_PHILIPS_TDA8290,
1840 .radio_type = UNSET,
1841 .tuner_addr = ADDR_UNSET,
1842 .radio_addr = ADDR_UNSET,
1843 .gpiomask = 0x00200000,
1844 .mpeg = SAA7134_MPEG_DVB,
1849 .gpio = 0x200000, /* GPIO21=High for TV input */
1852 .name = name_comp1, /* Composite signal on S-Video input */
1856 .name = name_comp2, /* Composite input */
1860 .name = name_svideo, /* S-Video signal on S-Video input */
1867 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
1870 [SAA7134_BOARD_PHILIPS_TOUGH] = {
1871 .name = "Philips TOUGH DVB-T reference design",
1872 .tuner_type = TUNER_ABSENT,
1873 .audio_clock = 0x00187de7,
1874 .radio_type = UNSET,
1875 .tuner_addr = ADDR_UNSET,
1876 .radio_addr = ADDR_UNSET,
1877 .mpeg = SAA7134_MPEG_DVB,
1883 .name = name_svideo,
1888 [SAA7134_BOARD_AVERMEDIA_307] = {
1890 Davydov Vladimir <vladimir@iqmedia.com>
1892 .name = "Avermedia AVerTV 307",
1893 .audio_clock = 0x00187de7,
1894 .tuner_type = TUNER_PHILIPS_FQ1216ME,
1895 .radio_type = UNSET,
1896 .tuner_addr = ADDR_UNSET,
1897 .radio_addr = ADDR_UNSET,
1898 .tda9887_conf = TDA9887_PRESENT,
1913 .name = name_svideo,
1918 [SAA7134_BOARD_ADS_INSTANT_TV] = {
1919 .name = "ADS Tech Instant TV (saa7135)",
1920 .audio_clock = 0x00187de7,
1921 .tuner_type = TUNER_PHILIPS_TDA8290,
1922 .radio_type = UNSET,
1923 .tuner_addr = ADDR_UNSET,
1924 .radio_addr = ADDR_UNSET,
1935 .name = name_svideo,
1940 [SAA7134_BOARD_KWORLD_VSTREAM_XPERT] = {
1941 .name = "Kworld/Tevion V-Stream Xpert TV PVR7134",
1942 .audio_clock = 0x00187de7,
1943 .tuner_type = TUNER_PHILIPS_PAL_I,
1944 .radio_type = UNSET,
1945 .tuner_addr = ADDR_UNSET,
1946 .radio_addr = ADDR_UNSET,
1958 .gpio = 0x200, /* gpio by DScaler */
1960 .name = name_svideo,
1976 [SAA7134_BOARD_FLYDVBT_DUO_CARDBUS] = {
1977 .name = "LifeView/Typhoon/Genius FlyDVB-T Duo Cardbus",
1978 .audio_clock = 0x00200000,
1979 .tuner_type = TUNER_PHILIPS_TDA8290,
1980 .radio_type = UNSET,
1981 .tuner_addr = ADDR_UNSET,
1982 .radio_addr = ADDR_UNSET,
1983 .mpeg = SAA7134_MPEG_DVB,
1984 .gpiomask = 0x00200000,
1989 .gpio = 0x200000, /* GPIO21=High for TV input */
1992 .name = name_svideo, /* S-Video signal on S-Video input */
1996 .name = name_comp1, /* Composite signal on S-Video input */
2000 .name = name_comp2, /* Composite input */
2007 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
2010 [SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII] = {
2011 .name = "Compro VideoMate TV Gold+II",
2012 .audio_clock = 0x002187de7,
2013 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
2014 .radio_type = TUNER_TEA5767,
2017 .gpiomask = 0x8c1880,
2019 .name = name_svideo,
2046 [SAA7134_BOARD_KWORLD_XPERT] = {
2049 - Remote control doesn't initialize properly.
2050 - Audio volume starts muted,
2051 then gradually increases after channel change.
2052 - Overlay scaling problems (application error?)
2053 - Composite S-Video untested.
2054 From: Konrad Rzepecki <hannibal@megapolis.pl>
2056 .name = "Kworld Xpert TV PVR7134",
2057 .audio_clock = 0x00187de7,
2058 .tuner_type = TUNER_TENA_9533_DI,
2059 .radio_type = TUNER_TEA5767,
2073 .gpio = 0x200, /* gpio by DScaler */
2075 .name = name_svideo,
2091 [SAA7134_BOARD_FLYTV_DIGIMATRIX] = {
2092 .name = "FlyTV mini Asus Digimatrix",
2093 .audio_clock = 0x00200000,
2094 .tuner_type = TUNER_LG_TALN,
2095 .radio_type = UNSET,
2096 .tuner_addr = ADDR_UNSET,
2097 .radio_addr = ADDR_UNSET,
2104 .name = name_tv_mono,
2117 .name = name_svideo,
2122 .name = name_radio, /* radio unconfirmed */
2126 [SAA7134_BOARD_KWORLD_TERMINATOR] = {
2127 /* Kworld V-Stream Studio TV Terminator */
2128 /* "James Webb <jrwebb@qwest.net> */
2129 .name = "V-Stream Studio TV Terminator",
2130 .audio_clock = 0x00187de7,
2131 .tuner_type = TUNER_PHILIPS_TDA8290,
2132 .radio_type = UNSET,
2133 .tuner_addr = ADDR_UNSET,
2134 .radio_addr = ADDR_UNSET,
2135 .gpiomask = 1 << 21,
2143 .name = name_comp1, /* Composite input */
2148 .name = name_svideo, /* S-Video input */
2159 [SAA7134_BOARD_YUAN_TUN900] = {
2161 * S-Video and composite sources untested.
2162 * Radio not working.
2163 * Remote control not yet implemented.
2164 * From : codemaster@webgeeks.be */
2165 .name = "Yuan TUN-900 (saa7135)",
2166 .audio_clock = 0x00187de7,
2167 .tuner_type = TUNER_PHILIPS_TDA8290,
2168 .radio_type = UNSET,
2169 .tuner_addr= ADDR_UNSET,
2170 .radio_addr= ADDR_UNSET,
2171 .gpiomask = 0x00010003,
2184 .name = name_svideo,
2200 [SAA7134_BOARD_BEHOLD_409FM] = {
2201 /* <http://tuner.beholder.ru>, Sergey <skiv@orel.ru> */
2202 /* Beholder Intl. Ltd. 2008 */
2203 /*Dmitry Belimov <d.belimov@gmail.com> */
2204 .name = "Beholder BeholdTV 409 FM",
2205 .audio_clock = 0x00187de7,
2206 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
2207 .radio_type = UNSET,
2208 .tuner_addr = ADDR_UNSET,
2209 .radio_addr = ADDR_UNSET,
2210 .tda9887_conf = TDA9887_PRESENT,
2211 .gpiomask = 0x00008000,
2222 .name = name_svideo,
2231 [SAA7134_BOARD_GOTVIEW_7135] = {
2232 /* Mike Baikov <mike@baikov.com> */
2233 /* Andrey Cvetcov <ays14@yandex.ru> */
2234 .name = "GoTView 7135 PCI",
2235 .audio_clock = 0x00187de7,
2236 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
2237 .radio_type = UNSET,
2238 .tuner_addr = ADDR_UNSET,
2239 .radio_addr = ADDR_UNSET,
2240 .tda9887_conf = TDA9887_PRESENT,
2241 .gpiomask = 0x00200003,
2249 .name = name_tv_mono,
2259 .name = name_svideo,
2275 [SAA7134_BOARD_PHILIPS_EUROPA] = {
2276 .name = "Philips EUROPA V3 reference design",
2277 .audio_clock = 0x00187de7,
2278 .tuner_type = TUNER_PHILIPS_TD1316,
2279 .radio_type = UNSET,
2281 .radio_addr = ADDR_UNSET,
2282 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
2283 .mpeg = SAA7134_MPEG_DVB,
2294 .name = name_svideo,
2299 [SAA7134_BOARD_VIDEOMATE_DVBT_300] = {
2300 .name = "Compro Videomate DVB-T300",
2301 .audio_clock = 0x00187de7,
2302 .tuner_type = TUNER_PHILIPS_TD1316,
2303 .radio_type = UNSET,
2305 .radio_addr = ADDR_UNSET,
2306 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
2307 .mpeg = SAA7134_MPEG_DVB,
2318 .name = name_svideo,
2323 [SAA7134_BOARD_VIDEOMATE_DVBT_200] = {
2324 .name = "Compro Videomate DVB-T200",
2325 .tuner_type = TUNER_ABSENT,
2326 .audio_clock = 0x00187de7,
2327 .radio_type = UNSET,
2328 .tuner_addr = ADDR_UNSET,
2329 .radio_addr = ADDR_UNSET,
2330 .mpeg = SAA7134_MPEG_DVB,
2336 .name = name_svideo,
2341 [SAA7134_BOARD_RTD_VFG7350] = {
2342 .name = "RTD Embedded Technologies VFG7350",
2343 .audio_clock = 0x00200000,
2344 .tuner_type = TUNER_ABSENT,
2345 .radio_type = UNSET,
2346 .tuner_addr = ADDR_UNSET,
2347 .radio_addr = ADDR_UNSET,
2349 .name = "Composite 0",
2353 .name = "Composite 1",
2357 .name = "Composite 2",
2361 .name = "Composite 3",
2365 .name = "S-Video 0",
2369 .name = "S-Video 1",
2373 .mpeg = SAA7134_MPEG_EMPRESS,
2374 .video_out = CCIR656,
2375 .vid_port_opts = ( SET_T_CODE_POLARITY_NON_INVERTED |
2376 SET_CLOCK_NOT_DELAYED |
2377 SET_CLOCK_INVERTED |
2380 [SAA7134_BOARD_RTD_VFG7330] = {
2381 .name = "RTD Embedded Technologies VFG7330",
2382 .audio_clock = 0x00200000,
2383 .tuner_type = TUNER_ABSENT,
2384 .radio_type = UNSET,
2385 .tuner_addr = ADDR_UNSET,
2386 .radio_addr = ADDR_UNSET,
2388 .name = "Composite 0",
2392 .name = "Composite 1",
2396 .name = "Composite 2",
2400 .name = "Composite 3",
2404 .name = "S-Video 0",
2408 .name = "S-Video 1",
2413 [SAA7134_BOARD_FLYTVPLATINUM_MINI2] = {
2414 .name = "LifeView FlyTV Platinum Mini2",
2415 .audio_clock = 0x00200000,
2416 .tuner_type = TUNER_PHILIPS_TDA8290,
2417 .radio_type = UNSET,
2418 .tuner_addr = ADDR_UNSET,
2419 .radio_addr = ADDR_UNSET,
2427 .name = name_comp1, /* Composite signal on S-Video input */
2431 .name = name_comp2, /* Composite input */
2435 .name = name_svideo,
2440 [SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180] = {
2441 /* Michael Krufky <mkrufky@m1k.net>
2442 * Uses Alps Electric TDHU2, containing NXT2004 ATSC Decoder
2443 * AFAIK, there is no analog demod, thus,
2444 * no support for analog television.
2446 .name = "AVerMedia AVerTVHD MCE A180",
2447 .audio_clock = 0x00187de7,
2448 .tuner_type = TUNER_ABSENT,
2449 .radio_type = UNSET,
2450 .tuner_addr = ADDR_UNSET,
2451 .radio_addr = ADDR_UNSET,
2452 .mpeg = SAA7134_MPEG_DVB,
2458 .name = name_svideo,
2463 [SAA7134_BOARD_MONSTERTV_MOBILE] = {
2464 .name = "SKNet MonsterTV Mobile",
2465 .audio_clock = 0x00187de7,
2466 .tuner_type = TUNER_PHILIPS_TDA8290,
2467 .radio_type = UNSET,
2468 .tuner_addr = ADDR_UNSET,
2469 .radio_addr = ADDR_UNSET,
2481 .name = name_svideo,
2486 [SAA7134_BOARD_PINNACLE_PCTV_110i] = {
2487 .name = "Pinnacle PCTV 40i/50i/110i (saa7133)",
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 = 0x080200000,
2508 .name = name_svideo,
2518 [SAA7134_BOARD_ASUSTeK_P7131_DUAL] = {
2519 .name = "ASUSTeK P7131 Dual",
2520 .audio_clock = 0x00187de7,
2521 .tuner_type = TUNER_PHILIPS_TDA8290,
2522 .radio_type = UNSET,
2523 .tuner_addr = ADDR_UNSET,
2524 .radio_addr = ADDR_UNSET,
2525 .gpiomask = 1 << 21,
2526 .mpeg = SAA7134_MPEG_DVB,
2544 .name = name_svideo,
2555 [SAA7134_BOARD_SEDNA_PC_TV_CARDBUS] = {
2556 /* Paul Tom Zalac <pzalac@gmail.com> */
2557 /* Pavel Mihaylov <bin@bash.info> */
2558 .name = "Sedna/MuchTV PC TV Cardbus TV/Radio (ITO25 Rev:2B)",
2559 /* Sedna/MuchTV (OEM) Cardbus TV Tuner */
2560 .audio_clock = 0x00187de7,
2561 .tuner_type = TUNER_PHILIPS_TDA8290,
2562 .radio_type = UNSET,
2563 .tuner_addr = ADDR_UNSET,
2564 .radio_addr = ADDR_UNSET,
2565 .gpiomask = 0xe880c0,
2576 .name = name_svideo,
2585 [SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV] = {
2586 /* "Cyril Lacoux (Yack)" <clacoux@ifeelgood.org> */
2587 .name = "ASUS Digimatrix TV",
2588 .audio_clock = 0x00200000,
2589 .tuner_type = TUNER_PHILIPS_FQ1216ME,
2590 .tda9887_conf = TDA9887_PRESENT,
2591 .radio_type = UNSET,
2592 .tuner_addr = ADDR_UNSET,
2593 .radio_addr = ADDR_UNSET,
2604 .name = name_svideo,
2609 [SAA7134_BOARD_PHILIPS_TIGER] = {
2610 .name = "Philips Tiger reference design",
2611 .audio_clock = 0x00187de7,
2612 .tuner_type = TUNER_PHILIPS_TDA8290,
2613 .radio_type = UNSET,
2614 .tuner_addr = ADDR_UNSET,
2615 .radio_addr = ADDR_UNSET,
2617 .mpeg = SAA7134_MPEG_DVB,
2618 .gpiomask = 0x0200000,
2629 .name = name_svideo,
2639 [SAA7134_BOARD_MSI_TVATANYWHERE_PLUS] = {
2640 .name = "MSI TV@Anywhere plus",
2641 .audio_clock = 0x00187de7,
2642 .tuner_type = TUNER_PHILIPS_TDA8290,
2643 .radio_type = UNSET,
2644 .tuner_addr = ADDR_UNSET,
2645 .radio_addr = ADDR_UNSET,
2646 .gpiomask = 1 << 21,
2655 .amux = LINE2, /* unconfirmed, taken from Philips driver */
2658 .vmux = 0, /* untested, Composite over S-Video */
2661 .name = name_svideo,
2671 [SAA7134_BOARD_CINERGY250PCI] = {
2672 /* remote-control does not work. The signal about a
2673 key press comes in via gpio, but the key code
2674 doesn't. Neither does it have an i2c remote control
2676 .name = "Terratec Cinergy 250 PCI TV",
2677 .audio_clock = 0x00187de7,
2678 .tuner_type = TUNER_PHILIPS_TDA8290,
2679 .radio_type = UNSET,
2680 .tuner_addr = ADDR_UNSET,
2681 .radio_addr = ADDR_UNSET,
2682 .gpiomask = 0x80200000,
2689 .name = name_svideo, /* NOT tested */
2699 [SAA7134_BOARD_FLYDVB_TRIO] = {
2700 /* LifeView LR319 FlyDVB Trio */
2701 /* Peter Missel <peter.missel@onlinehome.de> */
2702 .name = "LifeView FlyDVB Trio",
2703 .audio_clock = 0x00200000,
2704 .tuner_type = TUNER_PHILIPS_TDA8290,
2705 .radio_type = UNSET,
2706 .tuner_addr = ADDR_UNSET,
2707 .radio_addr = ADDR_UNSET,
2708 .gpiomask = 0x00200000,
2709 .mpeg = SAA7134_MPEG_DVB,
2711 .name = name_tv, /* Analog broadcast/cable TV */
2714 .gpio = 0x200000, /* GPIO21=High for TV input */
2717 .name = name_svideo, /* S-Video signal on S-Video input */
2721 .name = name_comp1, /* Composite signal on S-Video input */
2725 .name = name_comp2, /* Composite input */
2732 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
2735 [SAA7134_BOARD_AVERMEDIA_777] = {
2736 .name = "AverTV DVB-T 777",
2737 .audio_clock = 0x00187de7,
2738 .tuner_type = TUNER_ABSENT,
2739 .radio_type = UNSET,
2740 .tuner_addr = ADDR_UNSET,
2741 .radio_addr = ADDR_UNSET,
2742 .mpeg = SAA7134_MPEG_DVB,
2748 .name = name_svideo,
2753 [SAA7134_BOARD_FLYDVBT_LR301] = {
2754 /* LifeView FlyDVB-T */
2755 /* Giampiero Giancipoli <gianci@libero.it> */
2756 .name = "LifeView FlyDVB-T / Genius VideoWonder DVB-T",
2757 .audio_clock = 0x00200000,
2758 .tuner_type = TUNER_ABSENT,
2759 .radio_type = UNSET,
2760 .tuner_addr = ADDR_UNSET,
2761 .radio_addr = ADDR_UNSET,
2762 .mpeg = SAA7134_MPEG_DVB,
2764 .name = name_comp1, /* Composite input */
2768 .name = name_svideo, /* S-Video signal on S-Video input */
2773 [SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331] = {
2774 .name = "ADS Instant TV Duo Cardbus PTV331",
2775 .audio_clock = 0x00200000,
2776 .tuner_type = TUNER_PHILIPS_TDA8290,
2777 .radio_type = UNSET,
2778 .tuner_addr = ADDR_UNSET,
2779 .radio_addr = ADDR_UNSET,
2780 .mpeg = SAA7134_MPEG_DVB,
2781 .gpiomask = 0x00600000, /* Bit 21 0=Radio, Bit 22 0=TV */
2790 [SAA7134_BOARD_TEVION_DVBT_220RF] = {
2791 .name = "Tevion/KWorld DVB-T 220RF",
2792 .audio_clock = 0x00187de7,
2793 .tuner_type = TUNER_PHILIPS_TDA8290,
2794 .radio_type = UNSET,
2795 .tuner_addr = ADDR_UNSET,
2796 .radio_addr = ADDR_UNSET,
2797 .mpeg = SAA7134_MPEG_DVB,
2798 .gpiomask = 1 << 21,
2813 .name = name_svideo,
2823 [SAA7134_BOARD_KWORLD_DVBT_210] = {
2824 .name = "KWorld DVB-T 210",
2825 .audio_clock = 0x00187de7,
2826 .tuner_type = TUNER_PHILIPS_TDA8290,
2827 .radio_type = UNSET,
2828 .tuner_addr = ADDR_UNSET,
2829 .radio_addr = ADDR_UNSET,
2830 .mpeg = SAA7134_MPEG_DVB,
2831 .gpiomask = 1 << 21,
2842 .name = name_svideo,
2852 [SAA7134_BOARD_KWORLD_ATSC110] = {
2853 .name = "Kworld ATSC110/115",
2854 .audio_clock = 0x00187de7,
2855 .tuner_type = TUNER_PHILIPS_TUV1236D,
2856 .radio_type = UNSET,
2857 .tuner_addr = ADDR_UNSET,
2858 .radio_addr = ADDR_UNSET,
2859 .tda9887_conf = TDA9887_PRESENT,
2860 .mpeg = SAA7134_MPEG_DVB,
2871 .name = name_svideo,
2876 [SAA7134_BOARD_AVERMEDIA_A169_B] = {
2877 /* AVerMedia A169 */
2878 /* Rickard Osser <ricky@osser.se> */
2879 /* This card has two saa7134 chips on it,
2880 but only one of them is currently working. */
2881 .name = "AVerMedia A169 B",
2882 .audio_clock = 0x02187de7,
2883 .tuner_type = TUNER_LG_TALN,
2884 .radio_type = UNSET,
2885 .tuner_addr = ADDR_UNSET,
2886 .radio_addr = ADDR_UNSET,
2887 .tda9887_conf = TDA9887_PRESENT,
2888 .gpiomask = 0x0a60000,
2890 [SAA7134_BOARD_AVERMEDIA_A169_B1] = {
2891 /* AVerMedia A169 */
2892 /* Rickard Osser <ricky@osser.se> */
2893 .name = "AVerMedia A169 B1",
2894 .audio_clock = 0x02187de7,
2895 .tuner_type = TUNER_LG_TALN,
2896 .radio_type = UNSET,
2897 .tuner_addr = ADDR_UNSET,
2898 .radio_addr = ADDR_UNSET,
2899 .tda9887_conf = TDA9887_PRESENT,
2900 .gpiomask = 0xca60000,
2908 .name = name_comp2, /* Composite SVIDEO (B/W if signal is carried with SVIDEO) */
2912 .name = name_svideo,
2913 .vmux = 9, /* 9 is correct as S-VIDEO1 according to a169.inf! */
2917 [SAA7134_BOARD_MD7134_BRIDGE_2] = {
2918 /* The second saa7134 on this card only serves as DVB-S host bridge */
2919 .name = "Medion 7134 Bridge #2",
2920 .audio_clock = 0x00187de7,
2921 .radio_type = UNSET,
2922 .tuner_addr = ADDR_UNSET,
2923 .radio_addr = ADDR_UNSET,
2924 .mpeg = SAA7134_MPEG_DVB,
2926 [SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS] = {
2927 .name = "LifeView FlyDVB-T Hybrid Cardbus/MSI TV @nywhere A/D NB",
2928 .audio_clock = 0x00200000,
2929 .tuner_type = TUNER_PHILIPS_TDA8290,
2930 .radio_type = UNSET,
2931 .tuner_addr = ADDR_UNSET,
2932 .radio_addr = ADDR_UNSET,
2933 .mpeg = SAA7134_MPEG_DVB,
2934 .gpiomask = 0x00600000, /* Bit 21 0=Radio, Bit 22 0=TV */
2939 .gpio = 0x200000, /* GPIO21=High for TV input */
2942 .name = name_svideo, /* S-Video signal on S-Video input */
2946 .name = name_comp1, /* Composite signal on S-Video input */
2950 .name = name_comp2, /* Composite input */
2957 .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */
2960 [SAA7134_BOARD_FLYVIDEO3000_NTSC] = {
2961 /* "Zac Bowling" <zac@zacbowling.com> */
2962 .name = "LifeView FlyVIDEO3000 (NTSC)",
2963 .audio_clock = 0x00200000,
2964 .tuner_type = TUNER_PHILIPS_NTSC,
2965 .radio_type = UNSET,
2966 .tuner_addr = ADDR_UNSET,
2967 .radio_addr = ADDR_UNSET,
2977 .name = name_tv_mono,
2993 .name = name_svideo,
3009 [SAA7134_BOARD_MEDION_MD8800_QUADRO] = {
3010 .name = "Medion Md8800 Quadro",
3011 .audio_clock = 0x00187de7,
3012 .tuner_type = TUNER_PHILIPS_TDA8290,
3013 .radio_type = UNSET,
3014 .tuner_addr = ADDR_UNSET,
3015 .radio_addr = ADDR_UNSET,
3016 .mpeg = SAA7134_MPEG_DVB,
3027 .name = name_svideo,
3032 [SAA7134_BOARD_FLYDVBS_LR300] = {
3033 /* LifeView FlyDVB-s */
3034 /* Igor M. Liplianin <liplianin@tut.by> */
3035 .name = "LifeView FlyDVB-S /Acorp TV134DS",
3036 .audio_clock = 0x00200000,
3037 .tuner_type = TUNER_ABSENT,
3038 .radio_type = UNSET,
3039 .tuner_addr = ADDR_UNSET,
3040 .radio_addr = ADDR_UNSET,
3041 .mpeg = SAA7134_MPEG_DVB,
3043 .name = name_comp1, /* Composite input */
3047 .name = name_svideo, /* S-Video signal on S-Video input */
3052 [SAA7134_BOARD_PROTEUS_2309] = {
3053 .name = "Proteus Pro 2309",
3054 .audio_clock = 0x00187de7,
3055 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3056 .radio_type = UNSET,
3057 .tuner_addr = ADDR_UNSET,
3058 .radio_addr = ADDR_UNSET,
3059 .tda9887_conf = TDA9887_PRESENT,
3074 .name = name_svideo,
3083 [SAA7134_BOARD_AVERMEDIA_A16AR] = {
3084 /* Petr Baudis <pasky@ucw.cz> */
3085 .name = "AVerMedia TV Hybrid A16AR",
3086 .audio_clock = 0x187de7,
3087 .tuner_type = TUNER_PHILIPS_TD1316, /* untested */
3088 .radio_type = TUNER_TEA5767, /* untested */
3089 .tuner_addr = ADDR_UNSET,
3090 .radio_addr = ADDR_UNSET,
3091 .tda9887_conf = TDA9887_PRESENT,
3092 .mpeg = SAA7134_MPEG_DVB,
3103 .name = name_svideo,
3112 [SAA7134_BOARD_ASUS_EUROPA2_HYBRID] = {
3113 .name = "Asus Europa2 OEM",
3114 .audio_clock = 0x00187de7,
3115 .tuner_type = TUNER_PHILIPS_FMD1216ME_MK3,
3116 .radio_type = UNSET,
3117 .tuner_addr = ADDR_UNSET,
3118 .radio_addr = ADDR_UNSET,
3119 .tda9887_conf = TDA9887_PRESENT| TDA9887_PORT1_ACTIVE | TDA9887_PORT2_ACTIVE,
3120 .mpeg = SAA7134_MPEG_DVB,
3131 .name = name_svideo,
3140 [SAA7134_BOARD_PINNACLE_PCTV_310i] = {
3141 .name = "Pinnacle PCTV 310i",
3142 .audio_clock = 0x00187de7,
3143 .tuner_type = TUNER_PHILIPS_TDA8290,
3144 .radio_type = UNSET,
3145 .tuner_addr = ADDR_UNSET,
3146 .radio_addr = ADDR_UNSET,
3148 .mpeg = SAA7134_MPEG_DVB,
3149 .gpiomask = 0x000200000,
3164 .name = name_svideo,
3174 [SAA7134_BOARD_AVERMEDIA_STUDIO_507] = {
3175 /* Mikhail Fedotov <mo_fedotov@mail.ru> */
3176 .name = "Avermedia AVerTV Studio 507",
3177 .audio_clock = 0x00187de7,
3178 .tuner_type = TUNER_PHILIPS_FM1256_IH3,
3179 .radio_type = UNSET,
3180 .tuner_addr = ADDR_UNSET,
3181 .radio_addr = ADDR_UNSET,
3182 .tda9887_conf = TDA9887_PRESENT,
3201 .name = name_svideo,
3217 [SAA7134_BOARD_VIDEOMATE_DVBT_200A] = {
3218 /* Francis Barber <fedora@barber-family.id.au> */
3219 .name = "Compro Videomate DVB-T200A",
3220 .audio_clock = 0x00187de7,
3221 .tuner_type = TUNER_ABSENT,
3222 .radio_type = UNSET,
3223 .tuner_addr = ADDR_UNSET,
3224 .radio_addr = ADDR_UNSET,
3225 .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE,
3226 .mpeg = SAA7134_MPEG_DVB,
3237 .name = name_svideo,
3242 [SAA7134_BOARD_HAUPPAUGE_HVR1110] = {
3243 /* Thomas Genty <tomlohave@gmail.com> */
3244 .name = "Hauppauge WinTV-HVR1110 DVB-T/Hybrid",
3245 .audio_clock = 0x00187de7,
3246 .tuner_type = TUNER_PHILIPS_TDA8290,
3247 .radio_type = UNSET,
3248 .tuner_addr = ADDR_UNSET,
3249 .radio_addr = ADDR_UNSET,
3251 .mpeg = SAA7134_MPEG_DVB,
3260 .amux = LINE2, /* FIXME: audio doesn't work on svideo/composite */
3262 .name = name_svideo,
3264 .amux = LINE2, /* FIXME: audio doesn't work on svideo/composite */
3271 [SAA7134_BOARD_CINERGY_HT_PCMCIA] = {
3272 .name = "Terratec Cinergy HT PCMCIA",
3273 .audio_clock = 0x00187de7,
3274 .tuner_type = TUNER_PHILIPS_TDA8290,
3275 .radio_type = UNSET,
3276 .tuner_addr = ADDR_UNSET,
3277 .radio_addr = ADDR_UNSET,
3278 .mpeg = SAA7134_MPEG_DVB,
3289 .name = name_svideo,
3294 [SAA7134_BOARD_ENCORE_ENLTV] = {
3295 /* Steven Walter <stevenrwalter@gmail.com>
3296 Juan Pablo Sormani <sorman@gmail.com> */
3297 .name = "Encore ENLTV",
3298 .audio_clock = 0x00200000,
3299 .tuner_type = TUNER_TNF_5335MF,
3300 .radio_type = UNSET,
3301 .tuner_addr = ADDR_UNSET,
3302 .radio_addr = ADDR_UNSET,
3309 .name = name_tv_mono,
3318 .name = name_svideo,
3325 /* .gpio = 0x00300001,*/
3334 [SAA7134_BOARD_ENCORE_ENLTV_FM] = {
3335 /* Juan Pablo Sormani <sorman@gmail.com> */
3336 .name = "Encore ENLTV-FM",
3337 .audio_clock = 0x00200000,
3338 .tuner_type = TUNER_PHILIPS_FCV1236D,
3339 .radio_type = UNSET,
3340 .tuner_addr = ADDR_UNSET,
3341 .radio_addr = ADDR_UNSET,
3348 .name = name_tv_mono,
3357 .name = name_svideo,
3372 [SAA7134_BOARD_CINERGY_HT_PCI] = {
3373 .name = "Terratec Cinergy HT PCI",
3374 .audio_clock = 0x00187de7,
3375 .tuner_type = TUNER_PHILIPS_TDA8290,
3376 .radio_type = UNSET,
3377 .tuner_addr = ADDR_UNSET,
3378 .radio_addr = ADDR_UNSET,
3379 .mpeg = SAA7134_MPEG_DVB,
3390 .name = name_svideo,
3395 [SAA7134_BOARD_PHILIPS_TIGER_S] = {
3396 .name = "Philips Tiger - S Reference design",
3397 .audio_clock = 0x00187de7,
3398 .tuner_type = TUNER_PHILIPS_TDA8290,
3399 .radio_type = UNSET,
3400 .tuner_addr = ADDR_UNSET,
3401 .radio_addr = ADDR_UNSET,
3403 .mpeg = SAA7134_MPEG_DVB,
3404 .gpiomask = 0x0200000,
3415 .name = name_svideo,
3425 [SAA7134_BOARD_AVERMEDIA_M102] = {
3426 .name = "Avermedia M102",
3427 .audio_clock = 0x00187de7,
3428 .tuner_type = TUNER_PHILIPS_TDA8290,
3429 .radio_type = UNSET,
3430 .tuner_addr = ADDR_UNSET,
3431 .radio_addr = ADDR_UNSET,
3443 .name = name_svideo,
3448 [SAA7134_BOARD_ASUS_P7131_4871] = {
3449 .name = "ASUS P7131 4871",
3450 .audio_clock = 0x00187de7,
3451 .tuner_type = TUNER_PHILIPS_TDA8290,
3452 .radio_type = UNSET,
3453 .tuner_addr = ADDR_UNSET,
3454 .radio_addr = ADDR_UNSET,
3456 .mpeg = SAA7134_MPEG_DVB,
3457 .gpiomask = 0x0200000,
3466 [SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA] = {
3467 .name = "ASUSTeK P7131 Hybrid",
3468 .audio_clock = 0x00187de7,
3469 .tuner_type = TUNER_PHILIPS_TDA8290,
3470 .radio_type = UNSET,
3471 .tuner_addr = ADDR_UNSET,
3472 .radio_addr = ADDR_UNSET,
3474 .gpiomask = 1 << 21,
3475 .mpeg = SAA7134_MPEG_DVB,
3493 .name = name_svideo,
3504 [SAA7134_BOARD_SABRENT_TV_PCB05] = {
3505 .name = "Sabrent PCMCIA TV-PCB05",
3506 .audio_clock = 0x00187de7,
3507 .tuner_type = TUNER_PHILIPS_TDA8290,
3508 .radio_type = UNSET,
3509 .tuner_addr = ADDR_UNSET,
3510 .radio_addr = ADDR_UNSET,
3525 .name = name_svideo,
3534 [SAA7134_BOARD_10MOONSTVMASTER3] = {
3535 /* Tony Wan <aloha_cn@hotmail.com> */
3536 .name = "10MOONS TM300 TV Card",
3537 .audio_clock = 0x00200000,
3538 .tuner_type = TUNER_LG_PAL_NEW_TAPC,
3539 .radio_type = UNSET,
3540 .tuner_addr = ADDR_UNSET,
3541 .radio_addr = ADDR_UNSET,
3555 .name = name_svideo,
3566 [SAA7134_BOARD_AVERMEDIA_SUPER_007] = {
3567 .name = "Avermedia Super 007",
3568 .audio_clock = 0x00187de7,
3569 .tuner_type = TUNER_PHILIPS_TDA8290,
3570 .radio_type = UNSET,
3571 .tuner_addr = ADDR_UNSET,
3572 .radio_addr = ADDR_UNSET,
3574 .mpeg = SAA7134_MPEG_DVB,
3576 .name = name_tv, /* FIXME: analog tv untested */
3582 [SAA7134_BOARD_BEHOLD_401] = {
3583 /* Beholder Intl. Ltd. 2008 */
3584 /*Dmitry Belimov <d.belimov@gmail.com> */
3585 .name = "Beholder BeholdTV 401",
3586 .audio_clock = 0x00187de7,
3587 .tuner_type = TUNER_PHILIPS_FQ1216ME,
3588 .radio_type = UNSET,
3589 .tuner_addr = ADDR_UNSET,
3590 .radio_addr = ADDR_UNSET,
3591 .gpiomask = 0x00008000,
3593 .name = name_svideo,
3611 [SAA7134_BOARD_BEHOLD_403] = {
3612 /* Beholder Intl. Ltd. 2008 */
3613 /*Dmitry Belimov <d.belimov@gmail.com> */
3614 .name = "Beholder BeholdTV 403",
3615 .audio_clock = 0x00187de7,
3616 .tuner_type = TUNER_PHILIPS_FQ1216ME,
3617 .radio_type = UNSET,
3618 .tuner_addr = ADDR_UNSET,
3619 .radio_addr = ADDR_UNSET,
3620 .gpiomask = 0x00008000,
3622 .name = name_svideo,
3636 [SAA7134_BOARD_BEHOLD_403FM] = {
3637 /* Beholder Intl. Ltd. 2008 */
3638 /*Dmitry Belimov <d.belimov@gmail.com> */
3639 .name = "Beholder BeholdTV 403 FM",
3640 .audio_clock = 0x00187de7,
3641 .tuner_type = TUNER_PHILIPS_FQ1216ME,
3642 .radio_type = UNSET,
3643 .tuner_addr = ADDR_UNSET,
3644 .radio_addr = ADDR_UNSET,
3645 .gpiomask = 0x00008000,
3647 .name = name_svideo,
3665 [SAA7134_BOARD_BEHOLD_405] = {
3666 /* Beholder Intl. Ltd. 2008 */
3667 /*Dmitry Belimov <d.belimov@gmail.com> */
3668 .name = "Beholder BeholdTV 405",
3669 .audio_clock = 0x00187de7,
3670 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3671 .radio_type = UNSET,
3672 .tuner_addr = ADDR_UNSET,
3673 .radio_addr = ADDR_UNSET,
3674 .tda9887_conf = TDA9887_PRESENT,
3675 .gpiomask = 0x00008000,
3677 .name = name_svideo,
3691 [SAA7134_BOARD_BEHOLD_405FM] = {
3692 /* Sergey <skiv@orel.ru> */
3693 /* Beholder Intl. Ltd. 2008 */
3694 /*Dmitry Belimov <d.belimov@gmail.com> */
3695 .name = "Beholder BeholdTV 405 FM",
3696 .audio_clock = 0x00187de7,
3697 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3698 .radio_type = UNSET,
3699 .tuner_addr = ADDR_UNSET,
3700 .radio_addr = ADDR_UNSET,
3701 .tda9887_conf = TDA9887_PRESENT,
3702 .gpiomask = 0x00008000,
3704 .name = name_svideo,
3722 [SAA7134_BOARD_BEHOLD_407] = {
3723 /* Beholder Intl. Ltd. 2008 */
3724 /*Dmitry Belimov <d.belimov@gmail.com> */
3725 .name = "Beholder BeholdTV 407",
3726 .audio_clock = 0x00187de7,
3727 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3728 .radio_type = UNSET,
3729 .tuner_addr = ADDR_UNSET,
3730 .radio_addr = ADDR_UNSET,
3731 .tda9887_conf = TDA9887_PRESENT,
3732 .gpiomask = 0x00008000,
3734 .name = name_svideo,
3751 [SAA7134_BOARD_BEHOLD_407FM] = {
3752 /* Beholder Intl. Ltd. 2008 */
3753 /*Dmitry Belimov <d.belimov@gmail.com> */
3754 .name = "Beholder BeholdTV 407 FM",
3755 .audio_clock = 0x00187de7,
3756 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3757 .radio_type = UNSET,
3758 .tuner_addr = ADDR_UNSET,
3759 .radio_addr = ADDR_UNSET,
3760 .tda9887_conf = TDA9887_PRESENT,
3761 .gpiomask = 0x00008000,
3763 .name = name_svideo,
3785 [SAA7134_BOARD_BEHOLD_409] = {
3786 /* Beholder Intl. Ltd. 2008 */
3787 /*Dmitry Belimov <d.belimov@gmail.com> */
3788 .name = "Beholder BeholdTV 409",
3789 .audio_clock = 0x00187de7,
3790 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3791 .radio_type = UNSET,
3792 .tuner_addr = ADDR_UNSET,
3793 .radio_addr = ADDR_UNSET,
3794 .tda9887_conf = TDA9887_PRESENT,
3795 .gpiomask = 0x00008000,
3806 .name = name_svideo,
3811 [SAA7134_BOARD_BEHOLD_505FM] = {
3812 /* Beholder Intl. Ltd. 2008 */
3813 /*Dmitry Belimov <d.belimov@gmail.com> */
3814 .name = "Beholder BeholdTV 505 FM/RDS",
3815 .audio_clock = 0x00200000,
3816 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3817 .radio_type = UNSET,
3818 .tuner_addr = ADDR_UNSET,
3819 .radio_addr = ADDR_UNSET,
3820 .tda9887_conf = TDA9887_PRESENT,
3821 .gpiomask = 0x00008000,
3832 .name = name_svideo,
3845 [SAA7134_BOARD_BEHOLD_507_9FM] = {
3846 /* Beholder Intl. Ltd. 2008 */
3847 /*Dmitry Belimov <d.belimov@gmail.com> */
3848 .name = "Beholder BeholdTV 507 FM/RDS / BeholdTV 509 FM",
3849 .audio_clock = 0x00187de7,
3850 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3851 .radio_type = UNSET,
3852 .tuner_addr = ADDR_UNSET,
3853 .radio_addr = ADDR_UNSET,
3854 .tda9887_conf = TDA9887_PRESENT,
3855 .gpiomask = 0x00008000,
3866 .name = name_svideo,
3875 [SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM] = {
3876 /* Beholder Intl. Ltd. 2008 */
3877 /*Dmitry Belimov <d.belimov@gmail.com> */
3878 .name = "Beholder BeholdTV Columbus TVFM",
3879 .audio_clock = 0x00187de7,
3880 .tuner_type = TUNER_ALPS_TSBE5_PAL,
3881 .radio_type = UNSET,
3882 .tuner_addr = ADDR_UNSET,
3883 .radio_addr = ADDR_UNSET,
3884 .tda9887_conf = TDA9887_PRESENT,
3885 .gpiomask = 0x000A8004,
3898 .name = name_svideo,
3909 [SAA7134_BOARD_BEHOLD_607_9FM] = {
3910 /* Andrey Melnikoff <temnota@kmv.ru> */
3911 .name = "Beholder BeholdTV 607 / BeholdTV 609",
3912 .audio_clock = 0x00187de7,
3913 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3914 .radio_type = UNSET,
3915 .tuner_addr = ADDR_UNSET,
3916 .radio_addr = ADDR_UNSET,
3917 .tda9887_conf = TDA9887_PRESENT,
3928 .name = name_svideo,
3937 [SAA7134_BOARD_BEHOLD_M6] = {
3938 /* Igor Kuznetsov <igk@igk.ru> */
3939 /* Andrey Melnikoff <temnota@kmv.ru> */
3940 .name = "Beholder BeholdTV M6 / BeholdTV M6 Extra",
3941 .audio_clock = 0x00187de7,
3942 .tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
3943 .radio_type = UNSET,
3944 .tuner_addr = ADDR_UNSET,
3945 .radio_addr = ADDR_UNSET,
3946 .tda9887_conf = TDA9887_PRESENT,
3957 .name = name_svideo,
3965 .mpeg = SAA7134_MPEG_EMPRESS,
3967 [SAA7134_BOARD_TWINHAN_DTV_DVB_3056] = {
3968 .name = "Twinhan Hybrid DTV-DVB 3056 PCI",
3969 .audio_clock = 0x00187de7,
3970 .tuner_type = TUNER_PHILIPS_TDA8290,
3971 .radio_type = UNSET,
3972 .tuner_addr = ADDR_UNSET,
3973 .radio_addr = ADDR_UNSET,
3975 .mpeg = SAA7134_MPEG_DVB,
3976 .gpiomask = 0x0200000,
3987 .name = name_svideo,
3988 .vmux = 8, /* untested */
3997 [SAA7134_BOARD_GENIUS_TVGO_A11MCE] = {
3998 /* Adrian Pardini <pardo.bsso@gmail.com> */
3999 .name = "Genius TVGO AM11MCE",
4000 .audio_clock = 0x00200000,
4001 .tuner_type = TUNER_TNF_5335MF,
4002 .radio_type = UNSET,
4003 .tuner_addr = ADDR_UNSET,
4004 .radio_addr = ADDR_UNSET,
4007 .name = name_tv_mono,
4019 .name = name_svideo,
4035 [SAA7134_BOARD_PHILIPS_SNAKE] = {
4036 .name = "NXP Snake DVB-S reference design",
4037 .audio_clock = 0x00200000,
4038 .tuner_type = TUNER_ABSENT,
4039 .radio_type = UNSET,
4040 .tuner_addr = ADDR_UNSET,
4041 .radio_addr = ADDR_UNSET,
4042 .mpeg = SAA7134_MPEG_DVB,
4048 .name = name_svideo,
4053 [SAA7134_BOARD_CREATIX_CTX953] = {
4054 .name = "Medion/Creatix CTX953 Hybrid",
4055 .audio_clock = 0x00187de7,
4056 .tuner_type = TUNER_PHILIPS_TDA8290,
4057 .radio_type = UNSET,
4058 .tuner_addr = ADDR_UNSET,
4059 .radio_addr = ADDR_UNSET,
4061 .mpeg = SAA7134_MPEG_DVB,
4072 .name = name_svideo,
4077 [SAA7134_BOARD_MSI_TVANYWHERE_AD11] = {
4078 .name = "MSI TV@nywhere A/D v1.1",
4079 .audio_clock = 0x00187de7,
4080 .tuner_type = TUNER_PHILIPS_TDA8290,
4081 .radio_type = UNSET,
4082 .tuner_addr = ADDR_UNSET,
4083 .radio_addr = ADDR_UNSET,
4085 .mpeg = SAA7134_MPEG_DVB,
4086 .gpiomask = 0x0200000,
4097 .name = name_svideo,
4107 [SAA7134_BOARD_AVERMEDIA_CARDBUS_506] = {
4108 .name = "AVerMedia Cardbus TV/Radio (E506R)",
4109 .audio_clock = 0x187de7,
4110 .tuner_type = TUNER_XC2028,
4111 .radio_type = UNSET,
4112 .tuner_addr = ADDR_UNSET,
4113 .radio_addr = ADDR_UNSET,
4116 .mpeg = SAA7134_MPEG_DVB,
4129 .name = name_svideo,
4138 [SAA7134_BOARD_AVERMEDIA_A16D] = {
4139 .name = "AVerMedia Hybrid TV/Radio (A16D)",
4140 .audio_clock = 0x187de7,
4141 .tuner_type = TUNER_XC2028,
4142 .radio_type = UNSET,
4143 .tuner_addr = ADDR_UNSET,
4144 .radio_addr = ADDR_UNSET,
4151 .name = name_svideo,
4160 [SAA7134_BOARD_AVERMEDIA_M115] = {
4161 .name = "Avermedia M115",
4162 .audio_clock = 0x187de7,
4163 .tuner_type = TUNER_XC2028,
4164 .radio_type = UNSET,
4165 .tuner_addr = ADDR_UNSET,
4166 .radio_addr = ADDR_UNSET,
4177 .name = name_svideo,
4182 [SAA7134_BOARD_VIDEOMATE_T750] = {
4183 /* John Newbigin <jn@it.swin.edu.au> */
4184 .name = "Compro VideoMate T750",
4185 .audio_clock = 0x00187de7,
4186 .tuner_type = TUNER_XC2028,
4187 .radio_type = UNSET,
4188 .tuner_addr = ADDR_UNSET,
4189 .radio_addr = ADDR_UNSET,
4190 .mpeg = SAA7134_MPEG_DVB,
4201 .name = name_svideo,
4210 [SAA7134_BOARD_AVERMEDIA_A700_PRO] = {
4211 /* Matthias Schwarzott <zzam@gentoo.org> */
4212 .name = "Avermedia DVB-S Pro A700",
4213 .audio_clock = 0x00187de7,
4214 .tuner_type = TUNER_ABSENT,
4215 .radio_type = UNSET,
4216 .tuner_addr = ADDR_UNSET,
4217 .radio_addr = ADDR_UNSET,
4218 /* no DVB support for now */
4219 /* .mpeg = SAA7134_MPEG_DVB, */
4225 .name = name_svideo,
4230 [SAA7134_BOARD_AVERMEDIA_A700_HYBRID] = {
4231 /* Matthias Schwarzott <zzam@gentoo.org> */
4232 .name = "Avermedia DVB-S Hybrid+FM A700",
4233 .audio_clock = 0x00187de7,
4234 .tuner_type = TUNER_ABSENT, /* TUNER_XC2028 */
4235 .radio_type = UNSET,
4236 .tuner_addr = ADDR_UNSET,
4237 .radio_addr = ADDR_UNSET,
4238 /* no DVB support for now */
4239 /* .mpeg = SAA7134_MPEG_DVB, */
4245 .name = name_svideo,
4252 const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards);
4254 /* ------------------------------------------------------------------ */
4255 /* PCI ids + subsystem IDs */
4257 struct pci_device_id saa7134_pci_tbl[] = {
4259 .vendor = PCI_VENDOR_ID_PHILIPS,
4260 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4261 .subvendor = PCI_VENDOR_ID_PHILIPS,
4262 .subdevice = 0x2001,
4263 .driver_data = SAA7134_BOARD_PROTEUS_PRO,
4265 .vendor = PCI_VENDOR_ID_PHILIPS,
4266 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4267 .subvendor = PCI_VENDOR_ID_PHILIPS,
4268 .subdevice = 0x2001,
4269 .driver_data = SAA7134_BOARD_PROTEUS_PRO,
4271 .vendor = PCI_VENDOR_ID_PHILIPS,
4272 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4273 .subvendor = PCI_VENDOR_ID_PHILIPS,
4274 .subdevice = 0x6752,
4275 .driver_data = SAA7134_BOARD_EMPRESS,
4277 .vendor = PCI_VENDOR_ID_PHILIPS,
4278 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4279 .subvendor = 0x1131,
4280 .subdevice = 0x4e85,
4281 .driver_data = SAA7134_BOARD_MONSTERTV,
4283 .vendor = PCI_VENDOR_ID_PHILIPS,
4284 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4285 .subvendor = 0x153b,
4286 .subdevice = 0x1142,
4287 .driver_data = SAA7134_BOARD_CINERGY400,
4289 .vendor = PCI_VENDOR_ID_PHILIPS,
4290 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4291 .subvendor = 0x153b,
4292 .subdevice = 0x1143,
4293 .driver_data = SAA7134_BOARD_CINERGY600,
4295 .vendor = PCI_VENDOR_ID_PHILIPS,
4296 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4297 .subvendor = 0x153b,
4298 .subdevice = 0x1158,
4299 .driver_data = SAA7134_BOARD_CINERGY600_MK3,
4301 .vendor = PCI_VENDOR_ID_PHILIPS,
4302 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4303 .subvendor = 0x153b,
4304 .subdevice = 0x1162,
4305 .driver_data = SAA7134_BOARD_CINERGY400_CARDBUS,
4307 .vendor = PCI_VENDOR_ID_PHILIPS,
4308 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4309 .subvendor = 0x5169,
4310 .subdevice = 0x0138,
4311 .driver_data = SAA7134_BOARD_FLYVIDEO3000_NTSC,
4313 .vendor = PCI_VENDOR_ID_PHILIPS,
4314 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4315 .subvendor = 0x5168,
4316 .subdevice = 0x0138,
4317 .driver_data = SAA7134_BOARD_FLYVIDEO3000,
4319 .vendor = PCI_VENDOR_ID_PHILIPS,
4320 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4321 .subvendor = 0x4e42, /* "Typhoon PCI Capture TV Card" Art.No. 50673 */
4322 .subdevice = 0x0138,
4323 .driver_data = SAA7134_BOARD_FLYVIDEO3000,
4325 .vendor = PCI_VENDOR_ID_PHILIPS,
4326 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4327 .subvendor = 0x5168,
4328 .subdevice = 0x0138,
4329 .driver_data = SAA7134_BOARD_FLYVIDEO2000,
4331 .vendor = PCI_VENDOR_ID_PHILIPS,
4332 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4333 .subvendor = 0x4e42, /* Typhoon */
4334 .subdevice = 0x0138, /* LifeView FlyTV Prime30 OEM */
4335 .driver_data = SAA7134_BOARD_FLYVIDEO2000,
4337 .vendor = PCI_VENDOR_ID_PHILIPS,
4338 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4339 .subvendor = 0x5168,
4340 .subdevice = 0x0212, /* minipci, LR212 */
4341 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
4343 .vendor = PCI_VENDOR_ID_PHILIPS,
4344 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4345 .subvendor = 0x14c0,
4346 .subdevice = 0x1212, /* minipci, LR1212 */
4347 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI2,
4349 .vendor = PCI_VENDOR_ID_PHILIPS,
4350 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4351 .subvendor = 0x4e42,
4352 .subdevice = 0x0212, /* OEM minipci, LR212 */
4353 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
4355 .vendor = PCI_VENDOR_ID_PHILIPS,
4356 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4357 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
4358 .subdevice = 0x0214, /* Standard PCI, LR214 Rev E and earlier (SAA7135) */
4359 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
4361 .vendor = PCI_VENDOR_ID_PHILIPS,
4362 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4363 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
4364 .subdevice = 0x5214, /* Standard PCI, LR214 Rev F onwards (SAA7131) */
4365 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
4367 .vendor = PCI_VENDOR_ID_PHILIPS,
4368 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4369 .subvendor = 0x1489, /* KYE */
4370 .subdevice = 0x0214, /* Genius VideoWonder ProTV */
4371 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM, /* is an LR214WF actually */
4373 .vendor = PCI_VENDOR_ID_PHILIPS,
4374 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4375 .subvendor = 0x16be,
4376 .subdevice = 0x0003,
4377 .driver_data = SAA7134_BOARD_MD7134,
4379 .vendor = PCI_VENDOR_ID_PHILIPS,
4380 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4381 .subvendor = 0x1048,
4382 .subdevice = 0x226b,
4383 .driver_data = SAA7134_BOARD_ELSA,
4385 .vendor = PCI_VENDOR_ID_PHILIPS,
4386 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4387 .subvendor = 0x1048,
4388 .subdevice = 0x226a,
4389 .driver_data = SAA7134_BOARD_ELSA_500TV,
4391 .vendor = PCI_VENDOR_ID_PHILIPS,
4392 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4393 .subvendor = 0x1048,
4394 .subdevice = 0x226c,
4395 .driver_data = SAA7134_BOARD_ELSA_700TV,
4397 .vendor = PCI_VENDOR_ID_PHILIPS,
4398 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4399 .subvendor = PCI_VENDOR_ID_ASUSTEK,
4400 .subdevice = 0x4842,
4401 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
4403 .vendor = PCI_VENDOR_ID_PHILIPS,
4404 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4405 .subvendor = PCI_VENDOR_ID_ASUSTEK,
4406 .subdevice = 0x4845,
4407 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7135,
4409 .vendor = PCI_VENDOR_ID_PHILIPS,
4410 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4411 .subvendor = PCI_VENDOR_ID_ASUSTEK,
4412 .subdevice = 0x4830,
4413 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
4415 .vendor = PCI_VENDOR_ID_PHILIPS,
4416 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4417 .subvendor = PCI_VENDOR_ID_ASUSTEK,
4418 .subdevice = 0x4843,
4419 .driver_data = SAA7134_BOARD_ASUSTEK_TVFM7133,
4421 .vendor = PCI_VENDOR_ID_PHILIPS,
4422 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4423 .subvendor = PCI_VENDOR_ID_ASUSTEK,
4424 .subdevice = 0x4840,
4425 .driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
4427 .vendor = PCI_VENDOR_ID_PHILIPS,
4428 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4429 .subvendor = PCI_VENDOR_ID_PHILIPS,
4430 .subdevice = 0xfe01,
4431 .driver_data = SAA7134_BOARD_TVSTATION_RDS,
4433 .vendor = PCI_VENDOR_ID_PHILIPS,
4434 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4435 .subvendor = 0x1894,
4436 .subdevice = 0xfe01,
4437 .driver_data = SAA7134_BOARD_TVSTATION_RDS,
4439 .vendor = PCI_VENDOR_ID_PHILIPS,
4440 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4441 .subvendor = 0x1894,
4442 .subdevice = 0xa006,
4443 .driver_data = SAA7134_BOARD_TVSTATION_DVR,
4445 .vendor = PCI_VENDOR_ID_PHILIPS,
4446 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4447 .subvendor = 0x1131,
4448 .subdevice = 0x7133,
4449 .driver_data = SAA7134_BOARD_VA1000POWER,
4451 .vendor = PCI_VENDOR_ID_PHILIPS,
4452 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4453 .subvendor = PCI_VENDOR_ID_PHILIPS,
4454 .subdevice = 0x2001,
4455 .driver_data = SAA7134_BOARD_10MOONSTVMASTER,
4457 .vendor = PCI_VENDOR_ID_PHILIPS,
4458 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4459 .subvendor = 0x185b,
4460 .subdevice = 0xc100,
4461 .driver_data = SAA7134_BOARD_VIDEOMATE_TV,
4463 .vendor = PCI_VENDOR_ID_PHILIPS,
4464 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4465 .subvendor = 0x185b,
4466 .subdevice = 0xc100,
4467 .driver_data = SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS,
4469 .vendor = PCI_VENDOR_ID_PHILIPS,
4470 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4471 .subvendor = PCI_VENDOR_ID_MATROX,
4472 .subdevice = 0x48d0,
4473 .driver_data = SAA7134_BOARD_CRONOS_PLUS,
4475 .vendor = PCI_VENDOR_ID_PHILIPS,
4476 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4477 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4478 .subdevice = 0xa70b,
4479 .driver_data = SAA7134_BOARD_MD2819,
4481 .vendor = PCI_VENDOR_ID_PHILIPS,
4482 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4483 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4484 .subdevice = 0xa7a1,
4485 .driver_data = SAA7134_BOARD_AVERMEDIA_A700_PRO,
4487 .vendor = PCI_VENDOR_ID_PHILIPS,
4488 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4489 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4490 .subdevice = 0xa7a2,
4491 .driver_data = SAA7134_BOARD_AVERMEDIA_A700_HYBRID,
4493 .vendor = PCI_VENDOR_ID_PHILIPS,
4494 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4495 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4496 .subdevice = 0x2115,
4497 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_305,
4499 .vendor = PCI_VENDOR_ID_PHILIPS,
4500 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4501 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4502 .subdevice = 0x2108,
4503 .driver_data = SAA7134_BOARD_AVERMEDIA_305,
4505 .vendor = PCI_VENDOR_ID_PHILIPS,
4506 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4507 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4508 .subdevice = 0x10ff,
4509 .driver_data = SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER,
4511 /* AVerMedia CardBus */
4512 .vendor = PCI_VENDOR_ID_PHILIPS,
4513 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4514 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4515 .subdevice = 0xd6ee,
4516 .driver_data = SAA7134_BOARD_AVERMEDIA_CARDBUS,
4518 /* TransGear 3000TV */
4519 .vendor = PCI_VENDOR_ID_PHILIPS,
4520 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4521 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4522 .subdevice = 0x050c,
4523 .driver_data = SAA7134_BOARD_TG3000TV,
4525 .vendor = PCI_VENDOR_ID_PHILIPS,
4526 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4527 .subvendor = 0x11bd,
4528 .subdevice = 0x002b,
4529 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_STEREO,
4531 .vendor = PCI_VENDOR_ID_PHILIPS,
4532 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4533 .subvendor = 0x11bd,
4534 .subdevice = 0x002d,
4535 .driver_data = SAA7134_BOARD_PINNACLE_300I_DVBT_PAL,
4537 .vendor = PCI_VENDOR_ID_PHILIPS,
4538 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4539 .subvendor = 0x1019,
4540 .subdevice = 0x4cb4,
4541 .driver_data = SAA7134_BOARD_ECS_TVP3XP,
4543 .vendor = PCI_VENDOR_ID_PHILIPS,
4544 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4545 .subvendor = 0x1019,
4546 .subdevice = 0x4cb5,
4547 .driver_data = SAA7134_BOARD_ECS_TVP3XP_4CB5,
4549 .vendor = PCI_VENDOR_ID_PHILIPS,
4550 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4551 .subvendor = 0x1019,
4552 .subdevice = 0x4cb6,
4553 .driver_data = SAA7134_BOARD_ECS_TVP3XP_4CB6,
4555 .vendor = PCI_VENDOR_ID_PHILIPS,
4556 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4557 .subvendor = 0x12ab,
4558 .subdevice = 0x0800,
4559 .driver_data = SAA7134_BOARD_UPMOST_PURPLE_TV,
4561 .vendor = PCI_VENDOR_ID_PHILIPS,
4562 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4563 .subvendor = 0x153b,
4564 .subdevice = 0x1152,
4565 .driver_data = SAA7134_BOARD_CINERGY200,
4567 .vendor = PCI_VENDOR_ID_PHILIPS,
4568 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4569 .subvendor = 0x185b,
4570 .subdevice = 0xc100,
4571 .driver_data = SAA7134_BOARD_VIDEOMATE_TV_PVR,
4573 .vendor = PCI_VENDOR_ID_PHILIPS,
4574 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4575 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4576 .subdevice = 0x9715,
4577 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_307,
4579 .vendor = PCI_VENDOR_ID_PHILIPS,
4580 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4581 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4582 .subdevice = 0xa70a,
4583 .driver_data = SAA7134_BOARD_AVERMEDIA_307,
4585 .vendor = PCI_VENDOR_ID_PHILIPS,
4586 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4587 .subvendor = 0x185b,
4588 .subdevice = 0xc200,
4589 .driver_data = SAA7134_BOARD_VIDEOMATE_GOLD_PLUS,
4591 .vendor = PCI_VENDOR_ID_PHILIPS,
4592 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4593 .subvendor = 0x1540,
4594 .subdevice = 0x9524,
4595 .driver_data = SAA7134_BOARD_PROVIDEO_PV952,
4598 .vendor = PCI_VENDOR_ID_PHILIPS,
4599 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4600 .subvendor = 0x5168,
4601 .subdevice = 0x0502, /* Cardbus version */
4602 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
4604 .vendor = PCI_VENDOR_ID_PHILIPS,
4605 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4606 .subvendor = 0x5168,
4607 .subdevice = 0x0306, /* PCI version */
4608 .driver_data = SAA7134_BOARD_FLYDVBTDUO,
4610 .vendor = PCI_VENDOR_ID_PHILIPS,
4611 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4612 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4613 .subdevice = 0xf31f,
4614 .driver_data = SAA7134_BOARD_AVERMEDIA_GO_007_FM,
4617 .vendor = PCI_VENDOR_ID_PHILIPS,
4618 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4619 .subvendor = PCI_VENDOR_ID_PHILIPS,
4620 .subdevice = 0x2004,
4621 .driver_data = SAA7134_BOARD_PHILIPS_TOUGH,
4623 .vendor = PCI_VENDOR_ID_PHILIPS,
4624 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4625 .subvendor = 0x1421,
4626 .subdevice = 0x0350, /* PCI version */
4627 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
4629 .vendor = PCI_VENDOR_ID_PHILIPS,
4630 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4631 .subvendor = 0x1421,
4632 .subdevice = 0x0351, /* PCI version, new revision */
4633 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
4635 .vendor = PCI_VENDOR_ID_PHILIPS,
4636 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4637 .subvendor = 0x1421,
4638 .subdevice = 0x0370, /* cardbus version */
4639 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
4641 .vendor = PCI_VENDOR_ID_PHILIPS,
4642 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4643 .subvendor = 0x1421,
4644 .subdevice = 0x1370, /* cardbus version */
4645 .driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
4648 .vendor = PCI_VENDOR_ID_PHILIPS,
4649 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4650 .subvendor = 0x4e42, /* Typhoon */
4651 .subdevice = 0x0502, /* LifeView LR502 OEM */
4652 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
4654 .vendor = PCI_VENDOR_ID_PHILIPS,
4655 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4656 .subvendor = 0x1043,
4657 .subdevice = 0x0210, /* mini pci NTSC version */
4658 .driver_data = SAA7134_BOARD_FLYTV_DIGIMATRIX,
4660 .vendor = PCI_VENDOR_ID_PHILIPS,
4661 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4662 .subvendor = 0x1043,
4663 .subdevice = 0x0210, /* mini pci PAL/SECAM version */
4664 .driver_data = SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV,
4667 .vendor = PCI_VENDOR_ID_PHILIPS,
4668 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4669 .subvendor = 0x0000, /* It shouldn't break anything, since subdevice id seems unique */
4670 .subdevice = 0x4091,
4671 .driver_data = SAA7134_BOARD_BEHOLD_409FM,
4673 .vendor = PCI_VENDOR_ID_PHILIPS,
4674 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4675 .subvendor = 0x5456, /* GoTView */
4676 .subdevice = 0x7135,
4677 .driver_data = SAA7134_BOARD_GOTVIEW_7135,
4679 .vendor = PCI_VENDOR_ID_PHILIPS,
4680 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4681 .subvendor = PCI_VENDOR_ID_PHILIPS,
4682 .subdevice = 0x2004,
4683 .driver_data = SAA7134_BOARD_PHILIPS_EUROPA,
4685 .vendor = PCI_VENDOR_ID_PHILIPS,
4686 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4687 .subvendor = 0x185b,
4688 .subdevice = 0xc900,
4689 .driver_data = SAA7134_BOARD_VIDEOMATE_DVBT_300,
4691 .vendor = PCI_VENDOR_ID_PHILIPS,
4692 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4693 .subvendor = 0x185b,
4694 .subdevice = 0xc901,
4695 .driver_data = SAA7134_BOARD_VIDEOMATE_DVBT_200,
4697 .vendor = PCI_VENDOR_ID_PHILIPS,
4698 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4699 .subvendor = 0x1435,
4700 .subdevice = 0x7350,
4701 .driver_data = SAA7134_BOARD_RTD_VFG7350,
4703 .vendor = PCI_VENDOR_ID_PHILIPS,
4704 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4705 .subvendor = 0x1435,
4706 .subdevice = 0x7330,
4707 .driver_data = SAA7134_BOARD_RTD_VFG7330,
4709 .vendor = PCI_VENDOR_ID_PHILIPS,
4710 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4711 .subvendor = 0x1461,
4712 .subdevice = 0x1044,
4713 .driver_data = SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180,
4715 .vendor = PCI_VENDOR_ID_PHILIPS,
4716 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4717 .subvendor = 0x1131,
4718 .subdevice = 0x4ee9,
4719 .driver_data = SAA7134_BOARD_MONSTERTV_MOBILE,
4721 .vendor = PCI_VENDOR_ID_PHILIPS,
4722 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4723 .subvendor = 0x11bd,
4724 .subdevice = 0x002e,
4725 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_110i,
4727 .vendor = PCI_VENDOR_ID_PHILIPS,
4728 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4729 .subvendor = 0x1043,
4730 .subdevice = 0x4862,
4731 .driver_data = SAA7134_BOARD_ASUSTeK_P7131_DUAL,
4733 .vendor = PCI_VENDOR_ID_PHILIPS,
4734 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4735 .subvendor = PCI_VENDOR_ID_PHILIPS,
4736 .subdevice = 0x2018,
4737 .driver_data = SAA7134_BOARD_PHILIPS_TIGER,
4739 .vendor = PCI_VENDOR_ID_PHILIPS,
4740 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4741 .subvendor = 0x1462,
4742 .subdevice = 0x6231, /* tda8275a, ks003 IR */
4743 .driver_data = SAA7134_BOARD_MSI_TVATANYWHERE_PLUS,
4745 .vendor = PCI_VENDOR_ID_PHILIPS,
4746 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4747 .subvendor = 0x1462,
4748 .subdevice = 0x8624, /* tda8275, ks003 IR */
4749 .driver_data = SAA7134_BOARD_MSI_TVATANYWHERE_PLUS,
4751 .vendor = PCI_VENDOR_ID_PHILIPS,
4752 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4753 .subvendor = 0x153b,
4754 .subdevice = 0x1160,
4755 .driver_data = SAA7134_BOARD_CINERGY250PCI,
4757 .vendor = PCI_VENDOR_ID_PHILIPS,
4758 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA 7131E */
4759 .subvendor = 0x5168,
4760 .subdevice = 0x0319,
4761 .driver_data = SAA7134_BOARD_FLYDVB_TRIO,
4763 .vendor = PCI_VENDOR_ID_PHILIPS,
4764 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4765 .subvendor = 0x1461,
4766 .subdevice = 0x2c05,
4767 .driver_data = SAA7134_BOARD_AVERMEDIA_777,
4769 .vendor = PCI_VENDOR_ID_PHILIPS,
4770 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4771 .subvendor = 0x5168,
4772 .subdevice = 0x0301,
4773 .driver_data = SAA7134_BOARD_FLYDVBT_LR301,
4775 .vendor = PCI_VENDOR_ID_PHILIPS,
4776 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4777 .subvendor = 0x0331,
4778 .subdevice = 0x1421,
4779 .driver_data = SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331,
4781 .vendor = PCI_VENDOR_ID_PHILIPS,
4782 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4783 .subvendor = 0x17de,
4784 .subdevice = 0x7201,
4785 .driver_data = SAA7134_BOARD_TEVION_DVBT_220RF,
4787 .vendor = PCI_VENDOR_ID_PHILIPS,
4788 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4789 .subvendor = 0x17de,
4790 .subdevice = 0x7250,
4791 .driver_data = SAA7134_BOARD_KWORLD_DVBT_210,
4793 .vendor = PCI_VENDOR_ID_PHILIPS,
4794 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA7135HL */
4795 .subvendor = 0x17de,
4796 .subdevice = 0x7350,
4797 .driver_data = SAA7134_BOARD_KWORLD_ATSC110,
4799 .vendor = PCI_VENDOR_ID_PHILIPS,
4800 .device = PCI_DEVICE_ID_PHILIPS_SAA7133, /* SAA7135HL */
4801 .subvendor = 0x17de,
4802 .subdevice = 0x7352,
4803 .driver_data = SAA7134_BOARD_KWORLD_ATSC110, /* ATSC 115 */
4805 .vendor = PCI_VENDOR_ID_PHILIPS,
4806 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4807 .subvendor = 0x1461,
4808 .subdevice = 0x7360,
4809 .driver_data = SAA7134_BOARD_AVERMEDIA_A169_B,
4811 .vendor = PCI_VENDOR_ID_PHILIPS,
4812 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4813 .subvendor = 0x1461,
4814 .subdevice = 0x6360,
4815 .driver_data = SAA7134_BOARD_AVERMEDIA_A169_B1,
4817 .vendor = PCI_VENDOR_ID_PHILIPS,
4818 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4819 .subvendor = 0x16be,
4820 .subdevice = 0x0005,
4821 .driver_data = SAA7134_BOARD_MD7134_BRIDGE_2,
4823 .vendor = PCI_VENDOR_ID_PHILIPS,
4824 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4825 .subvendor = 0x5168,
4826 .subdevice = 0x0300,
4827 .driver_data = SAA7134_BOARD_FLYDVBS_LR300,
4829 .vendor = PCI_VENDOR_ID_PHILIPS,
4830 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4831 .subvendor = 0x4e42,
4832 .subdevice = 0x0300,/* LR300 */
4833 .driver_data = SAA7134_BOARD_FLYDVBS_LR300,
4835 .vendor = PCI_VENDOR_ID_PHILIPS,
4836 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4837 .subvendor = 0x1489,
4838 .subdevice = 0x0301,
4839 .driver_data = SAA7134_BOARD_FLYDVBT_LR301,
4841 .vendor = PCI_VENDOR_ID_PHILIPS,
4842 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4843 .subvendor = 0x5168, /* Animation Technologies (LifeView) */
4844 .subdevice = 0x0304,
4845 .driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
4847 .vendor = PCI_VENDOR_ID_PHILIPS,
4848 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4849 .subvendor = 0x5168,
4850 .subdevice = 0x3306,
4851 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
4853 .vendor = PCI_VENDOR_ID_PHILIPS,
4854 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4855 .subvendor = 0x5168,
4856 .subdevice = 0x3502, /* whats the difference to 0x3306 ?*/
4857 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
4859 .vendor = PCI_VENDOR_ID_PHILIPS,
4860 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4861 .subvendor = 0x5168,
4862 .subdevice = 0x3307, /* FlyDVB-T Hybrid Mini PCI */
4863 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
4865 .vendor = PCI_VENDOR_ID_PHILIPS,
4866 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4867 .subvendor = 0x16be,
4868 .subdevice = 0x0007,
4869 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
4871 .vendor = PCI_VENDOR_ID_PHILIPS,
4872 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4873 .subvendor = 0x16be,
4874 .subdevice = 0x0008,
4875 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
4877 .vendor = PCI_VENDOR_ID_PHILIPS,
4878 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4879 .subvendor = 0x16be,
4880 .subdevice = 0x000d, /* triple CTX948_V1.1.1 */
4881 .driver_data = SAA7134_BOARD_MEDION_MD8800_QUADRO,
4883 .vendor = PCI_VENDOR_ID_PHILIPS,
4884 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4885 .subvendor = 0x1461,
4886 .subdevice = 0x2c05,
4887 .driver_data = SAA7134_BOARD_AVERMEDIA_777,
4889 .vendor = PCI_VENDOR_ID_PHILIPS,
4890 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4891 .subvendor = 0x1489,
4892 .subdevice = 0x0502, /* Cardbus version */
4893 .driver_data = SAA7134_BOARD_FLYDVBT_DUO_CARDBUS,
4895 .vendor = PCI_VENDOR_ID_PHILIPS,
4896 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4897 .subvendor = 0x0919, /* Philips Proteus PRO 2309 */
4898 .subdevice = 0x2003,
4899 .driver_data = SAA7134_BOARD_PROTEUS_2309,
4901 .vendor = PCI_VENDOR_ID_PHILIPS,
4902 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4903 .subvendor = 0x1461,
4904 .subdevice = 0x2c00,
4905 .driver_data = SAA7134_BOARD_AVERMEDIA_A16AR,
4907 .vendor = PCI_VENDOR_ID_PHILIPS,
4908 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
4909 .subvendor = 0x1043,
4910 .subdevice = 0x4860,
4911 .driver_data = SAA7134_BOARD_ASUS_EUROPA2_HYBRID,
4913 .vendor = PCI_VENDOR_ID_PHILIPS,
4914 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4915 .subvendor = 0x11bd,
4916 .subdevice = 0x002f,
4917 .driver_data = SAA7134_BOARD_PINNACLE_PCTV_310i,
4919 .vendor = PCI_VENDOR_ID_PHILIPS,
4920 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4921 .subvendor = 0x1461, /* Avermedia Technologies Inc */
4922 .subdevice = 0x9715,
4923 .driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_507,
4925 .vendor = PCI_VENDOR_ID_PHILIPS,
4926 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4927 .subvendor = 0x1043,
4928 .subdevice = 0x4876,
4929 .driver_data = SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA,
4931 .vendor = PCI_VENDOR_ID_PHILIPS,
4932 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4933 .subvendor = 0x0070,
4934 .subdevice = 0x6700,
4935 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
4937 .vendor = PCI_VENDOR_ID_PHILIPS,
4938 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4939 .subvendor = 0x0070,
4940 .subdevice = 0x6701,
4941 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
4943 .vendor = PCI_VENDOR_ID_PHILIPS,
4944 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4945 .subvendor = 0x0070,
4946 .subdevice = 0x6702,
4947 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
4949 .vendor = PCI_VENDOR_ID_PHILIPS,
4950 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4951 .subvendor = 0x0070,
4952 .subdevice = 0x6703,
4953 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
4955 .vendor = PCI_VENDOR_ID_PHILIPS,
4956 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4957 .subvendor = 0x0070,
4958 .subdevice = 0x6704,
4959 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
4961 .vendor = PCI_VENDOR_ID_PHILIPS,
4962 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4963 .subvendor = 0x0070,
4964 .subdevice = 0x6705,
4965 .driver_data = SAA7134_BOARD_HAUPPAUGE_HVR1110,
4967 .vendor = PCI_VENDOR_ID_PHILIPS,
4968 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4969 .subvendor = 0x153b,
4970 .subdevice = 0x1172,
4971 .driver_data = SAA7134_BOARD_CINERGY_HT_PCMCIA,
4973 .vendor = PCI_VENDOR_ID_PHILIPS,
4974 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4975 .subvendor = PCI_VENDOR_ID_PHILIPS,
4976 .subdevice = 0x2342,
4977 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
4979 .vendor = PCI_VENDOR_ID_PHILIPS,
4980 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4981 .subvendor = 0x1131,
4982 .subdevice = 0x2341,
4983 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
4985 .vendor = PCI_VENDOR_ID_PHILIPS,
4986 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4987 .subvendor = 0x3016,
4988 .subdevice = 0x2344,
4989 .driver_data = SAA7134_BOARD_ENCORE_ENLTV,
4991 .vendor = PCI_VENDOR_ID_PHILIPS,
4992 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
4993 .subvendor = 0x1131,
4994 .subdevice = 0x230f,
4995 .driver_data = SAA7134_BOARD_ENCORE_ENLTV_FM,
4997 .vendor = PCI_VENDOR_ID_PHILIPS,
4998 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
4999 .subvendor = 0x153b,
5000 .subdevice = 0x1175,
5001 .driver_data = SAA7134_BOARD_CINERGY_HT_PCI,
5003 .vendor = PCI_VENDOR_ID_PHILIPS,
5004 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5005 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5006 .subdevice = 0xf31e,
5007 .driver_data = SAA7134_BOARD_AVERMEDIA_M102,
5009 .vendor = PCI_VENDOR_ID_PHILIPS,
5010 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5011 .subvendor = 0x4E42, /* MSI */
5012 .subdevice = 0x0306, /* TV@nywhere DUO */
5013 .driver_data = SAA7134_BOARD_FLYDVBTDUO,
5015 .vendor = PCI_VENDOR_ID_PHILIPS,
5016 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5017 .subvendor = 0x1043,
5018 .subdevice = 0x4871,
5019 .driver_data = SAA7134_BOARD_ASUS_P7131_4871,
5021 .vendor = PCI_VENDOR_ID_PHILIPS,
5022 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5023 .subvendor = 0x1043,
5024 .subdevice = 0x4857,
5025 .driver_data = SAA7134_BOARD_ASUSTeK_P7131_DUAL,
5027 .vendor = PCI_VENDOR_ID_PHILIPS,
5028 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5029 .subvendor = 0x0919, /* SinoVideo PCI 2309 Proteus (7134) */
5030 .subdevice = 0x2003, /* OEM cardbus */
5031 .driver_data = SAA7134_BOARD_SABRENT_TV_PCB05,
5033 .vendor = PCI_VENDOR_ID_PHILIPS,
5034 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5035 .subvendor = PCI_VENDOR_ID_PHILIPS,
5036 .subdevice = 0x2304,
5037 .driver_data = SAA7134_BOARD_10MOONSTVMASTER3,
5039 .vendor = PCI_VENDOR_ID_PHILIPS,
5040 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5041 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5042 .subdevice = 0xf01d, /* AVerTV DVB-T Super 007 */
5043 .driver_data = SAA7134_BOARD_AVERMEDIA_SUPER_007,
5045 .vendor = PCI_VENDOR_ID_PHILIPS,
5046 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5047 .subvendor = 0x0000,
5048 .subdevice = 0x4016,
5049 .driver_data = SAA7134_BOARD_BEHOLD_401,
5051 .vendor = PCI_VENDOR_ID_PHILIPS,
5052 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5053 .subvendor = 0x0000,
5054 .subdevice = 0x4036,
5055 .driver_data = SAA7134_BOARD_BEHOLD_403,
5057 .vendor = PCI_VENDOR_ID_PHILIPS,
5058 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5059 .subvendor = 0x0000,
5060 .subdevice = 0x4037,
5061 .driver_data = SAA7134_BOARD_BEHOLD_403FM,
5063 .vendor = PCI_VENDOR_ID_PHILIPS,
5064 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5065 .subvendor = 0x0000,
5066 .subdevice = 0x4050,
5067 .driver_data = SAA7134_BOARD_BEHOLD_405,
5069 .vendor = PCI_VENDOR_ID_PHILIPS,
5070 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5071 .subvendor = 0x0000,
5072 .subdevice = 0x4051,
5073 .driver_data = SAA7134_BOARD_BEHOLD_405FM,
5075 .vendor = PCI_VENDOR_ID_PHILIPS,
5076 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5077 .subvendor = 0x0000,
5078 .subdevice = 0x4070,
5079 .driver_data = SAA7134_BOARD_BEHOLD_407,
5081 .vendor = PCI_VENDOR_ID_PHILIPS,
5082 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5083 .subvendor = 0x0000,
5084 .subdevice = 0x4071,
5085 .driver_data = SAA7134_BOARD_BEHOLD_407FM,
5087 .vendor = PCI_VENDOR_ID_PHILIPS,
5088 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5089 .subvendor = 0x0000,
5090 .subdevice = 0x4090,
5091 .driver_data = SAA7134_BOARD_BEHOLD_409,
5093 .vendor = PCI_VENDOR_ID_PHILIPS,
5094 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5095 .subvendor = 0x0000,
5096 .subdevice = 0x5051,
5097 .driver_data = SAA7134_BOARD_BEHOLD_505FM,
5099 .vendor = PCI_VENDOR_ID_PHILIPS,
5100 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5101 .subvendor = 0x0000,
5102 .subdevice = 0x505B,
5103 .driver_data = SAA7134_BOARD_BEHOLD_505FM,
5105 .vendor = PCI_VENDOR_ID_PHILIPS,
5106 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5107 .subvendor = 0x5ace,
5108 .subdevice = 0x5050,
5109 .driver_data = SAA7134_BOARD_BEHOLD_505FM,
5111 .vendor = PCI_VENDOR_ID_PHILIPS,
5112 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5113 .subvendor = 0x0000,
5114 .subdevice = 0x5071,
5115 .driver_data = SAA7134_BOARD_BEHOLD_507_9FM,
5117 .vendor = PCI_VENDOR_ID_PHILIPS,
5118 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5119 .subvendor = 0x0000,
5120 .subdevice = 0x507B,
5121 .driver_data = SAA7134_BOARD_BEHOLD_507_9FM,
5123 .vendor = PCI_VENDOR_ID_PHILIPS,
5124 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5125 .subvendor = 0x5ace,
5126 .subdevice = 0x5070,
5127 .driver_data = SAA7134_BOARD_BEHOLD_507_9FM,
5129 .vendor = PCI_VENDOR_ID_PHILIPS,
5130 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5131 .subvendor = 0x5ace,
5132 .subdevice = 0x5090,
5133 .driver_data = SAA7134_BOARD_BEHOLD_507_9FM,
5135 .vendor = PCI_VENDOR_ID_PHILIPS,
5136 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5137 .subvendor = 0x0000,
5138 .subdevice = 0x5201,
5139 .driver_data = SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM,
5141 .vendor = PCI_VENDOR_ID_PHILIPS,
5142 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5143 .subvendor = 0x5ace,
5144 .subdevice = 0x6070,
5145 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5147 .vendor = PCI_VENDOR_ID_PHILIPS,
5148 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5149 .subvendor = 0x5ace,
5150 .subdevice = 0x6071,
5151 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5153 .vendor = PCI_VENDOR_ID_PHILIPS,
5154 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5155 .subvendor = 0x5ace,
5156 .subdevice = 0x6072,
5157 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5159 .vendor = PCI_VENDOR_ID_PHILIPS,
5160 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5161 .subvendor = 0x5ace,
5162 .subdevice = 0x6073,
5163 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5165 .vendor = PCI_VENDOR_ID_PHILIPS,
5166 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5167 .subvendor = 0x5ace,
5168 .subdevice = 0x6090,
5169 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5171 .vendor = PCI_VENDOR_ID_PHILIPS,
5172 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5173 .subvendor = 0x5ace,
5174 .subdevice = 0x6091,
5175 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5177 .vendor = PCI_VENDOR_ID_PHILIPS,
5178 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5179 .subvendor = 0x5ace,
5180 .subdevice = 0x6092,
5181 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5183 .vendor = PCI_VENDOR_ID_PHILIPS,
5184 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5185 .subvendor = 0x5ace,
5186 .subdevice = 0x6093,
5187 .driver_data = SAA7134_BOARD_BEHOLD_607_9FM,
5189 .vendor = PCI_VENDOR_ID_PHILIPS,
5190 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5191 .subvendor = 0x5ace,
5192 .subdevice = 0x6190,
5193 .driver_data = SAA7134_BOARD_BEHOLD_M6,
5195 .vendor = PCI_VENDOR_ID_PHILIPS,
5196 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5197 .subvendor = 0x5ace,
5198 .subdevice = 0x6193,
5199 .driver_data = SAA7134_BOARD_BEHOLD_M6,
5201 .vendor = PCI_VENDOR_ID_PHILIPS,
5202 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5203 .subvendor = 0x4e42,
5204 .subdevice = 0x3502,
5205 .driver_data = SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS,
5207 .vendor = PCI_VENDOR_ID_PHILIPS,
5208 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5209 .subvendor = 0x1822, /*Twinhan Technology Co. Ltd*/
5210 .subdevice = 0x0022,
5211 .driver_data = SAA7134_BOARD_TWINHAN_DTV_DVB_3056,
5213 .vendor = PCI_VENDOR_ID_PHILIPS,
5214 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5215 .subvendor = 0x16be,
5216 .subdevice = 0x0010, /* Medion version CTX953_V.1.4.3 */
5217 .driver_data = SAA7134_BOARD_CREATIX_CTX953,
5219 .vendor = PCI_VENDOR_ID_PHILIPS,
5220 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5221 .subvendor = 0x1462, /* MSI */
5222 .subdevice = 0x8625, /* TV@nywhere A/D v1.1 */
5223 .driver_data = SAA7134_BOARD_MSI_TVANYWHERE_AD11,
5225 .vendor = PCI_VENDOR_ID_PHILIPS,
5226 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5227 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5228 .subdevice = 0xf436,
5229 .driver_data = SAA7134_BOARD_AVERMEDIA_CARDBUS_506,
5231 .vendor = PCI_VENDOR_ID_PHILIPS,
5232 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5233 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5234 .subdevice = 0xf936,
5235 .driver_data = SAA7134_BOARD_AVERMEDIA_A16D,
5237 .vendor = PCI_VENDOR_ID_PHILIPS,
5238 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5239 .subvendor = 0x1461, /* Avermedia Technologies Inc */
5240 .subdevice = 0xa836,
5241 .driver_data = SAA7134_BOARD_AVERMEDIA_M115,
5243 .vendor = PCI_VENDOR_ID_PHILIPS,
5244 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5245 .subvendor = 0x185b,
5246 .subdevice = 0xc900,
5247 .driver_data = SAA7134_BOARD_VIDEOMATE_T750,
5249 /* --- boards without eeprom + subsystem ID --- */
5250 .vendor = PCI_VENDOR_ID_PHILIPS,
5251 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5252 .subvendor = PCI_VENDOR_ID_PHILIPS,
5254 .driver_data = SAA7134_BOARD_NOAUTO,
5256 .vendor = PCI_VENDOR_ID_PHILIPS,
5257 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5258 .subvendor = PCI_VENDOR_ID_PHILIPS,
5260 .driver_data = SAA7134_BOARD_NOAUTO,
5262 /* --- default catch --- */
5263 .vendor = PCI_VENDOR_ID_PHILIPS,
5264 .device = PCI_DEVICE_ID_PHILIPS_SAA7130,
5265 .subvendor = PCI_ANY_ID,
5266 .subdevice = PCI_ANY_ID,
5267 .driver_data = SAA7134_BOARD_UNKNOWN,
5269 .vendor = PCI_VENDOR_ID_PHILIPS,
5270 .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
5271 .subvendor = PCI_ANY_ID,
5272 .subdevice = PCI_ANY_ID,
5273 .driver_data = SAA7134_BOARD_UNKNOWN,
5275 .vendor = PCI_VENDOR_ID_PHILIPS,
5276 .device = PCI_DEVICE_ID_PHILIPS_SAA7134,
5277 .subvendor = PCI_ANY_ID,
5278 .subdevice = PCI_ANY_ID,
5279 .driver_data = SAA7134_BOARD_UNKNOWN,
5281 .vendor = PCI_VENDOR_ID_PHILIPS,
5282 .device = PCI_DEVICE_ID_PHILIPS_SAA7135,
5283 .subvendor = PCI_ANY_ID,
5284 .subdevice = PCI_ANY_ID,
5285 .driver_data = SAA7134_BOARD_UNKNOWN,
5287 /* --- end of list --- */
5290 MODULE_DEVICE_TABLE(pci, saa7134_pci_tbl);
5292 /* ----------------------------------------------------------- */
5293 /* flyvideo tweaks */
5296 static void board_flyvideo(struct saa7134_dev *dev)
5298 printk("%s: there are different flyvideo cards with different tuners\n"
5299 "%s: out there, you might have to use the tuner=<nr> insmod\n"
5300 "%s: option to override the default value.\n",
5301 dev->name, dev->name, dev->name);
5304 static int saa7134_xc2028_callback(struct saa7134_dev *dev,
5305 int command, int arg)
5308 case XC2028_TUNER_RESET:
5309 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x06e20000, 0x06e20000);
5310 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x06a20000, 0x06a20000);
5312 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x06e20000, 0);
5313 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x06a20000, 0);
5315 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x06e20000, 0x06e20000);
5316 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x06a20000, 0x06a20000);
5318 saa_andorl(SAA7133_ANALOG_IO_SELECT >> 2, 0x02, 0x02);
5319 saa_andorl(SAA7134_ANALOG_IN_CTRL1 >> 2, 0x81, 0x81);
5320 saa_andorl(SAA7134_AUDIO_CLOCK0 >> 2, 0x03187de7, 0x03187de7);
5321 saa_andorl(SAA7134_AUDIO_PLL_CTRL >> 2, 0x03, 0x03);
5322 saa_andorl(SAA7134_AUDIO_CLOCKS_PER_FIELD0 >> 2,
5323 0x0001e000, 0x0001e000);
5330 static int saa7134_tda8290_callback(struct saa7134_dev *dev,
5331 int command, int arg)
5336 case 0: /* switch LNA gain through GPIO 22*/
5337 saa7134_set_gpio(dev, 22, arg) ;
5339 case 1: /* vsync output at GPIO22. 50 / 60Hz */
5340 saa_andorb(SAA7134_VIDEO_PORT_CTRL3, 0x80, 0x80);
5341 saa_andorb(SAA7134_VIDEO_PORT_CTRL6, 0x0f, 0x03);
5346 saa_writeb(SAA7134_VGATE_START, sync_control);
5347 saa_writeb(SAA7134_VGATE_STOP, sync_control + 1);
5348 saa_andorb(SAA7134_MISC_VGATE_MSB, 0x03, 0x00);
5357 int saa7134_tuner_callback(void *priv, int command, int arg)
5359 struct saa7134_dev *dev = priv;
5361 switch (dev->tuner_type) {
5362 case TUNER_PHILIPS_TDA8290:
5363 return saa7134_tda8290_callback(dev, command, arg);
5365 return saa7134_xc2028_callback(dev, command, arg);
5368 printk(KERN_ERR "saa7134: Error - device struct undefined.\n");
5373 EXPORT_SYMBOL(saa7134_tuner_callback);
5375 /* ----------------------------------------------------------- */
5377 static void hauppauge_eeprom(struct saa7134_dev *dev, u8 *eeprom_data)
5381 tveeprom_hauppauge_analog(&dev->i2c_client, &tv, eeprom_data);
5383 /* Make sure we support the board model */
5385 case 67019: /* WinTV-HVR1110 (Retail, IR Blaster, hybrid, FM, SVid/Comp, 3.5mm audio in) */
5386 case 67109: /* WinTV-HVR1000 (Retail, IR Receive, analog, no FM, SVid/Comp, 3.5mm audio in) */
5387 case 67559: /* WinTV-HVR1110 (OEM, no IR, hybrid, FM, SVid/Comp, RCA aud) */
5388 case 67569: /* WinTV-HVR1110 (OEM, no IR, hybrid, FM) */
5389 case 67579: /* WinTV-HVR1110 (OEM, no IR, hybrid, no FM) */
5390 case 67589: /* WinTV-HVR1110 (OEM, no IR, hybrid, no FM, SVid/Comp, RCA aud) */
5391 case 67599: /* WinTV-HVR1110 (OEM, no IR, hybrid, no FM, SVid/Comp, RCA aud) */
5394 printk(KERN_WARNING "%s: warning: "
5395 "unknown hauppauge model #%d\n", dev->name, tv.model);
5399 printk(KERN_INFO "%s: hauppauge eeprom: model=%d\n",
5400 dev->name, tv.model);
5403 /* ----------------------------------------------------------- */
5405 int saa7134_board_init1(struct saa7134_dev *dev)
5407 /* Always print gpio, often manufacturers encode tuner type and other info. */
5408 saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0);
5409 dev->gpio_value = saa_readl(SAA7134_GPIO_GPSTATUS0 >> 2);
5410 printk(KERN_INFO "%s: board init: gpio is %x\n", dev->name, dev->gpio_value);
5412 switch (dev->board) {
5413 case SAA7134_BOARD_FLYVIDEO2000:
5414 case SAA7134_BOARD_FLYVIDEO3000:
5415 case SAA7134_BOARD_FLYVIDEO3000_NTSC:
5416 dev->has_remote = SAA7134_REMOTE_GPIO;
5417 board_flyvideo(dev);
5419 case SAA7134_BOARD_FLYTVPLATINUM_MINI2:
5420 case SAA7134_BOARD_FLYTVPLATINUM_FM:
5421 case SAA7134_BOARD_CINERGY400:
5422 case SAA7134_BOARD_CINERGY600:
5423 case SAA7134_BOARD_CINERGY600_MK3:
5424 case SAA7134_BOARD_ECS_TVP3XP:
5425 case SAA7134_BOARD_ECS_TVP3XP_4CB5:
5426 case SAA7134_BOARD_ECS_TVP3XP_4CB6:
5427 case SAA7134_BOARD_MD2819:
5428 case SAA7134_BOARD_KWORLD_VSTREAM_XPERT:
5429 case SAA7134_BOARD_KWORLD_XPERT:
5430 case SAA7134_BOARD_AVERMEDIA_STUDIO_305:
5431 case SAA7134_BOARD_AVERMEDIA_305:
5432 case SAA7134_BOARD_AVERMEDIA_STUDIO_307:
5433 case SAA7134_BOARD_AVERMEDIA_307:
5434 case SAA7134_BOARD_AVERMEDIA_STUDIO_507:
5435 case SAA7134_BOARD_AVERMEDIA_GO_007_FM:
5436 case SAA7134_BOARD_AVERMEDIA_777:
5437 /* case SAA7134_BOARD_SABRENT_SBTTVFM: */ /* not finished yet */
5438 case SAA7134_BOARD_VIDEOMATE_TV_PVR:
5439 case SAA7134_BOARD_VIDEOMATE_GOLD_PLUS:
5440 case SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII:
5441 case SAA7134_BOARD_VIDEOMATE_DVBT_300:
5442 case SAA7134_BOARD_VIDEOMATE_DVBT_200:
5443 case SAA7134_BOARD_VIDEOMATE_DVBT_200A:
5444 case SAA7134_BOARD_VIDEOMATE_T750:
5445 case SAA7134_BOARD_MANLI_MTV001:
5446 case SAA7134_BOARD_MANLI_MTV002:
5447 case SAA7134_BOARD_BEHOLD_409FM:
5448 case SAA7134_BOARD_AVACSSMARTTV:
5449 case SAA7134_BOARD_GOTVIEW_7135:
5450 case SAA7134_BOARD_KWORLD_TERMINATOR:
5451 case SAA7134_BOARD_SEDNA_PC_TV_CARDBUS:
5452 case SAA7134_BOARD_FLYDVBT_LR301:
5453 case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
5454 case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA:
5455 case SAA7134_BOARD_FLYDVBTDUO:
5456 case SAA7134_BOARD_PROTEUS_2309:
5457 case SAA7134_BOARD_AVERMEDIA_A16AR:
5458 case SAA7134_BOARD_ENCORE_ENLTV:
5459 case SAA7134_BOARD_ENCORE_ENLTV_FM:
5460 case SAA7134_BOARD_10MOONSTVMASTER3:
5461 case SAA7134_BOARD_BEHOLD_401:
5462 case SAA7134_BOARD_BEHOLD_403:
5463 case SAA7134_BOARD_BEHOLD_403FM:
5464 case SAA7134_BOARD_BEHOLD_405:
5465 case SAA7134_BOARD_BEHOLD_405FM:
5466 case SAA7134_BOARD_BEHOLD_407:
5467 case SAA7134_BOARD_BEHOLD_407FM:
5468 case SAA7134_BOARD_BEHOLD_409:
5469 case SAA7134_BOARD_BEHOLD_505FM:
5470 case SAA7134_BOARD_BEHOLD_507_9FM:
5471 case SAA7134_BOARD_GENIUS_TVGO_A11MCE:
5472 dev->has_remote = SAA7134_REMOTE_GPIO;
5474 case SAA7134_BOARD_FLYDVBS_LR300:
5475 saa_writeb(SAA7134_GPIO_GPMODE3, 0x80);
5476 saa_writeb(SAA7134_GPIO_GPSTATUS2, 0x40);
5477 dev->has_remote = SAA7134_REMOTE_GPIO;
5479 case SAA7134_BOARD_MD5044:
5480 printk("%s: seems there are two different versions of the MD5044\n"
5481 "%s: (with the same ID) out there. If sound doesn't work for\n"
5482 "%s: you try the audio_clock_override=0x200000 insmod option.\n",
5483 dev->name,dev->name,dev->name);
5485 case SAA7134_BOARD_CINERGY400_CARDBUS:
5486 /* power-up tuner chip */
5487 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000);
5488 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000000);
5490 case SAA7134_BOARD_PINNACLE_300I_DVBT_PAL:
5491 /* this turns the remote control chip off to work around a bug in it */
5492 saa_writeb(SAA7134_GPIO_GPMODE1, 0x80);
5493 saa_writeb(SAA7134_GPIO_GPSTATUS1, 0x80);
5495 case SAA7134_BOARD_MONSTERTV_MOBILE:
5496 /* power-up tuner chip */
5497 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000);
5498 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000004);
5500 case SAA7134_BOARD_FLYDVBT_DUO_CARDBUS:
5501 /* turn the fan on */
5502 saa_writeb(SAA7134_GPIO_GPMODE3, 0x08);
5503 saa_writeb(SAA7134_GPIO_GPSTATUS3, 0x06);
5505 case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331:
5506 case SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS:
5507 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x08000000, 0x08000000);
5508 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x08000000, 0x00000000);
5510 case SAA7134_BOARD_AVERMEDIA_CARDBUS:
5511 case SAA7134_BOARD_AVERMEDIA_CARDBUS_506:
5512 case SAA7134_BOARD_AVERMEDIA_M115:
5513 case SAA7134_BOARD_AVERMEDIA_A16D:
5514 /* power-down tuner chip */
5515 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0xffffffff, 0);
5516 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0);
5518 /* power-up tuner chip */
5519 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0xffffffff, 0xffffffff);
5520 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0xffffffff);
5523 case SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM:
5524 /* power-down tuner chip */
5525 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x000A8004, 0x000A8004);
5526 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x000A8004, 0);
5528 /* power-up tuner chip */
5529 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x000A8004, 0x000A8004);
5530 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x000A8004, 0x000A8004);
5532 /* remote via GPIO */
5533 dev->has_remote = SAA7134_REMOTE_GPIO;
5535 case SAA7134_BOARD_RTD_VFG7350:
5538 * Make sure Production Test Register at offset 0x1D1 is cleared
5539 * to take chip out of test mode. Clearing bit 4 (TST_EN_AOUT)
5540 * prevents pin 105 from remaining low; keeping pin 105 low
5541 * continually resets the SAA6752 chip.
5544 saa_writeb (SAA7134_PRODUCTION_TEST_MODE, 0x00);
5547 case SAA7134_BOARD_PINNACLE_PCTV_110i:
5548 case SAA7134_BOARD_PINNACLE_PCTV_310i:
5549 case SAA7134_BOARD_UPMOST_PURPLE_TV:
5550 case SAA7134_BOARD_HAUPPAUGE_HVR1110:
5551 case SAA7134_BOARD_BEHOLD_607_9FM:
5552 case SAA7134_BOARD_BEHOLD_M6:
5553 dev->has_remote = SAA7134_REMOTE_I2C;
5555 case SAA7134_BOARD_AVERMEDIA_A169_B:
5556 printk("%s: %s: dual saa713x broadcast decoders\n"
5557 "%s: Sorry, none of the inputs to this chip are supported yet.\n"
5558 "%s: Dual decoder functionality is disabled for now, use the other chip.\n",
5559 dev->name,card(dev).name,dev->name,dev->name);
5561 case SAA7134_BOARD_AVERMEDIA_M102:
5563 dev->has_remote = SAA7134_REMOTE_GPIO;
5564 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x8c040007, 0x8c040007);
5565 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x0c0007cd, 0x0c0007cd);
5567 case SAA7134_BOARD_AVERMEDIA_A700_PRO:
5568 case SAA7134_BOARD_AVERMEDIA_A700_HYBRID:
5569 /* write windows gpio values */
5570 saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x80040100, 0x80040100);
5571 saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x80040100, 0x00040100);
5572 printk("%s: %s: hybrid analog/dvb card\n"
5573 "%s: Sorry, only the analog inputs are supported for now.\n",
5574 dev->name, card(dev).name, dev->name);
5580 /* stuff which needs working i2c */
5581 int saa7134_board_init2(struct saa7134_dev *dev)
5585 struct tuner_setup tun_setup;
5586 tun_setup.config = 0;
5587 tun_setup.tuner_callback = saa7134_tuner_callback;
5589 switch (dev->board) {
5590 case SAA7134_BOARD_BMK_MPEX_NOTUNER:
5591 case SAA7134_BOARD_BMK_MPEX_TUNER:
5592 dev->i2c_client.addr = 0x60;
5593 board = (i2c_master_recv(&dev->i2c_client,&buf,0) < 0)
5594 ? SAA7134_BOARD_BMK_MPEX_NOTUNER
5595 : SAA7134_BOARD_BMK_MPEX_TUNER;
5596 if (board == dev->board)
5599 printk("%s: board type fixup: %s\n", dev->name,
5600 saa7134_boards[dev->board].name);
5601 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
5603 if (TUNER_ABSENT != dev->tuner_type) {
5604 tun_setup.mode_mask = T_RADIO |
5607 tun_setup.type = dev->tuner_type;
5608 tun_setup.addr = ADDR_UNSET;
5609 tun_setup.tuner_callback = saa7134_tuner_callback;
5611 saa7134_i2c_call_clients(dev,
5612 TUNER_SET_TYPE_ADDR,
5616 case SAA7134_BOARD_MD7134:
5622 struct i2c_msg msg[] = {{.addr=0x50, .flags=0, .buf=&subaddr, .len = 1},
5623 {.addr=0x50, .flags=I2C_M_RD, .buf=data, .len = 3}};
5626 ret = i2c_transfer(&dev->i2c_adap, msg, 2);
5628 printk(KERN_ERR "EEPROM read failure\n");
5629 } else if ((data[0] != 0) && (data[0] != 0xff)) {
5630 /* old config structure */
5631 subaddr = data[0] + 2;
5633 i2c_transfer(&dev->i2c_adap, msg, 2);
5634 tuner_t = (data[0] << 8) + data[1];
5637 dev->tuner_type = TUNER_PHILIPS_PAL;
5640 dev->tuner_type = TUNER_PHILIPS_FM1216ME_MK3;
5643 printk(KERN_ERR "%s Cant determine tuner type %x from EEPROM\n", dev->name, tuner_t);
5645 } else if ((data[1] != 0) && (data[1] != 0xff)) {
5646 /* new config structure */
5647 subaddr = data[1] + 1;
5649 i2c_transfer(&dev->i2c_adap, msg, 2);
5650 subaddr = data[0] + 1;
5652 i2c_transfer(&dev->i2c_adap, msg, 2);
5653 tuner_t = (data[1] << 8) + data[0];
5656 dev->tuner_type = TUNER_PHILIPS_FM1216ME_MK3;
5659 dev->tuner_type = TUNER_PHILIPS_FMD1216ME_MK3;
5660 printk(KERN_INFO "%s Board has DVB-T\n", dev->name);
5663 printk(KERN_ERR "%s Cant determine tuner type %x from EEPROM\n", dev->name, tuner_t);
5666 printk(KERN_ERR "%s unexpected config structure\n", dev->name);
5669 printk(KERN_INFO "%s Tuner type is %d\n", dev->name, dev->tuner_type);
5670 if (dev->tuner_type == TUNER_PHILIPS_FMD1216ME_MK3) {
5671 struct v4l2_priv_tun_config tda9887_cfg;
5673 tda9887_cfg.tuner = TUNER_TDA9887;
5674 tda9887_cfg.priv = &dev->tda9887_conf;
5676 dev->tda9887_conf = TDA9887_PRESENT |
5677 TDA9887_PORT1_ACTIVE |
5678 TDA9887_PORT2_ACTIVE;
5680 saa7134_i2c_call_clients(dev, TUNER_SET_CONFIG,
5684 tun_setup.mode_mask = T_RADIO |
5687 tun_setup.type = dev->tuner_type;
5688 tun_setup.addr = ADDR_UNSET;
5690 saa7134_i2c_call_clients(dev,
5691 TUNER_SET_TYPE_ADDR, &tun_setup);
5694 case SAA7134_BOARD_PHILIPS_EUROPA:
5695 if (dev->autodetected && (dev->eedata[0x41] == 0x1c)) {
5696 /* Reconfigure board as Snake reference design */
5697 dev->board = SAA7134_BOARD_PHILIPS_SNAKE;
5698 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
5699 printk(KERN_INFO "%s: Reconfigured board as %s\n",
5700 dev->name, saa7134_boards[dev->board].name);
5703 case SAA7134_BOARD_VIDEOMATE_DVBT_300:
5704 case SAA7134_BOARD_ASUS_EUROPA2_HYBRID:
5705 /* The Philips EUROPA based hybrid boards have the tuner connected through
5706 * the channel decoder. We have to make it transparent to find it
5709 u8 data[] = { 0x07, 0x02};
5710 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
5711 i2c_transfer(&dev->i2c_adap, &msg, 1);
5713 tun_setup.mode_mask = T_ANALOG_TV | T_DIGITAL_TV;
5714 tun_setup.type = dev->tuner_type;
5715 tun_setup.addr = dev->tuner_addr;
5717 saa7134_i2c_call_clients (dev, TUNER_SET_TYPE_ADDR,&tun_setup);
5720 case SAA7134_BOARD_PHILIPS_TIGER:
5721 case SAA7134_BOARD_PHILIPS_TIGER_S:
5723 u8 data[] = { 0x3c, 0x33, 0x60};
5724 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
5725 if(dev->autodetected && (dev->eedata[0x49] == 0x50)) {
5726 dev->board = SAA7134_BOARD_PHILIPS_TIGER_S;
5727 printk(KERN_INFO "%s: Reconfigured board as %s\n",
5728 dev->name, saa7134_boards[dev->board].name);
5730 if(dev->board == SAA7134_BOARD_PHILIPS_TIGER_S) {
5731 tun_setup.mode_mask = T_ANALOG_TV | T_DIGITAL_TV;
5732 tun_setup.type = TUNER_PHILIPS_TDA8290;
5733 tun_setup.addr = 0x4b;
5734 tun_setup.config = 2;
5736 saa7134_i2c_call_clients (dev, TUNER_SET_TYPE_ADDR,&tun_setup);
5739 i2c_transfer(&dev->i2c_adap, &msg, 1);
5742 case SAA7134_BOARD_HAUPPAUGE_HVR1110:
5743 hauppauge_eeprom(dev, dev->eedata+0x80);
5744 /* break intentionally omitted */
5745 case SAA7134_BOARD_PINNACLE_PCTV_310i:
5746 case SAA7134_BOARD_KWORLD_DVBT_210:
5747 case SAA7134_BOARD_TEVION_DVBT_220RF:
5748 case SAA7134_BOARD_ASUSTeK_P7131_DUAL:
5749 case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA:
5750 case SAA7134_BOARD_MEDION_MD8800_QUADRO:
5751 case SAA7134_BOARD_AVERMEDIA_SUPER_007:
5752 case SAA7134_BOARD_TWINHAN_DTV_DVB_3056:
5753 case SAA7134_BOARD_CREATIX_CTX953:
5754 /* this is a hybrid board, initialize to analog mode
5755 * and configure firmware eeprom address
5758 u8 data[] = { 0x3c, 0x33, 0x60};
5759 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
5760 i2c_transfer(&dev->i2c_adap, &msg, 1);
5763 case SAA7134_BOARD_FLYDVB_TRIO:
5765 u8 data[] = { 0x3c, 0x33, 0x62};
5766 struct i2c_msg msg = {.addr=0x09, .flags=0, .buf=data, .len = sizeof(data)};
5767 i2c_transfer(&dev->i2c_adap, &msg, 1);
5770 case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331:
5771 case SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS:
5772 /* initialize analog mode */
5774 u8 data[] = { 0x3c, 0x33, 0x6a};
5775 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
5776 i2c_transfer(&dev->i2c_adap, &msg, 1);
5779 case SAA7134_BOARD_CINERGY_HT_PCMCIA:
5780 case SAA7134_BOARD_CINERGY_HT_PCI:
5781 /* initialize analog mode */
5783 u8 data[] = { 0x3c, 0x33, 0x68};
5784 struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)};
5785 i2c_transfer(&dev->i2c_adap, &msg, 1);
5788 case SAA7134_BOARD_KWORLD_ATSC110:
5792 static const u8 buffer [] = { 0x10,0x12,0x13,0x04,0x16,0x00,0x14,0x04,0x017,0x00 };
5793 dev->i2c_client.addr = 0x0a;
5794 for (i = 0; i < 5; i++)
5795 if (2 != i2c_master_send(&dev->i2c_client,&buffer[i*2],2))
5796 printk(KERN_WARNING "%s: Unable to enable tuner(%i).\n",
5800 case SAA7134_BOARD_VIDEOMATE_DVBT_200:
5801 case SAA7134_BOARD_VIDEOMATE_DVBT_200A:
5802 /* The T200 and the T200A share the same pci id. Consequently,
5803 * we are going to query eeprom to try to find out which one we
5804 * are actually looking at. */
5806 /* Don't do this if the board was specifically selected with an
5807 * insmod option or if we have the default configuration T200*/
5808 if(!dev->autodetected || (dev->eedata[0x41] == 0xd0))
5810 if(dev->eedata[0x41] == 0x02) {
5811 /* Reconfigure board as T200A */
5812 dev->board = SAA7134_BOARD_VIDEOMATE_DVBT_200A;
5813 dev->tuner_type = saa7134_boards[dev->board].tuner_type;
5814 dev->tda9887_conf = saa7134_boards[dev->board].tda9887_conf;
5815 printk(KERN_INFO "%s: Reconfigured board as %s\n",
5816 dev->name, saa7134_boards[dev->board].name);
5818 printk(KERN_WARNING "%s: Unexpected tuner type info: %x in eeprom\n",
5819 dev->name, dev->eedata[0x41]);
5823 case SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM:
5825 struct v4l2_priv_tun_config tea5767_cfg;
5826 struct tea5767_ctrl ctl;
5828 dev->i2c_client.addr = 0xC0;
5829 /* set TEA5767(analog FM) defines */
5830 memset(&ctl, 0, sizeof(ctl));
5831 ctl.xtal_freq = TEA5767_HIGH_LO_13MHz;
5832 tea5767_cfg.tuner = TUNER_TEA5767;
5833 tea5767_cfg.priv = &ctl;
5834 saa7134_i2c_call_clients(dev, TUNER_SET_CONFIG, &tea5767_cfg);
5839 if (dev->tuner_type == TUNER_XC2028) {
5840 struct v4l2_priv_tun_config xc2028_cfg;
5841 struct xc2028_ctrl ctl;
5843 memset(&xc2028_cfg, 0, sizeof(ctl));
5844 memset(&ctl, 0, sizeof(ctl));
5846 ctl.fname = XC2028_DEFAULT_FIRMWARE;
5849 switch (dev->board) {
5850 case SAA7134_BOARD_AVERMEDIA_A16D:
5851 ctl.demod = XC3028_FE_ZARLINK456;
5854 ctl.demod = XC3028_FE_OREN538;
5858 xc2028_cfg.tuner = TUNER_XC2028;
5859 xc2028_cfg.priv = &ctl;
5861 saa7134_i2c_call_clients(dev, TUNER_SET_CONFIG, &xc2028_cfg);