]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: qcom: ipq5424: Add thermal zone nodes
authorManikanta Mylavarapu <quic_mmanikan@quicinc.com>
Mon, 10 Feb 2025 12:04:36 +0000 (17:34 +0530)
committerBjorn Andersson <andersson@kernel.org>
Mon, 24 Feb 2025 04:48:51 +0000 (22:48 -0600)
Add thermal zone nodes for sensors present in IPQ5424.

Signed-off-by: Manikanta Mylavarapu <quic_mmanikan@quicinc.com>
Link: https://lore.kernel.org/r/20250210120436.821684-7-quic_mmanikan@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/ipq5424.dtsi

index 774386d785d585c21370b0fde73ff94255e940cf..7a7ad700a382753938b2f0a9b2a8c73749fc675f 100644 (file)
 
        };
 
+       thermal_zones: thermal-zones {
+               cpu0-thermal {
+                       polling-delay-passive = <100>;
+                       thermal-sensors = <&tsens 14>;
+
+                       trips {
+                               cpu-critical {
+                                       temperature = <120000>;
+                                       hysteresis = <9000>;
+                                       type = "critical";
+                               };
+
+                               cpu-passive {
+                                       temperature = <110000>;
+                                       hysteresis = <9000>;
+                                       type = "passive";
+                               };
+                       };
+               };
+
+               cpu1-thermal {
+                       polling-delay-passive = <100>;
+                       thermal-sensors = <&tsens 12>;
+
+                       trips {
+                               cpu-critical {
+                                       temperature = <120000>;
+                                       hysteresis = <9000>;
+                                       type = "critical";
+                               };
+
+                               cpu-passive {
+                                       temperature = <110000>;
+                                       hysteresis = <9000>;
+                                       type = "passive";
+                               };
+                       };
+               };
+
+               cpu2-thermal {
+                       polling-delay-passive = <100>;
+                       thermal-sensors = <&tsens 11>;
+
+                       trips {
+                               cpu-critical {
+                                       temperature = <120000>;
+                                       hysteresis = <9000>;
+                                       type = "critical";
+                               };
+
+                               cpu-passive {
+                                       temperature = <110000>;
+                                       hysteresis = <9000>;
+                                       type = "passive";
+                               };
+                       };
+               };
+
+               cpu3-thermal {
+                       polling-delay-passive = <100>;
+                       thermal-sensors = <&tsens 13>;
+
+                       trips {
+                               cpu-critical {
+                                       temperature = <120000>;
+                                       hysteresis = <9000>;
+                                       type = "critical";
+                               };
+
+                               cpu-passive {
+                                       temperature = <110000>;
+                                       hysteresis = <9000>;
+                                       type = "passive";
+                               };
+                       };
+               };
+
+               wcss-tile2-thermal {
+                       thermal-sensors = <&tsens 9>;
+
+                       trips {
+                               wcss-tile2-critical {
+                                       temperature = <125000>;
+                                       hysteresis = <9000>;
+                                       type = "critical";
+                               };
+                       };
+               };
+
+               wcss-tile3-thermal {
+                       thermal-sensors = <&tsens 10>;
+
+                       trips {
+                               wcss-tile3-critical {
+                                       temperature = <125000>;
+                                       hysteresis = <9000>;
+                                       type = "critical";
+                               };
+                       };
+               };
+
+               top-glue-thermal {
+                       thermal-sensors = <&tsens 15>;
+
+                       trips {
+                               top-glue-critical {
+                                       temperature = <125000>;
+                                       hysteresis = <9000>;
+                                       type = "critical";
+                               };
+                       };
+               };
+       };
+
        timer {
                compatible = "arm,armv8-timer";
                interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>,