[PATCH] power: axp209: Limit inrush current for A20-OLinuXino_MICRO

Cédric Félizard cedric at felizard.fr
Tue Jun 16 16:57:42 CEST 2020


This commit enables the work done in commit ef52605e for the
A20-OLinuXino_MICRO{,-eMMC} boards. It was previously used only for the
A20-OLinuXino-Lime2{,-eMMC} boards but is also needed for the MICRO
boards. Without this, the board consistently hangs upon reboot. Note
that a cold boot works fine though.

I don't have -eMMC board variant to double check but the quirk is most
likely present as well so I patched
configs/A20-OLinuXino_MICRO-eMMC_defconfig too.

The issue occurs with revision G of the board and most likely previous
revisions as well since the faulty capacitance on LDO3's output hasn't
been modified since the initial release of the board.

Many thanks to Marex in #u-boot @ irc.freenode.net for helping me
debugging this.
---
 configs/A20-OLinuXino_MICRO-eMMC_defconfig | 1 +
 configs/A20-OLinuXino_MICRO_defconfig      | 1 +
 2 files changed, 2 insertions(+)

diff --git a/configs/A20-OLinuXino_MICRO-eMMC_defconfig b/configs/A20-OLinuXino_MICRO-eMMC_defconfig
index 3317aceef5..c2e810741c 100644
--- a/configs/A20-OLinuXino_MICRO-eMMC_defconfig
+++ b/configs/A20-OLinuXino_MICRO-eMMC_defconfig
@@ -19,6 +19,7 @@ CONFIG_MII=y
 CONFIG_SUN7I_GMAC=y
 CONFIG_SUN7I_GMAC_FORCE_TXERR=y
 CONFIG_AXP_ALDO3_VOLT=2800
+CONFIG_AXP_ALDO3_INRUSH_QUIRK=y
 CONFIG_AXP_ALDO4_VOLT=2800
 CONFIG_SCSI=y
 CONFIG_USB_EHCI_HCD=y
diff --git a/configs/A20-OLinuXino_MICRO_defconfig b/configs/A20-OLinuXino_MICRO_defconfig
index d5bb51ff26..e9269b2998 100644
--- a/configs/A20-OLinuXino_MICRO_defconfig
+++ b/configs/A20-OLinuXino_MICRO_defconfig
@@ -20,6 +20,7 @@ CONFIG_MII=y
 CONFIG_SUN7I_GMAC=y
 CONFIG_SUN7I_GMAC_FORCE_TXERR=y
 CONFIG_AXP_ALDO3_VOLT=2800
+CONFIG_AXP_ALDO3_INRUSH_QUIRK=y
 CONFIG_AXP_ALDO4_VOLT=2800
 CONFIG_SCSI=y
 CONFIG_USB_EHCI_HCD=y
-- 
2.27.0



More information about the U-Boot mailing list