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

index c0f21a745fb0cbe562312b21e561fce6d53222b2..4ae8627d6dbc3dc3b2ef3521f3c50ad9289d707e 100644 (file)
                        qcom,smem-state-names = "ipa-clock-enabled-valid",
                                                "ipa-clock-enabled";
 
+                       sram = <&ipa_modem_tables>;
+
                        status = "disabled";
                };
 
 
                        ranges = <0 0 0x14680000 0x40000>;
 
+                       ipa_modem_tables: modem-tables@3d000 {
+                               reg = <0x3d000 0x2000>;
+                       };
+
                        pil-reloc@3f94c {
                                compatible = "qcom,pil-reloc-info";
                                reg = <0x3f94c 0xc8>;