Skip to content

Commit

Permalink
Documentation: arm: Link idle-states binding to "enable-method" property
Browse files Browse the repository at this point in the history
The "enable-method" property for cpu nodes needs to be "psci" for CPU
idle management to be setup correctly.

Add a note to the binding documentation to this effect to make it
obvious.

Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Rob Herring <robh@kernel.org>
  • Loading branch information
Amit Kucheria authored and Rob Herring committed Jun 13, 2019
1 parent 5737480 commit 4c0a59e
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions Documentation/devicetree/bindings/arm/idle-states.txt
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,13 @@ processor idle states, defined as device tree nodes, are listed.
- "psci"
# On ARM 32-bit systems this property is optional

The nodes describing the idle states (state) can only be defined within the
idle-states node, any other configuration is considered invalid and therefore
must be ignored.
This assumes that the "enable-method" property is set to "psci" in the cpu
node[6] that is responsible for setting up CPU idle management in the OS
implementation.

The nodes describing the idle states (state) can only be defined
within the idle-states node, any other configuration is considered invalid
and therefore must be ignored.

===========================================
4 - state node
Expand Down Expand Up @@ -697,3 +701,6 @@ cpus {

[5] Devicetree Specification
https://www.devicetree.org/specifications/

[6] ARM Linux Kernel documentation - Booting AArch64 Linux
Documentation/arm64/booting.txt

0 comments on commit 4c0a59e

Please sign in to comment.