]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: freescale: imx8mp-toradex-smarc: add fan cooling levels
authorJoão Paulo Gonçalves <joao.goncalves@toradex.com>
Fri, 13 Jun 2025 16:35:04 +0000 (13:35 -0300)
committerShawn Guo <shawnguo@kernel.org>
Fri, 11 Jul 2025 08:34:30 +0000 (16:34 +0800)
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 <joao.goncalves@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mp-toradex-smarc-dev.dts

index 55b8c5c14fb4f3e7407243760ac01b0aca0dacf5..5f233304cea747d3f04a748265f96696668c9d6b 100644 (file)
                #pwm-cells = <2>;
 
                fan {
+                       cooling-levels = <255>;
                        pwms = <&fan_controller 40000 PWM_POLARITY_INVERTED>;
                };
        };