Devicetree
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: qcom: pm8005: Add pmic cooling maps
@ 2026-08-10  5:13 Dipa Ramesh Mantre
  2026-08-18  9:19 ` Konrad Dybcio
  2026-08-31 16:20 ` Bjorn Andersson
  0 siblings, 2 replies; 4+ messages in thread
From: Dipa Ramesh Mantre @ 2026-08-10  5:13 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley
  Cc: linux-arm-msm, devicetree, linux-kernel, gaurav.kohli,
	Dipa Ramesh Mantre

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 <dipa.mantre@oss.qualcomm.com>
---
 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: <20260715-shikra_adc_support-v4-0-5e07b6d21429@oss.qualcomm.com>
prerequisite-patch-id: 7c371f4d9b9af04a9765b0b5b084c498e8979fb6
prerequisite-patch-id: dde0d9ae1d46c16407cfcfa818dd427904748af8
prerequisite-patch-id: aebf50762e984054665421a5a962e919947b16f7
prerequisite-patch-id: 6f74cc35e7368d525d7f7ebe6342f5d3c82f9d0f

Best regards,
-- 
Dipa Ramesh Mantre <dipa.mantre@oss.qualcomm.com>


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-08-31 16:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-10  5:13 [PATCH] arm64: dts: qcom: pm8005: Add pmic cooling maps Dipa Ramesh Mantre
2026-08-18  9:19 ` Konrad Dybcio
2026-08-24  7:36   ` Dipa Ramesh Mantre (Temp)
2026-08-31 16:20 ` Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox