Devicetree
 help / color / mirror / Atom feed
* [PATCH v2] arm64: dts: qcom: nord: Add RPMh sleep stats
@ 2026-11-30  5:10 Navya Malempati
  2026-11-30  5:18 ` sashiko-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Navya Malempati @ 2026-11-30  5:10 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Abel Vesa, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: linux-arm-msm, devicetree, Navya Malempati

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

Signed-off-by: Navya Malempati <navya.malempati@oss.qualcomm.com>
---
Changes in v2:
- add the stats node in nord.dtsi as this change is not variant specific.
- remove the stats node from the nord-embedded.dtsi.
- Link to v1: https://patch.msgid.link/20261128-nord_stats_node-v1-1-bf12bd1afdb2@oss.qualcomm.com

To: Bjorn Andersson <andersson@kernel.org>
To: Konrad Dybcio <konradybcio@kernel.org>
To: Abel Vesa <abelvesa@kernel.org>
To: Rob Herring <robh@kernel.org>
To: Krzysztof Kozlowski <krzk+dt@kernel.org>
To: Conor Dooley <conor+dt@kernel.org>
Cc: linux-arm-msm@vger.kernel.org
Cc: devicetree@vger.kernel.org
---
 arch/arm64/boot/dts/qcom/nord.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/nord.dtsi b/arch/arm64/boot/dts/qcom/nord.dtsi
index 56778dd444e4..c4100208bde6 100644
--- a/arch/arm64/boot/dts/qcom/nord.dtsi
+++ b/arch/arm64/boot/dts/qcom/nord.dtsi
@@ -2386,6 +2386,11 @@ pdc: interrupt-controller@b220000 {
 			interrupt-controller;
 		};
 
+		sram@c30f000 {
+			compatible = "qcom,rpmh-stats";
+			reg = <0x0 0x0c30f000 0x0 0x400>;
+		};
+
 		tsens0: thermal-sensor@c22c000 {
 			compatible = "qcom,nord-tsens",
 				     "qcom,tsens-v2";

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

Best regards,
--  
Navya Malempati <navya.malempati@oss.qualcomm.com>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] arm64: dts: qcom: nord: Add RPMh sleep stats
  2026-11-30  5:10 [PATCH v2] arm64: dts: qcom: nord: Add RPMh sleep stats Navya Malempati
@ 2026-11-30  5:18 ` sashiko-bot
  0 siblings, 0 replies; 2+ messages in thread
From: sashiko-bot @ 2026-11-30  5:18 UTC (permalink / raw)
  To: Navya Malempati; +Cc: devicetree, robh, conor+dt

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] arm64: dts: qcom: nord: sram@c30f000 placed out of unit-address
  order
--

commit 731b319aba38983f3fb5b96d25cc8acaa875ea1f
Author: Navya Malempati <navya.malempati@oss.qualcomm.com>

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

This commit adds the qcom,rpmh-stats sram node to nord.dtsi to expose RPMh
low power sleep statistics.

> diff --git a/arch/arm64/boot/dts/qcom/nord.dtsi b/arch/arm64/boot/dts/qcom/nord.dtsi
> index 56778dd444e4e..c4100208bde64 100644
> --- a/arch/arm64/boot/dts/qcom/nord.dtsi
> +++ b/arch/arm64/boot/dts/qcom/nord.dtsi
> @@ -2386,6 +2386,11 @@ pdc: interrupt-controller@b220000 {
>  			interrupt-controller;
>  		};
>  
> +		sram@c30f000 {
> +			compatible = "qcom,rpmh-stats";
> +			reg = <0x0 0x0c30f000 0x0 0x400>;
> +		};
> +
>  		tsens0: thermal-sensor@c22c000 {
>  			compatible = "qcom,nord-tsens",
>  				     "qcom,tsens-v2";

[Severity: Low]
Should sram@c30f000 be placed after aoss_qmp: power-management@c300000 and
before spmi_bus: spmi@c400000 to keep the /soc child nodes sorted in
ascending unit-address order?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261130-nord_stats_node-v2-1-2ed355718ad7@oss.qualcomm.com?part=1

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-30  5:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30  5:10 [PATCH v2] arm64: dts: qcom: nord: Add RPMh sleep stats Navya Malempati
2026-11-30  5:18 ` sashiko-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox