From 573e7046afc53b287bc1709e88fe387289a38c86 Mon Sep 17 00:00:00 2001 From: Sayali Patil Date: Wed, 8 May 2024 15:40:57 +0530 Subject: [PATCH] ARM: dts: msm: put dependency of dma-heap on SCM Enforce dependency of dma heap driver on SCM driver without which it will not work and this is in the preparation of adding interconnect voting in SCM node which if it gets added without this change dma heap driver can result in NULL pointer issue. Change-Id: I641e2e1c7692dfd52dd1efa75064fbc8f2228fe2 Signed-off-by: Sayali Patil --- qcom/monaco-dma-heaps.dtsi | 1 + qcom/monaco.dtsi | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/qcom/monaco-dma-heaps.dtsi b/qcom/monaco-dma-heaps.dtsi index b7d25871..3ce3c923 100644 --- a/qcom/monaco-dma-heaps.dtsi +++ b/qcom/monaco-dma-heaps.dtsi @@ -8,6 +8,7 @@ &soc { qcom,dma-heaps { compatible = "qcom,dma-heaps"; + depends-on-supply = <&qcom_scm>; qcom,qseecom { qcom,dma-heap-name = "qcom,qseecom"; diff --git a/qcom/monaco.dtsi b/qcom/monaco.dtsi index 6087bc9e..6f631075 100644 --- a/qcom/monaco.dtsi +++ b/qcom/monaco.dtsi @@ -351,7 +351,7 @@ }; &firmware { - scm { + qcom_scm: scm { compatible = "qcom,scm"; qcom,dload-mode = <&tcsr 0x13000>; };