]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: sunxi: Reduce inrush current on Olimex OLinuXino-A20-Lime2-eMMC
authorPriit Laes <priit.laes@paf.com>
Wed, 21 Nov 2018 18:05:33 +0000 (20:05 +0200)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 7 Dec 2018 16:54:33 +0000 (22:24 +0530)
The lime2 features a too large capacitor on the LDO3 output, which
causes the PMIC to shutdown when enabling power. To be able to still
boot up however, we must gradually enable power on LDO3 for this board.

We do this by enabling both the inrush quirk and the maximum slope the
AXP209 supports.

Signed-off-by: Priit Laes <plaes@plaes.org>
Acked-by: Maxime Ripard <maxime.ripard@bootlin.com>
configs/A20-OLinuXino-Lime2-eMMC_defconfig

index 467ca4efabf63a5df2bcecdba644c28678adcccc..dee8d028eef95f2b792c0518231ad519ef75f2eb 100644 (file)
@@ -26,7 +26,9 @@ CONFIG_ETH_DESIGNWARE=y
 CONFIG_RGMII=y
 CONFIG_MII=y
 CONFIG_SUN7I_GMAC=y
+CONFIG_AXP_ALDO3_INRUSH_QUIRK=y
 CONFIG_AXP_ALDO3_VOLT=2800
+CONFIG_AXP_ALDO3_VOLT_SLOPE_08=y
 CONFIG_AXP_ALDO4_VOLT=2800
 CONFIG_SCSI=y
 CONFIG_USB_EHCI_HCD=y