diff options
author | Tuomas Tynkkynen <tuomas@tuxera.com> | 2017-12-22 22:57:37 +0200 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@bootlin.com> | 2018-02-13 09:37:22 +0100 |
commit | 45e01f401a2a16a8d7ca910fe01c124451980bd8 (patch) | |
tree | f18e6a5308ef03cce298d440115fb8d893463618 /arch/arm/boot/dts/sun4i-a10-gemei-g9.dts | |
parent | 88c23c05ef18f543fad7b26c95a3acc0ffb378cc (diff) | |
download | blackbird-obmc-linux-45e01f401a2a16a8d7ca910fe01c124451980bd8.tar.gz blackbird-obmc-linux-45e01f401a2a16a8d7ca910fe01c124451980bd8.zip |
ARM: dts: sunxi: Switch MMC nodes away from cd-inverted property
Using the cd-inverted property is not useful when GPIOs are used as card
detects since the polarity can be specified with the usual
GPIO_ACTIVE_(HIGH|LOW) GPIO flags. It has also caused confusion for
U-Boot developers, so migrate all sunxi boards away from cd-inverted.
Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Diffstat (limited to 'arch/arm/boot/dts/sun4i-a10-gemei-g9.dts')
-rw-r--r-- | arch/arm/boot/dts/sun4i-a10-gemei-g9.dts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts b/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts index 41ca8bded89f..ea7a59dcf8f9 100644 --- a/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts +++ b/arch/arm/boot/dts/sun4i-a10-gemei-g9.dts @@ -141,8 +141,7 @@ &mmc0 { vmmc-supply = <®_vcc3v3>; bus-width = <4>; - cd-gpios = <&pio 7 1 GPIO_ACTIVE_HIGH>; /* PH01 */ - cd-inverted; + cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH01 */ status = "okay"; }; |