summaryrefslogtreecommitdiff
path: root/board/spherion
diff options
context:
space:
mode:
Diffstat (limited to 'board/spherion')
-rw-r--r--board/spherion/board.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/board/spherion/board.c b/board/spherion/board.c
index ae1b932ff6..670eb91dd9 100644
--- a/board/spherion/board.c
+++ b/board/spherion/board.c
@@ -103,3 +103,12 @@ static void kb_backlight_disable(void)
gpio_set_level(GPIO_EC_KB_BL_EN, 0);
}
DECLARE_HOOK(HOOK_CHIPSET_SUSPEND, kb_backlight_disable, HOOK_PRIO_DEFAULT);
+
+void board_usb_mux_init(void)
+{
+ if (board_get_sub_board() == SUB_BOARD_TYPEC)
+ ps8743_tune_usb_eq(&usb_muxes[1],
+ 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);