From afe3f7b8221f578c556c6a7adc29b42a8030c666 Mon Sep 17 00:00:00 2001 From: Minghao Zhang Date: Tue, 7 Dec 2021 20:42:39 +0800 Subject: [PATCH] dt-bindings: soc_sleep_stats: Add a property to get ddr freq distribution This change adds a property to get ddr freq distribution. Change-Id: I8b4c94031e267a90e83488092229a11a19fd46eb --- bindings/soc/qcom/soc-sleep-stats.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/bindings/soc/qcom/soc-sleep-stats.yaml b/bindings/soc/qcom/soc-sleep-stats.yaml index 87498887..af4ab7fb 100644 --- a/bindings/soc/qcom/soc-sleep-stats.yaml +++ b/bindings/soc/qcom/soc-sleep-stats.yaml @@ -37,6 +37,11 @@ properties: Value type: Value type: Definition: List of QMP mailbox phandle and channel identifier tuples. + ddr-freq-update: + Usage: optional + Value type: + Definition: Boolean property to support to get ddr freq distribution. + required: - compatible - reg @@ -58,4 +63,15 @@ examples: compatible = "qcom,rpm-sleep-stats"; reg = <0 0x04690000 0 0x400>; }; + # Example of rpmh sleep stats that supports to get ddr freq distribution + - | + rpmh-sleep-stats@c3f0000 { + compatible = "qcom,rpmh-sleep-stats"; + reg = <0 0xc3f0000 0 0x400>; + ss-name = "modem", "adsp", "adsp_island", + "cdsp", "slpi", "slpi_island", + "apss"; + mboxes = <&qmp_aop 0>; + ddr-freq-update; + }; ...