/* * * device driver for philips saa7134 based TV cards * card-specific stuff. * * (c) 2001-04 Gerd Knorr [SuSE Labs] * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ #include #include #include #include #include "saa7134-reg.h" #include "saa7134.h" #include "tuner-xc2028.h" #include #include #include "tea5767.h" #include "tda18271.h" /* commly used strings */ static char name_mute[] = "mute"; static char name_radio[] = "Radio"; static char name_tv[] = "Television"; static char name_tv_mono[] = "TV (mono only)"; static char name_comp[] = "Composite"; static char name_comp1[] = "Composite1"; static char name_comp2[] = "Composite2"; static char name_comp3[] = "Composite3"; static char name_comp4[] = "Composite4"; static char name_svideo[] = "S-Video"; /* ------------------------------------------------------------------ */ /* board config info */ /* If radio_type !=UNSET, radio_addr should be specified */ struct saa7134_board saa7134_boards[] = { [SAA7134_BOARD_UNKNOWN] = { .name = "UNKNOWN/GENERIC", .audio_clock = 0x00187de7, .tuner_type = TUNER_ABSENT, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = "default", .vmux = 0, .amux = LINE1, }}, }, [SAA7134_BOARD_PROTEUS_PRO] = { /* /me */ .name = "Proteus Pro [philips reference design]", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_PAL, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_comp1, .vmux = 0, .amux = LINE1, },{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_tv_mono, .vmux = 1, .amux = LINE2, .tv = 1, }}, .radio = { .name = name_radio, .amux = LINE2, }, }, [SAA7134_BOARD_FLYVIDEO3000] = { /* "Marco d'Itri" */ .name = "LifeView FlyVIDEO3000", .audio_clock = 0x00200000, .tuner_type = TUNER_PHILIPS_PAL, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .gpiomask = 0xe000, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .gpio = 0x8000, .tv = 1, },{ .name = name_tv_mono, .vmux = 1, .amux = LINE2, .gpio = 0x0000, .tv = 1, },{ .name = name_comp1, .vmux = 0, .amux = LINE2, .gpio = 0x4000, },{ .name = name_comp2, .vmux = 3, .amux = LINE2, .gpio = 0x4000, },{ .name = name_svideo, .vmux = 8, .amux = LINE2, .gpio = 0x4000, }}, .radio = { .name = name_radio, .amux = LINE2, .gpio = 0x2000, }, .mute = { .name = name_mute, .amux = TV, .gpio = 0x8000, }, }, [SAA7134_BOARD_FLYVIDEO2000] = { /* "TC Wan" */ .name = "LifeView/Typhoon FlyVIDEO2000", .audio_clock = 0x00200000, .tuner_type = TUNER_LG_PAL_NEW_TAPC, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .gpiomask = 0xe000, .inputs = {{ .name = name_tv, .vmux = 1, .amux = LINE2, .gpio = 0x0000, .tv = 1, },{ .name = name_comp1, .vmux = 0, .amux = LINE2, .gpio = 0x4000, },{ .name = name_comp2, .vmux = 3, .amux = LINE2, .gpio = 0x4000, },{ .name = name_svideo, .vmux = 8, .amux = LINE2, .gpio = 0x4000, }}, .radio = { .name = name_radio, .amux = LINE2, .gpio = 0x2000, }, .mute = { .name = name_mute, .amux = LINE2, .gpio = 0x8000, }, }, [SAA7134_BOARD_FLYTVPLATINUM_MINI] = { /* "Arnaud Quette" */ .name = "LifeView FlyTV Platinum Mini", .audio_clock = 0x00200000, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_comp1, /* Composite signal on S-Video input */ .vmux = 0, .amux = LINE2, },{ .name = name_comp2, /* Composite input */ .vmux = 3, .amux = LINE2, },{ .name = name_svideo, .vmux = 8, .amux = LINE2, }}, }, [SAA7134_BOARD_FLYTVPLATINUM_FM] = { /* LifeView FlyTV Platinum FM (LR214WF) */ /* "Peter Missel */ .name = "LifeView FlyTV Platinum FM / Gold", .audio_clock = 0x00200000, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .gpiomask = 0x1E000, /* Set GP16 and unused 15,14,13 to Output */ .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .gpio = 0x10000, /* GP16=1 selects TV input */ .tv = 1, },{ /* .name = name_tv_mono, .vmux = 1, .amux = LINE2, .gpio = 0x0000, .tv = 1, },{ */ .name = name_comp1, /* Composite signal on S-Video input */ .vmux = 0, .amux = LINE2, /* .gpio = 0x4000, */ },{ .name = name_comp2, /* Composite input */ .vmux = 3, .amux = LINE2, /* .gpio = 0x4000, */ },{ .name = name_svideo, /* S-Video signal on S-Video input */ .vmux = 8, .amux = LINE2, /* .gpio = 0x4000, */ }}, .radio = { .name = name_radio, .amux = TV, .gpio = 0x00000, /* GP16=0 selects FM radio antenna */ }, .mute = { .name = name_mute, .amux = TV, .gpio = 0x10000, }, }, [SAA7134_BOARD_EMPRESS] = { /* "Gert Vervoort" */ .name = "EMPRESS", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_PAL, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .empress_addr = 0x20, .inputs = {{ .name = name_comp1, .vmux = 0, .amux = LINE1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, },{ .name = name_tv, .vmux = 1, .amux = LINE2, .tv = 1, }}, .radio = { .name = name_radio, .amux = LINE2, }, .mpeg = SAA7134_MPEG_EMPRESS, .video_out = CCIR656, }, [SAA7134_BOARD_MONSTERTV] = { /* "K.Ohta" */ .name = "SKNet Monster TV", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_NTSC_M, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 0, .amux = LINE1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, }}, .radio = { .name = name_radio, .amux = LINE2, }, }, [SAA7134_BOARD_MD9717] = { .name = "Tevion MD 9717", .audio_clock = 0x00200000, .tuner_type = TUNER_PHILIPS_PAL, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ /* workaround for problems with normal TV sound */ .name = name_tv_mono, .vmux = 1, .amux = LINE2, .tv = 1, },{ .name = name_comp1, .vmux = 0, .amux = LINE1, },{ .name = name_comp2, .vmux = 3, .amux = LINE1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, }}, .radio = { .name = name_radio, .amux = LINE2, }, .mute = { .name = name_mute, .amux = TV, }, }, [SAA7134_BOARD_TVSTATION_RDS] = { /* Typhoon TV Tuner RDS: Art.Nr. 50694 */ .name = "KNC One TV-Station RDS / Typhoon TV Tuner RDS", .audio_clock = 0x00200000, .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_tv_mono, .vmux = 1, .amux = LINE2, .tv = 1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, },{ .name = name_comp1, .vmux = 3, .amux = LINE1, },{ .name = "CVid over SVid", .vmux = 0, .amux = LINE1, }}, .radio = { .name = name_radio, .amux = LINE2, }, }, [SAA7134_BOARD_TVSTATION_DVR] = { .name = "KNC One TV-Station DVR", .audio_clock = 0x00200000, .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .empress_addr = 0x20, .tda9887_conf = TDA9887_PRESENT, .gpiomask = 0x820000, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, .gpio = 0x20000, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, .gpio = 0x20000, },{ .name = name_comp1, .vmux = 3, .amux = LINE1, .gpio = 0x20000, }}, .radio = { .name = name_radio, .amux = LINE2, .gpio = 0x20000, }, .mpeg = SAA7134_MPEG_EMPRESS, .video_out = CCIR656, }, [SAA7134_BOARD_CINERGY400] = { .name = "Terratec Cinergy 400 TV", .audio_clock = 0x00200000, .tuner_type = TUNER_PHILIPS_PAL, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 4, .amux = LINE1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, },{ .name = name_comp2, /* CVideo over SVideo Connector */ .vmux = 0, .amux = LINE1, }} }, [SAA7134_BOARD_MD5044] = { .name = "Medion 5044", .audio_clock = 0x00187de7, /* was: 0x00200000, */ .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ /* workaround for problems with normal TV sound */ .name = name_tv_mono, .vmux = 1, .amux = LINE2, .tv = 1, },{ .name = name_comp1, .vmux = 0, .amux = LINE2, },{ .name = name_comp2, .vmux = 3, .amux = LINE2, },{ .name = name_svideo, .vmux = 8, .amux = LINE2, }}, .radio = { .name = name_radio, .amux = LINE2, }, }, [SAA7134_BOARD_KWORLD] = { .name = "Kworld/KuroutoShikou SAA7130-TVPCI", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_NTSC_M, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_svideo, .vmux = 8, .amux = LINE1, },{ .name = name_comp1, .vmux = 3, .amux = LINE1, },{ .name = name_tv, .vmux = 1, .amux = LINE2, .tv = 1, }}, }, [SAA7134_BOARD_CINERGY600] = { .name = "Terratec Cinergy 600 TV", .audio_clock = 0x00200000, .tuner_type = TUNER_PHILIPS_PAL, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 4, .amux = LINE1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, },{ .name = name_comp2, /* CVideo over SVideo Connector */ .vmux = 0, .amux = LINE1, }}, .radio = { .name = name_radio, .amux = LINE2, }, }, [SAA7134_BOARD_MD7134] = { .name = "Medion 7134", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FMD1216ME_MK3, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .mpeg = SAA7134_MPEG_DVB, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 0, .amux = LINE1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, }}, .radio = { .name = name_radio, .amux = LINE2, }, .mute = { .name = name_mute, .amux = TV, }, }, [SAA7134_BOARD_TYPHOON_90031] = { /* aka Typhoon "TV+Radio", Art.Nr 90031 */ /* Tom Zoerner */ .name = "Typhoon TV+Radio 90031", .audio_clock = 0x00200000, .tuner_type = TUNER_PHILIPS_PAL, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 3, .amux = LINE1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, }}, .radio = { .name = name_radio, .amux = LINE2, }, }, [SAA7134_BOARD_ELSA] = { .name = "ELSA EX-VISION 300TV", .audio_clock = 0x00187de7, .tuner_type = TUNER_HITACHI_NTSC, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_svideo, .vmux = 8, .amux = LINE1, },{ .name = name_comp1, .vmux = 0, .amux = LINE1, },{ .name = name_tv, .vmux = 4, .amux = LINE2, .tv = 1, }}, }, [SAA7134_BOARD_ELSA_500TV] = { .name = "ELSA EX-VISION 500TV", .audio_clock = 0x00187de7, .tuner_type = TUNER_HITACHI_NTSC, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_svideo, .vmux = 7, .amux = LINE1, },{ .name = name_tv, .vmux = 8, .amux = TV, .tv = 1, },{ .name = name_tv_mono, .vmux = 8, .amux = LINE2, .tv = 1, }}, }, [SAA7134_BOARD_ELSA_700TV] = { .name = "ELSA EX-VISION 700TV", .audio_clock = 0x00187de7, .tuner_type = TUNER_HITACHI_NTSC, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_tv, .vmux = 4, .amux = LINE2, .tv = 1, },{ .name = name_comp1, .vmux = 6, .amux = LINE1, },{ .name = name_svideo, .vmux = 7, .amux = LINE1, }}, .mute = { .name = name_mute, .amux = TV, }, }, [SAA7134_BOARD_ASUSTeK_TVFM7134] = { .name = "ASUS TV-FM 7134", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 4, .amux = LINE2, },{ .name = name_svideo, .vmux = 6, .amux = LINE2, }}, .radio = { .name = name_radio, .amux = LINE1, }, }, [SAA7134_BOARD_ASUSTeK_TVFM7135] = { .name = "ASUS TV-FM 7135", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .gpiomask = 0x200000, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .gpio = 0x0000, .tv = 1, },{ .name = name_comp1, .vmux = 4, .amux = LINE2, .gpio = 0x0000, },{ .name = name_svideo, .vmux = 6, .amux = LINE2, .gpio = 0x0000, }}, .radio = { .name = name_radio, .amux = TV, .gpio = 0x200000, }, .mute = { .name = name_mute, .gpio = 0x0000, }, }, [SAA7134_BOARD_VA1000POWER] = { .name = "AOPEN VA1000 POWER", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_NTSC, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_svideo, .vmux = 8, .amux = LINE1, },{ .name = name_comp1, .vmux = 3, .amux = LINE1, },{ .name = name_tv, .vmux = 1, .amux = LINE2, .tv = 1, }}, }, [SAA7134_BOARD_10MOONSTVMASTER] = { /* "lilicheng" */ .name = "10MOONS PCI TV CAPTURE CARD", .audio_clock = 0x00200000, .tuner_type = TUNER_LG_PAL_NEW_TAPC, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .gpiomask = 0xe000, .inputs = {{ .name = name_tv, .vmux = 1, .amux = LINE2, .gpio = 0x0000, .tv = 1, },{ .name = name_comp1, .vmux = 0, .amux = LINE2, .gpio = 0x4000, },{ .name = name_comp2, .vmux = 3, .amux = LINE2, .gpio = 0x4000, },{ .name = name_svideo, .vmux = 8, .amux = LINE2, .gpio = 0x4000, }}, .radio = { .name = name_radio, .amux = LINE2, .gpio = 0x2000, }, .mute = { .name = name_mute, .amux = LINE2, .gpio = 0x8000, }, }, [SAA7134_BOARD_BMK_MPEX_NOTUNER] = { /* "Andrew de Quincey" */ .name = "BMK MPEX No Tuner", .audio_clock = 0x200000, .tuner_type = TUNER_ABSENT, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .empress_addr = 0x20, .inputs = {{ .name = name_comp1, .vmux = 4, .amux = LINE1, },{ .name = name_comp2, .vmux = 3, .amux = LINE1, },{ .name = name_comp3, .vmux = 0, .amux = LINE1, },{ .name = name_comp4, .vmux = 1, .amux = LINE1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, }}, .mpeg = SAA7134_MPEG_EMPRESS, .video_out = CCIR656, }, [SAA7134_BOARD_VIDEOMATE_TV] = { .name = "Compro VideoMate TV", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_NTSC_M, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_svideo, .vmux = 8, .amux = LINE1, },{ .name = name_comp1, .vmux = 3, .amux = LINE1, },{ .name = name_tv, .vmux = 1, .amux = LINE2, .tv = 1, }}, }, [SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS] = { .name = "Compro VideoMate TV Gold+", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_NTSC_M, .gpiomask = 0x800c0000, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_svideo, .vmux = 8, .amux = LINE1, .gpio = 0x06c00012, },{ .name = name_comp1, .vmux = 3, .amux = LINE1, .gpio = 0x0ac20012, },{ .name = name_tv, .vmux = 1, .amux = LINE2, .gpio = 0x08c20012, .tv = 1, }}, /* radio and probably mute is missing */ }, [SAA7134_BOARD_CRONOS_PLUS] = { /* gpio pins: 0 .. 3 BASE_ID 4 .. 7 PROTECT_ID 8 .. 11 USER_OUT 12 .. 13 USER_IN 14 .. 15 VIDIN_SEL */ .name = "Matrox CronosPlus", .tuner_type = TUNER_ABSENT, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .gpiomask = 0xcf00, .inputs = {{ .name = name_comp1, .vmux = 0, .gpio = 2 << 14, },{ .name = name_comp2, .vmux = 0, .gpio = 1 << 14, },{ .name = name_comp3, .vmux = 0, .gpio = 0 << 14, },{ .name = name_comp4, .vmux = 0, .gpio = 3 << 14, },{ .name = name_svideo, .vmux = 8, .gpio = 2 << 14, }}, }, [SAA7134_BOARD_MD2819] = { .name = "AverMedia M156 / Medion 2819", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .gpiomask = 0x03, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, .gpio = 0x00, }, { .name = name_comp1, .vmux = 3, .amux = LINE1, .gpio = 0x02, }, { .name = name_comp2, .vmux = 0, .amux = LINE1, .gpio = 0x02, }, { .name = name_svideo, .vmux = 8, .amux = LINE1, .gpio = 0x02, } }, .radio = { .name = name_radio, .amux = LINE1, .gpio = 0x01, }, .mute = { .name = name_mute, .amux = TV, .gpio = 0x00, }, }, [SAA7134_BOARD_BMK_MPEX_TUNER] = { /* "Greg Wickham */ .name = "BMK MPEX Tuner", .audio_clock = 0x200000, .tuner_type = TUNER_PHILIPS_PAL, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .empress_addr = 0x20, .inputs = {{ .name = name_comp1, .vmux = 1, .amux = LINE1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, },{ .name = name_tv, .vmux = 3, .amux = TV, .tv = 1, }}, .mpeg = SAA7134_MPEG_EMPRESS, .video_out = CCIR656, }, [SAA7134_BOARD_ASUSTEK_TVFM7133] = { .name = "ASUS TV-FM 7133", .audio_clock = 0x00187de7, /* probably wrong, the 7133 one is the NTSC version ... * .tuner_type = TUNER_PHILIPS_FM1236_MK3 */ .tuner_type = TUNER_LG_NTSC_NEW_TAPC, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 4, .amux = LINE2, },{ .name = name_svideo, .vmux = 6, .amux = LINE2, }}, .radio = { .name = name_radio, .amux = LINE1, }, }, [SAA7134_BOARD_PINNACLE_PCTV_STEREO] = { .name = "Pinnacle PCTV Stereo (saa7134)", .audio_clock = 0x00187de7, .tuner_type = TUNER_MT2032, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT | TDA9887_INTERCARRIER | TDA9887_PORT2_INACTIVE, .inputs = {{ .name = name_tv, .vmux = 3, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 0, .amux = LINE2, },{ .name = name_comp2, .vmux = 1, .amux = LINE2, },{ .name = name_svideo, .vmux = 8, .amux = LINE2, }}, }, [SAA7134_BOARD_MANLI_MTV002] = { /* Ognjen Nastic */ .name = "Manli MuchTV M-TV002", .audio_clock = 0x00200000, .tuner_type = TUNER_PHILIPS_PAL, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_svideo, .vmux = 8, .amux = LINE1, },{ .name = name_comp1, .vmux = 1, .amux = LINE1, },{ .name = name_tv, .vmux = 3, .amux = LINE2, .tv = 1, }}, .radio = { .name = name_radio, .amux = LINE2, }, }, [SAA7134_BOARD_MANLI_MTV001] = { /* Ognjen Nastic UNTESTED */ .name = "Manli MuchTV M-TV001", .audio_clock = 0x00200000, .tuner_type = TUNER_PHILIPS_PAL, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_svideo, .vmux = 8, .amux = LINE1, },{ .name = name_comp1, .vmux = 1, .amux = LINE1, },{ .name = name_tv, .vmux = 3, .amux = LINE2, .tv = 1, }}, .mute = { .name = name_mute, .amux = LINE1, }, }, [SAA7134_BOARD_TG3000TV] = { /* TransGear 3000TV */ .name = "Nagase Sangyo TransGear 3000TV", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_NTSC_M, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_tv, .vmux = 1, .amux = LINE2, .tv = 1, },{ .name = name_comp1, .vmux = 3, .amux = LINE2, },{ .name = name_svideo, .vmux = 8, .amux = LINE2, }}, }, [SAA7134_BOARD_ECS_TVP3XP] = { .name = "Elitegroup ECS TVP3XP FM1216 Tuner Card(PAL-BG,FM) ", .audio_clock = 0x187de7, /* xtal 32.1 MHz */ .tuner_type = TUNER_PHILIPS_PAL, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_tv_mono, .vmux = 1, .amux = LINE2, .tv = 1, },{ .name = name_comp1, .vmux = 3, .amux = LINE1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, },{ .name = "CVid over SVid", .vmux = 0, .amux = LINE1, }}, .radio = { .name = name_radio, .amux = LINE2, }, }, [SAA7134_BOARD_ECS_TVP3XP_4CB5] = { .name = "Elitegroup ECS TVP3XP FM1236 Tuner Card (NTSC,FM)", .audio_clock = 0x187de7, .tuner_type = TUNER_PHILIPS_NTSC, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_tv_mono, .vmux = 1, .amux = LINE2, .tv = 1, },{ .name = name_comp1, .vmux = 3, .amux = LINE1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, },{ .name = "CVid over SVid", .vmux = 0, .amux = LINE1, }}, .radio = { .name = name_radio, .amux = LINE2, }, }, [SAA7134_BOARD_ECS_TVP3XP_4CB6] = { /* Barry Scott */ .name = "Elitegroup ECS TVP3XP FM1246 Tuner Card (PAL,FM)", .audio_clock = 0x187de7, .tuner_type = TUNER_PHILIPS_PAL_I, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_tv_mono, .vmux = 1, .amux = LINE2, .tv = 1, },{ .name = name_comp1, .vmux = 3, .amux = LINE1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, },{ .name = "CVid over SVid", .vmux = 0, .amux = LINE1, }}, .radio = { .name = name_radio, .amux = LINE2, }, }, [SAA7134_BOARD_AVACSSMARTTV] = { /* Roman Pszonczenko */ .name = "AVACS SmartTV", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_PAL, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_tv_mono, .vmux = 1, .amux = LINE2, .tv = 1, },{ .name = name_comp1, .vmux = 0, .amux = LINE2, },{ .name = name_comp2, .vmux = 3, .amux = LINE2, },{ .name = name_svideo, .vmux = 8, .amux = LINE2, }}, .radio = { .name = name_radio, .amux = LINE2, .gpio = 0x200000, }, }, [SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER] = { /* Michael Smith */ .name = "AVerMedia DVD EZMaker", .audio_clock = 0x00187de7, .tuner_type = TUNER_ABSENT, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_comp1, .vmux = 3, },{ .name = name_svideo, .vmux = 8, }}, }, [SAA7134_BOARD_AVERMEDIA_M103] = { /* Massimo Piccioni */ .name = "AVerMedia MiniPCI DVB-T Hybrid M103", .audio_clock = 0x187de7, .tuner_type = TUNER_XC2028, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .mpeg = SAA7134_MPEG_DVB, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, } }, }, [SAA7134_BOARD_NOVAC_PRIMETV7133] = { /* toshii@netbsd.org */ .name = "Noval Prime TV 7133", .audio_clock = 0x00200000, .tuner_type = TUNER_ALPS_TSBH1_NTSC, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_comp1, .vmux = 3, },{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_svideo, .vmux = 8, }}, }, [SAA7134_BOARD_AVERMEDIA_STUDIO_305] = { .name = "AverMedia AverTV Studio 305", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FM1256_IH3, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .inputs = {{ .name = name_tv, .vmux = 1, .amux = LINE2, .tv = 1, },{ .name = name_comp1, .vmux = 0, .amux = LINE2, },{ .name = name_comp2, .vmux = 3, .amux = LINE2, },{ .name = name_svideo, .vmux = 8, .amux = LINE2, }}, .radio = { .name = name_radio, .amux = LINE2, }, .mute = { .name = name_mute, .amux = LINE1, }, }, [SAA7134_BOARD_UPMOST_PURPLE_TV] = { .name = "UPMOST PURPLE TV", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FM1236_MK3, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .inputs = {{ .name = name_tv, .vmux = 7, .amux = TV, .tv = 1, },{ .name = name_svideo, .vmux = 7, .amux = LINE1, }}, }, [SAA7134_BOARD_ITEMS_MTV005] = { /* Norman Jonas */ .name = "Items MuchTV Plus / IT-005", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_PAL, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_tv, .vmux = 3, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 1, .amux = LINE1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, }}, .radio = { .name = name_radio, .amux = LINE2, }, }, [SAA7134_BOARD_CINERGY200] = { .name = "Terratec Cinergy 200 TV", .audio_clock = 0x00200000, .tuner_type = TUNER_PHILIPS_PAL, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_tv, .vmux = 1, .amux = LINE2, .tv = 1, },{ .name = name_comp1, .vmux = 4, .amux = LINE1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, },{ .name = name_comp2, /* CVideo over SVideo Connector */ .vmux = 0, .amux = LINE1, }}, .mute = { .name = name_mute, .amux = LINE2, }, }, [SAA7134_BOARD_VIDEOMATE_TV_PVR] = { /* Alain St-Denis */ .name = "Compro VideoMate TV PVR/FM", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_NTSC_M, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .gpiomask = 0x808c0080, .inputs = {{ .name = name_svideo, .vmux = 8, .amux = LINE1, .gpio = 0x00080, },{ .name = name_comp1, .vmux = 3, .amux = LINE1, .gpio = 0x00080, },{ .name = name_tv, .vmux = 1, .amux = LINE2_LEFT, .tv = 1, .gpio = 0x00080, }}, .radio = { .name = name_radio, .amux = LINE2, .gpio = 0x80000, }, .mute = { .name = name_mute, .amux = LINE2, .gpio = 0x40000, }, }, [SAA7134_BOARD_SABRENT_SBTTVFM] = { /* Michael Rodriguez-Torrent */ .name = "Sabrent SBT-TVFM (saa7130)", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_NTSC_M, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_comp1, .vmux = 1, .amux = LINE1, },{ .name = name_tv, .vmux = 3, .amux = LINE2, .tv = 1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, }}, .radio = { .name = name_radio, .amux = LINE2, }, }, [SAA7134_BOARD_ZOLID_XPERT_TV7134] = { /* Helge Jensen */ .name = ":Zolid Xpert TV7134", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_NTSC, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_svideo, .vmux = 8, .amux = LINE1, },{ .name = name_comp1, .vmux = 3, .amux = LINE1, },{ .name = name_tv, .vmux = 1, .amux = LINE2, .tv = 1, }}, }, [SAA7134_BOARD_EMPIRE_PCI_TV_RADIO_LE] = { /* "Matteo Az" ;-) */ .name = "Empire PCI TV-Radio LE", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_PAL, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .gpiomask = 0x4000, .inputs = {{ .name = name_tv_mono, .vmux = 1, .amux = LINE2, .gpio = 0x8000, .tv = 1, },{ .name = name_comp1, .vmux = 3, .amux = LINE1, .gpio = 0x8000, },{ .name = name_svideo, .vmux = 6, .amux = LINE1, .gpio = 0x8000, }}, .radio = { .name = name_radio, .amux = LINE1, .gpio = 0x8000, }, .mute = { .name = name_mute, .amux = TV, .gpio =0x8000, } }, [SAA7134_BOARD_AVERMEDIA_STUDIO_307] = { /* Nickolay V. Shmyrev Lots of thanks to Andrey Zolotarev */ .name = "Avermedia AVerTV Studio 307", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FM1256_IH3, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .gpiomask = 0x03, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, .gpio = 0x00, },{ .name = name_comp, .vmux = 3, .amux = LINE1, .gpio = 0x02, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, .gpio = 0x02, }}, .radio = { .name = name_radio, .amux = LINE1, .gpio = 0x01, }, .mute = { .name = name_mute, .amux = LINE1, .gpio = 0x00, }, }, [SAA7134_BOARD_AVERMEDIA_GO_007_FM] = { .name = "Avermedia AVerTV GO 007 FM", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .gpiomask = 0x00300003, /* .gpiomask = 0x8c240003, */ .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, .gpio = 0x01, },{ .name = name_comp1, .vmux = 0, .amux = LINE1, .gpio = 0x02, },{ .name = name_svideo, .vmux = 6, .amux = LINE1, .gpio = 0x02, }}, .radio = { .name = name_radio, .amux = TV, .gpio = 0x00300001, }, .mute = { .name = name_mute, .amux = TV, .gpio = 0x01, }, }, [SAA7134_BOARD_AVERMEDIA_CARDBUS] = { /* Kees.Blom@cwi.nl */ .name = "AVerMedia Cardbus TV/Radio (E500)", .audio_clock = 0x187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 3, .amux = LINE2, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, }}, .radio = { .name = name_radio, .amux = LINE1, }, }, [SAA7134_BOARD_AVERMEDIA_CARDBUS_501] = { /* Oldrich Jedlicka */ .name = "AVerMedia Cardbus TV/Radio (E501R)", .audio_clock = 0x187de7, .tuner_type = TUNER_ALPS_TSBE5_PAL, .radio_type = TUNER_TEA5767, .tuner_addr = 0x61, .radio_addr = 0x60, .tda9887_conf = TDA9887_PRESENT, .gpiomask = 0x08000000, .inputs = { { .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, .gpio = 0x08000000, }, { .name = name_comp1, .vmux = 3, .amux = LINE1, .gpio = 0x08000000, }, { .name = name_svideo, .vmux = 8, .amux = LINE1, .gpio = 0x08000000, } }, .radio = { .name = name_radio, .amux = LINE2, .gpio = 0x00000000, }, }, [SAA7134_BOARD_CINERGY400_CARDBUS] = { .name = "Terratec Cinergy 400 mobile", .audio_clock = 0x187de7, .tuner_type = TUNER_ALPS_TSBE5_PAL, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_tv_mono, .vmux = 1, .amux = LINE2, .tv = 1, },{ .name = name_comp1, .vmux = 3, .amux = LINE1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, }}, }, [SAA7134_BOARD_CINERGY600_MK3] = { .name = "Terratec Cinergy 600 TV MK3", .audio_clock = 0x00200000, .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .rds_addr = 0x10, .tda9887_conf = TDA9887_PRESENT, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 4, .amux = LINE1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, },{ .name = name_comp2, /* CVideo over SVideo Connector */ .vmux = 0, .amux = LINE1, }}, .radio = { .name = name_radio, .amux = LINE2, }, }, [SAA7134_BOARD_VIDEOMATE_GOLD_PLUS] = { /* Dylan Walkden */ .name = "Compro VideoMate Gold+ Pal", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_PAL, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .gpiomask = 0x1ce780, .inputs = {{ .name = name_svideo, .vmux = 0, /* CVideo over SVideo Connector - ok? */ .amux = LINE1, .gpio = 0x008080, },{ .name = name_comp1, .vmux = 3, .amux = LINE1, .gpio = 0x008080, },{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, .gpio = 0x008080, }}, .radio = { .name = name_radio, .amux = LINE2, .gpio = 0x80000, }, .mute = { .name = name_mute, .amux = LINE2, .gpio = 0x0c8000, }, }, [SAA7134_BOARD_PINNACLE_300I_DVBT_PAL] = { .name = "Pinnacle PCTV 300i DVB-T + PAL", .audio_clock = 0x00187de7, .tuner_type = TUNER_MT2032, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT | TDA9887_INTERCARRIER | TDA9887_PORT2_INACTIVE, .mpeg = SAA7134_MPEG_DVB, .inputs = {{ .name = name_tv, .vmux = 3, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 0, .amux = LINE2, },{ .name = name_comp2, .vmux = 1, .amux = LINE2, },{ .name = name_svideo, .vmux = 8, .amux = LINE2, }}, }, [SAA7134_BOARD_PROVIDEO_PV952] = { /* andreas.kretschmer@web.de */ .name = "ProVideo PV952", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .inputs = {{ .name = name_comp1, .vmux = 0, .amux = LINE1, },{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_tv_mono, .vmux = 1, .amux = LINE2, .tv = 1, }}, .radio = { .name = name_radio, .amux = LINE2, }, }, [SAA7134_BOARD_AVERMEDIA_305] = { /* much like the "studio" version but without radio * and another tuner (sirspiritus@yandex.ru) */ .name = "AverMedia AverTV/305", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FQ1216ME, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .inputs = {{ .name = name_tv, .vmux = 1, .amux = LINE2, .tv = 1, },{ .name = name_comp1, .vmux = 0, .amux = LINE2, },{ .name = name_comp2, .vmux = 3, .amux = LINE2, },{ .name = name_svideo, .vmux = 8, .amux = LINE2, }}, .mute = { .name = name_mute, .amux = LINE1, }, }, [SAA7134_BOARD_FLYDVBTDUO] = { /* LifeView FlyDVB-T DUO */ /* "Nico Sabbi Hartmut Hackmann hartmut.hackmann@t-online.de*/ .name = "LifeView FlyDVB-T DUO / MSI TV@nywhere Duo", .audio_clock = 0x00200000, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .gpiomask = 0x00200000, .mpeg = SAA7134_MPEG_DVB, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .gpio = 0x200000, /* GPIO21=High for TV input */ .tv = 1, },{ .name = name_comp1, /* Composite signal on S-Video input */ .vmux = 0, .amux = LINE2, },{ .name = name_comp2, /* Composite input */ .vmux = 3, .amux = LINE2, },{ .name = name_svideo, /* S-Video signal on S-Video input */ .vmux = 8, .amux = LINE2, }}, .radio = { .name = name_radio, .amux = TV, .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */ }, }, [SAA7134_BOARD_PHILIPS_TOUGH] = { .name = "Philips TOUGH DVB-T reference design", .tuner_type = TUNER_ABSENT, .audio_clock = 0x00187de7, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .mpeg = SAA7134_MPEG_DVB, .inputs = {{ .name = name_comp1, .vmux = 0, .amux = LINE1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, }}, }, [SAA7134_BOARD_AVERMEDIA_307] = { /* Davydov Vladimir */ .name = "Avermedia AVerTV 307", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FQ1216ME, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 0, .amux = LINE1, },{ .name = name_comp2, .vmux = 3, .amux = LINE1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, }}, }, [SAA7134_BOARD_ADS_INSTANT_TV] = { .name = "ADS Tech Instant TV (saa7135)", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 3, .amux = LINE2, },{ .name = name_svideo, .vmux = 8, .amux = LINE2, }}, }, [SAA7134_BOARD_KWORLD_VSTREAM_XPERT] = { .name = "Kworld/Tevion V-Stream Xpert TV PVR7134", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_PAL_I, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .gpiomask = 0x0700, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, .gpio = 0x000, },{ .name = name_comp1, .vmux = 3, .amux = LINE1, .gpio = 0x200, /* gpio by DScaler */ },{ .name = name_svideo, .vmux = 0, .amux = LINE1, .gpio = 0x200, }}, .radio = { .name = name_radio, .amux = LINE1, .gpio = 0x100, }, .mute = { .name = name_mute, .amux = TV, .gpio = 0x000, }, }, [SAA7134_BOARD_FLYDVBT_DUO_CARDBUS] = { .name = "LifeView/Typhoon/Genius FlyDVB-T Duo Cardbus", .audio_clock = 0x00200000, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .mpeg = SAA7134_MPEG_DVB, .gpiomask = 0x00200000, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .gpio = 0x200000, /* GPIO21=High for TV input */ .tv = 1, },{ .name = name_svideo, /* S-Video signal on S-Video input */ .vmux = 8, .amux = LINE2, },{ .name = name_comp1, /* Composite signal on S-Video input */ .vmux = 0, .amux = LINE2, },{ .name = name_comp2, /* Composite input */ .vmux = 3, .amux = LINE2, }}, .radio = { .name = name_radio, .amux = TV, .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */ }, }, [SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII] = { .name = "Compro VideoMate TV Gold+II", .audio_clock = 0x002187de7, .tuner_type = TUNER_LG_PAL_NEW_TAPC, .radio_type = TUNER_TEA5767, .tuner_addr = 0x63, .radio_addr = 0x60, .gpiomask = 0x8c1880, .inputs = {{ .name = name_svideo, .vmux = 0, .amux = LINE1, .gpio = 0x800800, },{ .name = name_comp1, .vmux = 3, .amux = LINE1, .gpio = 0x801000, },{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, .gpio = 0x800000, }}, .radio = { .name = name_radio, .amux = TV, .gpio = 0x880000, }, .mute = { .name = name_mute, .amux = LINE2, .gpio = 0x840000, }, }, [SAA7134_BOARD_KWORLD_XPERT] = { /* FIXME: - Remote control doesn't initialize properly. - Audio volume starts muted, then gradually increases after channel change. - Overlay scaling problems (application error?) - Composite S-Video untested. From: Konrad Rzepecki */ .name = "Kworld Xpert TV PVR7134", .audio_clock = 0x00187de7, .tuner_type = TUNER_TENA_9533_DI, .radio_type = TUNER_TEA5767, .tuner_addr = 0x61, .radio_addr = 0x60, .gpiomask = 0x0700, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, .gpio = 0x000, },{ .name = name_comp1, .vmux = 3, .amux = LINE1, .gpio = 0x200, /* gpio by DScaler */ },{ .name = name_svideo, .vmux = 0, .amux = LINE1, .gpio = 0x200, }}, .radio = { .name = name_radio, .amux = LINE1, .gpio = 0x100, }, .mute = { .name = name_mute, .amux = TV, .gpio = 0x000, }, }, [SAA7134_BOARD_FLYTV_DIGIMATRIX] = { .name = "FlyTV mini Asus Digimatrix", .audio_clock = 0x00200000, .tuner_type = TUNER_LG_TALN, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_tv_mono, .vmux = 1, .amux = LINE2, .tv = 1, },{ .name = name_comp1, .vmux = 0, .amux = LINE2, },{ .name = name_comp2, .vmux = 3, .amux = LINE2, },{ .name = name_svideo, .vmux = 8, .amux = LINE2, }}, .radio = { .name = name_radio, /* radio unconfirmed */ .amux = LINE2, }, }, [SAA7134_BOARD_KWORLD_TERMINATOR] = { /* Kworld V-Stream Studio TV Terminator */ /* "James Webb */ .name = "V-Stream Studio TV Terminator", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .gpiomask = 1 << 21, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .gpio = 0x0000000, .tv = 1, },{ .name = name_comp1, /* Composite input */ .vmux = 3, .amux = LINE2, .gpio = 0x0000000, },{ .name = name_svideo, /* S-Video input */ .vmux = 8, .amux = LINE2, .gpio = 0x0000000, }}, .radio = { .name = name_radio, .amux = TV, .gpio = 0x0200000, }, }, [SAA7134_BOARD_YUAN_TUN900] = { /* FIXME: * S-Video and composite sources untested. * Radio not working. * Remote control not yet implemented. * From : codemaster@webgeeks.be */ .name = "Yuan TUN-900 (saa7135)", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr= ADDR_UNSET, .radio_addr= ADDR_UNSET, .gpiomask = 0x00010003, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, .gpio = 0x01, },{ .name = name_comp1, .vmux = 0, .amux = LINE2, .gpio = 0x02, },{ .name = name_svideo, .vmux = 6, .amux = LINE2, .gpio = 0x02, }}, .radio = { .name = name_radio, .amux = LINE1, .gpio = 0x00010003, }, .mute = { .name = name_mute, .amux = TV, .gpio = 0x01, }, }, [SAA7134_BOARD_BEHOLD_409FM] = { /* , Sergey */ /* Beholder Intl. Ltd. 2008 */ /*Dmitry Belimov */ .name = "Beholder BeholdTV 409 FM", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .gpiomask = 0x00008000, .inputs = {{ .name = name_tv, .vmux = 3, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 1, .amux = LINE1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, }}, .radio = { .name = name_radio, .amux = LINE2, }, }, [SAA7134_BOARD_GOTVIEW_7135] = { /* Mike Baikov */ /* Andrey Cvetcov */ .name = "GoTView 7135 PCI", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .gpiomask = 0x00200003, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, .gpio = 0x00200003, },{ .name = name_tv_mono, .vmux = 1, .amux = LINE2, .gpio = 0x00200003, },{ .name = name_comp1, .vmux = 3, .amux = LINE1, .gpio = 0x00200003, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, .gpio = 0x00200003, }}, .radio = { .name = name_radio, .amux = LINE2, .gpio = 0x00200003, }, .mute = { .name = name_mute, .amux = TV, .gpio = 0x00200003, }, }, [SAA7134_BOARD_PHILIPS_EUROPA] = { .name = "Philips EUROPA V3 reference design", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TD1316, .radio_type = UNSET, .tuner_addr = 0x61, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE, .mpeg = SAA7134_MPEG_DVB, .inputs = {{ .name = name_tv, .vmux = 3, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 0, .amux = LINE2, },{ .name = name_svideo, .vmux = 8, .amux = LINE2, }}, }, [SAA7134_BOARD_VIDEOMATE_DVBT_300] = { .name = "Compro Videomate DVB-T300", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TD1316, .radio_type = UNSET, .tuner_addr = 0x61, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE, .mpeg = SAA7134_MPEG_DVB, .inputs = {{ .name = name_tv, .vmux = 3, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 1, .amux = LINE2, },{ .name = name_svideo, .vmux = 8, .amux = LINE2, }}, }, [SAA7134_BOARD_VIDEOMATE_DVBT_200] = { .name = "Compro Videomate DVB-T200", .tuner_type = TUNER_ABSENT, .audio_clock = 0x00187de7, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .mpeg = SAA7134_MPEG_DVB, .inputs = {{ .name = name_comp1, .vmux = 0, .amux = LINE1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, }}, }, [SAA7134_BOARD_RTD_VFG7350] = { .name = "RTD Embedded Technologies VFG7350", .audio_clock = 0x00200000, .tuner_type = TUNER_ABSENT, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .empress_addr = 0x21, .inputs = {{ .name = "Composite 0", .vmux = 0, .amux = LINE1, },{ .name = "Composite 1", .vmux = 1, .amux = LINE2, },{ .name = "Composite 2", .vmux = 2, .amux = LINE1, },{ .name = "Composite 3", .vmux = 3, .amux = LINE2, },{ .name = "S-Video 0", .vmux = 8, .amux = LINE1, },{ .name = "S-Video 1", .vmux = 9, .amux = LINE2, }}, .mpeg = SAA7134_MPEG_EMPRESS, .video_out = CCIR656, .vid_port_opts = ( SET_T_CODE_POLARITY_NON_INVERTED | SET_CLOCK_NOT_DELAYED | SET_CLOCK_INVERTED | SET_VSYNC_OFF ), }, [SAA7134_BOARD_RTD_VFG7330] = { .name = "RTD Embedded Technologies VFG7330", .audio_clock = 0x00200000, .tuner_type = TUNER_ABSENT, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = "Composite 0", .vmux = 0, .amux = LINE1, },{ .name = "Composite 1", .vmux = 1, .amux = LINE2, },{ .name = "Composite 2", .vmux = 2, .amux = LINE1, },{ .name = "Composite 3", .vmux = 3, .amux = LINE2, },{ .name = "S-Video 0", .vmux = 8, .amux = LINE1, },{ .name = "S-Video 1", .vmux = 9, .amux = LINE2, }}, }, [SAA7134_BOARD_FLYTVPLATINUM_MINI2] = { .name = "LifeView FlyTV Platinum Mini2", .audio_clock = 0x00200000, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_comp1, /* Composite signal on S-Video input */ .vmux = 0, .amux = LINE2, },{ .name = name_comp2, /* Composite input */ .vmux = 3, .amux = LINE2, },{ .name = name_svideo, .vmux = 8, .amux = LINE2, }}, }, [SAA7134_BOARD_AVERMEDIA_AVERTVHD_A180] = { /* Michael Krufky * Uses Alps Electric TDHU2, containing NXT2004 ATSC Decoder * AFAIK, there is no analog demod, thus, * no support for analog television. */ .name = "AVerMedia AVerTVHD MCE A180", .audio_clock = 0x00187de7, .tuner_type = TUNER_ABSENT, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .mpeg = SAA7134_MPEG_DVB, .inputs = {{ .name = name_comp1, .vmux = 3, .amux = LINE2, },{ .name = name_svideo, .vmux = 8, .amux = LINE2, }}, }, [SAA7134_BOARD_MONSTERTV_MOBILE] = { .name = "SKNet MonsterTV Mobile", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 3, .amux = LINE1, },{ .name = name_svideo, .vmux = 6, .amux = LINE1, }}, }, [SAA7134_BOARD_PINNACLE_PCTV_110i] = { .name = "Pinnacle PCTV 40i/50i/110i (saa7133)", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .gpiomask = 0x080200000, .inputs = { { .name = name_tv, .vmux = 4, .amux = TV, .tv = 1, }, { .name = name_comp1, .vmux = 1, .amux = LINE2, }, { .name = name_comp2, .vmux = 0, .amux = LINE2, }, { .name = name_svideo, .vmux = 8, .amux = LINE2, } }, .radio = { .name = name_radio, .amux = TV, .gpio = 0x0200000, }, }, [SAA7134_BOARD_ASUSTeK_P7131_DUAL] = { .name = "ASUSTeK P7131 Dual", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .gpiomask = 1 << 21, .mpeg = SAA7134_MPEG_DVB, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, .gpio = 0x0000000, },{ .name = name_comp1, .vmux = 3, .amux = LINE2, .gpio = 0x0200000, },{ .name = name_comp2, .vmux = 0, .amux = LINE2, .gpio = 0x0200000, },{ .name = name_svideo, .vmux = 8, .amux = LINE2, .gpio = 0x0200000, }}, .radio = { .name = name_radio, .amux = TV, .gpio = 0x0200000, }, }, [SAA7134_BOARD_SEDNA_PC_TV_CARDBUS] = { /* Paul Tom Zalac */ /* Pavel Mihaylov */ .name = "Sedna/MuchTV PC TV Cardbus TV/Radio (ITO25 Rev:2B)", /* Sedna/MuchTV (OEM) Cardbus TV Tuner */ .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .gpiomask = 0xe880c0, .inputs = {{ .name = name_tv, .vmux = 3, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 1, .amux = LINE1, },{ .name = name_svideo, .vmux = 6, .amux = LINE1, }}, .radio = { .name = name_radio, .amux = LINE2, }, }, [SAA7134_BOARD_ASUSTEK_DIGIMATRIX_TV] = { /* "Cyril Lacoux (Yack)" */ .name = "ASUS Digimatrix TV", .audio_clock = 0x00200000, .tuner_type = TUNER_PHILIPS_FQ1216ME, .tda9887_conf = TDA9887_PRESENT, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 3, .amux = LINE1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, }}, }, [SAA7134_BOARD_PHILIPS_TIGER] = { .name = "Philips Tiger reference design", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tuner_config = 0, .mpeg = SAA7134_MPEG_DVB, .gpiomask = 0x0200000, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 3, .amux = LINE1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, }}, .radio = { .name = name_radio, .amux = TV, .gpio = 0x0200000, }, }, [SAA7134_BOARD_MSI_TVATANYWHERE_PLUS] = { .name = "MSI TV@Anywhere plus", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .gpiomask = 1 << 21, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 3, .amux = LINE2, /* unconfirmed, taken from Philips driver */ },{ .name = name_comp2, .vmux = 0, /* untested, Composite over S-Video */ .amux = LINE2, },{ .name = name_svideo, .vmux = 8, .amux = LINE2, }}, .radio = { .name = name_radio, .amux = TV, .gpio = 0x0200000, }, }, [SAA7134_BOARD_CINERGY250PCI] = { /* remote-control does not work. The signal about a key press comes in via gpio, but the key code doesn't. Neither does it have an i2c remote control interface. */ .name = "Terratec Cinergy 250 PCI TV", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .gpiomask = 0x80200000, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_svideo, /* NOT tested */ .vmux = 8, .amux = LINE1, }}, .radio = { .name = name_radio, .amux = TV, .gpio = 0x0200000, }, }, [SAA7134_BOARD_FLYDVB_TRIO] = { /* LifeView LR319 FlyDVB Trio */ /* Peter Missel */ .name = "LifeView FlyDVB Trio", .audio_clock = 0x00200000, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .gpiomask = 0x00200000, .mpeg = SAA7134_MPEG_DVB, .inputs = {{ .name = name_tv, /* Analog broadcast/cable TV */ .vmux = 1, .amux = TV, .gpio = 0x200000, /* GPIO21=High for TV input */ .tv = 1, },{ .name = name_svideo, /* S-Video signal on S-Video input */ .vmux = 8, .amux = LINE2, },{ .name = name_comp1, /* Composite signal on S-Video input */ .vmux = 0, .amux = LINE2, },{ .name = name_comp2, /* Composite input */ .vmux = 3, .amux = LINE2, }}, .radio = { .name = name_radio, .amux = TV, .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */ }, }, [SAA7134_BOARD_AVERMEDIA_777] = { .name = "AverTV DVB-T 777", .audio_clock = 0x00187de7, .tuner_type = TUNER_ABSENT, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .mpeg = SAA7134_MPEG_DVB, .inputs = {{ .name = name_comp1, .vmux = 1, .amux = LINE1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, }}, }, [SAA7134_BOARD_FLYDVBT_LR301] = { /* LifeView FlyDVB-T */ /* Giampiero Giancipoli */ .name = "LifeView FlyDVB-T / Genius VideoWonder DVB-T", .audio_clock = 0x00200000, .tuner_type = TUNER_ABSENT, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .mpeg = SAA7134_MPEG_DVB, .inputs = {{ .name = name_comp1, /* Composite input */ .vmux = 3, .amux = LINE2, },{ .name = name_svideo, /* S-Video signal on S-Video input */ .vmux = 8, .amux = LINE2, }}, }, [SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331] = { .name = "ADS Instant TV Duo Cardbus PTV331", .audio_clock = 0x00200000, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .mpeg = SAA7134_MPEG_DVB, .gpiomask = 0x00600000, /* Bit 21 0=Radio, Bit 22 0=TV */ .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, .gpio = 0x00200000, }}, }, [SAA7134_BOARD_TEVION_DVBT_220RF] = { .name = "Tevion/KWorld DVB-T 220RF", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .mpeg = SAA7134_MPEG_DVB, .gpiomask = 1 << 21, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 3, .amux = LINE1, },{ .name = name_comp2, .vmux = 0, .amux = LINE1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, }}, .radio = { .name = name_radio, .amux = TV, .gpio = 0x0200000, }, }, [SAA7134_BOARD_KWORLD_DVBT_210] = { .name = "KWorld DVB-T 210", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .mpeg = SAA7134_MPEG_DVB, .gpiomask = 1 << 21, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 3, .amux = LINE1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, }}, .radio = { .name = name_radio, .amux = TV, .gpio = 0x0200000, }, }, [SAA7134_BOARD_KWORLD_ATSC110] = { .name = "Kworld ATSC110/115", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TUV1236D, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .mpeg = SAA7134_MPEG_DVB, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 3, .amux = LINE2, },{ .name = name_svideo, .vmux = 8, .amux = LINE2, }}, }, [SAA7134_BOARD_AVERMEDIA_A169_B] = { /* AVerMedia A169 */ /* Rickard Osser */ /* This card has two saa7134 chips on it, but only one of them is currently working. */ .name = "AVerMedia A169 B", .audio_clock = 0x02187de7, .tuner_type = TUNER_LG_TALN, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .gpiomask = 0x0a60000, }, [SAA7134_BOARD_AVERMEDIA_A169_B1] = { /* AVerMedia A169 */ /* Rickard Osser */ .name = "AVerMedia A169 B1", .audio_clock = 0x02187de7, .tuner_type = TUNER_LG_TALN, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .gpiomask = 0xca60000, .inputs = {{ .name = name_tv, .vmux = 4, .amux = TV, .tv = 1, .gpio = 0x04a61000, },{ .name = name_comp2, /* Composite SVIDEO (B/W if signal is carried with SVIDEO) */ .vmux = 1, .amux = LINE2, },{ .name = name_svideo, .vmux = 9, /* 9 is correct as S-VIDEO1 according to a169.inf! */ .amux = LINE1, }}, }, [SAA7134_BOARD_MD7134_BRIDGE_2] = { /* The second saa7134 on this card only serves as DVB-S host bridge */ .name = "Medion 7134 Bridge #2", .audio_clock = 0x00187de7, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .mpeg = SAA7134_MPEG_DVB, }, [SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS] = { .name = "LifeView FlyDVB-T Hybrid Cardbus/MSI TV @nywhere A/D NB", .audio_clock = 0x00200000, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .mpeg = SAA7134_MPEG_DVB, .gpiomask = 0x00600000, /* Bit 21 0=Radio, Bit 22 0=TV */ .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .gpio = 0x200000, /* GPIO21=High for TV input */ .tv = 1, },{ .name = name_svideo, /* S-Video signal on S-Video input */ .vmux = 8, .amux = LINE2, },{ .name = name_comp1, /* Composite signal on S-Video input */ .vmux = 0, .amux = LINE2, },{ .name = name_comp2, /* Composite input */ .vmux = 3, .amux = LINE2, }}, .radio = { .name = name_radio, .amux = TV, .gpio = 0x000000, /* GPIO21=Low for FM radio antenna */ }, }, [SAA7134_BOARD_FLYVIDEO3000_NTSC] = { /* "Zac Bowling" */ .name = "LifeView FlyVIDEO3000 (NTSC)", .audio_clock = 0x00200000, .tuner_type = TUNER_PHILIPS_NTSC, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .gpiomask = 0xe000, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .gpio = 0x8000, .tv = 1, },{ .name = name_tv_mono, .vmux = 1, .amux = LINE2, .gpio = 0x0000, .tv = 1, },{ .name = name_comp1, .vmux = 0, .amux = LINE2, .gpio = 0x4000, },{ .name = name_comp2, .vmux = 3, .amux = LINE2, .gpio = 0x4000, },{ .name = name_svideo, .vmux = 8, .amux = LINE2, .gpio = 0x4000, }}, .radio = { .name = name_radio, .amux = LINE2, .gpio = 0x2000, }, .mute = { .name = name_mute, .amux = TV, .gpio = 0x8000, }, }, [SAA7134_BOARD_MEDION_MD8800_QUADRO] = { .name = "Medion Md8800 Quadro", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .mpeg = SAA7134_MPEG_DVB, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 0, .amux = LINE1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, }}, }, [SAA7134_BOARD_FLYDVBS_LR300] = { /* LifeView FlyDVB-s */ /* Igor M. Liplianin */ .name = "LifeView FlyDVB-S /Acorp TV134DS", .audio_clock = 0x00200000, .tuner_type = TUNER_ABSENT, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .mpeg = SAA7134_MPEG_DVB, .inputs = {{ .name = name_comp1, /* Composite input */ .vmux = 3, .amux = LINE1, },{ .name = name_svideo, /* S-Video signal on S-Video input */ .vmux = 8, .amux = LINE1, }}, }, [SAA7134_BOARD_PROTEUS_2309] = { .name = "Proteus Pro 2309", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .inputs = {{ .name = name_tv, .vmux = 1, .amux = LINE2, .tv = 1, },{ .name = name_comp1, .vmux = 0, .amux = LINE2, },{ .name = name_comp2, .vmux = 3, .amux = LINE2, },{ .name = name_svideo, .vmux = 8, .amux = LINE2, }}, .mute = { .name = name_mute, .amux = LINE1, }, }, [SAA7134_BOARD_AVERMEDIA_A16AR] = { /* Petr Baudis */ .name = "AVerMedia TV Hybrid A16AR", .audio_clock = 0x187de7, .tuner_type = TUNER_PHILIPS_TD1316, /* untested */ .radio_type = TUNER_TEA5767, /* untested */ .tuner_addr = ADDR_UNSET, .radio_addr = 0x60, .tda9887_conf = TDA9887_PRESENT, .mpeg = SAA7134_MPEG_DVB, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 3, .amux = LINE2, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, }}, .radio = { .name = name_radio, .amux = LINE1, }, }, [SAA7134_BOARD_ASUS_EUROPA2_HYBRID] = { .name = "Asus Europa2 OEM", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FMD1216ME_MK3, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT| TDA9887_PORT1_ACTIVE | TDA9887_PORT2_ACTIVE, .mpeg = SAA7134_MPEG_DVB, .inputs = {{ .name = name_tv, .vmux = 3, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 4, .amux = LINE2, },{ .name = name_svideo, .vmux = 8, .amux = LINE2, }}, .radio = { .name = name_radio, .amux = LINE1, }, }, [SAA7134_BOARD_PINNACLE_PCTV_310i] = { .name = "Pinnacle PCTV 310i", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tuner_config = 1, .mpeg = SAA7134_MPEG_DVB, .gpiomask = 0x000200000, .inputs = {{ .name = name_tv, .vmux = 4, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 1, .amux = LINE2, },{ .name = name_comp2, .vmux = 0, .amux = LINE2, },{ .name = name_svideo, .vmux = 8, .amux = LINE2, }}, .radio = { .name = name_radio, .amux = TV, .gpio = 0x0200000, }, }, [SAA7134_BOARD_AVERMEDIA_STUDIO_507] = { /* Mikhail Fedotov */ .name = "Avermedia AVerTV Studio 507", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FM1256_IH3, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .gpiomask = 0x03, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, .gpio = 0x00, },{ .name = name_comp1, .vmux = 0, .amux = LINE2, .gpio = 0x00, },{ .name = name_comp2, .vmux = 3, .amux = LINE2, .gpio = 0x00, },{ .name = name_svideo, .vmux = 8, .amux = LINE2, .gpio = 0x00, }}, .radio = { .name = name_radio, .amux = LINE2, .gpio = 0x01, }, .mute = { .name = name_mute, .amux = LINE1, .gpio = 0x00, }, }, [SAA7134_BOARD_VIDEOMATE_DVBT_200A] = { /* Francis Barber */ .name = "Compro Videomate DVB-T200A", .audio_clock = 0x00187de7, .tuner_type = TUNER_ABSENT, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE, .mpeg = SAA7134_MPEG_DVB, .inputs = {{ .name = name_tv, .vmux = 3, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 1, .amux = LINE2, },{ .name = name_svideo, .vmux = 8, .amux = LINE2, }}, }, [SAA7134_BOARD_HAUPPAUGE_HVR1110] = { /* Thomas Genty */ /* David Bentham */ .name = "Hauppauge WinTV-HVR1110 DVB-T/Hybrid", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tuner_config = 1, .mpeg = SAA7134_MPEG_DVB, .gpiomask = 0x0200100, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, .gpio = 0x0000100, }, { .name = name_comp1, .vmux = 3, .amux = LINE1, }, { .name = name_svideo, .vmux = 8, .amux = LINE1, } }, .radio = { .name = name_radio, .amux = TV, .gpio = 0x0200100, }, }, [SAA7134_BOARD_HAUPPAUGE_HVR1150] = { .name = "Hauppauge WinTV-HVR1150 ATSC/QAM-Hybrid", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tuner_config = 3, .mpeg = SAA7134_MPEG_DVB, .ts_type = SAA7134_MPEG_TS_SERIAL, .gpiomask = 0x0800100, /* GPIO 21 is an INPUT */ .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, .gpio = 0x0000100, }, { .name = name_comp1, .vmux = 3, .amux = LINE1, }, { .name = name_svideo, .vmux = 8, .amux = LINE1, } }, .radio = { .name = name_radio, .amux = TV, .gpio = 0x0800100, /* GPIO 23 HI for FM */ }, }, [SAA7134_BOARD_HAUPPAUGE_HVR1120] = { .name = "Hauppauge WinTV-HVR1120 DVB-T/Hybrid", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tuner_config = 3, .mpeg = SAA7134_MPEG_DVB, .ts_type = SAA7134_MPEG_TS_SERIAL, .gpiomask = 0x0800100, /* GPIO 21 is an INPUT */ .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, .gpio = 0x0000100, }, { .name = name_comp1, .vmux = 3, .amux = LINE1, }, { .name = name_svideo, .vmux = 8, .amux = LINE1, } }, .radio = { .name = name_radio, .amux = TV, .gpio = 0x0800100, /* GPIO 23 HI for FM */ }, }, [SAA7134_BOARD_CINERGY_HT_PCMCIA] = { .name = "Terratec Cinergy HT PCMCIA", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .mpeg = SAA7134_MPEG_DVB, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 0, .amux = LINE1, },{ .name = name_svideo, .vmux = 6, .amux = LINE1, }}, }, [SAA7134_BOARD_ENCORE_ENLTV] = { /* Steven Walter Juan Pablo Sormani */ .name = "Encore ENLTV", .audio_clock = 0x00200000, .tuner_type = TUNER_TNF_5335MF, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_tv, .vmux = 1, .amux = 3, .tv = 1, },{ .name = name_tv_mono, .vmux = 7, .amux = 4, .tv = 1, },{ .name = name_comp1, .vmux = 3, .amux = 2, },{ .name = name_svideo, .vmux = 0, .amux = 2, }}, .radio = { .name = name_radio, .amux = LINE2, /* .gpio = 0x00300001,*/ .gpio = 0x20000, }, .mute = { .name = name_mute, .amux = 0, }, }, [SAA7134_BOARD_ENCORE_ENLTV_FM] = { /* Juan Pablo Sormani */ .name = "Encore ENLTV-FM", .audio_clock = 0x00200000, .tuner_type = TUNER_PHILIPS_FCV1236D, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_tv, .vmux = 1, .amux = 3, .tv = 1, },{ .name = name_tv_mono, .vmux = 7, .amux = 4, .tv = 1, },{ .name = name_comp1, .vmux = 3, .amux = 2, },{ .name = name_svideo, .vmux = 0, .amux = 2, }}, .radio = { .name = name_radio, .amux = LINE2, .gpio = 0x20000, }, .mute = { .name = name_mute, .amux = 0, }, }, [SAA7134_BOARD_ENCORE_ENLTV_FM53] = { .name = "Encore ENLTV-FM v5.3", .audio_clock = 0x00200000, .tuner_type = TUNER_TNF_5335MF, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .gpiomask = 0x7000, .inputs = { { .name = name_tv, .vmux = 1, .amux = 1, .tv = 1, .gpio = 0x50000, }, { .name = name_comp1, .vmux = 3, .amux = 2, .gpio = 0x2000, }, { .name = name_svideo, .vmux = 8, .amux = 2, .gpio = 0x2000, } }, .radio = { .name = name_radio, .vmux = 1, .amux = 1, }, .mute = { .name = name_mute, .gpio = 0xf000, .amux = 0, }, }, [SAA7134_BOARD_CINERGY_HT_PCI] = { .name = "Terratec Cinergy HT PCI", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .mpeg = SAA7134_MPEG_DVB, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 0, .amux = LINE1, },{ .name = name_svideo, .vmux = 6, .amux = LINE1, }}, }, [SAA7134_BOARD_PHILIPS_TIGER_S] = { .name = "Philips Tiger - S Reference design", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tuner_config = 2, .mpeg = SAA7134_MPEG_DVB, .gpiomask = 0x0200000, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 3, .amux = LINE1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, }}, .radio = { .name = name_radio, .amux = TV, .gpio = 0x0200000, }, }, [SAA7134_BOARD_AVERMEDIA_M102] = { .name = "Avermedia M102", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .gpiomask = 1<<21, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 0, .amux = LINE2, },{ .name = name_svideo, .vmux = 6, .amux = LINE2, }}, }, [SAA7134_BOARD_ASUS_P7131_4871] = { .name = "ASUS P7131 4871", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tuner_config = 2, .mpeg = SAA7134_MPEG_DVB, .gpiomask = 0x0200000, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, .gpio = 0x0200000, }}, }, [SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA] = { .name = "ASUSTeK P7131 Hybrid", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tuner_config = 2, .gpiomask = 1 << 21, .mpeg = SAA7134_MPEG_DVB, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, .gpio = 0x0000000, },{ .name = name_comp1, .vmux = 3, .amux = LINE2, .gpio = 0x0200000, },{ .name = name_comp2, .vmux = 0, .amux = LINE2, .gpio = 0x0200000, },{ .name = name_svideo, .vmux = 8, .amux = LINE2, .gpio = 0x0200000, }}, .radio = { .name = name_radio, .amux = TV, .gpio = 0x0200000, }, }, [SAA7134_BOARD_ASUSTeK_P7131_ANALOG] = { .name = "ASUSTeK P7131 Analog", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .gpiomask = 1 << 21, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, .gpio = 0x0000000, }, { .name = name_comp1, .vmux = 3, .amux = LINE2, }, { .name = name_comp2, .vmux = 0, .amux = LINE2, }, { .name = name_svideo, .vmux = 8, .amux = LINE2, } }, .radio = { .name = name_radio, .amux = TV, .gpio = 0x0200000, }, }, [SAA7134_BOARD_SABRENT_TV_PCB05] = { .name = "Sabrent PCMCIA TV-PCB05", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 3, .amux = LINE1, },{ .name = name_comp2, .vmux = 0, .amux = LINE1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, }}, .mute = { .name = name_mute, .amux = TV, }, }, [SAA7134_BOARD_10MOONSTVMASTER3] = { /* Tony Wan */ .name = "10MOONS TM300 TV Card", .audio_clock = 0x00200000, .tuner_type = TUNER_LG_PAL_NEW_TAPC, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .gpiomask = 0x7000, .inputs = {{ .name = name_tv, .vmux = 1, .amux = LINE2, .gpio = 0x0000, .tv = 1, },{ .name = name_comp1, .vmux = 3, .amux = LINE1, .gpio = 0x2000, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, .gpio = 0x2000, }}, .mute = { .name = name_mute, .amux = LINE2, .gpio = 0x3000, }, }, [SAA7134_BOARD_AVERMEDIA_SUPER_007] = { .name = "Avermedia Super 007", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tuner_config = 0, .mpeg = SAA7134_MPEG_DVB, .inputs = {{ .name = name_tv, /* FIXME: analog tv untested */ .vmux = 1, .amux = TV, .tv = 1, }}, }, [SAA7134_BOARD_AVERMEDIA_M135A] = { .name = "Avermedia PCI pure analog (M135A)", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tuner_config = 2, .gpiomask = 0x020200000, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, }, { .name = name_comp1, .vmux = 3, .amux = LINE1, }, { .name = name_svideo, .vmux = 8, .amux = LINE1, } }, .radio = { .name = name_radio, .amux = TV, .gpio = 0x00200000, }, .mute = { .name = name_mute, .amux = TV, .gpio = 0x01, }, }, [SAA7134_BOARD_BEHOLD_401] = { /* Beholder Intl. Ltd. 2008 */ /*Dmitry Belimov */ .name = "Beholder BeholdTV 401", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FQ1216ME, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .gpiomask = 0x00008000, .inputs = {{ .name = name_svideo, .vmux = 8, .amux = LINE1, },{ .name = name_comp1, .vmux = 1, .amux = LINE1, },{ .name = name_tv, .vmux = 3, .amux = LINE2, .tv = 1, }}, .mute = { .name = name_mute, .amux = LINE1, }, }, [SAA7134_BOARD_BEHOLD_403] = { /* Beholder Intl. Ltd. 2008 */ /*Dmitry Belimov */ .name = "Beholder BeholdTV 403", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FQ1216ME, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .gpiomask = 0x00008000, .inputs = {{ .name = name_svideo, .vmux = 8, .amux = LINE1, },{ .name = name_comp1, .vmux = 1, .amux = LINE1, },{ .name = name_tv, .vmux = 3, .amux = LINE2, .tv = 1, }}, }, [SAA7134_BOARD_BEHOLD_403FM] = { /* Beholder Intl. Ltd. 2008 */ /*Dmitry Belimov */ .name = "Beholder BeholdTV 403 FM", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FQ1216ME, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .gpiomask = 0x00008000, .inputs = {{ .name = name_svideo, .vmux = 8, .amux = LINE1, },{ .name = name_comp1, .vmux = 1, .amux = LINE1, },{ .name = name_tv, .vmux = 3, .amux = LINE2, .tv = 1, }}, .radio = { .name = name_radio, .amux = LINE2, }, }, [SAA7134_BOARD_BEHOLD_405] = { /* Beholder Intl. Ltd. 2008 */ /*Dmitry Belimov */ .name = "Beholder BeholdTV 405", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .gpiomask = 0x00008000, .inputs = {{ .name = name_svideo, .vmux = 8, .amux = LINE1, },{ .name = name_comp1, .vmux = 3, .amux = LINE1, },{ .name = name_tv, .vmux = 3, .amux = LINE2, .tv = 1, }}, }, [SAA7134_BOARD_BEHOLD_405FM] = { /* Sergey */ /* Beholder Intl. Ltd. 2008 */ /*Dmitry Belimov */ .name = "Beholder BeholdTV 405 FM", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .gpiomask = 0x00008000, .inputs = {{ .name = name_svideo, .vmux = 8, .amux = LINE1, },{ .name = name_comp1, .vmux = 3, .amux = LINE1, },{ .name = name_tv, .vmux = 3, .amux = LINE2, .tv = 1, }}, .radio = { .name = name_radio, .amux = LINE2, }, }, [SAA7134_BOARD_BEHOLD_407] = { /* Beholder Intl. Ltd. 2008 */ /*Dmitry Belimov */ .name = "Beholder BeholdTV 407", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .gpiomask = 0x00008000, .inputs = {{ .name = name_svideo, .vmux = 8, .amux = LINE1, .gpio = 0xc0c000, },{ .name = name_comp1, .vmux = 1, .amux = LINE1, .gpio = 0xc0c000, },{ .name = name_tv, .vmux = 3, .amux = TV, .tv = 1, .gpio = 0xc0c000, }}, }, [SAA7134_BOARD_BEHOLD_407FM] = { /* Beholder Intl. Ltd. 2008 */ /*Dmitry Belimov */ .name = "Beholder BeholdTV 407 FM", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .gpiomask = 0x00008000, .inputs = {{ .name = name_svideo, .vmux = 8, .amux = LINE1, .gpio = 0xc0c000, },{ .name = name_comp1, .vmux = 1, .amux = LINE1, .gpio = 0xc0c000, },{ .name = name_tv, .vmux = 3, .amux = TV, .tv = 1, .gpio = 0xc0c000, }}, .radio = { .name = name_radio, .amux = LINE2, .gpio = 0xc0c000, }, }, [SAA7134_BOARD_BEHOLD_409] = { /* Beholder Intl. Ltd. 2008 */ /*Dmitry Belimov */ .name = "Beholder BeholdTV 409", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .gpiomask = 0x00008000, .inputs = {{ .name = name_tv, .vmux = 3, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 1, .amux = LINE1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, }}, }, [SAA7134_BOARD_BEHOLD_505FM] = { /* Beholder Intl. Ltd. 2008 */ /*Dmitry Belimov */ .name = "Beholder BeholdTV 505 FM", .audio_clock = 0x00200000, .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .gpiomask = 0x00008000, .inputs = {{ .name = name_tv, .vmux = 3, .amux = LINE2, .tv = 1, }, { .name = name_comp1, .vmux = 1, .amux = LINE1, }, { .name = name_svideo, .vmux = 8, .amux = LINE1, } }, .mute = { .name = name_mute, .amux = LINE1, }, .radio = { .name = name_radio, .amux = LINE2, }, }, [SAA7134_BOARD_BEHOLD_505RDS] = { /* Beholder Intl. Ltd. 2008 */ /*Dmitry Belimov */ .name = "Beholder BeholdTV 505 RDS", .audio_clock = 0x00200000, .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, /* FIXME to MK5 */ .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .gpiomask = 0x00008000, .inputs = {{ .name = name_tv, .vmux = 3, .amux = LINE2, .tv = 1, },{ .name = name_comp1, .vmux = 1, .amux = LINE1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, }}, .mute = { .name = name_mute, .amux = LINE1, }, .radio = { .name = name_radio, .amux = LINE2, }, }, [SAA7134_BOARD_BEHOLD_507_9FM] = { /* Beholder Intl. Ltd. 2008 */ /*Dmitry Belimov */ .name = "Beholder BeholdTV 507 FM / BeholdTV 509 FM", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .gpiomask = 0x00008000, .inputs = {{ .name = name_tv, .vmux = 3, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 1, .amux = LINE1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, }}, .radio = { .name = name_radio, .amux = LINE2, }, }, [SAA7134_BOARD_BEHOLD_507RDS_MK5] = { /* Beholder Intl. Ltd. 2008 */ /*Dmitry Belimov */ .name = "Beholder BeholdTV 507 RDS", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, /* FIXME to MK5 */ .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .gpiomask = 0x00008000, .inputs = {{ .name = name_tv, .vmux = 3, .amux = TV, .tv = 1, }, { .name = name_comp1, .vmux = 1, .amux = LINE1, }, { .name = name_svideo, .vmux = 8, .amux = LINE1, } }, .radio = { .name = name_radio, .amux = LINE2, }, }, [SAA7134_BOARD_BEHOLD_507RDS_MK3] = { /* Beholder Intl. Ltd. 2008 */ /*Dmitry Belimov */ .name = "Beholder BeholdTV 507 RDS", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .gpiomask = 0x00008000, .inputs = {{ .name = name_tv, .vmux = 3, .amux = TV, .tv = 1, }, { .name = name_comp1, .vmux = 1, .amux = LINE1, }, { .name = name_svideo, .vmux = 8, .amux = LINE1, } }, .radio = { .name = name_radio, .amux = LINE2, }, }, [SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM] = { /* Beholder Intl. Ltd. 2008 */ /*Dmitry Belimov */ .name = "Beholder BeholdTV Columbus TVFM", .audio_clock = 0x00187de7, .tuner_type = TUNER_ALPS_TSBE5_PAL, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .gpiomask = 0x000A8004, .inputs = {{ .name = name_tv, .vmux = 3, .amux = TV, .tv = 1, .gpio = 0x000A8004, }, { .name = name_comp1, .vmux = 1, .amux = LINE1, .gpio = 0x000A8000, }, { .name = name_svideo, .vmux = 8, .amux = LINE1, .gpio = 0x000A8000, } }, .radio = { .name = name_radio, .amux = LINE2, .gpio = 0x000A8000, }, }, [SAA7134_BOARD_BEHOLD_607FM_MK3] = { /* Andrey Melnikoff */ .name = "Beholder BeholdTV 607 FM", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .inputs = {{ .name = name_tv, .vmux = 3, .amux = TV, .tv = 1, }, { .name = name_comp1, .vmux = 1, .amux = LINE1, }, { .name = name_svideo, .vmux = 8, .amux = LINE1, } }, .radio = { .name = name_radio, .amux = LINE2, }, }, [SAA7134_BOARD_BEHOLD_609FM_MK3] = { /* Andrey Melnikoff */ .name = "Beholder BeholdTV 609 FM", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .inputs = {{ .name = name_tv, .vmux = 3, .amux = TV, .tv = 1, }, { .name = name_comp1, .vmux = 1, .amux = LINE1, }, { .name = name_svideo, .vmux = 8, .amux = LINE1, } }, .radio = { .name = name_radio, .amux = LINE2, }, }, [SAA7134_BOARD_BEHOLD_607FM_MK5] = { /* Andrey Melnikoff */ .name = "Beholder BeholdTV 607 FM", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, /* FIXME to MK5 */ .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .inputs = {{ .name = name_tv, .vmux = 3, .amux = TV, .tv = 1, }, { .name = name_comp1, .vmux = 1, .amux = LINE1, }, { .name = name_svideo, .vmux = 8, .amux = LINE1, } }, .radio = { .name = name_radio, .amux = LINE2, }, }, [SAA7134_BOARD_BEHOLD_609FM_MK5] = { /* Andrey Melnikoff */ .name = "Beholder BeholdTV 609 FM", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, /* FIXME to MK5 */ .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .inputs = {{ .name = name_tv, .vmux = 3, .amux = TV, .tv = 1, }, { .name = name_comp1, .vmux = 1, .amux = LINE1, }, { .name = name_svideo, .vmux = 8, .amux = LINE1, } }, .radio = { .name = name_radio, .amux = LINE2, }, }, [SAA7134_BOARD_BEHOLD_607RDS_MK3] = { /* Andrey Melnikoff */ .name = "Beholder BeholdTV 607 RDS", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .inputs = {{ .name = name_tv, .vmux = 3, .amux = TV, .tv = 1, }, { .name = name_comp1, .vmux = 1, .amux = LINE1, }, { .name = name_svideo, .vmux = 8, .amux = LINE1, } }, .radio = { .name = name_radio, .amux = LINE2, }, }, [SAA7134_BOARD_BEHOLD_609RDS_MK3] = { /* Andrey Melnikoff */ .name = "Beholder BeholdTV 609 RDS", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .inputs = {{ .name = name_tv, .vmux = 3, .amux = TV, .tv = 1, }, { .name = name_comp1, .vmux = 1, .amux = LINE1, }, { .name = name_svideo, .vmux = 8, .amux = LINE1, } }, .radio = { .name = name_radio, .amux = LINE2, }, }, [SAA7134_BOARD_BEHOLD_607RDS_MK5] = { /* Andrey Melnikoff */ .name = "Beholder BeholdTV 607 RDS", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, /* FIXME to MK5 */ .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .inputs = {{ .name = name_tv, .vmux = 3, .amux = TV, .tv = 1, }, { .name = name_comp1, .vmux = 1, .amux = LINE1, }, { .name = name_svideo, .vmux = 8, .amux = LINE1, } }, .radio = { .name = name_radio, .amux = LINE2, }, }, [SAA7134_BOARD_BEHOLD_609RDS_MK5] = { /* Andrey Melnikoff */ .name = "Beholder BeholdTV 609 RDS", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, /* FIXME to MK5 */ .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .inputs = {{ .name = name_tv, .vmux = 3, .amux = TV, .tv = 1, },{ .name = name_comp1, .vmux = 1, .amux = LINE1, },{ .name = name_svideo, .vmux = 8, .amux = LINE1, }}, .radio = { .name = name_radio, .amux = LINE2, }, }, [SAA7134_BOARD_BEHOLD_M6] = { /* Igor Kuznetsov */ /* Andrey Melnikoff */ /* Beholder Intl. Ltd. Dmitry Belimov */ /* Alexey Osipov */ .name = "Beholder BeholdTV M6", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .empress_addr = 0x20, .tda9887_conf = TDA9887_PRESENT, .inputs = { { .name = name_tv, .vmux = 3, .amux = TV, .tv = 1, }, { .name = name_comp1, .vmux = 1, .amux = LINE1, }, { .name = name_svideo, .vmux = 8, .amux = LINE1, } }, .radio = { .name = name_radio, .amux = LINE2, }, .mpeg = SAA7134_MPEG_EMPRESS, .video_out = CCIR656, .vid_port_opts = (SET_T_CODE_POLARITY_NON_INVERTED | SET_CLOCK_NOT_DELAYED | SET_CLOCK_INVERTED | SET_VSYNC_OFF), }, [SAA7134_BOARD_BEHOLD_M63] = { /* Igor Kuznetsov */ /* Andrey Melnikoff */ /* Beholder Intl. Ltd. Dmitry Belimov */ .name = "Beholder BeholdTV M63", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .empress_addr = 0x20, .tda9887_conf = TDA9887_PRESENT, .inputs = { { .name = name_tv, .vmux = 3, .amux = TV, .tv = 1, }, { .name = name_comp1, .vmux = 1, .amux = LINE1, }, { .name = name_svideo, .vmux = 8, .amux = LINE1, } }, .radio = { .name = name_radio, .amux = LINE2, }, .mpeg = SAA7134_MPEG_EMPRESS, .video_out = CCIR656, .vid_port_opts = (SET_T_CODE_POLARITY_NON_INVERTED | SET_CLOCK_NOT_DELAYED | SET_CLOCK_INVERTED | SET_VSYNC_OFF), }, [SAA7134_BOARD_BEHOLD_M6_EXTRA] = { /* Igor Kuznetsov */ /* Andrey Melnikoff */ /* Beholder Intl. Ltd. Dmitry Belimov */ /* Alexey Osipov */ .name = "Beholder BeholdTV M6 Extra", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, /* FIXME to MK5 */ .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .empress_addr = 0x20, .tda9887_conf = TDA9887_PRESENT, .inputs = { { .name = name_tv, .vmux = 3, .amux = TV, .tv = 1, }, { .name = name_comp1, .vmux = 1, .amux = LINE1, }, { .name = name_svideo, .vmux = 8, .amux = LINE1, } }, .radio = { .name = name_radio, .amux = LINE2, }, .mpeg = SAA7134_MPEG_EMPRESS, .video_out = CCIR656, .vid_port_opts = (SET_T_CODE_POLARITY_NON_INVERTED | SET_CLOCK_NOT_DELAYED | SET_CLOCK_INVERTED | SET_VSYNC_OFF), }, [SAA7134_BOARD_TWINHAN_DTV_DVB_3056] = { .name = "Twinhan Hybrid DTV-DVB 3056 PCI", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tuner_config = 2, .mpeg = SAA7134_MPEG_DVB, .gpiomask = 0x0200000, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, }, { .name = name_comp1, .vmux = 3, .amux = LINE1, }, { .name = name_svideo, .vmux = 8, /* untested */ .amux = LINE1, } }, .radio = { .name = name_radio, .amux = TV, .gpio = 0x0200000, }, }, [SAA7134_BOARD_GENIUS_TVGO_A11MCE] = { /* Adrian Pardini */ .name = "Genius TVGO AM11MCE", .audio_clock = 0x00200000, .tuner_type = TUNER_TNF_5335MF, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .gpiomask = 0xf000, .inputs = {{ .name = name_tv_mono, .vmux = 1, .amux = LINE2, .gpio = 0x0000, .tv = 1, }, { .name = name_comp1, .vmux = 3, .amux = LINE1, .gpio = 0x2000, .tv = 1 }, { .name = name_svideo, .vmux = 8, .amux = LINE1, .gpio = 0x2000, } }, .radio = { .name = name_radio, .amux = LINE2, .gpio = 0x1000, }, .mute = { .name = name_mute, .amux = LINE2, .gpio = 0x6000, }, }, [SAA7134_BOARD_PHILIPS_SNAKE] = { .name = "NXP Snake DVB-S reference design", .audio_clock = 0x00200000, .tuner_type = TUNER_ABSENT, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .mpeg = SAA7134_MPEG_DVB, .inputs = {{ .name = name_comp1, .vmux = 3, .amux = LINE1, }, { .name = name_svideo, .vmux = 8, .amux = LINE1, } }, }, [SAA7134_BOARD_CREATIX_CTX953] = { .name = "Medion/Creatix CTX953 Hybrid", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tuner_config = 0, .mpeg = SAA7134_MPEG_DVB, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, }, { .name = name_comp1, .vmux = 0, .amux = LINE1, }, { .name = name_svideo, .vmux = 8, .amux = LINE1, } }, }, [SAA7134_BOARD_MSI_TVANYWHERE_AD11] = { .name = "MSI TV@nywhere A/D v1.1", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tuner_config = 2, .mpeg = SAA7134_MPEG_DVB, .gpiomask = 0x0200000, .inputs = { { .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, }, { .name = name_comp1, .vmux = 3, .amux = LINE1, }, { .name = name_svideo, .vmux = 8, .amux = LINE1, } }, .radio = { .name = name_radio, .amux = TV, .gpio = 0x0200000, }, }, [SAA7134_BOARD_AVERMEDIA_CARDBUS_506] = { .name = "AVerMedia Cardbus TV/Radio (E506R)", .audio_clock = 0x187de7, .tuner_type = TUNER_XC2028, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .mpeg = SAA7134_MPEG_DVB, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, }, { .name = name_comp1, .vmux = 3, .amux = LINE1, }, { .name = name_svideo, .vmux = 8, .amux = LINE2, } }, .radio = { .name = name_radio, .amux = TV, }, }, [SAA7134_BOARD_AVERMEDIA_A16D] = { .name = "AVerMedia Hybrid TV/Radio (A16D)", .audio_clock = 0x187de7, .tuner_type = TUNER_XC2028, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .mpeg = SAA7134_MPEG_DVB, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, }, { .name = name_svideo, .vmux = 8, .amux = LINE1, }, { .name = name_comp, .vmux = 0, .amux = LINE1, } }, .radio = { .name = name_radio, .amux = TV, }, }, [SAA7134_BOARD_AVERMEDIA_M115] = { .name = "Avermedia M115", .audio_clock = 0x187de7, .tuner_type = TUNER_XC2028, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, }, { .name = name_comp1, .vmux = 3, .amux = LINE1, }, { .name = name_svideo, .vmux = 8, .amux = LINE2, } }, }, [SAA7134_BOARD_VIDEOMATE_T750] = { /* John Newbigin */ .name = "Compro VideoMate T750", .audio_clock = 0x00187de7, .tuner_type = TUNER_XC2028, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .inputs = {{ .name = name_tv, .vmux = 3, .amux = TV, .tv = 1, }, { .name = name_comp1, .vmux = 1, .amux = LINE2, }, { .name = name_svideo, .vmux = 8, .amux = LINE2, } }, .radio = { .name = name_radio, .amux = TV, } }, [SAA7134_BOARD_AVERMEDIA_A700_PRO] = { /* Matthias Schwarzott */ .name = "Avermedia DVB-S Pro A700", .audio_clock = 0x00187de7, .tuner_type = TUNER_ABSENT, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .mpeg = SAA7134_MPEG_DVB, .inputs = { { .name = name_comp, .vmux = 1, .amux = LINE1, }, { .name = name_svideo, .vmux = 6, .amux = LINE1, } }, }, [SAA7134_BOARD_AVERMEDIA_A700_HYBRID] = { /* Matthias Schwarzott */ .name = "Avermedia DVB-S Hybrid+FM A700", .audio_clock = 0x00187de7, .tuner_type = TUNER_XC2028, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .mpeg = SAA7134_MPEG_DVB, .inputs = { { .name = name_tv, .vmux = 4, .amux = TV, .tv = 1, }, { .name = name_comp, .vmux = 1, .amux = LINE1, }, { .name = name_svideo, .vmux = 6, .amux = LINE1, } }, .radio = { .name = name_radio, .amux = TV, }, }, [SAA7134_BOARD_BEHOLD_H6] = { /* Igor Kuznetsov */ .name = "Beholder BeholdTV H6", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FMD1216MEX_MK3, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .mpeg = SAA7134_MPEG_DVB, .inputs = {{ .name = name_tv, .vmux = 3, .amux = TV, .tv = 1, }, { .name = name_comp1, .vmux = 1, .amux = LINE1, }, { .name = name_svideo, .vmux = 8, .amux = LINE1, } }, .radio = { .name = name_radio, .amux = LINE2, }, }, [SAA7134_BOARD_ASUSTeK_TIGER_3IN1] = { .name = "Asus Tiger 3in1", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tuner_config = 2, .gpiomask = 1 << 21, .mpeg = SAA7134_MPEG_DVB, .inputs = {{ .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, }, { .name = name_comp, .vmux = 0, .amux = LINE2, }, { .name = name_svideo, .vmux = 8, .amux = LINE2, } }, .radio = { .name = name_radio, .amux = TV, .gpio = 0x0200000, }, }, [SAA7134_BOARD_REAL_ANGEL_220] = { .name = "Zogis Real Angel 220", .audio_clock = 0x00187de7, .tuner_type = TUNER_TNF_5335MF, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .gpiomask = 0x801a8087, .inputs = { { .name = name_tv, .vmux = 3, .amux = LINE2, .tv = 1, .gpio = 0x624000, }, { .name = name_comp1, .vmux = 1, .amux = LINE1, .gpio = 0x624000, }, { .name = name_svideo, .vmux = 1, .amux = LINE1, .gpio = 0x624000, } }, .radio = { .name = name_radio, .amux = LINE2, .gpio = 0x624001, }, .mute = { .name = name_mute, .amux = TV, }, }, [SAA7134_BOARD_ADS_INSTANT_HDTV_PCI] = { .name = "ADS Tech Instant HDTV", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TUV1236D, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .mpeg = SAA7134_MPEG_DVB, .inputs = { { .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, }, { .name = name_comp, .vmux = 4, .amux = LINE1, }, { .name = name_svideo, .vmux = 8, .amux = LINE1, } }, }, [SAA7134_BOARD_ASUSTeK_TIGER] = { .name = "Asus Tiger Rev:1.00", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tuner_config = 0, .mpeg = SAA7134_MPEG_DVB, .gpiomask = 0x0200000, .inputs = { { .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, }, { .name = name_comp1, .vmux = 3, .amux = LINE2, }, { .name = name_comp2, .vmux = 0, .amux = LINE2, }, { .name = name_svideo, .vmux = 8, .amux = LINE2, } }, .radio = { .name = name_radio, .amux = TV, .gpio = 0x0200000, }, }, [SAA7134_BOARD_KWORLD_PLUS_TV_ANALOG] = { .name = "Kworld Plus TV Analog Lite PCI", .audio_clock = 0x00187de7, .tuner_type = TUNER_YMEC_TVF_5533MF, .radio_type = TUNER_TEA5767, .tuner_addr = ADDR_UNSET, .radio_addr = 0x60, .gpiomask = 0x80000700, .inputs = { { .name = name_tv, .vmux = 1, .amux = LINE2, .tv = 1, .gpio = 0x100, }, { .name = name_comp1, .vmux = 3, .amux = LINE1, .gpio = 0x200, }, { .name = name_svideo, .vmux = 8, .amux = LINE1, .gpio = 0x200, } }, .radio = { .name = name_radio, .vmux = 1, .amux = LINE1, .gpio = 0x100, }, .mute = { .name = name_mute, .vmux = 8, .amux = 2, }, }, [SAA7134_BOARD_AVERMEDIA_GO_007_FM_PLUS] = { .name = "Avermedia AVerTV GO 007 FM Plus", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_TDA8290, .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .gpiomask = 0x00300003, /* .gpiomask = 0x8c240003, */ .inputs = { { .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, .gpio = 0x01, }, { .name = name_svideo, .vmux = 6, .amux = LINE1, .gpio = 0x02, } }, .radio = { .name = name_radio, .amux = TV, .gpio = 0x00300001, }, .mute = { .name = name_mute, .amux = TV, .gpio = 0x01, }, }, [SAA7134_BOARD_AVERMEDIA_STUDIO_507UA] = { /* Andy Shevchenko */ .name = "Avermedia AVerTV Studio 507UA", .audio_clock = 0x00187de7, .tuner_type = TUNER_PHILIPS_FM1216ME_MK3, /* Should be MK5 */ .radio_type = UNSET, .tuner_addr = ADDR_UNSET, .radio_addr = ADDR_UNSET, .tda9887_conf = TDA9887_PRESENT, .gpiomask = 0x03, .inputs = { { .name = name_tv, .vmux = 1, .amux = TV, .tv = 1, .gpio = 0x00, }, { .name = name_comp1, .vmux = 3, .amux = LINE1, .gpio = 0x00, }, { .name = name_svideo, .vmux = 8, .amux = LINE1, .gpio = 0x00, } }, .radio = { .name = name_radio, .amux = LINE2, .gpio = 0x01, }, .mute = { .name = name_mute, .amux = LINE1, .gpio = 0x00, }, }, [SAA7134_BOARD_VIDEOMATE_S350] = { /* Jan D. Louw insmod\n" "%s: option to override the default value.\n", dev->name, dev->name, dev->name); } static int saa7134_xc2028_callback(struct saa7134_dev *dev, int command, int arg) { switch (command) { case XC2028_TUNER_RESET: saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00008000, 0x00000000); saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00008000, 0x00008000); switch (dev->board) { case SAA7134_BOARD_AVERMEDIA_CARDBUS_506: case SAA7134_BOARD_AVERMEDIA_M103: saa7134_set_gpio(dev, 23, 0); msleep(10); saa7134_set_gpio(dev, 23, 1); break; case SAA7134_BOARD_AVERMEDIA_A16D: saa7134_set_gpio(dev, 21, 0); msleep(10); saa7134_set_gpio(dev, 21, 1); break; case SAA7134_BOARD_AVERMEDIA_A700_HYBRID: saa7134_set_gpio(dev, 18, 0); msleep(10); saa7134_set_gpio(dev, 18, 1); break; } return 0; } return -EINVAL; } static int saa7134_tda8290_827x_callback(struct saa7134_dev *dev, int command, int arg) { u8 sync_control; switch (command) { case 0: /* switch LNA gain through GPIO 22*/ saa7134_set_gpio(dev, 22, arg) ; break; case 1: /* vsync output at GPIO22. 50 / 60Hz */ saa_andorb(SAA7134_VIDEO_PORT_CTRL3, 0x80, 0x80); saa_andorb(SAA7134_VIDEO_PORT_CTRL6, 0x0f, 0x03); if (arg == 1) sync_control = 11; else sync_control = 17; saa_writeb(SAA7134_VGATE_START, sync_control); saa_writeb(SAA7134_VGATE_STOP, sync_control + 1); saa_andorb(SAA7134_MISC_VGATE_MSB, 0x03, 0x00); break; default: return -EINVAL; } return 0; } static inline int saa7134_tda18271_hvr11x0_toggle_agc(struct saa7134_dev *dev, enum tda18271_mode mode) { /* toggle AGC switch through GPIO 26 */ switch (mode) { case TDA18271_ANALOG: saa7134_set_gpio(dev, 26, 0); break; case TDA18271_DIGITAL: saa7134_set_gpio(dev, 26, 1); break; default: return -EINVAL; } return 0; } static int saa7134_tda8290_18271_callback(struct saa7134_dev *dev, int command, int arg) { int ret = 0; switch (command) { case TDA18271_CALLBACK_CMD_AGC_ENABLE: /* 0 */ switch (dev->board) { case SAA7134_BOARD_HAUPPAUGE_HVR1150: case SAA7134_BOARD_HAUPPAUGE_HVR1120: ret = saa7134_tda18271_hvr11x0_toggle_agc(dev, arg); break; default: break; } break; default: ret = -EINVAL; break; } return ret; } static int saa7134_tda8290_callback(struct saa7134_dev *dev, int command, int arg) { int ret; switch (dev->board) { case SAA7134_BOARD_HAUPPAUGE_HVR1150: case SAA7134_BOARD_HAUPPAUGE_HVR1120: /* tda8290 + tda18271 */ ret = saa7134_tda8290_18271_callback(dev, command, arg); break; default: /* tda8290 + tda827x */ ret = saa7134_tda8290_827x_callback(dev, command, arg); break; } return ret; } int saa7134_tuner_callback(void *priv, int component, int command, int arg) { struct saa7134_dev *dev = priv; if (dev != NULL) { switch (dev->tuner_type) { case TUNER_PHILIPS_TDA8290: return saa7134_tda8290_callback(dev, command, arg); case TUNER_XC2028: return saa7134_xc2028_callback(dev, command, arg); } } else { printk(KERN_ERR "saa7134: Error - device struct undefined.\n"); return -EINVAL; } return -EINVAL; } EXPORT_SYMBOL(saa7134_tuner_callback); /* ----------------------------------------------------------- */ static void hauppauge_eeprom(struct saa7134_dev *dev, u8 *eeprom_data) { struct tveeprom tv; tveeprom_hauppauge_analog(&dev->i2c_client, &tv, eeprom_data); /* Make sure we support the board model */ switch (tv.model) { case 67019: /* WinTV-HVR1110 (Retail, IR Blaster, hybrid, FM, SVid/Comp, 3.5mm audio in) */ case 67109: /* WinTV-HVR1000 (Retail, IR Receive, analog, no FM, SVid/Comp, 3.5mm audio in) */ case 67201: /* WinTV-HVR1150 (Retail, IR Receive, hybrid, FM, SVid/Comp, 3.5mm audio in) */ case 67301: /* WinTV-HVR1000 (Retail, IR Receive, analog, no FM, SVid/Comp, 3.5mm audio in) */ case 67209: /* WinTV-HVR1110 (Retail, IR Receive, hybrid, FM, SVid/Comp, 3.5mm audio in) */ case 67559: /* WinTV-HVR1110 (OEM, no IR, hybrid, FM, SVid/Comp, RCA aud) */ case 67569: /* WinTV-HVR1110 (OEM, no IR, hybrid, FM) */ case 67579: /* WinTV-HVR1110 (OEM, no IR, hybrid, no FM) */ case 67589: /* WinTV-HVR1110 (OEM, no IR, hybrid, no FM, SVid/Comp, RCA aud) */ case 67599: /* WinTV-HVR1110 (OEM, no IR, hybrid, no FM, SVid/Comp, RCA aud) */ case 67651: /* WinTV-HVR1150 (OEM, no IR, hybrid, FM, SVid/Comp, RCA aud) */ case 67659: /* WinTV-HVR1110 (OEM, no IR, hybrid, FM, SVid/Comp, RCA aud) */ break; default: printk(KERN_WARNING "%s: warning: " "unknown hauppauge model #%d\n", dev->name, tv.model); break; } printk(KERN_INFO "%s: hauppauge eeprom: model=%d\n", dev->name, tv.model); } /* ----------------------------------------------------------- */ int saa7134_board_init1(struct saa7134_dev *dev) { /* Always print gpio, often manufacturers encode tuner type and other info. */ saa_writel(SAA7134_GPIO_GPMODE0 >> 2, 0); dev->gpio_value = saa_readl(SAA7134_GPIO_GPSTATUS0 >> 2); printk(KERN_INFO "%s: board init: gpio is %x\n", dev->name, dev->gpio_value); switch (dev->board) { case SAA7134_BOARD_FLYVIDEO2000: case SAA7134_BOARD_FLYVIDEO3000: case SAA7134_BOARD_FLYVIDEO3000_NTSC: dev->has_remote = SAA7134_REMOTE_GPIO; board_flyvideo(dev); break; case SAA7134_BOARD_FLYTVPLATINUM_MINI2: case SAA7134_BOARD_FLYTVPLATINUM_FM: case SAA7134_BOARD_CINERGY400: case SAA7134_BOARD_CINERGY600: case SAA7134_BOARD_CINERGY600_MK3: case SAA7134_BOARD_ECS_TVP3XP: case SAA7134_BOARD_ECS_TVP3XP_4CB5: case SAA7134_BOARD_ECS_TVP3XP_4CB6: case SAA7134_BOARD_MD2819: case SAA7134_BOARD_KWORLD_VSTREAM_XPERT: case SAA7134_BOARD_KWORLD_XPERT: case SAA7134_BOARD_AVERMEDIA_STUDIO_305: case SAA7134_BOARD_AVERMEDIA_305: case SAA7134_BOARD_AVERMEDIA_STUDIO_307: case SAA7134_BOARD_AVERMEDIA_307: case SAA7134_BOARD_AVERMEDIA_STUDIO_507: case SAA7134_BOARD_AVERMEDIA_GO_007_FM: case SAA7134_BOARD_AVERMEDIA_777: case SAA7134_BOARD_AVERMEDIA_M135A: /* case SAA7134_BOARD_SABRENT_SBTTVFM: */ /* not finished yet */ case SAA7134_BOARD_VIDEOMATE_TV_PVR: case SAA7134_BOARD_VIDEOMATE_GOLD_PLUS: case SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII: case SAA7134_BOARD_VIDEOMATE_DVBT_300: case SAA7134_BOARD_VIDEOMATE_DVBT_200: case SAA7134_BOARD_VIDEOMATE_DVBT_200A: case SAA7134_BOARD_MANLI_MTV001: case SAA7134_BOARD_MANLI_MTV002: case SAA7134_BOARD_BEHOLD_409FM: case SAA7134_BOARD_AVACSSMARTTV: case SAA7134_BOARD_GOTVIEW_7135: case SAA7134_BOARD_KWORLD_TERMINATOR: case SAA7134_BOARD_SEDNA_PC_TV_CARDBUS: case SAA7134_BOARD_FLYDVBT_LR301: case SAA7134_BOARD_ASUSTeK_P7131_DUAL: case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA: case SAA7134_BOARD_ASUSTeK_P7131_ANALOG: case SAA7134_BOARD_FLYDVBTDUO: case SAA7134_BOARD_PROTEUS_2309: case SAA7134_BOARD_AVERMEDIA_A16AR: case SAA7134_BOARD_ENCORE_ENLTV: case SAA7134_BOARD_ENCORE_ENLTV_FM: case SAA7134_BOARD_ENCORE_ENLTV_FM53: case SAA7134_BOARD_10MOONSTVMASTER3: case SAA7134_BOARD_BEHOLD_401: case SAA7134_BOARD_BEHOLD_403: case SAA7134_BOARD_BEHOLD_403FM: case SAA7134_BOARD_BEHOLD_405: case SAA7134_BOARD_BEHOLD_405FM: case SAA7134_BOARD_BEHOLD_407: case SAA7134_BOARD_BEHOLD_407FM: case SAA7134_BOARD_BEHOLD_409: case SAA7134_BOARD_BEHOLD_505FM: case SAA7134_BOARD_BEHOLD_505RDS: case SAA7134_BOARD_BEHOLD_507_9FM: case SAA7134_BOARD_BEHOLD_507RDS_MK3: case SAA7134_BOARD_BEHOLD_507RDS_MK5: case SAA7134_BOARD_GENIUS_TVGO_A11MCE: case SAA7134_BOARD_REAL_ANGEL_220: case SAA7134_BOARD_KWORLD_PLUS_TV_ANALOG: case SAA7134_BOARD_AVERMEDIA_GO_007_FM_PLUS: dev->has_remote = SAA7134_REMOTE_GPIO; break; case SAA7134_BOARD_FLYDVBS_LR300: saa_writeb(SAA7134_GPIO_GPMODE3, 0x80); saa_writeb(SAA7134_GPIO_GPSTATUS2, 0x40); dev->has_remote = SAA7134_REMOTE_GPIO; break; case SAA7134_BOARD_MD5044: printk("%s: seems there are two different versions of the MD5044\n" "%s: (with the same ID) out there. If sound doesn't work for\n" "%s: you try the audio_clock_override=0x200000 insmod option.\n", dev->name,dev->name,dev->name); break; case SAA7134_BOARD_CINERGY400_CARDBUS: /* power-up tuner chip */ saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000); saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000000); break; case SAA7134_BOARD_PINNACLE_300I_DVBT_PAL: /* this turns the remote control chip off to work around a bug in it */ saa_writeb(SAA7134_GPIO_GPMODE1, 0x80); saa_writeb(SAA7134_GPIO_GPSTATUS1, 0x80); break; case SAA7134_BOARD_MONSTERTV_MOBILE: /* power-up tuner chip */ saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00040000, 0x00040000); saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00040000, 0x00000004); break; case SAA7134_BOARD_FLYDVBT_DUO_CARDBUS: /* turn the fan on */ saa_writeb(SAA7134_GPIO_GPMODE3, 0x08); saa_writeb(SAA7134_GPIO_GPSTATUS3, 0x06); break; case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331: case SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS: saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x08000000, 0x08000000); saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x08000000, 0x00000000); break; case SAA7134_BOARD_AVERMEDIA_CARDBUS: case SAA7134_BOARD_AVERMEDIA_M115: /* power-down tuner chip */ saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0xffffffff, 0); saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0); msleep(10); /* power-up tuner chip */ saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0xffffffff, 0xffffffff); saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0xffffffff); msleep(10); break; case SAA7134_BOARD_AVERMEDIA_CARDBUS_501: /* power-down tuner chip */ saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x08400000, 0x08400000); saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x08400000, 0); msleep(10); saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x08400000, 0x08400000); saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x08400000, 0x08400000); msleep(10); dev->has_remote = SAA7134_REMOTE_I2C; break; case SAA7134_BOARD_AVERMEDIA_CARDBUS_506: saa7134_set_gpio(dev, 23, 0); msleep(10); saa7134_set_gpio(dev, 23, 1); dev->has_remote = SAA7134_REMOTE_I2C; break; case SAA7134_BOARD_AVERMEDIA_M103: saa7134_set_gpio(dev, 23, 0); msleep(10); saa7134_set_gpio(dev, 23, 1); break; case SAA7134_BOARD_AVERMEDIA_A16D: saa7134_set_gpio(dev, 21, 0); msleep(10); saa7134_set_gpio(dev, 21, 1); msleep(1); dev->has_remote = SAA7134_REMOTE_GPIO; break; case SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM: /* power-down tuner chip */ saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x000A8004, 0x000A8004); saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x000A8004, 0); msleep(10); /* power-up tuner chip */ saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x000A8004, 0x000A8004); saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x000A8004, 0x000A8004); msleep(10); /* remote via GPIO */ dev->has_remote = SAA7134_REMOTE_GPIO; break; case SAA7134_BOARD_RTD_VFG7350: /* * Make sure Production Test Register at offset 0x1D1 is cleared * to take chip out of test mode. Clearing bit 4 (TST_EN_AOUT) * prevents pin 105 from remaining low; keeping pin 105 low * continually resets the SAA6752 chip. */ saa_writeb (SAA7134_PRODUCTION_TEST_MODE, 0x00); break; case SAA7134_BOARD_HAUPPAUGE_HVR1150: case SAA7134_BOARD_HAUPPAUGE_HVR1120: /* GPIO 26 high for digital, low for analog */ saa7134_set_gpio(dev, 26, 0); msleep(1); saa7134_set_gpio(dev, 22, 0); msleep(10); saa7134_set_gpio(dev, 22, 1); break; /* i2c remotes */ case SAA7134_BOARD_PINNACLE_PCTV_110i: case SAA7134_BOARD_PINNACLE_PCTV_310i: case SAA7134_BOARD_UPMOST_PURPLE_TV: case SAA7134_BOARD_MSI_TVATANYWHERE_PLUS: case SAA7134_BOARD_HAUPPAUGE_HVR1110: case SAA7134_BOARD_BEHOLD_607FM_MK3: case SAA7134_BOARD_BEHOLD_607FM_MK5: case SAA7134_BOARD_BEHOLD_609FM_MK3: case SAA7134_BOARD_BEHOLD_609FM_MK5: case SAA7134_BOARD_BEHOLD_607RDS_MK3: case SAA7134_BOARD_BEHOLD_607RDS_MK5: case SAA7134_BOARD_BEHOLD_609RDS_MK3: case SAA7134_BOARD_BEHOLD_609RDS_MK5: case SAA7134_BOARD_BEHOLD_M6: case SAA7134_BOARD_BEHOLD_M63: case SAA7134_BOARD_BEHOLD_M6_EXTRA: case SAA7134_BOARD_BEHOLD_H6: dev->has_remote = SAA7134_REMOTE_I2C; break; case SAA7134_BOARD_AVERMEDIA_A169_B: printk("%s: %s: dual saa713x broadcast decoders\n" "%s: Sorry, none of the inputs to this chip are supported yet.\n" "%s: Dual decoder functionality is disabled for now, use the other chip.\n", dev->name,card(dev).name,dev->name,dev->name); break; case SAA7134_BOARD_AVERMEDIA_M102: /* enable tuner */ dev->has_remote = SAA7134_REMOTE_GPIO; saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x8c040007, 0x8c040007); saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x0c0007cd, 0x0c0007cd); break; case SAA7134_BOARD_AVERMEDIA_A700_HYBRID: case SAA7134_BOARD_AVERMEDIA_A700_PRO: /* write windows gpio values */ saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x80040100, 0x80040100); saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x80040100, 0x00040100); break; case SAA7134_BOARD_VIDEOMATE_S350: dev->has_remote = SAA7134_REMOTE_GPIO; saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x00008000, 0x00008000); saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x00008000, 0x00008000); break; } return 0; } static void saa7134_tuner_setup(struct saa7134_dev *dev) { struct tuner_setup tun_setup; unsigned int mode_mask = T_RADIO | T_ANALOG_TV | T_DIGITAL_TV; memset(&tun_setup, 0, sizeof(tun_setup)); tun_setup.tuner_callback = saa7134_tuner_callback; if (saa7134_boards[dev->board].radio_type != UNSET) { tun_setup.type = saa7134_boards[dev->board].radio_type; tun_setup.addr = saa7134_boards[dev->board].radio_addr; tun_setup.mode_mask = T_RADIO; saa_call_all(dev, tuner, s_type_addr, &tun_setup); mode_mask &= ~T_RADIO; } if ((dev->tuner_type != TUNER_ABSENT) && (dev->tuner_type != UNSET)) { tun_setup.type = dev->tuner_type; tun_setup.addr = dev->tuner_addr; tun_setup.config = saa7134_boards[dev->board].tuner_config; tun_setup.tuner_callback = saa7134_tuner_callback; tun_setup.mode_mask = mode_mask; saa_call_all(dev, tuner, s_type_addr, &tun_setup); } if (dev->tda9887_conf) { struct v4l2_priv_tun_config tda9887_cfg; tda9887_cfg.tuner = TUNER_TDA9887; tda9887_cfg.priv = &dev->tda9887_conf; saa_call_all(dev, tuner, s_config, &tda9887_cfg); } if (dev->tuner_type == TUNER_XC2028) { struct v4l2_priv_tun_config xc2028_cfg; struct xc2028_ctrl ctl; memset(&xc2028_cfg, 0, sizeof(xc2028_cfg)); memset(&ctl, 0, sizeof(ctl)); ctl.fname = XC2028_DEFAULT_FIRMWARE; ctl.max_len = 64; switch (dev->board) { case SAA7134_BOARD_AVERMEDIA_A16D: case SAA7134_BOARD_AVERMEDIA_CARDBUS_506: case SAA7134_BOARD_AVERMEDIA_M103: case SAA7134_BOARD_AVERMEDIA_A700_HYBRID: ctl.demod = XC3028_FE_ZARLINK456; break; default: ctl.demod = XC3028_FE_OREN538; ctl.mts = 1; } xc2028_cfg.tuner = TUNER_XC2028; xc2028_cfg.priv = &ctl; saa_call_all(dev, tuner, s_config, &xc2028_cfg); } } /* stuff which needs working i2c */ int saa7134_board_init2(struct saa7134_dev *dev) { unsigned char buf; int board; /* Put here the code that enables the chips that are needed for analog mode and doesn't depend on the tuner attachment. It is also a good idea to get tuner type from eeprom, etc before initializing tuner, since we can avoid loading tuner driver on devices that has TUNER_ABSENT */ switch (dev->board) { case SAA7134_BOARD_BMK_MPEX_NOTUNER: case SAA7134_BOARD_BMK_MPEX_TUNER: /* Checks if the device has a tuner at 0x60 addr If the device doesn't have a tuner, TUNER_ABSENT will be used at tuner_type, avoiding loading tuner without needing it */ dev->i2c_client.addr = 0x60; board = (i2c_master_recv(&dev->i2c_client, &buf, 0) < 0) ? SAA7134_BOARD_BMK_MPEX_NOTUNER : SAA7134_BOARD_BMK_MPEX_TUNER; if (board == dev->board) break; dev->board = board; printk("%s: board type fixup: %s\n", dev->name, saa7134_boards[dev->board].name); dev->tuner_type = saa7134_boards[dev->board].tuner_type; break; case SAA7134_BOARD_MD7134: { u8 subaddr; u8 data[3]; int ret, tuner_t; struct i2c_msg msg[] = {{.addr=0x50, .flags=0, .buf=&subaddr, .len = 1}, {.addr=0x50, .flags=I2C_M_RD, .buf=data, .len = 3}}; subaddr= 0x14; tuner_t = 0; /* Retrieve device data from eeprom, checking for the proper tuner_type. */ ret = i2c_transfer(&dev->i2c_adap, msg, 2); if (ret != 2) { printk(KERN_ERR "EEPROM read failure\n"); } else if ((data[0] != 0) && (data[0] != 0xff)) { /* old config structure */ subaddr = data[0] + 2; msg[1].len = 2; i2c_transfer(&dev->i2c_adap, msg, 2); tuner_t = (data[0] << 8) + data[1]; switch (tuner_t){ case 0x0103: dev->tuner_type = TUNER_PHILIPS_PAL; break; case 0x010C: dev->tuner_type = TUNER_PHILIPS_FM1216ME_MK3; break; default: printk(KERN_ERR "%s Cant determine tuner type %x from EEPROM\n", dev->name, tuner_t); } } else if ((data[1] != 0) && (data[1] != 0xff)) { /* new config structure */ subaddr = data[1] + 1; msg[1].len = 1; i2c_transfer(&dev->i2c_adap, msg, 2); subaddr = data[0] + 1; msg[1].len = 2; i2c_transfer(&dev->i2c_adap, msg, 2); tuner_t = (data[1] << 8) + data[0]; switch (tuner_t) { case 0x0005: dev->tuner_type = TUNER_PHILIPS_FM1216ME_MK3; break; case 0x001d: dev->tuner_type = TUNER_PHILIPS_FMD1216ME_MK3; printk(KERN_INFO "%s Board has DVB-T\n", dev->name); break; default: printk(KERN_ERR "%s Cant determine tuner type %x from EEPROM\n", dev->name, tuner_t); } } else { printk(KERN_ERR "%s unexpected config structure\n", dev->name); } printk(KERN_INFO "%s Tuner type is %d\n", dev->name, dev->tuner_type); break; } case SAA7134_BOARD_PHILIPS_EUROPA: if (dev->autodetected && (dev->eedata[0x41] == 0x1c)) { /* Reconfigure board as Snake reference design */ dev->board = SAA7134_BOARD_PHILIPS_SNAKE; dev->tuner_type = saa7134_boards[dev->board].tuner_type; printk(KERN_INFO "%s: Reconfigured board as %s\n", dev->name, saa7134_boards[dev->board].name); break; } /* break intentionally omitted */ case SAA7134_BOARD_VIDEOMATE_DVBT_300: case SAA7134_BOARD_ASUS_EUROPA2_HYBRID: { /* The Philips EUROPA based hybrid boards have the tuner connected through the channel decoder. We have to make it transparent to find it */ u8 data[] = { 0x07, 0x02}; struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)}; i2c_transfer(&dev->i2c_adap, &msg, 1); break; } case SAA7134_BOARD_PHILIPS_TIGER: case SAA7134_BOARD_PHILIPS_TIGER_S: { u8 data[] = { 0x3c, 0x33, 0x60}; struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)}; if (dev->autodetected && (dev->eedata[0x49] == 0x50)) { dev->board = SAA7134_BOARD_PHILIPS_TIGER_S; printk(KERN_INFO "%s: Reconfigured board as %s\n", dev->name, saa7134_boards[dev->board].name); } if (dev->board == SAA7134_BOARD_PHILIPS_TIGER_S) { dev->tuner_type = TUNER_PHILIPS_TDA8290; data[2] = 0x68; i2c_transfer(&dev->i2c_adap, &msg, 1); break; } i2c_transfer(&dev->i2c_adap, &msg, 1); break; } case SAA7134_BOARD_ASUSTeK_TVFM7135: /* The card below is detected as card=53, but is different */ if (dev->autodetected && (dev->eedata[0x27] == 0x03)) { dev->board = SAA7134_BOARD_ASUSTeK_P7131_ANALOG; printk(KERN_INFO "%s: P7131 analog only, using " "entry of %s\n", dev->name, saa7134_boards[dev->board].name); } break; case SAA7134_BOARD_HAUPPAUGE_HVR1150: case SAA7134_BOARD_HAUPPAUGE_HVR1120: hauppauge_eeprom(dev, dev->eedata+0x80); break; case SAA7134_BOARD_HAUPPAUGE_HVR1110: hauppauge_eeprom(dev, dev->eedata+0x80); /* break intentionally omitted */ case SAA7134_BOARD_PINNACLE_PCTV_310i: case SAA7134_BOARD_KWORLD_DVBT_210: case SAA7134_BOARD_TEVION_DVBT_220RF: case SAA7134_BOARD_ASUSTeK_TIGER: case SAA7134_BOARD_ASUSTeK_P7131_DUAL: case SAA7134_BOARD_ASUSTeK_P7131_HYBRID_LNA: case SAA7134_BOARD_MEDION_MD8800_QUADRO: case SAA7134_BOARD_AVERMEDIA_SUPER_007: case SAA7134_BOARD_TWINHAN_DTV_DVB_3056: case SAA7134_BOARD_CREATIX_CTX953: { /* this is a hybrid board, initialize to analog mode * and configure firmware eeprom address */ u8 data[] = { 0x3c, 0x33, 0x60}; struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)}; i2c_transfer(&dev->i2c_adap, &msg, 1); break; } case SAA7134_BOARD_ASUSTeK_TIGER_3IN1: { u8 data[] = { 0x3c, 0x33, 0x60}; struct i2c_msg msg = {.addr = 0x0b, .flags = 0, .buf = data, .len = sizeof(data)}; i2c_transfer(&dev->i2c_adap, &msg, 1); break; } case SAA7134_BOARD_FLYDVB_TRIO: { u8 data[] = { 0x3c, 0x33, 0x62}; struct i2c_msg msg = {.addr=0x09, .flags=0, .buf=data, .len = sizeof(data)}; i2c_transfer(&dev->i2c_adap, &msg, 1); break; } case SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331: case SAA7134_BOARD_FLYDVBT_HYBRID_CARDBUS: { /* initialize analog mode */ u8 data[] = { 0x3c, 0x33, 0x6a}; struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)}; i2c_transfer(&dev->i2c_adap, &msg, 1); break; } case SAA7134_BOARD_CINERGY_HT_PCMCIA: case SAA7134_BOARD_CINERGY_HT_PCI: { /* initialize analog mode */ u8 data[] = { 0x3c, 0x33, 0x68}; struct i2c_msg msg = {.addr=0x08, .flags=0, .buf=data, .len = sizeof(data)}; i2c_transfer(&dev->i2c_adap, &msg, 1); break; } case SAA7134_BOARD_VIDEOMATE_DVBT_200: case SAA7134_BOARD_VIDEOMATE_DVBT_200A: /* The T200 and the T200A share the same pci id. Consequently, * we are going to query eeprom to try to find out which one we * are actually looking at. */ /* Don't do this if the board was specifically selected with an * insmod option or if we have the default configuration T200*/ if (!dev->autodetected || (dev->eedata[0x41] == 0xd0)) break; if (dev->eedata[0x41] == 0x02) { /* Reconfigure board as T200A */ dev->board = SAA7134_BOARD_VIDEOMATE_DVBT_200A; dev->tuner_type = saa7134_boards[dev->board].tuner_type; dev->tda9887_conf = saa7134_boards[dev->board].tda9887_conf; printk(KERN_INFO "%s: Reconfigured board as %s\n", dev->name, saa7134_boards[dev->board].name); } else { printk(KERN_WARNING "%s: Unexpected tuner type info: %x in eeprom\n", dev->name, dev->eedata[0x41]); break; } break; case SAA7134_BOARD_ADS_INSTANT_HDTV_PCI: case SAA7134_BOARD_KWORLD_ATSC110: { struct i2c_msg msg = { .addr = 0x0a, .flags = 0 }; int i; static u8 buffer[][2] = { { 0x10, 0x12 }, { 0x13, 0x04 }, { 0x16, 0x00 }, { 0x14, 0x04 }, { 0x17, 0x00 }, }; for (i = 0; i < ARRAY_SIZE(buffer); i++) { msg.buf = &buffer[i][0]; msg.len = ARRAY_SIZE(buffer[0]); if (i2c_transfer(&dev->i2c_adap, &msg, 1) != 1) printk(KERN_WARNING "%s: Unable to enable tuner(%i).\n", dev->name, i); } break; } } /* switch() */ /* initialize tuner */ if (TUNER_ABSENT != dev->tuner_type) { int has_demod = (dev->tda9887_conf & TDA9887_PRESENT); /* Note: radio tuner address is always filled in, so we do not need to probe for a radio tuner device. */ if (dev->radio_type != UNSET) v4l2_i2c_new_subdev(&dev->v4l2_dev, &dev->i2c_adap, "tuner", "tuner", dev->radio_addr); if (has_demod) v4l2_i2c_new_probed_subdev(&dev->v4l2_dev, &dev->i2c_adap, "tuner", "tuner", v4l2_i2c_tuner_addrs(ADDRS_DEMOD)); if (dev->tuner_addr == ADDR_UNSET) { enum v4l2_i2c_tuner_type type = has_demod ? ADDRS_TV_WITH_DEMOD : ADDRS_TV; v4l2_i2c_new_probed_subdev(&dev->v4l2_dev, &dev->i2c_adap, "tuner", "tuner", v4l2_i2c_tuner_addrs(type)); } else { v4l2_i2c_new_subdev(&dev->v4l2_dev, &dev->i2c_adap, "tuner", "tuner", dev->tuner_addr); } } saa7134_tuner_setup(dev); switch (dev->board) { case SAA7134_BOARD_BEHOLD_COLUMBUS_TVFM: case SAA7134_BOARD_AVERMEDIA_CARDBUS_501: { struct v4l2_priv_tun_config tea5767_cfg; struct tea5767_ctrl ctl; dev->i2c_client.addr = 0xC0; /* set TEA5767(analog FM) defines */ memset(&ctl, 0, sizeof(ctl)); ctl.xtal_freq = TEA5767_HIGH_LO_13MHz; tea5767_cfg.tuner = TUNER_TEA5767; tea5767_cfg.priv = &ctl; saa_call_all(dev, tuner, s_config, &tea5767_cfg); break; } } /* switch() */ return 0; }