drivers: cpuidle: Add idle-state-name description to ARM idle states
authorLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Wed, 15 Oct 2014 15:57:34 +0000 (16:57 +0100)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 19 Nov 2014 09:16:23 +0000 (10:16 +0100)
commitc00bc5df7c01a189843cb048cf29e2a445e0037a
tree72145cbd8492fd1067b404f5017f6c8b6be1e26d
parent97735da074fdd3fe39d975cad8760807df0d4388
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>
Documentation/devicetree/bindings/arm/idle-states.txt
drivers/cpuidle/dt_idle_states.c