Linux kernel and device drivers for NXP i.MX platforms
 help / color / mirror / Atom feed
* [PATCH 1/1] Revert "arm64: dts: imx8qm-ss-conn: add usbotg3 iommu information"
@ 2026-11-06 16:18 Frank.Li
  2026-11-06 16:26 ` sashiko-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Frank.Li @ 2026-11-06 16:18 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Frank Li,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	open list:ARM/FREESCALE IMX / MXC / LAYERSCAPE ARM ARCHIT...,
	moderated list:ARM/FREESCALE IMX / MXC / LAYERSCAPE ARM ARCHIT...,
	open list
  Cc: imx, Emanuele Ghidoli, Peng Fan

From: Frank Li <Frank.Li@nxp.com>

This reverts commit 73c3b40e536d9cb624db90b460bc384147576a57. There is
a hack in U-Boot, which calls sc_rm_set_master_sid() to set the SID for
bus masters that depend on power domain information of the node. But
cdns_usb is a child node of the glue driver, which does not need power
domain information.

More time is needed to find a good method to program sc_rm_set_master_sid()
in the kernel and reduce U-Boot dependence. So revert this patch first to
get USB host working again.

Reported-by: Emanuele Ghidoli <ghidoliemanuele@gmail.com>
Link: https://lore.kernel.org/imx/b911ff91-ce7b-462e-a7fb-f8c6d682c85b@gmail.com/
Cc: Peng Fan <peng.fan@oss.nxp.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi b/arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi
index f25f62d51f69e..1d1cde2bd879d 100644
--- a/arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi
@@ -67,7 +67,3 @@ &usdhc3 {
 	compatible = "fsl,imx8qm-usdhc", "fsl,imx8qxp-usdhc", "fsl,imx7d-usdhc";
 	iommus = <&smmu 0x11 0x7f80>;
 };
-
-&usbotg3_cdns3 {
-	iommus = <&smmu 0x4 0x7f80>;
-};
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] Revert "arm64: dts: imx8qm-ss-conn: add usbotg3 iommu information"
  2026-11-06 16:18 [PATCH 1/1] Revert "arm64: dts: imx8qm-ss-conn: add usbotg3 iommu information" Frank.Li
@ 2026-11-06 16:26 ` sashiko-bot
  0 siblings, 0 replies; 2+ messages in thread
From: sashiko-bot @ 2026-11-06 16:26 UTC (permalink / raw)
  To: Frank.Li,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	open list:ARM/FREESCALE IMX / MXC / LAYERSCAPE ARM ARCHIT...
  Cc: robh, conor+dt, Frank.Li

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] arm64: dts: imx8qm-ss-conn: missing Fixes trailer on revert of
  73c3b40e536d
--

commit c86416aa16fabe358034dcb770ee1f94d28923c0
Author: Frank Li <Frank.Li@nxp.com>

> Revert "arm64: dts: imx8qm-ss-conn: add usbotg3 iommu information"
>
> This reverts commit 73c3b40e536d9cb624db90b460bc384147576a57. There is
> a hack in U-Boot, which calls sc_rm_set_master_sid() to set the SID for
> bus masters that depend on power domain information of the node. But
> cdns_usb is a child node of the glue driver, which does not need power
> domain information.
>
> More time is needed to find a good method to program sc_rm_set_master_sid()
> in the kernel and reduce U-Boot dependence. So revert this patch first to
> get USB host working again.
>
> Reported-by: Emanuele Ghidoli <ghidoliemanuele@gmail.com>
> Link: https://lore.kernel.org/imx/b911ff91-ce7b-462e-a7fb-f8c6d682c85b@gmail.com/
> Cc: Peng Fan <peng.fan@oss.nxp.com>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>

[Severity: Low]
Since this revert fixes a regression that broke USB host mode, should the
commit trailers include:

  Fixes: 73c3b40e536d ("arm64: dts: imx8qm-ss-conn: add usbotg3 iommu information")

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261106161809.3512378-1-Frank.Li@oss.nxp.com?part=1

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-06 16:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-06 16:18 [PATCH 1/1] Revert "arm64: dts: imx8qm-ss-conn: add usbotg3 iommu information" Frank.Li
2026-11-06 16:26 ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox