]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: monaco: Enable cpufreq cooling devices
authorGaurav Kohli <gaurav.kohli@oss.qualcomm.com>
Mon, 8 Dec 2025 11:45:58 +0000 (17:15 +0530)
committerBjorn Andersson <andersson@kernel.org>
Sat, 3 Jan 2026 18:22:19 +0000 (12:22 -0600)
Add cooling-cells property to the CPU nodes to support cpufreq
cooling devices.

Signed-off-by: Gaurav Kohli <gaurav.kohli@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251208114558.2343462-1-gaurav.kohli@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/monaco.dtsi

index c389135f86cebf8f77ef67adc330f57ee16feebf..96bfc35f955ee15688b89e525e62872ce21a54ba 100644 (file)
@@ -55,6 +55,7 @@
                        power-domain-names = "psci";
                        capacity-dmips-mhz = <1946>;
                        dynamic-power-coefficient = <472>;
+                       #cooling-cells = <2>;
                        qcom,freq-domain = <&cpufreq_hw 0>;
                        operating-points-v2 = <&cpu0_opp_table>;
                        interconnects = <&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
@@ -79,6 +80,7 @@
                        power-domains = <&cpu_pd1>;
                        power-domain-names = "psci";
                        capacity-dmips-mhz = <1946>;
+                       #cooling-cells = <2>;
                        dynamic-power-coefficient = <472>;
                        qcom,freq-domain = <&cpufreq_hw 0>;
                        operating-points-v2 = <&cpu0_opp_table>;
                        power-domains = <&cpu_pd2>;
                        power-domain-names = "psci";
                        capacity-dmips-mhz = <1946>;
+                       #cooling-cells = <2>;
                        dynamic-power-coefficient = <507>;
                        qcom,freq-domain = <&cpufreq_hw 2>;
                        operating-points-v2 = <&cpu2_opp_table>;
                        power-domains = <&cpu_pd3>;
                        power-domain-names = "psci";
                        capacity-dmips-mhz = <1946>;
+                       #cooling-cells = <2>;
                        dynamic-power-coefficient = <507>;
                        qcom,freq-domain = <&cpufreq_hw 2>;
                        operating-points-v2 = <&cpu2_opp_table>;
                        power-domains = <&cpu_pd4>;
                        power-domain-names = "psci";
                        capacity-dmips-mhz = <1024>;
+                       #cooling-cells = <2>;
                        dynamic-power-coefficient = <100>;
                        qcom,freq-domain = <&cpufreq_hw 1>;
                        operating-points-v2 = <&cpu4_opp_table>;
                        power-domains = <&cpu_pd5>;
                        power-domain-names = "psci";
                        capacity-dmips-mhz = <1024>;
+                       #cooling-cells = <2>;
                        dynamic-power-coefficient = <100>;
                        qcom,freq-domain = <&cpufreq_hw 1>;
                        operating-points-v2 = <&cpu4_opp_table>;
                        power-domains = <&cpu_pd6>;
                        power-domain-names = "psci";
                        capacity-dmips-mhz = <1024>;
+                       #cooling-cells = <2>;
                        dynamic-power-coefficient = <100>;
                        qcom,freq-domain = <&cpufreq_hw 1>;
                        operating-points-v2 = <&cpu4_opp_table>;
                        power-domains = <&cpu_pd7>;
                        power-domain-names = "psci";
                        capacity-dmips-mhz = <1024>;
+                       #cooling-cells = <2>;
                        dynamic-power-coefficient = <100>;
                        qcom,freq-domain = <&cpufreq_hw 1>;
                        operating-points-v2 = <&cpu4_opp_table>;