2005-04-16 18:20:36 -04:00
|
|
|
/*
|
|
|
|
*
|
|
|
|
* device driver for philips saa7134 based TV cards
|
|
|
|
* card-specific stuff.
|
|
|
|
*
|
|
|
|
* (c) 2001-04 Gerd Knorr <kraxel@bytesex.org> [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 <linux/init.h>
|
|
|
|
#include <linux/module.h>
|
|
|
|
|
|
|
|
#include "saa7134-reg.h"
|
|
|
|
#include "saa7134.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_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 */
|
|
|
|
|
|
|
|
struct saa7134_board saa7134_boards[] = {
|
|
|
|
[SAA7134_BOARD_UNKNOWN] = {
|
|
|
|
.name = "UNKNOWN/GENERIC",
|
|
|
|
.audio_clock = 0x00187de7,
|
|
|
|
.tuner_type = TUNER_ABSENT,
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
|
|
|
|
2005-04-16 18:20:36 -04:00
|
|
|
.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,
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
|
|
|
|
2005-04-16 18:20:36 -04:00
|
|
|
.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" <md@Linux.IT> */
|
|
|
|
.name = "LifeView FlyVIDEO3000",
|
|
|
|
.audio_clock = 0x00200000,
|
|
|
|
.tuner_type = TUNER_PHILIPS_PAL,
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
|
|
|
|
2005-04-16 18:20:36 -04:00
|
|
|
.gpiomask = 0xe000,
|
|
|
|
.inputs = {{
|
|
|
|
.name = name_tv,
|
|
|
|
.vmux = 1,
|
|
|
|
.amux = TV,
|
|
|
|
.gpio = 0x8000,
|
|
|
|
.tv = 1,
|
2005-07-12 16:59:01 -04:00
|
|
|
},{
|
2005-04-16 18:20:36 -04:00
|
|
|
.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,
|
|
|
|
},
|
2005-07-12 16:59:01 -04:00
|
|
|
.mute = {
|
|
|
|
.name = name_mute,
|
|
|
|
.amux = TV,
|
|
|
|
.gpio = 0x8000,
|
|
|
|
},
|
2005-04-16 18:20:36 -04:00
|
|
|
},
|
|
|
|
[SAA7134_BOARD_FLYVIDEO2000] = {
|
|
|
|
/* "TC Wan" <tcwan@cs.usm.my> */
|
|
|
|
.name = "LifeView FlyVIDEO2000",
|
|
|
|
.audio_clock = 0x00200000,
|
|
|
|
.tuner_type = TUNER_LG_PAL_NEW_TAPC,
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
|
|
|
|
2005-04-16 18:20:36 -04:00
|
|
|
.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,
|
|
|
|
}},
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio = {
|
|
|
|
.name = name_radio,
|
|
|
|
.amux = LINE2,
|
2005-04-16 18:20:36 -04:00
|
|
|
.gpio = 0x2000,
|
2005-07-12 16:59:01 -04:00
|
|
|
},
|
2005-04-16 18:20:36 -04:00
|
|
|
.mute = {
|
|
|
|
.name = name_mute,
|
2005-07-12 16:59:01 -04:00
|
|
|
.amux = LINE2,
|
2005-04-16 18:20:36 -04:00
|
|
|
.gpio = 0x8000,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
[SAA7134_BOARD_FLYTVPLATINUM_MINI] = {
|
|
|
|
/* "Arnaud Quette" <aquette@free.fr> */
|
|
|
|
.name = "LifeView FlyTV Platinum Mini",
|
|
|
|
.audio_clock = 0x00200000,
|
|
|
|
.tuner_type = TUNER_PHILIPS_TDA8290,
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
|
|
|
|
2005-04-16 18:20:36 -04:00
|
|
|
.inputs = {{
|
|
|
|
.name = name_tv,
|
|
|
|
.vmux = 1,
|
2005-06-24 01:05:09 -04:00
|
|
|
.amux = TV,
|
2005-04-16 18:20:36 -04:00
|
|
|
.tv = 1,
|
|
|
|
},{
|
|
|
|
.name = name_comp1,
|
|
|
|
.vmux = 0,
|
|
|
|
.amux = LINE2,
|
|
|
|
},{
|
|
|
|
.name = name_svideo,
|
|
|
|
.vmux = 8,
|
|
|
|
.amux = LINE2,
|
|
|
|
}},
|
|
|
|
},
|
|
|
|
[SAA7134_BOARD_FLYTVPLATINUM_FM] = {
|
|
|
|
/* LifeView FlyTV Platinum FM (LR214WF) */
|
|
|
|
/* "Peter Missel <peter.missel@onlinehome.de> */
|
|
|
|
.name = "LifeView FlyTV Platinum FM",
|
|
|
|
.audio_clock = 0x00200000,
|
|
|
|
.tuner_type = TUNER_PHILIPS_TDA8290,
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
|
|
|
|
2005-05-01 11:59:05 -04:00
|
|
|
.gpiomask = 0x1E000, /* Set GP16 and unused 15,14,13 to Output */
|
2005-04-16 18:20:36 -04:00
|
|
|
.inputs = {{
|
|
|
|
.name = name_tv,
|
|
|
|
.vmux = 1,
|
|
|
|
.amux = TV,
|
2005-05-01 11:59:05 -04:00
|
|
|
.gpio = 0x10000, /* GP16=1 selects TV input */
|
2005-04-16 18:20:36 -04:00
|
|
|
.tv = 1,
|
2005-07-12 16:59:01 -04:00
|
|
|
},{
|
2005-04-16 18:20:36 -04:00
|
|
|
/* .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,
|
2005-07-12 16:59:01 -04:00
|
|
|
/* .gpio = 0x4000, */
|
2005-04-16 18:20:36 -04:00
|
|
|
},{
|
|
|
|
.name = name_comp2, /* Composite input */
|
|
|
|
.vmux = 3,
|
|
|
|
.amux = LINE2,
|
2005-07-12 16:59:01 -04:00
|
|
|
/* .gpio = 0x4000, */
|
2005-04-16 18:20:36 -04:00
|
|
|
},{
|
|
|
|
.name = name_svideo, /* S-Video signal on S-Video input */
|
|
|
|
.vmux = 8,
|
|
|
|
.amux = LINE2,
|
2005-07-12 16:59:01 -04:00
|
|
|
/* .gpio = 0x4000, */
|
2005-04-16 18:20:36 -04:00
|
|
|
}},
|
2005-05-01 11:59:05 -04:00
|
|
|
.radio = {
|
2005-04-16 18:20:36 -04:00
|
|
|
.name = name_radio,
|
2005-05-01 11:59:05 -04:00
|
|
|
.amux = TV,
|
|
|
|
.gpio = 0x00000, /* GP16=0 selects FM radio antenna */
|
2005-04-16 18:20:36 -04:00
|
|
|
},
|
2005-07-12 16:59:01 -04:00
|
|
|
.mute = {
|
|
|
|
.name = name_mute,
|
|
|
|
.amux = TV,
|
|
|
|
.gpio = 0x10000,
|
|
|
|
},
|
2005-05-01 11:59:05 -04:00
|
|
|
},
|
2005-04-16 18:20:36 -04:00
|
|
|
[SAA7134_BOARD_EMPRESS] = {
|
|
|
|
/* "Gert Vervoort" <gert.vervoort@philips.com> */
|
|
|
|
.name = "EMPRESS",
|
|
|
|
.audio_clock = 0x00187de7,
|
|
|
|
.tuner_type = TUNER_PHILIPS_PAL,
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
|
|
|
|
2005-04-16 18:20:36 -04:00
|
|
|
.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] = {
|
2005-07-12 16:59:01 -04:00
|
|
|
/* "K.Ohta" <alpha292@bremen.or.jp> */
|
|
|
|
.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,
|
|
|
|
},
|
2005-04-16 18:20:36 -04:00
|
|
|
},
|
|
|
|
[SAA7134_BOARD_MD9717] = {
|
|
|
|
.name = "Tevion MD 9717",
|
|
|
|
.audio_clock = 0x00200000,
|
|
|
|
.tuner_type = TUNER_PHILIPS_PAL,
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
2005-04-16 18:20:36 -04:00
|
|
|
.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 = 2,
|
|
|
|
.amux = LINE1,
|
|
|
|
},{
|
|
|
|
.name = name_comp2,
|
|
|
|
.vmux = 3,
|
|
|
|
.amux = LINE1,
|
|
|
|
},{
|
|
|
|
.name = name_svideo,
|
|
|
|
.vmux = 8,
|
|
|
|
.amux = LINE1,
|
|
|
|
}},
|
|
|
|
.radio = {
|
|
|
|
.name = name_radio,
|
|
|
|
.amux = LINE2,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
[SAA7134_BOARD_TVSTATION_RDS] = {
|
2005-07-12 16:59:01 -04:00
|
|
|
/* Typhoon TV Tuner RDS: Art.Nr. 50694 */
|
2005-04-16 18:20:36 -04:00
|
|
|
.name = "KNC One TV-Station RDS / Typhoon TV Tuner RDS",
|
|
|
|
.audio_clock = 0x00200000,
|
|
|
|
.tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
2005-04-16 18:20:36 -04:00
|
|
|
.tda9887_conf = TDA9887_PRESENT,
|
|
|
|
.inputs = {{
|
|
|
|
.name = name_tv,
|
|
|
|
.vmux = 1,
|
|
|
|
.amux = TV,
|
|
|
|
.tv = 1,
|
|
|
|
},{
|
|
|
|
.name = name_tv_mono,
|
2005-07-12 16:59:01 -04:00
|
|
|
.vmux = 1,
|
|
|
|
.amux = LINE2,
|
|
|
|
.tv = 1,
|
|
|
|
},{
|
2005-04-16 18:20:36 -04:00
|
|
|
|
|
|
|
.name = name_svideo,
|
|
|
|
.vmux = 8,
|
|
|
|
.amux = LINE1,
|
|
|
|
},{
|
|
|
|
.name = name_comp1,
|
|
|
|
.vmux = 3,
|
|
|
|
.amux = LINE1,
|
|
|
|
},{
|
|
|
|
|
2005-07-12 16:59:01 -04:00
|
|
|
.name = "CVid over SVid",
|
|
|
|
.vmux = 0,
|
|
|
|
.amux = LINE1,
|
|
|
|
}},
|
2005-04-16 18:20:36 -04:00
|
|
|
.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,
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
2005-04-16 18:20:36 -04:00
|
|
|
.tda9887_conf = TDA9887_PRESENT,
|
|
|
|
.gpiomask = 0x820000,
|
|
|
|
.inputs = {{
|
|
|
|
.name = name_tv,
|
|
|
|
.vmux = 1,
|
|
|
|
.amux = LINE2,
|
|
|
|
.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] = {
|
2005-07-12 16:59:01 -04:00
|
|
|
.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,
|
|
|
|
}}
|
|
|
|
},
|
2005-04-16 18:20:36 -04:00
|
|
|
[SAA7134_BOARD_MD5044] = {
|
|
|
|
.name = "Medion 5044",
|
2005-07-12 16:59:01 -04:00
|
|
|
.audio_clock = 0x00187de7, /* was: 0x00200000, */
|
2005-04-16 18:20:36 -04:00
|
|
|
.tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
2005-04-16 18:20:36 -04:00
|
|
|
.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] = {
|
2005-07-12 16:59:01 -04:00
|
|
|
.name = "Kworld/KuroutoShikou SAA7130-TVPCI",
|
2005-04-16 18:20:36 -04:00
|
|
|
.audio_clock = 0x00187de7,
|
|
|
|
.tuner_type = TUNER_PHILIPS_NTSC_M,
|
2005-07-12 16:59:01 -04:00
|
|
|
.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,
|
|
|
|
}},
|
|
|
|
},
|
2005-04-16 18:20:36 -04:00
|
|
|
[SAA7134_BOARD_CINERGY600] = {
|
2005-07-12 16:59:01 -04:00
|
|
|
.name = "Terratec Cinergy 600 TV",
|
|
|
|
.audio_clock = 0x00200000,
|
|
|
|
.tuner_type = TUNER_PHILIPS_PAL,
|
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
2005-04-16 18:20:36 -04:00
|
|
|
.tda9887_conf = TDA9887_PRESENT,
|
2005-07-12 16:59:01 -04:00
|
|
|
.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,
|
|
|
|
}},
|
2005-04-16 18:20:36 -04:00
|
|
|
.radio = {
|
|
|
|
.name = name_radio,
|
|
|
|
.amux = LINE2,
|
2005-07-12 16:59:01 -04:00
|
|
|
},
|
|
|
|
},
|
2005-04-16 18:20:36 -04:00
|
|
|
[SAA7134_BOARD_MD7134] = {
|
|
|
|
.name = "Medion 7134",
|
|
|
|
.audio_clock = 0x00187de7,
|
2005-07-12 16:59:01 -04:00
|
|
|
.tuner_type = TUNER_PHILIPS_FMD1216ME_MK3,
|
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
2005-04-16 18:20:36 -04:00
|
|
|
.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,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
[SAA7134_BOARD_TYPHOON_90031] = {
|
|
|
|
/* aka Typhoon "TV+Radio", Art.Nr 90031 */
|
|
|
|
/* Tom Zoerner <tomzo at users sourceforge net> */
|
|
|
|
.name = "Typhoon TV+Radio 90031",
|
|
|
|
.audio_clock = 0x00200000,
|
|
|
|
.tuner_type = TUNER_PHILIPS_PAL,
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
2005-04-16 18:20:36 -04:00
|
|
|
.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,
|
|
|
|
},
|
2005-07-12 16:59:01 -04:00
|
|
|
},
|
2005-04-16 18:20:36 -04:00
|
|
|
[SAA7134_BOARD_ELSA] = {
|
|
|
|
.name = "ELSA EX-VISION 300TV",
|
|
|
|
.audio_clock = 0x00187de7,
|
|
|
|
.tuner_type = TUNER_HITACHI_NTSC,
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
2005-04-16 18:20:36 -04:00
|
|
|
.inputs = {{
|
|
|
|
.name = name_svideo,
|
|
|
|
.vmux = 8,
|
|
|
|
.amux = LINE1,
|
|
|
|
},{
|
|
|
|
.name = name_comp1,
|
|
|
|
.vmux = 0,
|
|
|
|
.amux = LINE1,
|
|
|
|
},{
|
|
|
|
.name = name_tv,
|
|
|
|
.vmux = 4,
|
|
|
|
.amux = LINE2,
|
|
|
|
.tv = 1,
|
|
|
|
}},
|
2005-07-12 16:59:01 -04:00
|
|
|
},
|
2005-04-16 18:20:36 -04:00
|
|
|
[SAA7134_BOARD_ELSA_500TV] = {
|
|
|
|
.name = "ELSA EX-VISION 500TV",
|
|
|
|
.audio_clock = 0x00187de7,
|
|
|
|
.tuner_type = TUNER_HITACHI_NTSC,
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
2005-04-16 18:20:36 -04:00
|
|
|
.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,
|
|
|
|
}},
|
2005-07-12 16:59:01 -04:00
|
|
|
},
|
2005-04-16 18:20:36 -04:00
|
|
|
[SAA7134_BOARD_ASUSTeK_TVFM7134] = {
|
2005-07-12 16:59:01 -04:00
|
|
|
.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,
|
2005-04-16 18:20:36 -04:00
|
|
|
.gpiomask = 0x200000,
|
2005-07-12 16:59:01 -04:00
|
|
|
.inputs = {{
|
|
|
|
.name = name_tv,
|
|
|
|
.vmux = 1,
|
|
|
|
.amux = TV,
|
2005-04-16 18:20:36 -04:00
|
|
|
.gpio = 0x0000,
|
2005-07-12 16:59:01 -04:00
|
|
|
.tv = 1,
|
|
|
|
},{
|
|
|
|
.name = name_comp1,
|
|
|
|
.vmux = 4,
|
|
|
|
.amux = LINE2,
|
2005-04-16 18:20:36 -04:00
|
|
|
.gpio = 0x0000,
|
2005-07-12 16:59:01 -04:00
|
|
|
},{
|
|
|
|
.name = name_svideo,
|
|
|
|
.vmux = 6,
|
|
|
|
.amux = LINE2,
|
2005-04-16 18:20:36 -04:00
|
|
|
.gpio = 0x0000,
|
2005-07-12 16:59:01 -04:00
|
|
|
}},
|
|
|
|
.radio = {
|
|
|
|
.name = name_radio,
|
|
|
|
.amux = TV,
|
2005-04-16 18:20:36 -04:00
|
|
|
.gpio = 0x200000,
|
2005-07-12 16:59:01 -04:00
|
|
|
},
|
|
|
|
.mute = {
|
|
|
|
.name = name_mute,
|
|
|
|
.gpio = 0x0000,
|
|
|
|
},
|
|
|
|
|
2005-04-16 18:20:36 -04:00
|
|
|
},
|
|
|
|
[SAA7134_BOARD_VA1000POWER] = {
|
2005-07-12 16:59:01 -04:00
|
|
|
.name = "AOPEN VA1000 POWER",
|
2005-04-16 18:20:36 -04:00
|
|
|
.audio_clock = 0x00187de7,
|
|
|
|
.tuner_type = TUNER_PHILIPS_NTSC,
|
2005-07-12 16:59:01 -04:00
|
|
|
.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,
|
|
|
|
}},
|
2005-04-16 18:20:36 -04:00
|
|
|
},
|
|
|
|
[SAA7134_BOARD_10MOONSTVMASTER] = {
|
|
|
|
/* "lilicheng" <llc@linuxfans.org> */
|
|
|
|
.name = "10MOONS PCI TV CAPTURE CARD",
|
|
|
|
.audio_clock = 0x00200000,
|
|
|
|
.tuner_type = TUNER_LG_PAL_NEW_TAPC,
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
2005-04-16 18:20:36 -04:00
|
|
|
.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,
|
|
|
|
}},
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio = {
|
|
|
|
.name = name_radio,
|
|
|
|
.amux = LINE2,
|
2005-04-16 18:20:36 -04:00
|
|
|
.gpio = 0x2000,
|
2005-07-12 16:59:01 -04:00
|
|
|
},
|
2005-04-16 18:20:36 -04:00
|
|
|
.mute = {
|
|
|
|
.name = name_mute,
|
2005-07-12 16:59:01 -04:00
|
|
|
.amux = LINE2,
|
2005-04-16 18:20:36 -04:00
|
|
|
.gpio = 0x8000,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
[SAA7134_BOARD_BMK_MPEX_NOTUNER] = {
|
|
|
|
/* "Andrew de Quincey" <adq@lidskialf.net> */
|
|
|
|
.name = "BMK MPEX No Tuner",
|
|
|
|
.audio_clock = 0x200000,
|
|
|
|
.tuner_type = TUNER_ABSENT,
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
2005-04-16 18:20:36 -04:00
|
|
|
.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,
|
2005-07-12 16:59:01 -04:00
|
|
|
.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] = {
|
2005-04-16 18:20:36 -04:00
|
|
|
.name = "Compro VideoMate TV Gold+",
|
|
|
|
.audio_clock = 0x00187de7,
|
|
|
|
.tuner_type = TUNER_PHILIPS_NTSC_M,
|
|
|
|
.gpiomask = 0x800c0000,
|
2005-07-12 16:59:01 -04:00
|
|
|
.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 */
|
|
|
|
},
|
2005-04-16 18:20:36 -04:00
|
|
|
[SAA7134_BOARD_CRONOS_PLUS] = {
|
2005-07-12 16:59:01 -04:00
|
|
|
/*
|
|
|
|
gpio pins:
|
|
|
|
0 .. 3 BASE_ID
|
|
|
|
4 .. 7 PROTECT_ID
|
|
|
|
8 .. 11 USER_OUT
|
|
|
|
12 .. 13 USER_IN
|
|
|
|
14 .. 15 VIDIN_SEL
|
|
|
|
*/
|
2005-04-16 18:20:36 -04:00
|
|
|
.name = "Matrox CronosPlus",
|
|
|
|
.tuner_type = TUNER_ABSENT,
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
2005-04-16 18:20:36 -04:00
|
|
|
.gpiomask = 0xcf00,
|
2005-07-12 16:59:01 -04:00
|
|
|
.inputs = {{
|
|
|
|
.name = name_comp1,
|
|
|
|
.vmux = 0,
|
2005-04-16 18:20:36 -04:00
|
|
|
.gpio = 2 << 14,
|
|
|
|
},{
|
2005-07-12 16:59:01 -04:00
|
|
|
.name = name_comp2,
|
|
|
|
.vmux = 0,
|
2005-04-16 18:20:36 -04:00
|
|
|
.gpio = 1 << 14,
|
|
|
|
},{
|
2005-07-12 16:59:01 -04:00
|
|
|
.name = name_comp3,
|
|
|
|
.vmux = 0,
|
2005-04-16 18:20:36 -04:00
|
|
|
.gpio = 0 << 14,
|
|
|
|
},{
|
2005-07-12 16:59:01 -04:00
|
|
|
.name = name_comp4,
|
|
|
|
.vmux = 0,
|
2005-04-16 18:20:36 -04:00
|
|
|
.gpio = 3 << 14,
|
|
|
|
},{
|
|
|
|
.name = name_svideo,
|
|
|
|
.vmux = 8,
|
|
|
|
.gpio = 2 << 14,
|
2005-07-12 16:59:01 -04:00
|
|
|
}},
|
|
|
|
},
|
2005-04-16 18:20:36 -04:00
|
|
|
[SAA7134_BOARD_MD2819] = {
|
|
|
|
.name = "AverMedia M156 / Medion 2819",
|
|
|
|
.audio_clock = 0x00187de7,
|
|
|
|
.tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
2005-04-16 18:20:36 -04:00
|
|
|
.tda9887_conf = TDA9887_PRESENT,
|
|
|
|
.inputs = {{
|
|
|
|
.name = name_tv,
|
|
|
|
.vmux = 1,
|
|
|
|
.amux = TV,
|
|
|
|
.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_BMK_MPEX_TUNER] = {
|
|
|
|
/* "Greg Wickham <greg.wickham@grangenet.net> */
|
|
|
|
.name = "BMK MPEX Tuner",
|
|
|
|
.audio_clock = 0x200000,
|
|
|
|
.tuner_type = TUNER_PHILIPS_PAL,
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
2005-04-16 18:20:36 -04:00
|
|
|
.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,
|
2005-07-12 16:59:01 -04:00
|
|
|
},
|
|
|
|
[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,
|
2005-04-16 18:20:36 -04:00
|
|
|
.inputs = {{
|
2005-07-12 16:59:01 -04:00
|
|
|
.name = name_tv,
|
|
|
|
.vmux = 1,
|
|
|
|
.amux = TV,
|
|
|
|
.tv = 1,
|
|
|
|
|
2005-04-16 18:20:36 -04:00
|
|
|
},{
|
2005-07-12 16:59:01 -04:00
|
|
|
.name = name_comp1,
|
|
|
|
.vmux = 4,
|
|
|
|
.amux = LINE2,
|
2005-04-16 18:20:36 -04:00
|
|
|
},{
|
2005-07-12 16:59:01 -04:00
|
|
|
.name = name_svideo,
|
|
|
|
.vmux = 6,
|
2005-04-16 18:20:36 -04:00
|
|
|
.amux = LINE2,
|
|
|
|
}},
|
|
|
|
.radio = {
|
|
|
|
.name = name_radio,
|
2005-07-12 16:59:01 -04:00
|
|
|
.amux = LINE1,
|
2005-04-16 18:20:36 -04:00
|
|
|
},
|
|
|
|
},
|
2005-07-12 16:59:01 -04:00
|
|
|
[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,
|
2005-04-16 18:20:36 -04:00
|
|
|
.inputs = {{
|
2005-07-12 16:59:01 -04:00
|
|
|
.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 <ognjen@logosoft.ba> */
|
|
|
|
.name = "Manli MuchTV M-TV002/Behold TV 403 FM",
|
|
|
|
.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 <ognjen@logosoft.ba> UNTESTED */
|
|
|
|
.name = "Manli MuchTV M-TV001/Behold TV 401",
|
|
|
|
.audio_clock = 0x00200000,
|
|
|
|
.tuner_type = TUNER_PHILIPS_PAL,
|
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
|
|
|
.inputs = {{
|
|
|
|
.name = name_svideo,
|
2005-04-16 18:20:36 -04:00
|
|
|
.vmux = 8,
|
|
|
|
.amux = LINE1,
|
|
|
|
},{
|
|
|
|
.name = name_comp1,
|
|
|
|
.vmux = 1,
|
|
|
|
.amux = LINE1,
|
|
|
|
},{
|
|
|
|
.name = name_tv,
|
|
|
|
.vmux = 3,
|
|
|
|
.amux = LINE2,
|
|
|
|
.tv = 1,
|
|
|
|
}},
|
2005-06-24 01:05:09 -04:00
|
|
|
.mute = {
|
|
|
|
.name = name_mute,
|
2005-07-12 16:59:01 -04:00
|
|
|
.amux = LINE1,
|
2005-06-24 01:05:09 -04:00
|
|
|
},
|
2005-07-12 16:59:01 -04:00
|
|
|
},
|
2005-04-16 18:20:36 -04:00
|
|
|
[SAA7134_BOARD_TG3000TV] = {
|
|
|
|
/* TransGear 3000TV */
|
|
|
|
.name = "Nagase Sangyo TransGear 3000TV",
|
|
|
|
.audio_clock = 0x00187de7,
|
|
|
|
.tuner_type = TUNER_PHILIPS_NTSC_M,
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
2005-04-16 18:20:36 -04:00
|
|
|
.inputs = {{
|
|
|
|
.name = name_tv,
|
|
|
|
.vmux = 1,
|
|
|
|
.amux = LINE2,
|
|
|
|
.tv = 1,
|
|
|
|
},{
|
|
|
|
.name = name_comp1,
|
|
|
|
.vmux = 3,
|
|
|
|
.amux = LINE2,
|
|
|
|
},{
|
|
|
|
.name = name_svideo,
|
|
|
|
.vmux = 8,
|
|
|
|
.amux = LINE2,
|
|
|
|
}},
|
|
|
|
},
|
2005-07-12 16:59:01 -04:00
|
|
|
[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,
|
2005-04-16 18:20:36 -04:00
|
|
|
},{
|
|
|
|
.name = "CVid over SVid",
|
|
|
|
.vmux = 0,
|
|
|
|
.amux = LINE1,
|
|
|
|
}},
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio = {
|
|
|
|
.name = name_radio,
|
|
|
|
.amux = LINE2,
|
|
|
|
},
|
|
|
|
},
|
2005-04-16 18:20:36 -04:00
|
|
|
[SAA7134_BOARD_AVACSSMARTTV] = {
|
|
|
|
/* Roman Pszonczenko <romka@kolos.math.uni.lodz.pl> */
|
|
|
|
.name = "AVACS SmartTV",
|
|
|
|
.audio_clock = 0x00187de7,
|
|
|
|
.tuner_type = TUNER_PHILIPS_PAL,
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
2005-04-16 18:20:36 -04:00
|
|
|
.inputs = {{
|
|
|
|
.name = name_tv,
|
|
|
|
.vmux = 1,
|
|
|
|
.amux = TV,
|
|
|
|
.tv = 1,
|
2005-07-12 16:59:01 -04:00
|
|
|
},{
|
2005-04-16 18:20:36 -04:00
|
|
|
.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 <msmith@cbnco.com> */
|
|
|
|
.name = "AVerMedia DVD EZMaker",
|
|
|
|
.audio_clock = 0x00187de7,
|
|
|
|
.tuner_type = TUNER_ABSENT,
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
2005-04-16 18:20:36 -04:00
|
|
|
.inputs = {{
|
|
|
|
.name = name_comp1,
|
|
|
|
.vmux = 3,
|
|
|
|
},{
|
|
|
|
.name = name_svideo,
|
|
|
|
.vmux = 8,
|
|
|
|
}},
|
|
|
|
},
|
2005-07-12 16:59:01 -04:00
|
|
|
[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,
|
|
|
|
}},
|
|
|
|
},
|
2005-04-16 18:20:36 -04:00
|
|
|
[SAA7134_BOARD_AVERMEDIA_STUDIO_305] = {
|
|
|
|
.name = "AverMedia AverTV Studio 305",
|
|
|
|
.audio_clock = 0x00187de7,
|
|
|
|
.tuner_type = TUNER_PHILIPS_FM1256_IH3,
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
2005-04-16 18:20:36 -04:00
|
|
|
.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 = {
|
2005-07-12 16:59:01 -04:00
|
|
|
.name = name_radio,
|
|
|
|
.amux = LINE2,
|
|
|
|
},
|
2005-04-16 18:20:36 -04:00
|
|
|
.mute = {
|
2005-07-12 16:59:01 -04:00
|
|
|
.name = name_mute,
|
|
|
|
.amux = LINE1,
|
2005-04-16 18:20:36 -04:00
|
|
|
},
|
|
|
|
},
|
2005-07-12 16:59:01 -04:00
|
|
|
[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,
|
|
|
|
}},
|
2005-04-16 18:20:36 -04:00
|
|
|
},
|
|
|
|
[SAA7134_BOARD_ITEMS_MTV005] = {
|
|
|
|
/* Norman Jonas <normanjonas@arcor.de> */
|
|
|
|
.name = "Items MuchTV Plus / IT-005",
|
|
|
|
.audio_clock = 0x00187de7,
|
|
|
|
.tuner_type = TUNER_PHILIPS_PAL,
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
2005-04-16 18:20:36 -04:00
|
|
|
.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,
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
2005-04-16 18:20:36 -04:00
|
|
|
.inputs = {{
|
2005-07-12 16:59:01 -04:00
|
|
|
.name = name_tv,
|
2005-04-16 18:20:36 -04:00
|
|
|
.vmux = 1,
|
|
|
|
.amux = LINE2,
|
|
|
|
.tv = 1,
|
2005-07-12 16:59:01 -04:00
|
|
|
},{
|
|
|
|
.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,
|
2005-04-16 18:20:36 -04:00
|
|
|
}},
|
|
|
|
.mute = {
|
2005-07-12 16:59:01 -04:00
|
|
|
.name = name_mute,
|
|
|
|
.amux = LINE2,
|
2005-04-16 18:20:36 -04:00
|
|
|
},
|
|
|
|
},
|
|
|
|
[SAA7134_BOARD_VIDEOMATE_TV_PVR] = {
|
|
|
|
/* Alain St-Denis <alain@topaze.homeip.net> */
|
|
|
|
.name = "Compro VideoMate TV PVR/FM",
|
|
|
|
.audio_clock = 0x00187de7,
|
|
|
|
.tuner_type = TUNER_PHILIPS_NTSC_M,
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
2005-04-16 18:20:36 -04:00
|
|
|
.gpiomask = 0x808c0080,
|
2005-07-12 16:59:01 -04:00
|
|
|
.inputs = {{
|
|
|
|
.name = name_svideo,
|
|
|
|
.vmux = 8,
|
|
|
|
.amux = LINE1,
|
2005-04-16 18:20:36 -04:00
|
|
|
.gpio = 0x00080,
|
2005-07-12 16:59:01 -04:00
|
|
|
},{
|
|
|
|
.name = name_comp1,
|
|
|
|
.vmux = 3,
|
|
|
|
.amux = LINE1,
|
2005-04-16 18:20:36 -04:00
|
|
|
.gpio = 0x00080,
|
2005-07-12 16:59:01 -04:00
|
|
|
},{
|
|
|
|
.name = name_tv,
|
|
|
|
.vmux = 1,
|
|
|
|
.amux = LINE2_LEFT,
|
|
|
|
.tv = 1,
|
2005-04-16 18:20:36 -04:00
|
|
|
.gpio = 0x00080,
|
2005-07-12 16:59:01 -04:00
|
|
|
}},
|
2005-04-16 18:20:36 -04:00
|
|
|
.radio = {
|
|
|
|
.name = name_radio,
|
|
|
|
.amux = LINE2,
|
|
|
|
.gpio = 0x80000,
|
2005-07-12 16:59:01 -04:00
|
|
|
},
|
2005-04-16 18:20:36 -04:00
|
|
|
.mute = {
|
|
|
|
.name = name_mute,
|
2005-07-12 16:59:01 -04:00
|
|
|
.amux = LINE2,
|
2005-04-16 18:20:36 -04:00
|
|
|
.gpio = 0x40000,
|
|
|
|
},
|
2005-07-12 16:59:01 -04:00
|
|
|
},
|
|
|
|
[SAA7134_BOARD_SABRENT_SBTTVFM] = {
|
2005-04-16 18:20:36 -04:00
|
|
|
/* Michael Rodriguez-Torrent <mrtorrent@asu.edu> */
|
2005-07-12 16:59:01 -04:00
|
|
|
.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 = {{
|
2005-04-16 18:20:36 -04:00
|
|
|
.name = name_comp1,
|
|
|
|
.vmux = 1,
|
2005-09-09 16:03:57 -04:00
|
|
|
.amux = LINE1,
|
2005-04-16 18:20:36 -04:00
|
|
|
},{
|
2005-07-12 16:59:01 -04:00
|
|
|
.name = name_tv,
|
|
|
|
.vmux = 3,
|
|
|
|
.amux = LINE2,
|
|
|
|
.tv = 1,
|
|
|
|
},{
|
|
|
|
.name = name_svideo,
|
|
|
|
.vmux = 8,
|
2005-09-09 16:03:57 -04:00
|
|
|
.amux = LINE1,
|
2005-07-12 16:59:01 -04:00
|
|
|
}},
|
|
|
|
.radio = {
|
|
|
|
.name = name_radio,
|
|
|
|
.amux = LINE2,
|
|
|
|
},
|
|
|
|
},
|
2005-04-16 18:20:36 -04:00
|
|
|
[SAA7134_BOARD_ZOLID_XPERT_TV7134] = {
|
|
|
|
/* Helge Jensen <helge.jensen@slog.dk> */
|
2005-07-12 16:59:01 -04:00
|
|
|
.name = ":Zolid Xpert TV7134",
|
2005-04-16 18:20:36 -04:00
|
|
|
.audio_clock = 0x00187de7,
|
|
|
|
.tuner_type = TUNER_PHILIPS_NTSC,
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
|
|
|
.inputs = {{
|
2005-04-16 18:20:36 -04:00
|
|
|
.name = name_svideo,
|
2005-07-12 16:59:01 -04:00
|
|
|
.vmux = 8,
|
|
|
|
.amux = LINE1,
|
|
|
|
},{
|
|
|
|
.name = name_comp1,
|
|
|
|
.vmux = 3,
|
|
|
|
.amux = LINE1,
|
|
|
|
},{
|
|
|
|
.name = name_tv,
|
|
|
|
.vmux = 1,
|
|
|
|
.amux = LINE2,
|
|
|
|
.tv = 1,
|
|
|
|
}},
|
2005-04-16 18:20:36 -04:00
|
|
|
},
|
|
|
|
[SAA7134_BOARD_EMPIRE_PCI_TV_RADIO_LE] = {
|
|
|
|
/* "Matteo Az" <matte.az@nospam.libero.it> ;-) */
|
|
|
|
.name = "Empire PCI TV-Radio LE",
|
|
|
|
.audio_clock = 0x00187de7,
|
|
|
|
.tuner_type = TUNER_PHILIPS_PAL,
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
2005-04-16 18:20:36 -04:00
|
|
|
.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,
|
|
|
|
}},
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio = {
|
|
|
|
.name = name_radio,
|
|
|
|
.amux = LINE1,
|
|
|
|
.gpio = 0x8000,
|
|
|
|
},
|
2005-04-16 18:20:36 -04:00
|
|
|
.mute = {
|
2005-07-12 16:59:01 -04:00
|
|
|
.name = name_mute,
|
|
|
|
.amux = TV,
|
|
|
|
.gpio =0x8000,
|
|
|
|
}
|
2005-04-16 18:20:36 -04:00
|
|
|
},
|
2005-07-12 16:59:01 -04:00
|
|
|
[SAA7134_BOARD_AVERMEDIA_STUDIO_307] = {
|
2005-04-16 18:20:36 -04:00
|
|
|
/*
|
|
|
|
Nickolay V. Shmyrev <nshmyrev@yandex.ru>
|
|
|
|
Lots of thanks to Andrey Zolotarev <zolotarev_andrey@mail.ru>
|
|
|
|
*/
|
|
|
|
.name = "Avermedia AVerTV Studio 307",
|
|
|
|
.audio_clock = 0x00187de7,
|
|
|
|
.tuner_type = TUNER_PHILIPS_FM1256_IH3,
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
2005-04-16 18:20:36 -04:00
|
|
|
.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 = LINE1,
|
|
|
|
.gpio = 0x01,
|
|
|
|
},
|
2005-07-12 16:59:01 -04:00
|
|
|
.mute = {
|
|
|
|
.name = name_mute,
|
|
|
|
.amux = LINE1,
|
|
|
|
.gpio = 0x00,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
[SAA7134_BOARD_AVERMEDIA_GO_007_FM] = {
|
2005-06-24 01:05:09 -04:00
|
|
|
.name = "Avermedia AVerTV GO 007 FM",
|
|
|
|
.audio_clock = 0x00187de7,
|
|
|
|
.tuner_type = TUNER_PHILIPS_TDA8290,
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
2005-06-24 01:05:09 -04:00
|
|
|
.gpiomask = 0x00300003,
|
2005-07-12 16:59:01 -04:00
|
|
|
/* .gpiomask = 0x8c240003, */
|
2005-06-24 01:05:09 -04:00
|
|
|
.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 = 0x00300001,
|
|
|
|
},
|
2005-07-12 16:59:01 -04:00
|
|
|
.mute = {
|
|
|
|
.name = name_mute,
|
|
|
|
.amux = TV,
|
|
|
|
.gpio = 0x01,
|
|
|
|
},
|
|
|
|
},
|
2005-04-16 18:20:36 -04:00
|
|
|
[SAA7134_BOARD_AVERMEDIA_CARDBUS] = {
|
2005-07-12 16:59:01 -04:00
|
|
|
/* 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,
|
2005-04-16 18:20:36 -04:00
|
|
|
.inputs = {{
|
|
|
|
.name = name_tv,
|
|
|
|
.vmux = 1,
|
2005-07-12 16:59:01 -04:00
|
|
|
.amux = TV,
|
2005-04-16 18:20:36 -04:00
|
|
|
.tv = 1,
|
|
|
|
},{
|
|
|
|
.name = name_comp1,
|
|
|
|
.vmux = 3,
|
|
|
|
.amux = LINE2,
|
|
|
|
},{
|
|
|
|
.name = name_svideo,
|
|
|
|
.vmux = 8,
|
2005-07-12 16:59:01 -04:00
|
|
|
.amux = LINE1,
|
2005-04-16 18:20:36 -04:00
|
|
|
}},
|
|
|
|
.radio = {
|
2005-07-12 16:59:01 -04:00
|
|
|
.name = name_radio,
|
2005-04-16 18:20:36 -04:00
|
|
|
.amux = LINE1,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
[SAA7134_BOARD_CINERGY400_CARDBUS] = {
|
|
|
|
.name = "Terratec Cinergy 400 mobile",
|
|
|
|
.audio_clock = 0x187de7,
|
|
|
|
.tuner_type = TUNER_ALPS_TSBE5_PAL,
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
|
|
|
.tda9887_conf = TDA9887_PRESENT,
|
2005-04-16 18:20:36 -04:00
|
|
|
.inputs = {{
|
2005-07-12 16:59:01 -04:00
|
|
|
.name = name_tv,
|
2005-04-16 18:20:36 -04:00
|
|
|
.vmux = 1,
|
|
|
|
.amux = TV,
|
|
|
|
.tv = 1,
|
2005-07-12 16:59:01 -04:00
|
|
|
},{
|
2005-04-16 18:20:36 -04:00
|
|
|
.name = name_tv_mono,
|
|
|
|
.vmux = 1,
|
|
|
|
.amux = LINE2,
|
|
|
|
.tv = 1,
|
2005-07-12 16:59:01 -04:00
|
|
|
},{
|
|
|
|
.name = name_comp1,
|
|
|
|
.vmux = 3,
|
|
|
|
.amux = LINE1,
|
|
|
|
},{
|
|
|
|
.name = name_svideo,
|
|
|
|
.vmux = 8,
|
|
|
|
.amux = LINE1,
|
2005-04-16 18:20:36 -04:00
|
|
|
}},
|
|
|
|
},
|
|
|
|
[SAA7134_BOARD_CINERGY600_MK3] = {
|
2005-07-12 16:59:01 -04:00
|
|
|
.name = "Terratec Cinergy 600 TV MK3",
|
|
|
|
.audio_clock = 0x00200000,
|
2005-04-16 18:20:36 -04:00
|
|
|
.tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
|
2005-07-12 16:59:01 -04:00
|
|
|
.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_VIDEOMATE_GOLD_PLUS] = {
|
|
|
|
/* Dylan Walkden <dylan_walkden@hotmail.com> */
|
|
|
|
.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,
|
|
|
|
}},
|
2005-04-16 18:20:36 -04:00
|
|
|
.radio = {
|
|
|
|
.name = name_radio,
|
|
|
|
.amux = LINE2,
|
2005-07-12 16:59:01 -04:00
|
|
|
.gpio = 0x80000,
|
|
|
|
},
|
|
|
|
.mute = {
|
|
|
|
.name = name_mute,
|
|
|
|
.amux = LINE2,
|
|
|
|
.gpio = 0x0c8000,
|
|
|
|
},
|
|
|
|
},
|
2005-04-16 18:20:36 -04:00
|
|
|
[SAA7134_BOARD_PINNACLE_300I_DVBT_PAL] = {
|
2005-07-12 16:59:01 -04:00
|
|
|
.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,
|
2005-04-16 18:20:36 -04:00
|
|
|
.mpeg = SAA7134_MPEG_DVB,
|
2005-07-12 16:59:01 -04:00
|
|
|
.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,
|
|
|
|
}},
|
|
|
|
},
|
2005-04-16 18:20:36 -04:00
|
|
|
[SAA7134_BOARD_PROVIDEO_PV952] = {
|
|
|
|
/* andreas.kretschmer@web.de */
|
|
|
|
.name = "ProVideo PV952",
|
|
|
|
.audio_clock = 0x00187de7,
|
|
|
|
.tuner_type = TUNER_PHILIPS_FM1216ME_MK3,
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
2005-04-16 18:20:36 -04:00
|
|
|
.tda9887_conf = TDA9887_PRESENT,
|
|
|
|
.inputs = {{
|
|
|
|
.name = name_comp1,
|
|
|
|
.vmux = 0,
|
|
|
|
.amux = LINE1,
|
|
|
|
},{
|
|
|
|
.name = name_tv,
|
|
|
|
.vmux = 1,
|
|
|
|
.amux = TV,
|
|
|
|
.tv = 1,
|
|
|
|
},{
|
2005-07-12 16:59:01 -04:00
|
|
|
.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 <nsabbi@tiscali.it> Hartmut Hackmann hartmut.hackmann@t-online.de*/
|
|
|
|
.name = "LifeView FlyDVB-T DUO",
|
|
|
|
.audio_clock = 0x00200000,
|
|
|
|
.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, /* 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,
|
2005-04-16 18:20:36 -04:00
|
|
|
.amux = LINE2,
|
|
|
|
}},
|
|
|
|
},
|
2005-07-12 16:59:01 -04:00
|
|
|
[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 <vladimir@iqmedia.com>
|
|
|
|
*/
|
|
|
|
.name = "Avermedia AVerTV 307",
|
2005-04-16 18:20:36 -04:00
|
|
|
.audio_clock = 0x00187de7,
|
|
|
|
.tuner_type = TUNER_PHILIPS_FQ1216ME,
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
2005-04-16 18:20:36 -04:00
|
|
|
.tda9887_conf = TDA9887_PRESENT,
|
|
|
|
.inputs = {{
|
|
|
|
.name = name_tv,
|
|
|
|
.vmux = 1,
|
2005-07-12 16:59:01 -04:00
|
|
|
.amux = TV,
|
2005-04-16 18:20:36 -04:00
|
|
|
.tv = 1,
|
|
|
|
},{
|
|
|
|
.name = name_comp1,
|
|
|
|
.vmux = 0,
|
2005-07-12 16:59:01 -04:00
|
|
|
.amux = LINE1,
|
2005-04-16 18:20:36 -04:00
|
|
|
},{
|
|
|
|
.name = name_comp2,
|
|
|
|
.vmux = 3,
|
2005-07-12 16:59:01 -04:00
|
|
|
.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,
|
2005-04-16 18:20:36 -04:00
|
|
|
.amux = LINE2,
|
|
|
|
},{
|
|
|
|
.name = name_svideo,
|
|
|
|
.vmux = 8,
|
|
|
|
.amux = LINE2,
|
|
|
|
}},
|
2005-07-12 16:59:01 -04:00
|
|
|
},
|
|
|
|
[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,
|
2005-04-16 18:20:36 -04:00
|
|
|
},
|
|
|
|
},
|
2005-07-12 16:59:01 -04:00
|
|
|
[SAA7134_BOARD_THYPHOON_DVBT_DUO_CARDBUS] = {
|
|
|
|
.name = "Typhoon DVB-T Duo Digital/Analog Cardbus",
|
2005-04-16 18:20:36 -04:00
|
|
|
.audio_clock = 0x00200000,
|
|
|
|
.tuner_type = TUNER_PHILIPS_TDA8290,
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio_type = UNSET,
|
|
|
|
.tuner_addr = ADDR_UNSET,
|
|
|
|
.radio_addr = ADDR_UNSET,
|
|
|
|
.mpeg = SAA7134_MPEG_DVB,
|
|
|
|
/* .gpiomask = 0xe000, */
|
2005-04-16 18:20:36 -04:00
|
|
|
.inputs = {{
|
|
|
|
.name = name_tv,
|
|
|
|
.vmux = 1,
|
|
|
|
.amux = TV,
|
2005-07-12 16:59:01 -04:00
|
|
|
/* .gpio = 0x0000, */
|
2005-04-16 18:20:36 -04:00
|
|
|
.tv = 1,
|
2005-07-12 16:59:01 -04:00
|
|
|
},{
|
2005-04-16 18:20:36 -04:00
|
|
|
.name = name_comp1, /* Composite signal on S-Video input */
|
|
|
|
.vmux = 0,
|
|
|
|
.amux = LINE2,
|
2005-07-12 16:59:01 -04:00
|
|
|
/* .gpio = 0x4000, */
|
2005-04-16 18:20:36 -04:00
|
|
|
},{
|
|
|
|
.name = name_comp2, /* Composite input */
|
|
|
|
.vmux = 3,
|
|
|
|
.amux = LINE2,
|
2005-07-12 16:59:01 -04:00
|
|
|
/* .gpio = 0x4000, */
|
2005-04-16 18:20:36 -04:00
|
|
|
},{
|
|
|
|
.name = name_svideo, /* S-Video signal on S-Video input */
|
|
|
|
.vmux = 8,
|
|
|
|
.amux = LINE2,
|
2005-07-12 16:59:01 -04:00
|
|
|
/* .gpio = 0x4000, */
|
2005-04-16 18:20:36 -04:00
|
|
|
}},
|
2005-07-12 16:59:01 -04:00
|
|
|
.radio = {
|
|
|
|
.name = name_radio,
|
|
|
|
.amux = LINE2,
|
|
|
|
},
|
|
|
|
.mute = {
|
|
|
|
.name = name_mute,
|
|
|
|
.amux = LINE1,
|
|
|
|
},
|
2005-04-16 18:20:36 -04:00
|
|
|
},
|
2005-07-12 16:59:01 -04:00
|
|
|
[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 <hannibal@megapolis.pl>
|
|
|
|
*/
|
|
|
|
.name = "Kworld Xpert TV PVR7134",
|
2005-06-24 01:05:09 -04:00
|
|
|
.audio_clock = 0x00187de7,
|
2005-07-12 16:59:01 -04:00
|
|
|
.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,
|
|
|
|
},
|
|
|
|
},
|
2005-09-09 16:03:46 -04:00
|
|
|
[SAA7134_BOARD_FLYTV_DIGIMATRIX] = {
|
|
|
|
.name = "FlyTV mini Asus Digimatrix",
|
|
|
|
.audio_clock = 0x00200000,
|
|
|
|
.tuner_type = TUNER_LG_NTSC_TALN_MINI,
|
|
|
|
.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,
|
|
|
|
},
|
|
|
|
},
|
2005-09-09 16:03:49 -04:00
|
|
|
[SAA7134_BOARD_KWORLD_TERMINATOR] = {
|
|
|
|
/* Kworld V-Stream Studio TV Terminator */
|
|
|
|
/* "James Webb <jrwebb@qwest.net> */
|
|
|
|
.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,
|
|
|
|
},
|
|
|
|
},
|
2005-09-09 16:03:51 -04:00
|
|
|
[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,
|
|
|
|
},
|
|
|
|
},
|
2005-07-12 16:59:01 -04:00
|
|
|
};
|
|
|
|
|
2005-06-24 01:05:09 -04:00
|
|
|
|
2005-04-16 18:20:36 -04:00
|
|
|
const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards);
|
|
|
|
|
|
|
|
/* ------------------------------------------------------------------ */
|
|
|
|
/* PCI ids + subsystem IDs */
|
|
|
|
|
|
|
|
struct pci_device_id saa7134_pci_tbl[] = {
|
|
|
|
{
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7134,
|
|
|
|
.subvendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.subdevice = 0x2001,
|
|
|
|
.driver_data = SAA7134_BOARD_PROTEUS_PRO,
|
2005-07-12 16:59:01 -04:00
|
|
|
},{
|
2005-04-16 18:20:36 -04:00
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7133,
|
|
|
|
.subvendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.subdevice = 0x2001,
|
|
|
|
.driver_data = SAA7134_BOARD_PROTEUS_PRO,
|
2005-07-12 16:59:01 -04:00
|
|
|
},{
|
2005-04-16 18:20:36 -04:00
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7134,
|
|
|
|
.subvendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.subdevice = 0x6752,
|
|
|
|
.driver_data = SAA7134_BOARD_EMPRESS,
|
|
|
|
},{
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7134,
|
2005-07-12 16:59:01 -04:00
|
|
|
.subvendor = 0x1131,
|
|
|
|
.subdevice = 0x4e85,
|
2005-04-16 18:20:36 -04:00
|
|
|
.driver_data = SAA7134_BOARD_MONSTERTV,
|
2005-07-12 16:59:01 -04:00
|
|
|
},{
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7134,
|
|
|
|
.subvendor = 0x153B,
|
|
|
|
.subdevice = 0x1142,
|
|
|
|
.driver_data = SAA7134_BOARD_CINERGY400,
|
|
|
|
},{
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7134,
|
|
|
|
.subvendor = 0x153B,
|
|
|
|
.subdevice = 0x1143,
|
|
|
|
.driver_data = SAA7134_BOARD_CINERGY600,
|
|
|
|
},{
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7134,
|
|
|
|
.subvendor = 0x153B,
|
|
|
|
.subdevice = 0x1158,
|
|
|
|
.driver_data = SAA7134_BOARD_CINERGY600_MK3,
|
|
|
|
},{
|
2005-04-16 18:20:36 -04:00
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7133,
|
|
|
|
.subvendor = 0x153b,
|
|
|
|
.subdevice = 0x1162,
|
|
|
|
.driver_data = SAA7134_BOARD_CINERGY400_CARDBUS,
|
2005-07-12 16:59:01 -04:00
|
|
|
},{
|
2005-04-16 18:20:36 -04:00
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7134,
|
|
|
|
.subvendor = 0x5168,
|
|
|
|
.subdevice = 0x0138,
|
|
|
|
.driver_data = SAA7134_BOARD_FLYVIDEO3000,
|
2005-07-12 16:59:01 -04:00
|
|
|
},{
|
2005-04-16 18:20:36 -04:00
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
2005-07-12 16:59:01 -04:00
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7134,
|
|
|
|
.subvendor = 0x4e42, /* "Typhoon PCI Capture TV Card" Art.No. 50673 */
|
|
|
|
.subdevice = 0x0138,
|
|
|
|
.driver_data = SAA7134_BOARD_FLYVIDEO3000,
|
|
|
|
},{
|
2005-04-16 18:20:36 -04:00
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7130,
|
|
|
|
.subvendor = 0x5168,
|
|
|
|
.subdevice = 0x0138,
|
|
|
|
.driver_data = SAA7134_BOARD_FLYVIDEO2000,
|
2005-07-12 16:59:01 -04:00
|
|
|
},{
|
2005-04-16 18:20:36 -04:00
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
2005-07-12 16:59:01 -04:00
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7133,
|
2005-04-16 18:20:36 -04:00
|
|
|
.subvendor = 0x5168,
|
|
|
|
.subdevice = 0x0212, /* minipci, LR212 */
|
|
|
|
.driver_data = SAA7134_BOARD_FLYTVPLATINUM_MINI,
|
2005-07-12 16:59:01 -04:00
|
|
|
},{
|
2005-04-16 18:20:36 -04:00
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7133,
|
2005-05-01 11:59:21 -04:00
|
|
|
.subvendor = 0x5168, /* Animation Technologies (LifeView) */
|
2005-04-16 18:20:36 -04:00
|
|
|
.subdevice = 0x0214, /* Standard PCI, LR214WF */
|
|
|
|
.driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM,
|
2005-07-12 16:59:01 -04:00
|
|
|
},{
|
2005-05-01 11:59:21 -04:00
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7133,
|
|
|
|
.subvendor = 0x1489, /* KYE */
|
|
|
|
.subdevice = 0x0214, /* Genius VideoWonder ProTV */
|
|
|
|
.driver_data = SAA7134_BOARD_FLYTVPLATINUM_FM, /* is an LR214WF actually */
|
2005-07-12 16:59:01 -04:00
|
|
|
},{
|
2005-04-16 18:20:36 -04:00
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7134,
|
|
|
|
.subvendor = 0x16be,
|
|
|
|
.subdevice = 0x0003,
|
|
|
|
.driver_data = SAA7134_BOARD_MD7134,
|
|
|
|
},{
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7130,
|
|
|
|
.subvendor = 0x1048,
|
|
|
|
.subdevice = 0x226b,
|
|
|
|
.driver_data = SAA7134_BOARD_ELSA,
|
|
|
|
},{
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7130,
|
|
|
|
.subvendor = 0x1048,
|
|
|
|
.subdevice = 0x226b,
|
|
|
|
.driver_data = SAA7134_BOARD_ELSA_500TV,
|
|
|
|
},{
|
2005-07-12 16:59:01 -04:00
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7134,
|
|
|
|
.subvendor = PCI_VENDOR_ID_ASUSTEK,
|
|
|
|
.subdevice = 0x4842,
|
|
|
|
.driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
|
|
|
|
},{
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7133,
|
|
|
|
.subvendor = PCI_VENDOR_ID_ASUSTEK,
|
|
|
|
.subdevice = 0x4845,
|
|
|
|
.driver_data = SAA7134_BOARD_ASUSTeK_TVFM7135,
|
|
|
|
},{
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7134,
|
|
|
|
.subvendor = PCI_VENDOR_ID_ASUSTEK,
|
|
|
|
.subdevice = 0x4830,
|
|
|
|
.driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
|
2005-04-16 18:20:36 -04:00
|
|
|
},{
|
2005-07-12 16:59:01 -04:00
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7133,
|
|
|
|
.subvendor = PCI_VENDOR_ID_ASUSTEK,
|
|
|
|
.subdevice = 0x4843,
|
|
|
|
.driver_data = SAA7134_BOARD_ASUSTEK_TVFM7133,
|
2005-04-16 18:20:36 -04:00
|
|
|
},{
|
2005-07-12 16:59:01 -04:00
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7134,
|
|
|
|
.subvendor = PCI_VENDOR_ID_ASUSTEK,
|
|
|
|
.subdevice = 0x4840,
|
|
|
|
.driver_data = SAA7134_BOARD_ASUSTeK_TVFM7134,
|
2005-04-16 18:20:36 -04:00
|
|
|
},{
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7134,
|
|
|
|
.subvendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.subdevice = 0xfe01,
|
|
|
|
.driver_data = SAA7134_BOARD_TVSTATION_RDS,
|
|
|
|
},{
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7134,
|
|
|
|
.subvendor = 0x1894,
|
|
|
|
.subdevice = 0xfe01,
|
|
|
|
.driver_data = SAA7134_BOARD_TVSTATION_RDS,
|
|
|
|
},{
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7134,
|
|
|
|
.subvendor = 0x1894,
|
|
|
|
.subdevice = 0xa006,
|
|
|
|
.driver_data = SAA7134_BOARD_TVSTATION_DVR,
|
|
|
|
},{
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7134,
|
2005-07-12 16:59:01 -04:00
|
|
|
.subvendor = 0x1131,
|
|
|
|
.subdevice = 0x7133,
|
2005-04-16 18:20:36 -04:00
|
|
|
.driver_data = SAA7134_BOARD_VA1000POWER,
|
2005-07-12 16:59:01 -04:00
|
|
|
},{
|
2005-04-16 18:20:36 -04:00
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7130,
|
2005-07-12 16:59:01 -04:00
|
|
|
.subvendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.subdevice = 0x2001,
|
2005-04-16 18:20:36 -04:00
|
|
|
.driver_data = SAA7134_BOARD_10MOONSTVMASTER,
|
2005-07-12 16:59:01 -04:00
|
|
|
},{
|
2005-04-16 18:20:36 -04:00
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7133,
|
2005-07-12 16:59:01 -04:00
|
|
|
.subvendor = 0x185b,
|
|
|
|
.subdevice = 0xc100,
|
2005-04-16 18:20:36 -04:00
|
|
|
.driver_data = SAA7134_BOARD_VIDEOMATE_TV,
|
2005-07-12 16:59:01 -04:00
|
|
|
},{
|
2005-04-16 18:20:36 -04:00
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7133,
|
2005-07-12 16:59:01 -04:00
|
|
|
.subvendor = 0x185b,
|
|
|
|
.subdevice = 0xc100,
|
2005-04-16 18:20:36 -04:00
|
|
|
.driver_data = SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUS,
|
2005-07-12 16:59:01 -04:00
|
|
|
},{
|
2005-04-16 18:20:36 -04:00
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7130,
|
2005-07-12 16:59:01 -04:00
|
|
|
.subvendor = PCI_VENDOR_ID_MATROX,
|
|
|
|
.subdevice = 0x48d0,
|
2005-04-16 18:20:36 -04:00
|
|
|
.driver_data = SAA7134_BOARD_CRONOS_PLUS,
|
|
|
|
},{
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7134,
|
2005-07-12 16:59:01 -04:00
|
|
|
.subvendor = 0x1461, /* Avermedia Technologies Inc */
|
|
|
|
.subdevice = 0xa70b,
|
2005-04-16 18:20:36 -04:00
|
|
|
.driver_data = SAA7134_BOARD_MD2819,
|
|
|
|
},{
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7130,
|
2005-07-12 16:59:01 -04:00
|
|
|
.subvendor = 0x1461, /* Avermedia Technologies Inc */
|
|
|
|
.subdevice = 0x2115,
|
2005-04-16 18:20:36 -04:00
|
|
|
.driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_305,
|
|
|
|
},{
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7130,
|
2005-07-12 16:59:01 -04:00
|
|
|
.subvendor = 0x1461, /* Avermedia Technologies Inc */
|
|
|
|
.subdevice = 0x2108,
|
2005-04-16 18:20:36 -04:00
|
|
|
.driver_data = SAA7134_BOARD_AVERMEDIA_305,
|
|
|
|
},{
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7130,
|
2005-07-12 16:59:01 -04:00
|
|
|
.subvendor = 0x1461, /* Avermedia Technologies Inc */
|
|
|
|
.subdevice = 0x10ff,
|
2005-04-16 18:20:36 -04:00
|
|
|
.driver_data = SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER,
|
2005-07-12 16:59:01 -04:00
|
|
|
},{
|
2005-04-16 18:20:36 -04:00
|
|
|
/* AVerMedia CardBus */
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7134,
|
2005-07-12 16:59:01 -04:00
|
|
|
.subvendor = 0x1461, /* Avermedia Technologies Inc */
|
|
|
|
.subdevice = 0xd6ee,
|
2005-04-16 18:20:36 -04:00
|
|
|
.driver_data = SAA7134_BOARD_AVERMEDIA_CARDBUS,
|
|
|
|
},{
|
|
|
|
/* TransGear 3000TV */
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7130,
|
2005-07-12 16:59:01 -04:00
|
|
|
.subvendor = 0x1461, /* Avermedia Technologies Inc */
|
|
|
|
.subdevice = 0x050c,
|
2005-04-16 18:20:36 -04:00
|
|
|
.driver_data = SAA7134_BOARD_TG3000TV,
|
|
|
|
},{
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
2005-07-12 16:59:01 -04:00
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7134,
|
|
|
|
.subvendor = 0x11bd,
|
|
|
|
.subdevice = 0x002b,
|
|
|
|
.driver_data = SAA7134_BOARD_PINNACLE_PCTV_STEREO,
|
|
|
|
},{
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7134,
|
|
|
|
.subvendor = 0x11bd,
|
|
|
|
.subdevice = 0x002d,
|
|
|
|
.driver_data = SAA7134_BOARD_PINNACLE_300I_DVBT_PAL,
|
|
|
|
},{
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7134,
|
|
|
|
.subvendor = 0x1019,
|
|
|
|
.subdevice = 0x4cb4,
|
|
|
|
.driver_data = SAA7134_BOARD_ECS_TVP3XP,
|
|
|
|
},{
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7133,
|
|
|
|
.subvendor = 0x1019,
|
|
|
|
.subdevice = 0x4cb5,
|
|
|
|
.driver_data = SAA7134_BOARD_ECS_TVP3XP_4CB5,
|
|
|
|
},{
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7133,
|
|
|
|
.subvendor = 0x12ab,
|
|
|
|
.subdevice = 0x0800,
|
|
|
|
.driver_data = SAA7134_BOARD_UPMOST_PURPLE_TV,
|
2005-04-16 18:20:36 -04:00
|
|
|
},{
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7130,
|
|
|
|
.subvendor = 0x153B,
|
|
|
|
.subdevice = 0x1152,
|
|
|
|
.driver_data = SAA7134_BOARD_CINERGY200,
|
2005-07-12 16:59:01 -04:00
|
|
|
},{
|
2005-04-16 18:20:36 -04:00
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7130,
|
2005-07-12 16:59:01 -04:00
|
|
|
.subvendor = 0x185b,
|
|
|
|
.subdevice = 0xc100,
|
2005-04-16 18:20:36 -04:00
|
|
|
.driver_data = SAA7134_BOARD_VIDEOMATE_TV_PVR,
|
|
|
|
},{
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7134,
|
|
|
|
.subvendor = 0x1461, /* Avermedia Technologies Inc */
|
|
|
|
.subdevice = 0x9715,
|
2005-06-24 01:05:09 -04:00
|
|
|
.driver_data = SAA7134_BOARD_AVERMEDIA_STUDIO_307,
|
|
|
|
},{
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7134,
|
|
|
|
.subvendor = 0x1461, /* Avermedia Technologies Inc */
|
|
|
|
.subdevice = 0xa70a,
|
2005-04-16 18:20:36 -04:00
|
|
|
.driver_data = SAA7134_BOARD_AVERMEDIA_307,
|
|
|
|
},{
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7134,
|
|
|
|
.subvendor = 0x185b,
|
|
|
|
.subdevice = 0xc200,
|
|
|
|
.driver_data = SAA7134_BOARD_VIDEOMATE_GOLD_PLUS,
|
2005-07-12 16:59:01 -04:00
|
|
|
},{
|
2005-04-16 18:20:36 -04:00
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7134,
|
|
|
|
.subvendor = 0x1540,
|
|
|
|
.subdevice = 0x9524,
|
|
|
|
.driver_data = SAA7134_BOARD_PROVIDEO_PV952,
|
|
|
|
|
2005-07-12 16:59:01 -04:00
|
|
|
},{
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7133,
|
|
|
|
.subvendor = 0x5168,
|
|
|
|
.subdevice = 0x0502, /* Cardbus version */
|
|
|
|
.driver_data = SAA7134_BOARD_FLYDVBTDUO,
|
|
|
|
},{
|
2005-04-16 18:20:36 -04:00
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7133,
|
|
|
|
.subvendor = 0x5168,
|
2005-07-12 16:59:01 -04:00
|
|
|
.subdevice = 0x0306, /* PCI version */
|
2005-04-16 18:20:36 -04:00
|
|
|
.driver_data = SAA7134_BOARD_FLYDVBTDUO,
|
2005-06-24 01:05:09 -04:00
|
|
|
},{
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7133,
|
|
|
|
.subvendor = 0x1461, /* Avermedia Technologies Inc */
|
|
|
|
.subdevice = 0xf31f,
|
|
|
|
.driver_data = SAA7134_BOARD_AVERMEDIA_GO_007_FM,
|
|
|
|
|
2005-07-12 16:59:01 -04:00
|
|
|
},{
|
2005-06-24 01:05:09 -04:00
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
2005-07-12 16:59:01 -04:00
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7130,
|
|
|
|
.subvendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.subdevice = 0x2004,
|
|
|
|
.driver_data = SAA7134_BOARD_PHILIPS_TOUGH,
|
|
|
|
},{
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7133,
|
2005-06-24 01:05:09 -04:00
|
|
|
.subvendor = 0x1421,
|
|
|
|
.subdevice = 0x0350, /* PCI version */
|
|
|
|
.driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
|
|
|
|
|
2005-07-12 16:59:01 -04:00
|
|
|
},{
|
2005-06-24 01:05:09 -04:00
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
2005-07-12 16:59:01 -04:00
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7133,
|
2005-06-24 01:05:09 -04:00
|
|
|
.subvendor = 0x1421,
|
|
|
|
.subdevice = 0x0370, /* cardbus version */
|
|
|
|
.driver_data = SAA7134_BOARD_ADS_INSTANT_TV,
|
2005-04-16 18:20:36 -04:00
|
|
|
|
2005-07-12 16:59:01 -04:00
|
|
|
},{ /* Typhoon DVB-T Duo Digital/Analog Cardbus */
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7133,
|
|
|
|
.subvendor = 0x4e42,
|
|
|
|
.subdevice = 0x0502,
|
|
|
|
.driver_data = SAA7134_BOARD_THYPHOON_DVBT_DUO_CARDBUS,
|
2005-09-09 16:03:46 -04:00
|
|
|
},{
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7133,
|
|
|
|
.subvendor = 0x1043,
|
|
|
|
.subdevice = 0x0210, /* mini pci NTSC version */
|
|
|
|
.driver_data = SAA7134_BOARD_FLYTV_DIGIMATRIX,
|
|
|
|
},{
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7134,
|
|
|
|
.subvendor = 0x1043,
|
|
|
|
.subdevice = 0x0210, /* mini pci PAL/SECAM version */
|
|
|
|
.driver_data = SAA7134_BOARD_FLYTV_DIGIMATRIX,
|
2005-07-12 16:59:01 -04:00
|
|
|
|
|
|
|
},{
|
2005-04-16 18:20:36 -04:00
|
|
|
/* --- boards without eeprom + subsystem ID --- */
|
2005-07-12 16:59:01 -04:00
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7134,
|
|
|
|
.subvendor = PCI_VENDOR_ID_PHILIPS,
|
2005-04-16 18:20:36 -04:00
|
|
|
.subdevice = 0,
|
|
|
|
.driver_data = SAA7134_BOARD_NOAUTO,
|
2005-07-12 16:59:01 -04:00
|
|
|
},{
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7130,
|
|
|
|
.subvendor = PCI_VENDOR_ID_PHILIPS,
|
2005-04-16 18:20:36 -04:00
|
|
|
.subdevice = 0,
|
|
|
|
.driver_data = SAA7134_BOARD_NOAUTO,
|
|
|
|
},{
|
|
|
|
|
|
|
|
/* --- default catch --- */
|
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7130,
|
2005-07-12 16:59:01 -04:00
|
|
|
.subvendor = PCI_ANY_ID,
|
|
|
|
.subdevice = PCI_ANY_ID,
|
2005-04-16 18:20:36 -04:00
|
|
|
.driver_data = SAA7134_BOARD_UNKNOWN,
|
2005-07-12 16:59:01 -04:00
|
|
|
},{
|
2005-04-16 18:20:36 -04:00
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7133,
|
2005-07-12 16:59:01 -04:00
|
|
|
.subvendor = PCI_ANY_ID,
|
|
|
|
.subdevice = PCI_ANY_ID,
|
2005-04-16 18:20:36 -04:00
|
|
|
.driver_data = SAA7134_BOARD_UNKNOWN,
|
2005-07-12 16:59:01 -04:00
|
|
|
},{
|
2005-04-16 18:20:36 -04:00
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7134,
|
2005-07-12 16:59:01 -04:00
|
|
|
.subvendor = PCI_ANY_ID,
|
|
|
|
.subdevice = PCI_ANY_ID,
|
2005-04-16 18:20:36 -04:00
|
|
|
.driver_data = SAA7134_BOARD_UNKNOWN,
|
2005-07-12 16:59:01 -04:00
|
|
|
},{
|
2005-04-16 18:20:36 -04:00
|
|
|
.vendor = PCI_VENDOR_ID_PHILIPS,
|
|
|
|
.device = PCI_DEVICE_ID_PHILIPS_SAA7135,
|
2005-07-12 16:59:01 -04:00
|
|
|
.subvendor = PCI_ANY_ID,
|
|
|
|
.subdevice = PCI_ANY_ID,
|
2005-04-16 18:20:36 -04:00
|
|
|
.driver_data = SAA7134_BOARD_UNKNOWN,
|
|
|
|
},{
|
|
|
|
/* --- end of list --- */
|
|
|
|
}
|
|
|
|
};
|
|
|
|
MODULE_DEVICE_TABLE(pci, saa7134_pci_tbl);
|
|
|
|
|
|
|
|
/* ----------------------------------------------------------- */
|
|
|
|
/* flyvideo tweaks */
|
|
|
|
|
|
|
|
|
|
|
|
static void board_flyvideo(struct saa7134_dev *dev)
|
|
|
|
{
|
|
|
|
printk("%s: there are different flyvideo cards with different tuners\n"
|
|
|
|
"%s: out there, you might have to use the tuner=<nr> insmod\n"
|
|
|
|
"%s: option to override the default value.\n",
|
|
|
|
dev->name, dev->name, dev->name);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ----------------------------------------------------------- */
|
|
|
|
|
|
|
|
int saa7134_board_init1(struct saa7134_dev *dev)
|
|
|
|
{
|
2005-07-12 16:59:01 -04:00
|
|
|
/* Always print gpio, often manufacturers encode tuner type and other info. */
|
2005-04-16 18:20:36 -04:00
|
|
|
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:
|
|
|
|
dev->has_remote = 1;
|
|
|
|
board_flyvideo(dev);
|
|
|
|
break;
|
2005-07-12 16:59:01 -04:00
|
|
|
case SAA7134_BOARD_FLYTVPLATINUM_FM:
|
2005-04-16 18:20:36 -04:00
|
|
|
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_MD2819:
|
2005-06-24 01:05:09 -04:00
|
|
|
case SAA7134_BOARD_KWORLD_VSTREAM_XPERT:
|
2005-07-12 16:59:01 -04:00
|
|
|
case SAA7134_BOARD_KWORLD_XPERT:
|
2005-04-16 18:20:36 -04:00
|
|
|
case SAA7134_BOARD_AVERMEDIA_STUDIO_305:
|
|
|
|
case SAA7134_BOARD_AVERMEDIA_305:
|
2005-06-24 01:05:09 -04:00
|
|
|
case SAA7134_BOARD_AVERMEDIA_STUDIO_307:
|
2005-04-16 18:20:36 -04:00
|
|
|
case SAA7134_BOARD_AVERMEDIA_307:
|
2005-06-24 01:05:09 -04:00
|
|
|
case SAA7134_BOARD_AVERMEDIA_GO_007_FM:
|
2005-07-12 16:59:01 -04:00
|
|
|
/* case SAA7134_BOARD_SABRENT_SBTTVFM: */ /* not finished yet */
|
2005-04-16 18:20:36 -04:00
|
|
|
case SAA7134_BOARD_VIDEOMATE_TV_PVR:
|
2005-07-12 16:59:01 -04:00
|
|
|
case SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII:
|
|
|
|
case SAA7134_BOARD_MANLI_MTV001:
|
|
|
|
case SAA7134_BOARD_MANLI_MTV002:
|
2005-04-16 18:20:36 -04:00
|
|
|
case SAA7134_BOARD_AVACSSMARTTV:
|
|
|
|
dev->has_remote = 1;
|
|
|
|
break;
|
|
|
|
case SAA7134_BOARD_MD5044:
|
|
|
|
printk("%s: seems there are two different versions of the MD5044\n"
|
2005-07-12 16:59:01 -04:00
|
|
|
"%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);
|
2005-04-16 18:20:36 -04:00
|
|
|
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);
|
|
|
|
msleep(1);
|
|
|
|
break;
|
2005-07-12 16:59:01 -04:00
|
|
|
case SAA7134_BOARD_FLYDVBTDUO:
|
|
|
|
case SAA7134_BOARD_THYPHOON_DVBT_DUO_CARDBUS:
|
|
|
|
/* turn the fan on Hac: static for the time being */
|
|
|
|
saa_writeb(SAA7134_GPIO_GPMODE3, 0x08);
|
|
|
|
saa_writeb(SAA7134_GPIO_GPSTATUS3, 0x06);
|
|
|
|
break;
|
|
|
|
case SAA7134_BOARD_AVERMEDIA_CARDBUS:
|
|
|
|
/* power-up tuner chip */
|
|
|
|
saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0xffffffff, 0xffffffff);
|
|
|
|
saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0xffffffff, 0xffffffff);
|
|
|
|
msleep(1);
|
|
|
|
break;
|
2005-04-16 18:20:36 -04:00
|
|
|
}
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* stuff which needs working i2c */
|
|
|
|
int saa7134_board_init2(struct saa7134_dev *dev)
|
|
|
|
{
|
|
|
|
unsigned char buf;
|
|
|
|
int board;
|
|
|
|
|
|
|
|
switch (dev->board) {
|
|
|
|
case SAA7134_BOARD_BMK_MPEX_NOTUNER:
|
|
|
|
case SAA7134_BOARD_BMK_MPEX_TUNER:
|
|
|
|
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,
|
2005-07-12 16:59:01 -04:00
|
|
|
saa7134_boards[dev->board].name);
|
2005-04-16 18:20:36 -04:00
|
|
|
dev->tuner_type = saa7134_boards[dev->board].tuner_type;
|
2005-07-12 16:59:01 -04:00
|
|
|
|
|
|
|
if (TUNER_ABSENT != dev->tuner_type) {
|
|
|
|
struct tuner_setup tun_setup;
|
|
|
|
|
|
|
|
tun_setup.mode_mask = T_RADIO | T_ANALOG_TV | T_DIGITAL_TV;
|
|
|
|
tun_setup.type = dev->tuner_type;
|
|
|
|
tun_setup.addr = ADDR_UNSET;
|
|
|
|
|
|
|
|
saa7134_i2c_call_clients (dev, TUNER_SET_TYPE_ADDR, &tun_setup);
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
case SAA7134_BOARD_MD7134:
|
|
|
|
{
|
|
|
|
struct tuner_setup tun_setup;
|
|
|
|
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;
|
|
|
|
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);
|
|
|
|
if (dev->tuner_type == TUNER_PHILIPS_FMD1216ME_MK3) {
|
|
|
|
dev->tda9887_conf = TDA9887_PRESENT | TDA9887_PORT1_ACTIVE | TDA9887_PORT2_ACTIVE;
|
|
|
|
saa7134_i2c_call_clients(dev,TDA9887_SET_CONFIG, &dev->tda9887_conf);
|
|
|
|
}
|
|
|
|
|
|
|
|
tun_setup.mode_mask = T_RADIO | T_ANALOG_TV | T_DIGITAL_TV;
|
|
|
|
tun_setup.type = dev->tuner_type;
|
|
|
|
tun_setup.addr = ADDR_UNSET;
|
|
|
|
|
|
|
|
saa7134_i2c_call_clients (dev, TUNER_SET_TYPE_ADDR,&tun_setup);
|
|
|
|
}
|
2005-04-16 18:20:36 -04:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* ----------------------------------------------------------- */
|
|
|
|
/*
|
|
|
|
* Local variables:
|
|
|
|
* c-basic-offset: 8
|
|
|
|
* End:
|
|
|
|
*/
|