Re: [PATCH] usb: dwc3: gadget: Inform system of suspended state
From: Thinh Nguyen
Date: Fri Mar 06 2026 - 18:05:34 EST
On Fri, Mar 06, 2026, Ravineet Singh wrote:
> Understood, my bad, will send a RFC patch in the future.
>
> Regdumps (without the patch) are attached.
Please no top-post.
This looks like an issue with the integration of the controller and the
phy/connector. Your phy vbus detection logic needs to properly assert
the proper signals (e.g. vbusvalid/powerpresent etc.) on
connection/disconnection detection.
It's best to fix it there. Forcing every U3/L2 transition to be treated
as if it's a disconnection is problematic. If there's a real U3/L2 state
change and then the host resumes, the device and host are out of sync.
I don't see a good workaround for this.
BR,
Thinh