[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aEjxJ3atSw/8JwNo@dragon>
Date: Wed, 11 Jun 2025 10:59:51 +0800
From: Shawn Guo <shawnguo2@...h.net>
To: Xu Yang <xu.yang_2@....com>
Cc: Peter Chen <peter.chen@...nel.org>, Shawn Guo <shawnguo@...nel.org>,
imx@...ts.linux.dev, linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: i.MX kernel hangup caused by chipidea USB gadget driver
On Tue, Jun 10, 2025 at 07:54:41PM +0800, Xu Yang wrote:
> > However, your change seems working fine on i.MX8MM EVK. It's probably
> > due to the fact that host disconnects gadget for some reason when EVK
> > suspends. This is a different behavior from the custom board above.
> > We do not really expect this disconnecting, do we?
>
> It's an expected behavior on i.MX8MM EVK. The host will see device disconnected
> after imx8mm do system suspend. It's because the usb phy power will be off after
> system suspend. If you enable wakeup capabiklity for usb phy, the usb phy power
> will keep on and you will not see disconnect event anymore.
>
> # echo enabled > /sys/devices/platform/usbphynop1/power/wakeup
Ah, indeed! Thanks for the information!
Shawn
Powered by blists - more mailing lists