Skip to contentSkip to conversation

Revert "arm64: dts: imx8qm-ss-conn: add usbotg3 iommu information"

PATCH New [email protected] 2 participants 2 messages Nov 6

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Revert "arm64: dts: imx8qm-ss-conn: add usbotg3 iommu information"

From: Frank Li <[email protected]>

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.

---
 arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi | 4 ----
 1 file changed, 4 deletions(-)
arch/arm64/boot/dts/freescale/imx8qm-ss-conn.dtsi +0 -4
index f25f62d51f69e..1d1cde2bd879d 100644
@@ -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>;
-};
Signature · 1 line
2.43.0
#1 lore raw
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 --

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 <[email protected]>

Quoted 8 lines

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.

Quoted 8 lines

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.

[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")
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1