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
This commit is contained in:
Tushar Nimkar 2021-03-10 19:43:55 +05:30
commit c59b00dcb1

View file

@ -13,7 +13,8 @@ Properties:
- compatible:
Usage: required
Value type: <string>
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>;
};