Re: [PATCH 2/3] usb: dwc3: add may_lose_power flag
From: Xu Yang
Date: Wed Feb 04 2026 - 00:52:41 EST
On Mon, Feb 02, 2026 at 10:36:15AM -0500, Frank Li wrote:
> On Mon, Feb 02, 2026 at 06:27:46PM +0800, Xu Yang wrote:
> > The current design assumes that the controller remains powered
> > when wakeup is enabled. However, some SoCs provide wakeup
> > capability even when the controller itself is powered down, using
> > separate dedicated wakeup logic. This allows additional power
> > savings, but requires the controller to be fully re‑initialized
> > after system resume.
> >
> > To support these SoCs, introduce a flag to track the controller’s
> > power state and use it throughout the suspend/resume flow.
>
> Nit: next time, wrap at pos 75 to reduce some lines.
OK.
>
> Reviewed-by: Frank Li <Frank.Li@xxxxxxx>
> >
> > Signed-off-by: Xu Yang <xu.yang_2@xxxxxxx>