[PATCH 2/2] usb: dwc3: imx8mp: set needs_full_reinit as true
From: Xu Yang
Date: Fri Nov 06 2026 - 06:24:50 EST
From: Xu Yang <xu.yang_2@xxxxxxx>
On i.MX8MP Soc, the USB3 Controller power will not be maintained in system
suspened state. Setting dwc3->needs_full_reinit as true to indicate the
controller should be re-initialized after system PM operations.
Signed-off-by: Xu Yang <xu.yang_2@xxxxxxx>
---
drivers/usb/dwc3/dwc3-imx8mp.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/usb/dwc3/dwc3-imx8mp.c b/drivers/usb/dwc3/dwc3-imx8mp.c
index ee92a5efaa6e..78cb79fefba2 100644
--- a/drivers/usb/dwc3/dwc3-imx8mp.c
+++ b/drivers/usb/dwc3/dwc3-imx8mp.c
@@ -267,6 +267,7 @@ static int dwc3_imx8mp_probe(struct platform_device *pdev)
}
dwc3->glue_ops = &dwc3_imx_glue_ops;
+ dwc3->needs_full_reinit = true;
if (dwc3->dr_mode == USB_DR_MODE_HOST)
pm_runtime_dont_use_autosuspend(dwc3->dev);
--
2.34.1