]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: qcom: sm8350: Explicitly describe the IPA IMEM slice
authorKonrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Thu, 5 Mar 2026 10:55:44 +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: 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-5-5cb5b90902bf@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm8350.dtsi

index 28b4b79d258725e77d892050c97a34d4c3afc028..6e9109073716d518ae165058ed6342fc6d1ba4a6 100644 (file)
                        qcom,smem-state-names = "ipa-clock-enabled-valid",
                                                "ipa-clock-enabled";
 
+                       sram = <&ipa_modem_tables>;
+
                        status = "disabled";
                };
 
                        };
                };
 
+               sram@14680000 {
+                       compatible = "qcom,sm8350-imem", "syscon", "simple-mfd";
+                       reg = <0 0x14680000 0 0x40000>;
+
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       ranges = <0 0 0x14680000 0x40000>;
+
+                       ipa_modem_tables: modem-tables@3d000 {
+                               reg = <0x3d000 0x2000>;
+                       };
+               };
+
                apps_smmu: iommu@15000000 {
                        compatible = "qcom,sm8350-smmu-500", "arm,mmu-500";
                        reg = <0 0x15000000 0 0x100000>;