Skip to content
  • Chen-Yu Tsai's avatar
    ARM: dts: sunxi: Explicitly enable pull-ups for MMC pins · 80ee72e7
    Chen-Yu Tsai authored
    
    
    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: default avatarChen-Yu Tsai <wens@csie.org>
    Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
    80ee72e7