From 6e8dc0c25fb8f1dea82634f438e73ce908d5c751 Mon Sep 17 00:00:00 2001 From: "Bao D. Nguyen" Date: Fri, 10 Nov 2023 11:03:31 -0800 Subject: [PATCH] ARM: dts: qcom: Add smmu probe dependency for ufs UFS has a dependency on smmu being probed first. Specify this dependency in the ufs dt node to set this probing order. Without this change, ufs may get probed first then start using the smmu while smmu is being probed. Change-Id: Idd99a19b3d407cd319addbc1cab27f8191dd9509 Signed-off-by: Bao D. Nguyen --- qcom/sun.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qcom/sun.dtsi b/qcom/sun.dtsi index daaacaf5..cb0cad23 100644 --- a/qcom/sun.dtsi +++ b/qcom/sun.dtsi @@ -1924,6 +1924,9 @@ "HS_RA_G5_L2", "HS_RB_G5_L2", "MAX"; + /* set the dependency that smmu being probed before ufs */ + depends-on-supply = <&apps_smmu>; + iommus = <&apps_smmu 0x60 0x0>; qcom,iommu-dma = "fastmap"; qcom,iommu-dma-addr-pool = <0x1000 0xFFFFF000>;