diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-07-09 11:45:12 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2014-07-16 08:54:13 -0400 |
commit | 3843607838cc5436d02a6771e661969a54c2fee0 (patch) | |
tree | 06ace83aaafc09ced693a1e9246e466d91005bda /arch/arm/boot/dts/armada-xp-mv78460.dtsi | |
parent | d7f3ec2b69f692d215deb991d109a3341b0d8da9 (diff) |
ARM: mvebu: update Armada XP DT for dynamic frequency scaling
In order to support dynamic frequency scaling:
* the cpuclk Device Tree node needs to be updated to describe a
second set of registers describing the PMU DFS registers.
* the clock-latency property of the CPUs must be filled, otherwise
the ondemand and conservative cpufreq governors refuse to work. The
latency is high because the cost of a frequency transition is quite
high on those CPUs.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Link: https://lkml.kernel.org/r/1404920715-19834-5-git-send-email-thomas.petazzoni@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts/armada-xp-mv78460.dtsi')
-rw-r--r-- | arch/arm/boot/dts/armada-xp-mv78460.dtsi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-xp-mv78460.dtsi b/arch/arm/boot/dts/armada-xp-mv78460.dtsi index 6da84bf40aaf..2c7b1fef4703 100644 --- a/arch/arm/boot/dts/armada-xp-mv78460.dtsi +++ b/arch/arm/boot/dts/armada-xp-mv78460.dtsi | |||
@@ -37,6 +37,7 @@ | |||
37 | compatible = "marvell,sheeva-v7"; | 37 | compatible = "marvell,sheeva-v7"; |
38 | reg = <0>; | 38 | reg = <0>; |
39 | clocks = <&cpuclk 0>; | 39 | clocks = <&cpuclk 0>; |
40 | clock-latency = <1000000>; | ||
40 | }; | 41 | }; |
41 | 42 | ||
42 | cpu@1 { | 43 | cpu@1 { |
@@ -44,6 +45,7 @@ | |||
44 | compatible = "marvell,sheeva-v7"; | 45 | compatible = "marvell,sheeva-v7"; |
45 | reg = <1>; | 46 | reg = <1>; |
46 | clocks = <&cpuclk 1>; | 47 | clocks = <&cpuclk 1>; |
48 | clock-latency = <1000000>; | ||
47 | }; | 49 | }; |
48 | 50 | ||
49 | cpu@2 { | 51 | cpu@2 { |
@@ -51,6 +53,7 @@ | |||
51 | compatible = "marvell,sheeva-v7"; | 53 | compatible = "marvell,sheeva-v7"; |
52 | reg = <2>; | 54 | reg = <2>; |
53 | clocks = <&cpuclk 2>; | 55 | clocks = <&cpuclk 2>; |
56 | clock-latency = <1000000>; | ||
54 | }; | 57 | }; |
55 | 58 | ||
56 | cpu@3 { | 59 | cpu@3 { |
@@ -58,6 +61,7 @@ | |||
58 | compatible = "marvell,sheeva-v7"; | 61 | compatible = "marvell,sheeva-v7"; |
59 | reg = <3>; | 62 | reg = <3>; |
60 | clocks = <&cpuclk 3>; | 63 | clocks = <&cpuclk 3>; |
64 | clock-latency = <1000000>; | ||
61 | }; | 65 | }; |
62 | }; | 66 | }; |
63 | 67 | ||