]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1a7558757eb0ca82c930331c66724011e97e9f98
tree72145cbd8492fd1067b404f5017f6c8b6be1e26d
parent02443e7fde967410514043c8eccc6bc9ca32e845
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