From: Kishon Vijay Abraham I Date: Tue, 8 Aug 2017 05:20:57 +0000 (+0530) Subject: ARM: dts: am572x-idk: Fix GPIO polarity for MMC1 card detect X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b7ced444c2f4ab992eb90a0d33536b18c3830e81;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ARM: dts: am572x-idk: Fix GPIO polarity for MMC1 card detect 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 Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/boot/dts/am572x-idk.dts b/arch/arm/boot/dts/am572x-idk.dts index 9da6d83ca185..940fcbe5380b 100644 --- a/arch/arm/boot/dts/am572x-idk.dts +++ b/arch/arm/boot/dts/am572x-idk.dts @@ -81,7 +81,7 @@ 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 {