Skip to content

Commit b5f0348

Browse files
linuswgclement
authored andcommitted
ARM: dts: kirkwood: Fix polarity of GPIO fan lines
These two lines are active high, not active low. The bug was found when we changed the kernel to respect the polarity defined in the device tree. Fixes: 1b90e06 ("ARM: kirkwood: Use devicetree to define DNS-32[05] fan") Cc: Jamie Lentin <jm@lentin.co.uk> Cc: Guenter Roeck <linux@roeck-us.net> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Andrew Lunn <andrew@lunn.ch> Cc: Gregory Clement <gregory.clement@bootlin.com> Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Cc: Julien D'Ascenzio <jdascenzio@posteo.net> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Tested-by: Jamie Lentin <jm@lentin.co.uk> Reported-by: Julien D'Ascenzio <jdascenzio@posteo.net> Tested-by: Julien D'Ascenzio <jdascenzio@posteo.net> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
1 parent 59c4dcc commit b5f0348

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/arm/boot/dts/kirkwood-dnskw.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@
3636
compatible = "gpio-fan";
3737
pinctrl-0 = <&pmx_fan_high_speed &pmx_fan_low_speed>;
3838
pinctrl-names = "default";
39-
gpios = <&gpio1 14 GPIO_ACTIVE_LOW
40-
&gpio1 13 GPIO_ACTIVE_LOW>;
39+
gpios = <&gpio1 14 GPIO_ACTIVE_HIGH
40+
&gpio1 13 GPIO_ACTIVE_HIGH>;
4141
gpio-fan,speed-map = <0 0
4242
3000 1
4343
6000 2>;

0 commit comments

Comments
 (0)