ARM: dts: sunxi: Explicitly enable pull-ups for MMC pins
authorChen-Yu Tsai <wens@csie.org>
Thu, 17 Nov 2016 09:34:38 +0000 (17:34 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 10 Jan 2017 17:52:41 +0000 (18:52 +0100)
commit80ee72e7e9acee39e66db4037a2235f23236ab94
tree5d2cd11ea22e0a2c3f73982dff1387a022afea2c
parent1edcd36fcb48fe841bcc62eda36c105037d9583c
ARM: dts: sunxi: Explicitly enable pull-ups for MMC pins

In the past, all the MMC pins had

allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;

which was actually a no-op. We were relying on U-boot to set the bias
pull up for us. These properties were removed as part of the fix up to
actually support no bias on the pins. During the transition some boards
experienced regular MMC time-outs during normal operation, while others
completely failed to initialize the SD card.

Given that MMC starts in open-drain mode and the pull-ups are required,
it's best to enable it for all the pin settings.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun4i-a10.dtsi
arch/arm/boot/dts/sun5i.dtsi
arch/arm/boot/dts/sun6i-a31.dtsi
arch/arm/boot/dts/sun7i-a20.dtsi
arch/arm/boot/dts/sun8i-a23-a33.dtsi
arch/arm/boot/dts/sun8i-a83t.dtsi
arch/arm/boot/dts/sun8i-h3.dtsi
arch/arm/boot/dts/sun9i-a80.dtsi