arm64: dts: qcom: sm8450: Add RPMh stats

Message ID 20230811-topic-8450_stats-v1-1-f26ae3fdf2cf@linaro.org
State New
Headers
Series arm64: dts: qcom: sm8450: Add RPMh stats |

Commit Message

Konrad Dybcio Aug. 11, 2023, 5:35 p.m. UTC
  SM8450 also exposes RPMh stats, hook them up for low power state
monitoring.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
 arch/arm64/boot/dts/qcom/sm8450.dtsi | 5 +++++
 1 file changed, 5 insertions(+)


---
base-commit: 21ef7b1e17d039053edaeaf41142423810572741
change-id: 20230811-topic-8450_stats-26016d61e2af

Best regards,
  

Comments

Bjorn Andersson Aug. 14, 2023, 3:27 a.m. UTC | #1
On Fri, 11 Aug 2023 19:35:27 +0200, Konrad Dybcio wrote:
> SM8450 also exposes RPMh stats, hook them up for low power state
> monitoring.
> 
> 

Applied, thanks!

[1/1] arm64: dts: qcom: sm8450: Add RPMh stats
      commit: 6578747ae2d76ce739ba81ffffb18b2222a87efb

Best regards,
  

Patch

diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi
index 4bc1c46a5f44..6ae64059cea5 100644
--- a/arch/arm64/boot/dts/qcom/sm8450.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi
@@ -3141,6 +3141,11 @@  aoss_qmp: power-management@c300000 {
 			#clock-cells = <0>;
 		};
 
+		sram@c3f0000 {
+			compatible = "qcom,rpmh-stats";
+			reg = <0 0x0c3f0000 0 0x400>;
+		};
+
 		spmi_bus: spmi@c400000 {
 			compatible = "qcom,spmi-pmic-arb";
 			reg = <0 0x0c400000 0 0x00003000>,