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

index 656d69774ead8b09a5055e0ee05dbbf073fd6334..90939b22ca2f83e814862824caf37c48ba6a846d 100644 (file)
                        qcom,smem-state-names = "ipa-clock-enabled-valid",
                                                "ipa-clock-enabled";
 
+                       sram = <&ipa_modem_tables>;
+
                        status = "disabled";
                };
 
                        };
                };
 
+               sram@14680000 {
+                       compatible = "qcom,sm8550-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,sm8550-smmu-500", "qcom,smmu-500", "arm,mmu-500";
                        reg = <0 0x15000000 0 0x100000>;