]> git.sur5r.net Git - u-boot/commitdiff
dm: sunxi: Linksprite_pcDuino3: Correct polarity of MMC card detect
authorSimon Glass <sjg@chromium.org>
Tue, 4 Jul 2017 19:31:28 +0000 (13:31 -0600)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 1 Aug 2017 02:58:01 +0000 (11:58 +0900)
This is shown as active high in the schematics[1], so fix it.

[1] https://patchwork.ozlabs.org/patch/777890/

Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/dts/sun7i-a20-pcduino3.dts

index 1a8b39be1d61d83e0666623bb5ba839cfd1c798c..37b1e0ee9bf688614317b1d3b422eea3c0165f51 100644 (file)
        pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_reference_design>;
        vmmc-supply = <&reg_vcc3v3>;
        bus-width = <4>;
-       cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH1 */
+       cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
        cd-inverted;
        status = "okay";
 };