@@ -429,15 +429,17 @@
switch (voltage) {
case SEC_VOLTAGE_13:
printk("LNB Voltage SEC_VOLTAGE_13\n");
+ cx_set(MO_GP0_IO, 0x00006040);
cx_clear(MO_GP0_IO, 0x00000020);
break;
case SEC_VOLTAGE_18:
printk("LNB Voltage SEC_VOLTAGE_18\n");
+ cx_set(MO_GP0_IO, 0x00006020);
cx_set(MO_GP0_IO, 0x00000020);
break;
case SEC_VOLTAGE_OFF:
+ printk("LNB Voltage SEC_VOLTAGE_off\n");
cx_clear(MO_GP0_IO, 0x00000020);
- printk("LNB Voltage SEC_VOLTAGE_off\n");
break;
}
@@ -1144,6 +1146,15 @@
case CX88_BOARD_TBS_8920:
case CX88_BOARD_PROF_7300:
case CX88_BOARD_SATTRADE_ST4200:
+ printk(KERN_INFO "%s() setup TBS8920\n", __func__);
+ cx_write(MO_GP0_IO, 0x00008000);
+ msleep(100);
+ cx_write(MO_SRST_IO, 0);
+ msleep(10);
+ cx_write(MO_GP0_IO, 0x00008080);
+ msleep(100);
+ cx_write(MO_SRST_IO, 1);
+ msleep(100);
fe0->dvb.frontend = dvb_attach(cx24116_attach,
&hauppauge_hvr4000_config,
&core->i2c_adap);