[PATCH v5 3/3] usb: dwc3: introduce flatten model driver of i.MX Soc
Thinh Nguyen
Thinh.Nguyen at synopsys.com
Fri Feb 13 15:40:26 PST 2026
On Thu, Feb 12, 2026, Xu Yang wrote:
> The i.MX USB glue and DWC3 core are closely coupled. Describe the i.MX
> USB block in a single block will bring more benefits than a parent-
> child relation. To support the flatten model devicetree, DWC3 USB core
> driver already support to directly register and initialize the core in
> glue layer using one device. And many notification can be received in
> glue layer timely and proper actions can be executed accordingly.
>
> To align with mainstream, introduce a new driver to support flatten dwc3
> devicetree model for i.MX Soc. Besides this driver disables wakeup irq
> when system is active, no other function change in this version compared
> to dwc3-imx8mp.c. After this new driver is settled, only maintenance
> fixes will be added to dwc3-imx8mp.c, new features will only be added
> to this new driver. Once all users switch to this new one, the legacy
> driver will be removed at proper time.
>
> Signed-off-by: Xu Yang <xu.yang_2 at nxp.com>
>
> ---
> Changes in v5:
> - code change in glue.h by mistake, removed it
> Changes in v4:
> - add dwc3_imx_get_property() to parse of node
> - add some flags
> - remove dev_dbg()
> - add more info in commit message
> Changes in v3:
> - update compatible as nxp,imx8mp-dwc3
> Changes in v2:
> - improve commit message
> - fix code style
> - add IRQF_NO_AUTOEN
> - remove pm_runtime_* in dwc3_imx_remove(), dwc3_core_remove()
> will do that
> ---
> drivers/usb/dwc3/Kconfig | 12 ++
> drivers/usb/dwc3/Makefile | 1 +
> drivers/usb/dwc3/dwc3-imx.c | 442 ++++++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 455 insertions(+)
>
Acked-by: Thinh Nguyen <Thinh.Nguyen at synopsys.com>
Thanks,
Thinh
More information about the linux-arm-kernel
mailing list