From c59b00dcb10bba67afdf0c7e22595e1475cf097a Mon Sep 17 00:00:00 2001 From: Tushar Nimkar Date: Wed, 10 Mar 2021 19:43:55 +0530 Subject: [PATCH] dt-bindings: Update soc sleep stats to read legacy device data This change adds support to for legacy device to read sleep stats information. Change-Id: I43db91cf7aa7dd68debb1d5d9ed7747e0ea48f63 --- bindings/soc/qcom/soc-sleep-stats.txt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/bindings/soc/qcom/soc-sleep-stats.txt b/bindings/soc/qcom/soc-sleep-stats.txt index 4c5ade89abbb..725a2ccb5505 100644 --- a/bindings/soc/qcom/soc-sleep-stats.txt +++ b/bindings/soc/qcom/soc-sleep-stats.txt @@ -13,7 +13,8 @@ Properties: - compatible: Usage: required Value type: - Definition: Should be "qcom,rpmh-sleep-stats" or "qcom,rpm-sleep-stats". + Definition: Should be "qcom,rpmh-sleep-stats" or "qcom,rpm-sleep-stats" + or "qcom,legacy-rpm-sleep-stats". - reg: Usage: required @@ -34,3 +35,11 @@ EXAMPLE 2: compatible = "qcom,rpm-sleep-stats"; reg = <0 0x04690000 0 0x400>; }; + +EXAMPLE 3: + + rpm_sleep_stats: soc-sleep-stats@29dba0 { + compatible = "qcom,legacy-rpm-sleep-stats"; + reg = <0x2a1ba0 0x1000>; + }; +