From: Olliver Schinagl Date: Wed, 21 Nov 2018 18:05:32 +0000 (+0200) Subject: arm: sunxi: Reduce inrush current on Olimex OLinuXino-A20-Lime2 X-Git-Tag: v2019.01-rc2~23^2~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8311e84b18627d836b4f90df268bb6890c2576eb;p=oweals%2Fu-boot.git arm: sunxi: Reduce inrush current on Olimex OLinuXino-A20-Lime2 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: Olliver Schinagl Signed-off-by: Priit Laes Acked-by: Maxime Ripard --- diff --git a/configs/A20-OLinuXino-Lime2_defconfig b/configs/A20-OLinuXino-Lime2_defconfig index fa58a6dac8..0c04ae6491 100644 --- a/configs/A20-OLinuXino-Lime2_defconfig +++ b/configs/A20-OLinuXino-Lime2_defconfig @@ -25,7 +25,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