ARM: dts: fix lid and power pin-functions for exynos5250-spring
authorAndreas Faerber <afaerber@suse.de>
Tue, 17 Mar 2015 16:32:02 +0000 (01:32 +0900)
committerKukjin Kim <kgene@kernel.org>
Tue, 17 Mar 2015 16:33:33 +0000 (01:33 +0900)
Configure the pins in external interrupt mode, as done for Snow in
e5e5c6d14e39 ("ARM: dts: Add power and lid GPIO keys pinctrl for
exynos5250-snow").

Reported-by: Kukjin Kim <kgene@kernel.org>
Suggested-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Fixes: 53dd4138bb0a ("ARM: dts: Add exynos5250-spring device tree")
Signed-off-by: Andreas Faerber <afaerber@suse.de>
Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
arch/arm/boot/dts/exynos5250-spring.dts

index c41600e587e06ec978289cdd87bc7e60cfe0449c..d075a68ac078bec79d1ee6b2dae562541896983d 100644 (file)
 
        power_key_irq: power-key-irq {
                samsung,pins = "gpx1-3";
-               samsung,pin-function = <0>;
+               samsung,pin-function = <0xf>;
                samsung,pin-pud = <0>;
                samsung,pin-drv = <0>;
        };
 
        lid_irq: lid-irq {
                samsung,pins = "gpx3-5";
-               samsung,pin-function = <0>;
+               samsung,pin-function = <0xf>;
                samsung,pin-pud = <0>;
                samsung,pin-drv = <0>;
        };