OSDN Git Service

arm64: dts: qcom: Enable RPM Sleep stats
authorMaulik Shah <mkshah@codeaurora.org>
Wed, 13 Oct 2021 06:38:24 +0000 (12:08 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Sat, 16 Oct 2021 23:23:54 +0000 (18:23 -0500)
Add device node for Sleep stats driver which provides various
low power mode stats on msm8996, msm8998, qcs404, sdm630 and
sm6125.

Cc: devicetree@vger.kernel.org
Signed-off-by: Maulik Shah <mkshah@codeaurora.org>
Tested-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/1634107104-22197-6-git-send-email-mkshah@codeaurora.org
arch/arm64/boot/dts/qcom/msm8996.dtsi
arch/arm64/boot/dts/qcom/msm8998.dtsi
arch/arm64/boot/dts/qcom/qcs404.dtsi
arch/arm64/boot/dts/qcom/sdm630.dtsi
arch/arm64/boot/dts/qcom/sm6125.dtsi

index eb3ec5f..465cd19 100644 (file)
                        };
                };
 
+               sram@290000 {
+                       compatible = "qcom,rpm-stats";
+                       reg = <0x00290000 0x10000>;
+               };
+
                spmi_bus: qcom,spmi@400f000 {
                        compatible = "qcom,spmi-pmic-arb";
                        reg = <0x0400f000 0x1000>,
index 3c1f133..887ba7c 100644 (file)
                        };
                };
 
+               sram@290000 {
+                       compatible = "qcom,rpm-stats";
+                       reg = <0x00290000 0x10000>;
+               };
+
                spmi_bus: spmi@800f000 {
                        compatible = "qcom,spmi-pmic-arb";
                        reg =   <0x0800f000 0x1000>,
index 339790b..8abede3 100644 (file)
                        reg = <0x01937000 0x25000>;
                };
 
+               sram@290000 {
+                       compatible = "qcom,rpm-stats";
+                       reg = <0x00290000 0x10000>;
+               };
+
                spmi_bus: spmi@200f000 {
                        compatible = "qcom,spmi-pmic-arb";
                        reg = <0x0200f000 0x001000>,
index 9153e66..8e92d9e 100644 (file)
                        status = "disabled";
                };
 
+               sram@290000 {
+                       compatible = "qcom,rpm-stats";
+                       reg = <0x00290000 0x10000>;
+               };
+
                spmi_bus: spmi@800f000 {
                        compatible = "qcom,spmi-pmic-arb";
                        reg =   <0x0800f000 0x1000>,
index c2317dd..6b03beb 100644 (file)
                        };
                };
 
+               sram@4690000 {
+                       compatible = "qcom,rpm-stats";
+                       reg = <0x04690000 0x10000>;
+               };
+
                spmi_bus: spmi@1c40000 {
                        compatible = "qcom,spmi-pmic-arb";
                        reg = <0x01c40000 0x1100>,