]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
arm64: dts: Fix various entry-method properties to reflect documentation
authorAmit Kucheria <amit.kucheria@linaro.org>
Thu, 23 Aug 2018 08:53:29 +0000 (14:23 +0530)
committerOlof Johansson <olof@lixom.net>
Fri, 24 Aug 2018 15:50:02 +0000 (08:50 -0700)
The idle-states binding documentation[1] mentions that the
'entry-method' property is required on 64-bit platforms and must be
set to "psci".

commit a13f18f59d26 ("Documentation: arm: Fix typo in the idle-states
bindings examples") attempted to fix this earlier but clearly more is
needed.

Fix the cpu-capacity.txt documentation that uses the incorrect value so
we don't get copy-paste errors like these. Clarify the language in
idle-states.txt by removing the reference to the psci bindings that
might be causing this confusion.

Finally, fix devicetrees of various boards to reflect current
documentation.

[1] Documentation/devicetree/bindings/arm/idle-states.txt (see
idle-states node)

Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
Documentation/devicetree/bindings/arm/cpu-capacity.txt
Documentation/devicetree/bindings/arm/idle-states.txt
arch/arm64/boot/dts/arm/juno-r1.dts
arch/arm64/boot/dts/arm/juno-r2.dts
arch/arm64/boot/dts/arm/juno.dts
arch/arm64/boot/dts/freescale/fsl-ls1012a.dtsi
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi
arch/arm64/boot/dts/mediatek/mt2712e.dtsi
arch/arm64/boot/dts/sprd/sc9860.dtsi
arch/arm64/boot/dts/xilinx/zynqmp.dtsi

index 7809fbe0cdb7d65e71640e605068eba9f151234f..9b5685a1d15d9821efb9dd6d34a29ae1f788e31f 100644 (file)
@@ -94,7 +94,7 @@ cpus {
        };
 
        idle-states {
-               entry-method = "arm,psci";
+               entry-method = "psci";
 
                CPU_SLEEP_0: cpu-sleep-0 {
                        compatible = "arm,idle-state";
index 7a591333f2b199d8b9faf92f606bdf0d13060495..2c73847499abc8d73cfdd64c987d6896f804b5c7 100644 (file)
@@ -237,8 +237,8 @@ processor idle states, defined as device tree nodes, are listed.
                Value type: <stringlist>
                Usage and definition depend on ARM architecture version.
                        # On ARM v8 64-bit this property is required and must
-                         be one of:
-                          - "psci" (see bindings in [2])
+                         be:
+                          - "psci"
                        # On ARM 32-bit systems this property is optional
 
 The nodes describing the idle states (state) can only be defined within the
index 2c5db03f226c60b595dad62e136e32ca4d769702..b2b7ced633cf6cc6ed5b52332ed8ef31e2eae0be 100644 (file)
@@ -63,7 +63,7 @@
                };
 
                idle-states {
-                       entry-method = "arm,psci";
+                       entry-method = "psci";
 
                        CPU_SLEEP_0: cpu-sleep-0 {
                                compatible = "arm,idle-state";
index c51950f4a1b66b4088331a8741edf38bfd6eec22..ab77adb4f3c20d46902bda9d96d2c77651a02b3a 100644 (file)
@@ -63,7 +63,7 @@
                };
 
                idle-states {
-                       entry-method = "arm,psci";
+                       entry-method = "psci";
 
                        CPU_SLEEP_0: cpu-sleep-0 {
                                compatible = "arm,idle-state";
index 2b2bf39c30ef68c1347f01457bb0818516fe2d43..1fb5c5a0f32e38876e25561d39548dfe700dde34 100644 (file)
@@ -62,7 +62,7 @@
                };
 
                idle-states {
-                       entry-method = "arm,psci";
+                       entry-method = "psci";
 
                        CPU_SLEEP_0: cpu-sleep-0 {
                                compatible = "arm,idle-state";
index 205f0f4c5df0a5b6b9fe1480d97be09930f38e00..3a27841171394b78b74508e64f473f6d0d19b750 100644 (file)
@@ -79,7 +79,7 @@
                 * PSCI node is not added default, U-boot will add missing
                 * parts if it determines to use PSCI.
                 */
-               entry-method = "arm,psci";
+               entry-method = "psci";
 
                CPU_PH20: cpu-ph20 {
                        compatible = "arm,idle-state";
index 1109f22bda5e5aa1cc8335cd532174a37342e057..e238b86e95fbe19e16957c7af47479e310ebddb2 100644 (file)
                 * PSCI node is not added default, U-boot will add missing
                 * parts if it determines to use PSCI.
                 */
-               entry-method = "arm,psci";
+               entry-method = "psci";
 
                CPU_PH20: cpu-ph20 {
                        compatible = "arm,idle-state";
index 136ebfa9b3332018f24dce132d6acc6b6b5c5326..1b200f7be0ba94cbf22c680606c62c630128ac10 100644 (file)
                 * PSCI node is not added default, U-boot will add missing
                 * parts if it determines to use PSCI.
                 */
-               entry-method = "arm,psci";
+               entry-method = "psci";
 
                CPU_PH20: cpu-ph20 {
                        compatible = "arm,idle-state";
index 6d8532af834688d96e1bdb7394c3d2821da393e4..75cc0f7cc088869f219d66da2fad2592acd5153e 100644 (file)
                };
 
                idle-states {
-                       entry-method = "arm,psci";
+                       entry-method = "psci";
 
                        CPU_SLEEP_0: cpu-sleep-0 {
                                compatible = "arm,idle-state";
index 3f5160d2f1307b0db5076d3dc2844fffc544489f..48f5928ed45c5d68cb179a89e01f6e793116ad76 100644 (file)
        };
 
        idle-states{
-               entry-method = "arm,psci";
+               entry-method = "psci";
 
                CORE_PD: core_pd {
                        compatible = "arm,idle-state";
index a091e6f030145fc09622270c00bd6a43391656ab..29ce23422acf221e0725e93949b99c79f975ccf7 100644 (file)
@@ -58,7 +58,7 @@
                };
 
                idle-states {
-                       entry-method = "arm,psci";
+                       entry-method = "psci";
 
                        CPU_SLEEP_0: cpu-sleep-0 {
                                compatible = "arm,idle-state";