summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
diff options
context:
space:
mode:
authorFrancesco Dolcini <francesco.dolcini@toradex.com>2024-09-01 18:57:16 +0300
committerShawn Guo <shawnguo@kernel.org>2024-09-04 12:36:23 +0300
commit8b23ba41e6a17553e9cdf5bc64f4cc37a38eccb6 (patch)
tree6d402d08836e2c1b776d53ca9c7f31ccf35f1400 /arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
parentce97bdc344e5e2bd93c904a888009b64be3bf69a (diff)
downloadlinux-8b23ba41e6a17553e9cdf5bc64f4cc37a38eccb6.tar.xz
arm64: dts: colibri-imx8x: Add PMIC thermal zone
Add PMIC thermal zones. Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi')
-rw-r--r--arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi34
1 files changed, 32 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
index 60cf4e400052..bc1577b5f1ea 100644
--- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi
@@ -88,8 +88,6 @@
vref-supply = <&reg_module_vref_1v8>;
};
-/* TODO Cooling maps for DX */
-
&cpu_alert0 {
hysteresis = <2000>;
temperature = <90000>;
@@ -420,6 +418,38 @@
status = "okay";
};
+&thermal_zones {
+ pmic-thermal {
+ polling-delay-passive = <250>;
+ polling-delay = <2000>;
+ thermal-sensors = <&tsens IMX_SC_R_PMIC_0>;
+
+ trips {
+ pmic_alert0: trip0 {
+ temperature = <110000>;
+ hysteresis = <2000>;
+ type = "passive";
+ };
+
+ pmic_crit0: trip1 {
+ temperature = <125000>;
+ hysteresis = <2000>;
+ type = "critical";
+ };
+ };
+
+ cooling-maps {
+ pmic_cooling_map0: map0 {
+ trip = <&pmic_alert0>;
+ cooling-device = <&A35_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+ <&A35_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+ <&A35_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+ <&A35_3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ };
+ };
+ };
+};
+
&usbotg1 {
adp-disable;
disable-over-current;