Re: [PATCH] usb: dwc3: gadget: Inform system of suspended state
From: Ravineet Singh
Date: Mon Mar 09 2026 - 05:52:53 EST
On Fri, Mar 06, 2026 at 11:05:00PM +0000, Thinh Nguyen wrote:
> 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
Understood, thanks!
BR
Ravineet