Skip to content

Commit

Permalink
Documentation: arm: Fix typo in the idle-states bindings examples
Browse files Browse the repository at this point in the history
The idle-states bindings mandate that the entry-method string
in the idle-states node must be "psci" for ARM v8 64-bit systems,
but the examples in the bindings report a wrong entry-method string.
Owing to this typo, some dts in the kernel wrongly defined the
entry-method property, since they likely cut and pasted the example
definition without paying attention to the bindings definitions.

This patch fixes the typo in the DT idle states bindings examples and
respective dts in the kernel so that the bindings and related dts
files are made compliant.

Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Howard Chen <howard.chen@linaro.org>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Rob Herring <robh@kernel.org>
  • Loading branch information
Lorenzo Pieralisi authored and Rob Herring committed Sep 24, 2015
1 parent e7ae65c commit a13f18f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Documentation/devicetree/bindings/arm/idle-states.txt
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ cpus {
};

idle-states {
entry-method = "arm,psci";
entry-method = "psci";

CPU_RETENTION_0_0: cpu-retention-0-0 {
compatible = "arm,idle-state";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/mediatek/mt8173.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
};

idle-states {
entry-method = "arm,psci";
entry-method = "psci";

CPU_SLEEP_0: cpu-sleep-0 {
compatible = "arm,idle-state";
Expand Down
2 changes: 1 addition & 1 deletion arch/arm64/boot/dts/rockchip/rk3368.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
};

idle-states {
entry-method = "arm,psci";
entry-method = "psci";

cpu_sleep: cpu-sleep-0 {
compatible = "arm,idle-state";
Expand Down

0 comments on commit a13f18f

Please sign in to comment.