@@ -5296,7 +5296,32 @@
.amux = TV,
},
},
-
+ [SAA7134_BOARD_LIVEVIEW_MINIPCI_LNA] = {
+ .name = "LifeView MiniPCI LNA",
+ .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,
+ }, {
+ .name = name_comp1,
+ .vmux = 3,
+ .amux = LINE1,
+ }, {
+ .name = name_svideo,
+ .vmux = 8,
+ .amux = LINE1,
+ } },
+ },
};
const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards);
@@ -6429,6 +6454,12 @@
.subdevice = 0x0138, /* LifeView FlyTV Prime30 OEM */
.driver_data = SAA7134_BOARD_ROVERMEDIA_LINK_PRO_FM,
}, {
+ .vendor = PCI_VENDOR_ID_PHILIPS,
+ .device = PCI_DEVICE_ID_PHILIPS_SAA7133,
+ .subvendor = 0x4e42,
+ .subdevice = 0x4307, /* LifeView MiniPCI LR307-Q OEM */
+ .driver_data = SAA7134_BOARD_LIVEVIEW_MINIPCI_LNA,
+ }, {
/* --- boards without eeprom + subsystem ID --- */
.vendor = PCI_VENDOR_ID_PHILIPS,
.device = PCI_DEVICE_ID_PHILIPS_SAA7134,
@@ -7193,6 +7224,7 @@
case SAA7134_BOARD_AVERMEDIA_SUPER_007:
case SAA7134_BOARD_TWINHAN_DTV_DVB_3056:
case SAA7134_BOARD_CREATIX_CTX953:
+ case SAA7134_BOARD_LIVEVIEW_MINIPCI_LNA:
{
/* this is a hybrid board, initialize to analog mode
* and configure firmware eeprom address
@@ -824,6 +824,20 @@
.request_firmware = philips_tda1004x_request_firmware
};
+static struct tda1004x_config lifeview_minipci_lna_config = {
+ .demod_address = 0x08,
+ .invert = 1,
+ .invert_oclk = 0,
+ .xtal_freq = TDA10046_XTAL_16M,
+ .agc_config = TDA10046_AGC_TDA827X,
+ .gpio_config = TDA10046_GP01_I,
+ .if_freq = TDA10046_FREQ_045,
+ .i2c_gate = 0x4b,
+ .tuner_address = 0x61,
+ .antenna_switch = 2, /* only one RF input, needs gpio 21 high */
+ .request_firmware = philips_tda1004x_request_firmware
+};
+
/* ------------------------------------------------------------------
* special case: this card uses saa713x GPIO22 for the mode switch
*/
@@ -1491,7 +1505,11 @@
0x60, &dev->i2c_adap) == NULL)
wprintk("%s: No zl10039 found!\n",
__func__);
-
+ break;
+ case SAA7134_BOARD_LIVEVIEW_MINIPCI_LNA:
+ if (configure_tda827x_fe(dev, &lifeview_minipci_lna_config,
+ &tda827x_cfg_2) < 0)
+ goto dettach_frontend;
break;
default:
wprintk("Huh? unknown DVB card?\n");
@@ -297,6 +297,7 @@
#define SAA7134_BOARD_AVERMEDIA_STUDIO_505 170
#define SAA7134_BOARD_BEHOLD_X7 171
#define SAA7134_BOARD_ROVERMEDIA_LINK_PRO_FM 172
+#define SAA7134_BOARD_LIVEVIEW_MINIPCI_LNA 173
#define SAA7134_MAXBOARDS 32
#define SAA7134_INPUT_MAX 8