ARM: dts: Fix igepv5 power button GPIO direction
authorTony Lindgren <tony@atomide.com>
Tue, 20 Sep 2016 18:37:35 +0000 (11:37 -0700)
committerTony Lindgren <tony@atomide.com>
Tue, 20 Sep 2016 18:37:35 +0000 (11:37 -0700)
It should be GPIO_ACTIVE_LOW instead of GPIO_ACTIVE_HIGH as
pointed out by Pau Pajuel <ppajuel@gmail.com>.

Cc: Agustí Fontquerni i Gorchs <afontquerni@iseebcn.com>
Cc: Enric Balletbo Serra <eballetbo@gmail.com>
Cc: Javier Martinez Canillas <javier@osg.samsung.com>
Cc: Pau Pajuel <ppajuel@gmail.com>
Fixes: b118c6a6ffa1 ("ARM: dts: Add power button support for igepv5")
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap5-igep0050.dts

index 44e03b9..1810ae7 100644 (file)
@@ -27,7 +27,7 @@
                power-button {
                        label = "Power Button";
                        linux,code = <KEY_POWER>;
-                       gpios = <&gpio4 22 GPIO_ACTIVE_HIGH>;
+                       gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
                };
        };