Skip to contentSkip to conversation

arm64: dts: qcom: nord: Add RPMh sleep stats

PATCH In review Navya Malempati 2 participants 2 messages Nov 28 – Nov 29

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: qcom: nord: Add RPMh sleep stats

Add RPMh stats to read low power statistics for various subsystem and SoC sleep modes.

---
 arch/arm64/boot/dts/qcom/nord-embedded.dtsi | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm64/boot/dts/qcom/nord-embedded.dtsi +5 -0
index e6d0bd21744e..f0534769f41f 100644
@@ -1845,6 +1845,11 @@ dispcc0: clock-controller@af00000 {
 		#power-domain-cells = <1>;
 	};
 
+	sram@c30f000 {
+		compatible = "qcom,rpmh-stats";
+		reg = <0x0 0x0c30f000 0x0 0x400>;
+	};
+
 	tcsrcc: clock-controller@f1d9000 {
 		compatible = "qcom,nord-tcsrcc",
 			     "syscon";

---
base-commit: a9c48428cbd8d96b26f92631d0db6f8519c5fcc5
change-id: 20261127-nord_stats_node-2e73e579b864

Best regards,

Signature · 1 line
Navya Malempati <[email protected]>
#1 lore raw
Quoted 13 lines · Navya Malempati

Add RPMh stats to read low power statistics for various subsystem and SoC sleep modes.

---
 arch/arm64/boot/dts/qcom/nord-embedded.dtsi | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm64/boot/dts/qcom/nord-embedded.dtsi +0 -0
index e6d0bd21744e..f0534769f41f 100644

arch/arm64/boot/dts/qcom/nord-embedded.dtsi dispcc0: clock-controller@af00000 { · line 1852

Quoted 8 lines
arch/arm64/boot/dts/qcom/nord-embedded.dtsi +5 -0
@@ -1845,6 +1845,11 @@ dispcc0: clock-controller@af00000 {
 		#power-domain-cells = <1>;
 	};
 
+	sram@c30f000 {
+		compatible = "qcom,rpmh-stats";
+		reg = <0x0 0x0c30f000 0x0 0x400>;
+	};
+

Not sure this is Embedded variant specific. Should probably be added to nord.dtsi instead.

Shawn

Quoted 13 lines
arch/arm64/boot/dts/qcom/nord-embedded.dtsi +0 -1
 	tcsrcc: clock-controller@f1d9000 {
 		compatible = "qcom,nord-tcsrcc",
 			     "syscon";
 
---

base-commit: a9c48428cbd8d96b26f92631d0db6f8519c5fcc5
change-id: 20261127-nord_stats_node-2e73e579b864

Best regards,

Signature · 1 line
Navya Malempati <[email protected]>