aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/arm/idle-states.txt
diff options
context:
space:
mode:
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2014-10-15 16:57:34 +0100
committerDaniel Lezcano <daniel.lezcano@linaro.org>2014-11-19 10:16:23 +0100
commitc00bc5df7c01a189843cb048cf29e2a445e0037a (patch)
tree72145cbd8492fd1067b404f5017f6c8b6be1e26d /Documentation/devicetree/bindings/arm/idle-states.txt
parentdrivers: cpuidle: Add status property to ARM idle states (diff)
downloadlinux-dev-c00bc5df7c01a189843cb048cf29e2a445e0037a.tar.xz
linux-dev-c00bc5df7c01a189843cb048cf29e2a445e0037a.zip
drivers: cpuidle: Add idle-state-name description to ARM idle states
On ARM machines, where generally speaking the idle state numbering has no fixed and standard meaning it is useful to provide a description of the idle state inner workings for benchmarking and monitoring purposes. This patch adds a property to the idle states bindings that if present gives platform firmware a means of describing the idle state and export the string description to user space. The patch updates the DT parsing code accordingly to take the description, if present, into consideration. Acked-by: Kevin Hilman <khilman@linaro.org> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/arm/idle-states.txt')
-rw-r--r--Documentation/devicetree/bindings/arm/idle-states.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/arm/idle-states.txt b/Documentation/devicetree/bindings/arm/idle-states.txt
index 5e5151130c20..a8274eabae2e 100644
--- a/Documentation/devicetree/bindings/arm/idle-states.txt
+++ b/Documentation/devicetree/bindings/arm/idle-states.txt
@@ -331,6 +331,12 @@ follows:
If the property is not present the idle-state must
be considered operational.
+ - idle-state-name:
+ Usage: Optional
+ Value type: <string>
+ Definition: A string used as a descriptive name for the idle
+ state.
+
In addition to the properties listed above, a state node may require
additional properties specifics to the entry-method defined in the
idle-states node, please refer to the entry-method bindings