From cd2c5cac2e154c8a2f70368c8b3a240b9047a939 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20Paulo=20Gon=C3=A7alves?= Date: Fri, 13 Jun 2025 13:35:04 -0300 Subject: [PATCH] arm64: dts: freescale: imx8mp-toradex-smarc: add fan cooling levels MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The fan controller on this board cannot work in automatic mode, and requires software control, the reason is that it has no temperature sensor connected. Given that this board is a development kit and does not have any specific fan, add a default single cooling level that would enable the fan to spin with a 100% duty cycle, enabling a safe default. Signed-off-by: João Paulo Gonçalves Signed-off-by: Shawn Guo --- arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc-dev.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc-dev.dts b/arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc-dev.dts index 55b8c5c14fb4f..5f233304cea74 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc-dev.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc-dev.dts @@ -213,6 +213,7 @@ #pwm-cells = <2>; fan { + cooling-levels = <255>; pwms = <&fan_controller 40000 PWM_POLARITY_INVERTED>; }; }; -- 2.39.5