diff mbox series

power: axp209: Limit inrush current for A20-OLinuXino_MICRO

Message ID 20200616145742.47156-1-cedric@felizard.fr
State Changes Requested
Delegated to: Jagannadha Sutradharudu Teki
Headers show
Series power: axp209: Limit inrush current for A20-OLinuXino_MICRO | expand

Commit Message

Cédric Félizard June 16, 2020, 2:57 p.m. UTC
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(+)

Comments

Jagan Teki July 11, 2020, 9:07 a.m. UTC | #1
On Tue, Jun 16, 2020 at 9:46 PM Cédric Félizard <cedric@felizard.fr> wrote:
>
> 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.

Signed-by-off missing? please resend.
diff mbox series

Patch

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