lkml.org 
[lkml]   [2015]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3.14 17/51] ARM: dts: imx23-olinuxino: Fix polarity of LED GPIO
    Date
    3.14-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Fabio Estevam <fabio.estevam@freescale.com>

    commit cfe8c59762244251fd9a5e281d48808095ff4090 upstream.

    On imx23-olinuxino the LED turns on when level logic high is aplied to
    GPIO2_1.

    Fix the gpios property accordingly.

    Fixes: b34aa1850244 ("ARM: dts: imx23-olinuxino: Remove unneeded "default-on"")
    Reported-by: Stefan Wahren <stefan.wahren@i2se.com>
    Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
    Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
    Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    arch/arm/boot/dts/imx23-olinuxino.dts | 3 ++-
    1 file changed, 2 insertions(+), 1 deletion(-)

    --- a/arch/arm/boot/dts/imx23-olinuxino.dts
    +++ b/arch/arm/boot/dts/imx23-olinuxino.dts
    @@ -12,6 +12,7 @@
    */

    /dts-v1/;
    +#include <dt-bindings/gpio/gpio.h>
    #include "imx23.dtsi"

    / {
    @@ -120,7 +121,7 @@

    user {
    label = "green";
    - gpios = <&gpio2 1 1>;
    + gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
    };
    };
    };



    \
     
     \ /
      Last update: 2015-05-16 02:01    [W:4.205 / U:0.084 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site