]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: qcom: sc8180x: Add RPMh sleep stats
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Sat, 30 Dec 2023 00:05:11 +0000 (01:05 +0100)
committerBjorn Andersson <andersson@kernel.org>
Tue, 23 Jan 2024 00:12:43 +0000 (18:12 -0600)
Add the sleep stats node to enable peeking at the power collapse reports
coming from the AOSS.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20231230-topic-8180_more_fixes-v1-10-93b5c107ed43@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sc8180x.dtsi

index c0dd44f1467489bb5f2559c6b6b92f971c35c040..013723be4bb75da4c67db0dfdef2a4bde8eac5a3 100644 (file)
                        #power-domain-cells = <1>;
                };
 
+               sram@c3f0000 {
+                       compatible = "qcom,rpmh-stats";
+                       reg = <0x0 0x0c3f0000 0x0 0x400>;
+               };
+
                spmi_bus: spmi@c440000 {
                        compatible = "qcom,spmi-pmic-arb";
                        reg = <0x0 0x0c440000 0x0 0x0001100>,