]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: qcom: sm8650: Explicitly describe the IPA IMEM slice
authorKonrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Thu, 5 Mar 2026 10:55:46 +0000 (11:55 +0100)
committerBjorn Andersson <andersson@kernel.org>
Thu, 26 Mar 2026 14:40:53 +0000 (09:40 -0500)
As part of stepping away from crazy hardcoding in the driver, move
define the slice explicitly and pass it to the IPA node.

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260305-topic-ipa_mem_dts-v2-7-5cb5b90902bf@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm8650.dtsi

index 7ade6de03bade293b9192b4eb311c6bc077632ae..1604bc8cff3735abd36e60c26e1a995d80ed2714 100644 (file)
                        qcom,smem-state-names = "ipa-clock-enabled-valid",
                                                "ipa-clock-enabled";
 
+                       sram = <&ipa_modem_tables>;
+
                        status = "disabled";
                };
 
                        };
                };
 
+               sram@14680000 {
+                       compatible = "qcom,sm8650-imem", "syscon", "simple-mfd";
+                       reg = <0 0x14680000 0 0x2c000>;
+
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       ranges = <0 0 0x14680000 0x2c000>;
+
+                       ipa_modem_tables: modem-tables@8000 {
+                               reg = <0x8000 0x2000>;
+                       };
+               };
+
                apps_smmu: iommu@15000000 {
                        compatible = "qcom,sm8650-smmu-500", "qcom,smmu-500", "arm,mmu-500";
                        reg = <0 0x15000000 0 0x100000>;