lkml.org 
[lkml]   [2019]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.19 193/243] ARM: dts: am335x-pdu001: Fix polarity of card detection input
    Date
    From: Felix Brack <fb@ltec.ch>

    [ Upstream commit 5760367298a37c459ef0b1364463d70fd9a1f972 ]

    When a micro SD card is inserted in the PDU001 card cage, the card
    detection switch is opened and the corresponding GPIO input is driven
    by a pull-up. Hence change the active level of the card detection
    input from low to high.

    Signed-off-by: Felix Brack <fb@ltec.ch>
    Signed-off-by: Tony Lindgren <tony@atomide.com>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    arch/arm/boot/dts/am335x-pdu001.dts | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/arch/arm/boot/dts/am335x-pdu001.dts b/arch/arm/boot/dts/am335x-pdu001.dts
    index 34fb63ef420f5..f56798efddff3 100644
    --- a/arch/arm/boot/dts/am335x-pdu001.dts
    +++ b/arch/arm/boot/dts/am335x-pdu001.dts
    @@ -577,7 +577,7 @@
    bus-width = <4>;
    pinctrl-names = "default";
    pinctrl-0 = <&mmc2_pins>;
    - cd-gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
    + cd-gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
    };

    &sham {
    --
    2.20.1


    \
     
     \ /
      Last update: 2019-12-11 16:48    [W:4.064 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site