]> git.ipfire.org Git - thirdparty/linux.git/commit
usb: dwc3: imx8mp: disable auto suspend for host role
authorXu Yang <xu.yang_2@nxp.com>
Thu, 8 Jan 2026 08:14:33 +0000 (16:14 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Jan 2026 14:58:32 +0000 (15:58 +0100)
commit86767625f525431642fa64b16ce84bdb2d8d1dc4
tree671d5b45d17e9b17357d634eb4a606473073b20e
parentab785d6bd02b854d15c8eb53769fed8b4831b390
usb: dwc3: imx8mp: disable auto suspend for host role

Do dwc3 core auto suspend enable for device and disable for host
, this can make sure dwc3 core device auto suspend setting is
correct all the time, the background of disable dwc3 core device
auto suspend is to make its parent device suspend immediately
(so wakeup enable can be enabled) after xhci-plat device suspended,
for device mode, we keep the dwc3 core device auto suspend is to
give some wait for gadget to be enumerated.

Note: It's a temporary solution until we switch to using the new
      flatten model.

Acked-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Signed-off-by: Xu Yang <xu.yang_2@nxp.com>
Link: https://patch.msgid.link/20260108081433.2119328-3-xu.yang_2@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc3/dwc3-imx8mp.c