OSDN Git Service

Documentation: arm: Link idle-states binding to "enable-method" property
authorAmit Kucheria <amit.kucheria@linaro.org>
Tue, 21 May 2019 09:35:12 +0000 (15:05 +0530)
committerRob Herring <robh@kernel.org>
Thu, 13 Jun 2019 23:13:32 +0000 (17:13 -0600)
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>
Documentation/devicetree/bindings/arm/idle-states.txt

index 45730ba..3bdbe67 100644 (file)
@@ -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
@@ -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