Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9c0352d0 authored by Tushar Nimkar's avatar Tushar Nimkar
Browse files

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
parent e377ad14
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -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>;
	};