]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: sa8775p: Add capacity and DPC properties
authorAnkit Sharma <quic_anshar@quicinc.com>
Wed, 31 Jul 2024 11:19:51 +0000 (16:49 +0530)
committerBjorn Andersson <andersson@kernel.org>
Thu, 1 Aug 2024 03:01:29 +0000 (22:01 -0500)
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.

Signed-off-by: Ankit Sharma <quic_anshar@quicinc.com>
Link: https://lore.kernel.org/r/20240731111951.6999-1-quic_anshar@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sa8775p.dtsi

index ad8e567575e5627362f0817951a5371dc585bbbf..602e20d5f1f787e010771ca96d5781ff34f1b761 100644 (file)
@@ -42,6 +42,8 @@
                        enable-method = "psci";
                        qcom,freq-domain = <&cpufreq_hw 0>;
                        next-level-cache = <&L2_0>;
+                       capacity-dmips-mhz = <1024>;
+                       dynamic-power-coefficient = <100>;
                        L2_0: l2-cache {
                                compatible = "cache";
                                cache-level = <2>;
@@ -62,6 +64,8 @@
                        enable-method = "psci";
                        qcom,freq-domain = <&cpufreq_hw 0>;
                        next-level-cache = <&L2_1>;
+                       capacity-dmips-mhz = <1024>;
+                       dynamic-power-coefficient = <100>;
                        L2_1: l2-cache {
                                compatible = "cache";
                                cache-level = <2>;
@@ -77,6 +81,8 @@
                        enable-method = "psci";
                        qcom,freq-domain = <&cpufreq_hw 0>;
                        next-level-cache = <&L2_2>;
+                       capacity-dmips-mhz = <1024>;
+                       dynamic-power-coefficient = <100>;
                        L2_2: l2-cache {
                                compatible = "cache";
                                cache-level = <2>;
@@ -92,6 +98,8 @@
                        enable-method = "psci";
                        qcom,freq-domain = <&cpufreq_hw 0>;
                        next-level-cache = <&L2_3>;
+                       capacity-dmips-mhz = <1024>;
+                       dynamic-power-coefficient = <100>;
                        L2_3: l2-cache {
                                compatible = "cache";
                                cache-level = <2>;
                        enable-method = "psci";
                        qcom,freq-domain = <&cpufreq_hw 1>;
                        next-level-cache = <&L2_4>;
+                       capacity-dmips-mhz = <1024>;
+                       dynamic-power-coefficient = <100>;
                        L2_4: l2-cache {
                                compatible = "cache";
                                cache-level = <2>;
                        enable-method = "psci";
                        qcom,freq-domain = <&cpufreq_hw 1>;
                        next-level-cache = <&L2_5>;
+                       capacity-dmips-mhz = <1024>;
+                       dynamic-power-coefficient = <100>;
                        L2_5: l2-cache {
                                compatible = "cache";
                                cache-level = <2>;
                        enable-method = "psci";
                        qcom,freq-domain = <&cpufreq_hw 1>;
                        next-level-cache = <&L2_6>;
+                       capacity-dmips-mhz = <1024>;
+                       dynamic-power-coefficient = <100>;
                        L2_6: l2-cache {
                                compatible = "cache";
                                cache-level = <2>;
                        enable-method = "psci";
                        qcom,freq-domain = <&cpufreq_hw 1>;
                        next-level-cache = <&L2_7>;
+                       capacity-dmips-mhz = <1024>;
+                       dynamic-power-coefficient = <100>;
                        L2_7: l2-cache {
                                compatible = "cache";
                                cache-level = <2>;