Re: [PATCH 1/2] clk: qcom: gcc-sdm660: Keep the USB GDSC in retention
From: Konrad Dybcio
Date: Wed Sep 30 2026 - 05:02:32 EST
On 9/28/26 7:41 PM, Fabricio Akio via B4 Relay wrote:
> From: Fabricio Akio <fabricioakio@xxxxxxxxx>
>
> The DWC3 glue writes its QSCRATCH configuration only at probe. When
> system suspend switches usb_30_gdsc off, that configuration is lost
> and on resume the core fails to enable endpoint 0. Keep the GDSC in
> retention, as is already done on:
>
> commit 78a2f2a04fb5 ("clk: qcom: gcc-msm8996: Update the .pwrsts for
> usb gdsc")
> commit 83fddbcc8337 ("clk: qcom: gcc-msm8998: Update the .pwrsts for
> usb gdsc")
>
> This change should be reverted when a proper suspend sequence is
> implemented in the USB drivers.
>
> Signed-off-by: Fabricio Akio <fabricioakio@xxxxxxxxx>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
Konrad