Skip to contentSkip to conversation

power: axp209: Limit inrush current for A20-OLinuXino_MICRO

PATCH New Cédric Félizard 2 participants 2 messages Jun 16, 2020 – Jul 11, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 power: axp209: Limit inrush current for A20-OLinuXino_MICRO

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(+)
configs/A20-OLinuXino_MICRO-eMMC_defconfig +1 -0
index 3317aceef5..c2e810741c 100644
@@ -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
configs/A20-OLinuXino_MICRO_defconfig +1 -0
index d5bb51ff26..e9269b2998 100644
@@ -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
Signature · 1 line
2.27.0
#1 lore raw

PATCH 1/1 power: axp209: Limit inrush current for A20-OLinuXino_MICRO

Quoted 11 lines · C?dric F?lizard

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.

Quoted 6 lines

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.

Signed-by-off missing? please resend.