Trembyle: Power off PS8811 retimer in S3
BRANCH=none
TEST=USB-A still works
@@ -193,7 +193,7 @@ static void ps8811_tuning_init(void)
CPRINTSUSB("C1: PS8811 not detected");
}
}
-DECLARE_HOOK(HOOK_CHIPSET_STARTUP, ps8811_tuning_init, HOOK_PRIO_DEFAULT);
+DECLARE_HOOK(HOOK_CHIPSET_RESUME, ps8811_tuning_init, HOOK_PRIO_DEFAULT);
static void ps8811_retimer_off(void)
{
@@ -201,7 +201,7 @@ static void ps8811_retimer_off(void)
ioex_set_level(IOEX_USB_A0_RETIMER_EN, 0);
ioex_set_level(IOEX_USB_A1_RETIMER_EN, 0);
}
-DECLARE_HOOK(HOOK_CHIPSET_SHUTDOWN, ps8811_retimer_off, HOOK_PRIO_DEFAULT);
+DECLARE_HOOK(HOOK_CHIPSET_SUSPEND, ps8811_retimer_off, HOOK_PRIO_DEFAULT);
/*****************************************************************************
* USB-C MUX/Retimer dynamic configuration
