Commit f4697bd7 authored by Brian Norris's avatar Brian Norris Committed by Heiko Stuebner

arm64: dts: rockchip: set rk3399 dynamic CPU power coefficients

Provide the dynamic power coefficient of the big and little CPU
clusters. These numbers are currently in use on the Samsung Chromebook
Plus ("Kevin").

The power allocator thermal governor doesn't know how to do anything if
it doesn't get power parameters from its cooling devices (in this case,
CPUfreq). So this effectively enables the power-allocator governor.
Signed-off-by: default avatarBrian Norris <briannorris@chromium.org>
[set the property in each core node]
Signed-off-by: default avatarHeiko Stuebner <heiko@sntech.de>
parent 6f07176f
...@@ -110,6 +110,7 @@ cpu_l0: cpu@0 { ...@@ -110,6 +110,7 @@ cpu_l0: cpu@0 {
enable-method = "psci"; enable-method = "psci";
#cooling-cells = <2>; /* min followed by max */ #cooling-cells = <2>; /* min followed by max */
clocks = <&cru ARMCLKL>; clocks = <&cru ARMCLKL>;
dynamic-power-coefficient = <100>;
}; };
cpu_l1: cpu@1 { cpu_l1: cpu@1 {
...@@ -118,6 +119,7 @@ cpu_l1: cpu@1 { ...@@ -118,6 +119,7 @@ cpu_l1: cpu@1 {
reg = <0x0 0x1>; reg = <0x0 0x1>;
enable-method = "psci"; enable-method = "psci";
clocks = <&cru ARMCLKL>; clocks = <&cru ARMCLKL>;
dynamic-power-coefficient = <100>;
}; };
cpu_l2: cpu@2 { cpu_l2: cpu@2 {
...@@ -126,6 +128,7 @@ cpu_l2: cpu@2 { ...@@ -126,6 +128,7 @@ cpu_l2: cpu@2 {
reg = <0x0 0x2>; reg = <0x0 0x2>;
enable-method = "psci"; enable-method = "psci";
clocks = <&cru ARMCLKL>; clocks = <&cru ARMCLKL>;
dynamic-power-coefficient = <100>;
}; };
cpu_l3: cpu@3 { cpu_l3: cpu@3 {
...@@ -134,6 +137,7 @@ cpu_l3: cpu@3 { ...@@ -134,6 +137,7 @@ cpu_l3: cpu@3 {
reg = <0x0 0x3>; reg = <0x0 0x3>;
enable-method = "psci"; enable-method = "psci";
clocks = <&cru ARMCLKL>; clocks = <&cru ARMCLKL>;
dynamic-power-coefficient = <100>;
}; };
cpu_b0: cpu@100 { cpu_b0: cpu@100 {
...@@ -143,6 +147,7 @@ cpu_b0: cpu@100 { ...@@ -143,6 +147,7 @@ cpu_b0: cpu@100 {
enable-method = "psci"; enable-method = "psci";
#cooling-cells = <2>; /* min followed by max */ #cooling-cells = <2>; /* min followed by max */
clocks = <&cru ARMCLKB>; clocks = <&cru ARMCLKB>;
dynamic-power-coefficient = <100>;
}; };
cpu_b1: cpu@101 { cpu_b1: cpu@101 {
...@@ -151,6 +156,7 @@ cpu_b1: cpu@101 { ...@@ -151,6 +156,7 @@ cpu_b1: cpu@101 {
reg = <0x0 0x101>; reg = <0x0 0x101>;
enable-method = "psci"; enable-method = "psci";
clocks = <&cru ARMCLKB>; clocks = <&cru ARMCLKB>;
dynamic-power-coefficient = <100>;
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment