[PATCH v1 19/25] arm64: dts: colibri-imx8x: Set thermal thresholds

Philippe Schenker dev at pschenker.ch
Wed Mar 8 04:52:53 PST 2023


From: Philippe Schenker <philippe.schenker at toradex.com>

Set critical/alert thermal thresholds for all relevant SOC
temperature trips to the IT value (max T_junction 105 degree
Celsius) in accordance with the IT grade of the SOM.

Signed-off-by: Philippe Schenker <philippe.schenker at toradex.com>
---

 arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
index f09a6aad6275..2f86a2eb4ff3 100644
--- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
@@ -16,6 +16,18 @@ reg_module_3v3: regulator-module-3v3 {
 	};
 };
 
+&cpu_alert0 {
+	hysteresis = <2000>;
+	temperature = <90000>;
+	type = "passive";
+};
+
+&cpu_crit0 {
+	hysteresis = <2000>;
+	temperature = <105000>;
+	type = "critical";
+};
+
 /* Colibri FastEthernet */
 &fec1 {
 	pinctrl-names = "default", "sleep";
-- 
2.39.2




More information about the linux-arm-kernel mailing list