overlays: rpi-poe: Add PWM polarity value
authorPhil Elwell <phil@raspberrypi.com>
Fri, 8 Dec 2023 15:16:39 +0000 (15:16 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:35:22 +0000 (11:35 +0000)
Newer kernels expect PWM references to include a polarity value as the
third parameter.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
arch/arm/boot/dts/overlays/rpi-poe-overlay.dts

index a4530c1..cfd9fe3 100644 (file)
@@ -14,7 +14,7 @@
                                compatible = "pwm-fan";
                                cooling-levels = <0 1 10 100 255>;
                                #cooling-cells = <2>;
-                               pwms = <&fwpwm 0 80000>;
+                               pwms = <&fwpwm 0 80000 0>;
                        };
                };
        };