Skip to content

Commit 942bf46

Browse files
Ankit Sharmaandersson
authored andcommitted
arm64: dts: qcom: sc7280: Add capacity and DPC properties
The "capacity-dmips-mhz" and "dynamic-power-coefficient" are used to build Energy Model which in turn is used by EAS to take placement decisions. So add it to SC7280 soc. Signed-off-by: Ankit Sharma <quic_anshar@quicinc.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Link: https://lore.kernel.org/r/20231103105440.23904-1-quic_anshar@quicinc.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent dc14578 commit 942bf46

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

arch/arm64/boot/dts/qcom/sc7280.dtsi

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,8 @@
202202
power-domain-names = "psci";
203203
next-level-cache = <&L2_0>;
204204
operating-points-v2 = <&cpu0_opp_table>;
205+
capacity-dmips-mhz = <1024>;
206+
dynamic-power-coefficient = <100>;
205207
interconnects = <&gem_noc MASTER_APPSS_PROC 3 &mc_virt SLAVE_EBI1 3>,
206208
<&epss_l3 MASTER_EPSS_L3_APPS &epss_l3 SLAVE_EPSS_L3_SHARED>;
207209
qcom,freq-domain = <&cpufreq_hw 0>;
@@ -229,6 +231,8 @@
229231
power-domain-names = "psci";
230232
next-level-cache = <&L2_100>;
231233
operating-points-v2 = <&cpu0_opp_table>;
234+
capacity-dmips-mhz = <1024>;
235+
dynamic-power-coefficient = <100>;
232236
interconnects = <&gem_noc MASTER_APPSS_PROC 3 &mc_virt SLAVE_EBI1 3>,
233237
<&epss_l3 MASTER_EPSS_L3_APPS &epss_l3 SLAVE_EPSS_L3_SHARED>;
234238
qcom,freq-domain = <&cpufreq_hw 0>;
@@ -251,6 +255,8 @@
251255
power-domain-names = "psci";
252256
next-level-cache = <&L2_200>;
253257
operating-points-v2 = <&cpu0_opp_table>;
258+
capacity-dmips-mhz = <1024>;
259+
dynamic-power-coefficient = <100>;
254260
interconnects = <&gem_noc MASTER_APPSS_PROC 3 &mc_virt SLAVE_EBI1 3>,
255261
<&epss_l3 MASTER_EPSS_L3_APPS &epss_l3 SLAVE_EPSS_L3_SHARED>;
256262
qcom,freq-domain = <&cpufreq_hw 0>;
@@ -273,6 +279,8 @@
273279
power-domain-names = "psci";
274280
next-level-cache = <&L2_300>;
275281
operating-points-v2 = <&cpu0_opp_table>;
282+
capacity-dmips-mhz = <1024>;
283+
dynamic-power-coefficient = <100>;
276284
interconnects = <&gem_noc MASTER_APPSS_PROC 3 &mc_virt SLAVE_EBI1 3>,
277285
<&epss_l3 MASTER_EPSS_L3_APPS &epss_l3 SLAVE_EPSS_L3_SHARED>;
278286
qcom,freq-domain = <&cpufreq_hw 0>;
@@ -295,6 +303,8 @@
295303
power-domain-names = "psci";
296304
next-level-cache = <&L2_400>;
297305
operating-points-v2 = <&cpu4_opp_table>;
306+
capacity-dmips-mhz = <1946>;
307+
dynamic-power-coefficient = <520>;
298308
interconnects = <&gem_noc MASTER_APPSS_PROC 3 &mc_virt SLAVE_EBI1 3>,
299309
<&epss_l3 MASTER_EPSS_L3_APPS &epss_l3 SLAVE_EPSS_L3_SHARED>;
300310
qcom,freq-domain = <&cpufreq_hw 1>;
@@ -317,6 +327,8 @@
317327
power-domain-names = "psci";
318328
next-level-cache = <&L2_500>;
319329
operating-points-v2 = <&cpu4_opp_table>;
330+
capacity-dmips-mhz = <1946>;
331+
dynamic-power-coefficient = <520>;
320332
interconnects = <&gem_noc MASTER_APPSS_PROC 3 &mc_virt SLAVE_EBI1 3>,
321333
<&epss_l3 MASTER_EPSS_L3_APPS &epss_l3 SLAVE_EPSS_L3_SHARED>;
322334
qcom,freq-domain = <&cpufreq_hw 1>;
@@ -339,6 +351,8 @@
339351
power-domain-names = "psci";
340352
next-level-cache = <&L2_600>;
341353
operating-points-v2 = <&cpu4_opp_table>;
354+
capacity-dmips-mhz = <1946>;
355+
dynamic-power-coefficient = <520>;
342356
interconnects = <&gem_noc MASTER_APPSS_PROC 3 &mc_virt SLAVE_EBI1 3>,
343357
<&epss_l3 MASTER_EPSS_L3_APPS &epss_l3 SLAVE_EPSS_L3_SHARED>;
344358
qcom,freq-domain = <&cpufreq_hw 1>;
@@ -361,6 +375,8 @@
361375
power-domain-names = "psci";
362376
next-level-cache = <&L2_700>;
363377
operating-points-v2 = <&cpu7_opp_table>;
378+
capacity-dmips-mhz = <1985>;
379+
dynamic-power-coefficient = <552>;
364380
interconnects = <&gem_noc MASTER_APPSS_PROC 3 &mc_virt SLAVE_EBI1 3>,
365381
<&epss_l3 MASTER_EPSS_L3_APPS &epss_l3 SLAVE_EPSS_L3_SHARED>;
366382
qcom,freq-domain = <&cpufreq_hw 2>;

0 commit comments

Comments
 (0)