Commit d4507d42 authored by Matthias Kaehlcke's avatar Matthias Kaehlcke Committed by Bjorn Andersson

arm64: dts: sdm845: Add dynamic CPU power coefficients

Add dynamic power coefficients for the Silver and Gold CPU cores of
the Qualcomm SDM845.
Signed-off-by: default avatarMatthias Kaehlcke <mka@chromium.org>
Reviewed-by: default avatarDouglas Anderson <dianders@chromium.org>
Reviewed-by: default avatarAmit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent a87fa5bc
...@@ -194,6 +194,7 @@ CPU0: cpu@0 { ...@@ -194,6 +194,7 @@ CPU0: cpu@0 {
&LITTLE_CPU_SLEEP_1 &LITTLE_CPU_SLEEP_1
&CLUSTER_SLEEP_0>; &CLUSTER_SLEEP_0>;
capacity-dmips-mhz = <607>; capacity-dmips-mhz = <607>;
dynamic-power-coefficient = <100>;
qcom,freq-domain = <&cpufreq_hw 0>; qcom,freq-domain = <&cpufreq_hw 0>;
#cooling-cells = <2>; #cooling-cells = <2>;
next-level-cache = <&L2_0>; next-level-cache = <&L2_0>;
...@@ -215,6 +216,7 @@ CPU1: cpu@100 { ...@@ -215,6 +216,7 @@ CPU1: cpu@100 {
&LITTLE_CPU_SLEEP_1 &LITTLE_CPU_SLEEP_1
&CLUSTER_SLEEP_0>; &CLUSTER_SLEEP_0>;
capacity-dmips-mhz = <607>; capacity-dmips-mhz = <607>;
dynamic-power-coefficient = <100>;
qcom,freq-domain = <&cpufreq_hw 0>; qcom,freq-domain = <&cpufreq_hw 0>;
#cooling-cells = <2>; #cooling-cells = <2>;
next-level-cache = <&L2_100>; next-level-cache = <&L2_100>;
...@@ -233,6 +235,7 @@ CPU2: cpu@200 { ...@@ -233,6 +235,7 @@ CPU2: cpu@200 {
&LITTLE_CPU_SLEEP_1 &LITTLE_CPU_SLEEP_1
&CLUSTER_SLEEP_0>; &CLUSTER_SLEEP_0>;
capacity-dmips-mhz = <607>; capacity-dmips-mhz = <607>;
dynamic-power-coefficient = <100>;
qcom,freq-domain = <&cpufreq_hw 0>; qcom,freq-domain = <&cpufreq_hw 0>;
#cooling-cells = <2>; #cooling-cells = <2>;
next-level-cache = <&L2_200>; next-level-cache = <&L2_200>;
...@@ -251,6 +254,7 @@ CPU3: cpu@300 { ...@@ -251,6 +254,7 @@ CPU3: cpu@300 {
&LITTLE_CPU_SLEEP_1 &LITTLE_CPU_SLEEP_1
&CLUSTER_SLEEP_0>; &CLUSTER_SLEEP_0>;
capacity-dmips-mhz = <607>; capacity-dmips-mhz = <607>;
dynamic-power-coefficient = <100>;
qcom,freq-domain = <&cpufreq_hw 0>; qcom,freq-domain = <&cpufreq_hw 0>;
#cooling-cells = <2>; #cooling-cells = <2>;
next-level-cache = <&L2_300>; next-level-cache = <&L2_300>;
...@@ -269,6 +273,7 @@ CPU4: cpu@400 { ...@@ -269,6 +273,7 @@ CPU4: cpu@400 {
cpu-idle-states = <&BIG_CPU_SLEEP_0 cpu-idle-states = <&BIG_CPU_SLEEP_0
&BIG_CPU_SLEEP_1 &BIG_CPU_SLEEP_1
&CLUSTER_SLEEP_0>; &CLUSTER_SLEEP_0>;
dynamic-power-coefficient = <396>;
qcom,freq-domain = <&cpufreq_hw 1>; qcom,freq-domain = <&cpufreq_hw 1>;
#cooling-cells = <2>; #cooling-cells = <2>;
next-level-cache = <&L2_400>; next-level-cache = <&L2_400>;
...@@ -287,6 +292,7 @@ CPU5: cpu@500 { ...@@ -287,6 +292,7 @@ CPU5: cpu@500 {
cpu-idle-states = <&BIG_CPU_SLEEP_0 cpu-idle-states = <&BIG_CPU_SLEEP_0
&BIG_CPU_SLEEP_1 &BIG_CPU_SLEEP_1
&CLUSTER_SLEEP_0>; &CLUSTER_SLEEP_0>;
dynamic-power-coefficient = <396>;
qcom,freq-domain = <&cpufreq_hw 1>; qcom,freq-domain = <&cpufreq_hw 1>;
#cooling-cells = <2>; #cooling-cells = <2>;
next-level-cache = <&L2_500>; next-level-cache = <&L2_500>;
...@@ -305,6 +311,7 @@ CPU6: cpu@600 { ...@@ -305,6 +311,7 @@ CPU6: cpu@600 {
cpu-idle-states = <&BIG_CPU_SLEEP_0 cpu-idle-states = <&BIG_CPU_SLEEP_0
&BIG_CPU_SLEEP_1 &BIG_CPU_SLEEP_1
&CLUSTER_SLEEP_0>; &CLUSTER_SLEEP_0>;
dynamic-power-coefficient = <396>;
qcom,freq-domain = <&cpufreq_hw 1>; qcom,freq-domain = <&cpufreq_hw 1>;
#cooling-cells = <2>; #cooling-cells = <2>;
next-level-cache = <&L2_600>; next-level-cache = <&L2_600>;
...@@ -323,6 +330,7 @@ CPU7: cpu@700 { ...@@ -323,6 +330,7 @@ CPU7: cpu@700 {
cpu-idle-states = <&BIG_CPU_SLEEP_0 cpu-idle-states = <&BIG_CPU_SLEEP_0
&BIG_CPU_SLEEP_1 &BIG_CPU_SLEEP_1
&CLUSTER_SLEEP_0>; &CLUSTER_SLEEP_0>;
dynamic-power-coefficient = <396>;
qcom,freq-domain = <&cpufreq_hw 1>; qcom,freq-domain = <&cpufreq_hw 1>;
#cooling-cells = <2>; #cooling-cells = <2>;
next-level-cache = <&L2_700>; next-level-cache = <&L2_700>;
......
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