Re: [PATCH 3/7] clk: qcom: gcc-sc8180x: Use retention for USB power domains
From: Konrad Dybcio
Date: Tue Mar 10 2026 - 07:51:47 EST
On 3/9/26 2:00 AM, Val Packett wrote:
> The USB subsystem does not expect to lose its state on suspend:
>
> xhci-hcd xhci-hcd.0.auto: xHC error in resume, USBSTS 0x401, Reinit
> usb usb1: root hub lost power or was reset
>
> (The reinitialization usually succeeds, but it does slow down resume.)
>
> To maintain state during suspend, the relevant GDSCs need to stay in
> retention mode, like they do on other similar SoCs. Change the mode to
> PWRSTS_RET_ON to fix.
>
> Fixes: 4433594bbe5d ("clk: qcom: gcc: Add global clock controller driver for SC8180x")
> Signed-off-by: Val Packett <val@xxxxxxxxxxxx>
> ---
Take a mental note that this is a workaround and one day we'll get
rid of it
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
Konrad