static void anx7808_chip_initial(void) { #ifdef EYE_TEST sp_tx_eye_diagram_test(); #else sp_tx_variable_init(); sp_tx_vbus_powerdown(); sp_tx_hardware_powerdown(); sp_tx_set_sys_state(STATE_CABLE_PLUG); #endif }
static void anx7808_chip_initial(void) { #ifdef EYE_TEST sp_tx_eye_diagram_test(); #else sp_tx_variable_init(); sp_tx_vbus_powerdown(); sp_tx_hardware_powerdown(anx7808_client); //ASUS_BSP +++: workaround for turn off 1.0V after read chip id msleep(5); sp_tx_hardware_power_set(0); //ASUS_BSP ---: workaround for turn off 1.0V after read chip id sp_tx_set_sys_state(STATE_CABLE_PLUG); #endif }
static int anx7816_system_init(void) { /* remove poweron method for QC2,0 */ /* int ret = 0; ret = slimport_chip_detect(); if (ret == 0) { pr_err("%s : failed to detect anx7816\n", __func__); return -ENODEV; } slimport_chip_initial(); */ /*This function is need to initialized the variables of states machines*/ sp_tx_variable_init(); return 0; }