asurada: ps8743: set Rx EQ to 12.8dB
TEST=pass usb compliance test
BRANCH=none
Tested-by: Ting Shen
@@ -411,6 +411,15 @@ const struct usb_mux usb_muxes[CONFIG_USB_PD_PORT_MAX_COUNT] = {
},
};
+void board_usb_mux_init(void)
+{
+ if (board_get_sub_board() == SUB_BOARD_TYPEC)
+ ps8743_tune_usb_eq(PS8743_I2C_ADDR0_FLAG,
+ PS8743_USB_EQ_TX_12_8_DB,
+ PS8743_USB_EQ_RX_12_8_DB);
+}
+DECLARE_HOOK(HOOK_INIT, board_usb_mux_init, HOOK_PRIO_INIT_I2C + 1);
+
int board_set_active_charge_port(int port)
{
int i;
