]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: am572x-idk: Fix GPIO polarity for MMC1 card detect
authorKishon Vijay Abraham I <kishon@ti.com>
Tue, 8 Aug 2017 05:20:57 +0000 (10:50 +0530)
committerTony Lindgren <tony@atomide.com>
Thu, 10 Aug 2017 15:13:03 +0000 (08:13 -0700)
The GPIO polarity for MMC1 card detect is set to '0' which means
active-high. However the polarity should be active-low. Fix it
here.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am572x-idk.dts

index 9da6d83ca185e52c79ea4ebd180fb1d21144280c..940fcbe5380ba2aa06ec68c0e03a0142dc0cb787 100644 (file)
@@ -81,7 +81,7 @@ &mmc1 {
        vmmc-supply = <&v3_3d>;
        vmmc_aux-supply = <&ldo1_reg>;
        bus-width = <4>;
-       cd-gpios = <&gpio6 27 0>; /* gpio 219 */
+       cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */
 };
 
 &sn65hvs882 {