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

index fec01750e2c7530ec898c00339f6306b2c0f607b..73982fee9621d0ef1c5024c26fa428fe6379b8a5 100644 (file)
                        qcom,smem-state-names = "ipa-clock-enabled-valid",
                                                "ipa-clock-enabled";
 
+                       sram = <&ipa_modem_tables>;
+
                        status = "disabled";
                };
 
                        };
                };
 
+               sram@14680000 {
+                       compatible = "qcom,sm6350-imem", "syscon", "simple-mfd";
+                       reg = <0 0x14680000 0 0x2e000>;
+
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       ranges = <0 0 0x14680000 0x2e000>;
+
+                       ipa_modem_tables: modem-tables@28000 {
+                               reg = <0x28000 0x2000>;
+                       };
+               };
+
                apps_smmu: iommu@15000000 {
                        compatible = "qcom,sm6350-smmu-500", "arm,mmu-500";
                        reg = <0x0 0x15000000 0x0 0x100000>;