[PATCH] arm64: dts: qcom: pm8005: Add pmic cooling maps

Dipa Ramesh Mantre <[email protected]>
Newsgroups org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
Add CPU mitigation cooling maps for pm8005 PMIC die temperature.
Throttle LITTLE (cpu0) and big (cpu3) clusters at 105°C and 125°C
trip points.

Signed-off-by: Dipa Ramesh Mantre <[email protected]>
---
 arch/arm64/boot/dts/qcom/pm8005.dtsi | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/pm8005.dtsi b/arch/arm64/boot/dts/qcom/pm8005.dtsi
index ce31a8545020..820d213b1cb2 100644
--- a/arch/arm64/boot/dts/qcom/pm8005.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm8005.dtsi
@@ -3,10 +3,12 @@
 
 #include <dt-bindings/spmi/spmi.h>
 #include <dt-bindings/interrupt-controller/irq.h>
+#include <dt-bindings/thermal/thermal.h>
 
 / {
 	thermal-zones {
 		pm8005-thermal {
+			polling-delay-passive = <200>;
 			thermal-sensors = <&pm8005_tz>;
 
 			trips {
@@ -28,6 +30,20 @@ pm8005_trip2: trip2 {
 					type = "critical";
 				};
 			};
+
+			cooling-maps {
+				map0 {
+					trip = <&pm8005_trip0>;
+					cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+							 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+				};
+
+				map1 {
+					trip = <&pm8005_trip1>;
+					cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+							 <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+				};
+			};
 		};
 	};
 };

---
base-commit: cc2b5f627e8ccbae1188ef2d8be3e451d7f933a5
change-id: 20260809-shikra-pmic-die-a6a43e17c1bc
prerequisite-message-id: <[email protected]>
prerequisite-patch-id: 7c371f4d9b9af04a9765b0b5b084c498e8979fb6
prerequisite-patch-id: dde0d9ae1d46c16407cfcfa818dd427904748af8
prerequisite-patch-id: aebf50762e984054665421a5a962e919947b16f7
prerequisite-patch-id: 6f74cc35e7368d525d7f7ebe6342f5d3c82f9d0f

Best regards,
-- 
Dipa Ramesh Mantre <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.