OSDN Git Service

ARM: dts: am3517: Fix pinmuxing for CD on MMC1
authorAdam Ford <aford173@gmail.com>
Sun, 28 Oct 2018 20:13:48 +0000 (15:13 -0500)
committerTony Lindgren <tony@atomide.com>
Thu, 8 Nov 2018 17:22:10 +0000 (09:22 -0800)
The MMC1 is active low, not active high.  For some reason,
this worked with different combination of U-Boot and kernels,
but it's supposed to be active low and is currently broken.

Fixes: cfaa856a2510 ("ARM: dts: am3517: Add pinmuxing, CD and
WP for MMC1") #kernel 4.18+

Signed-off-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am3517-evm.dts

index d4d33cd..1e2bb68 100644 (file)
        vmmc-supply = <&vmmc_fixed>;
        bus-width = <4>;
        wp-gpios = <&gpio4 30 GPIO_ACTIVE_HIGH>; /* gpio_126 */
-       cd-gpios = <&gpio4 31 GPIO_ACTIVE_HIGH>; /* gpio_127 */
+       cd-gpios = <&gpio4 31 GPIO_ACTIVE_LOW>; /* gpio_127 */
 };
 
 &mmc3 {