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 }