Re: [PATCH v5 1/7] usb: dwc2: fix recovery after PM domain off

From: Stefan Wahren

Date: Sat Nov 21 2026 - 15:38:18 EST


Hi Fabrice,

Am 17.11.26 um 18:06 schrieb Fabrice Gasnier:
When the power domain containing the DWC2 controller is disabled during
suspend, its registers are lost. Reading registers to back them up from
dwc2_suspend() after clock gating can hang STM32MP1 in both host and
device mode. Host suspend enters clock gating directly; in device mode,
this can happen if the host suspended the USB bus before system suspend.
sorry for breaking this platform, but I only had the Raspberry Pi for testing and I didn't get much feedback last year.

I'm not familiar with STM32MP1, could you please clarify based on the compatible which is affected?

Could you please explain, why backing up the registers before clock gating isn't an option?

Best regards