From patchwork Tue Jun 16 14:57:42 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?UTF-8?q?C=C3=A9dric=20F=C3=A9lizard?= X-Patchwork-Id: 242495 List-Id: U-Boot discussion From: cedric at felizard.fr (=?UTF-8?q?C=C3=A9dric=20F=C3=A9lizard?=) Date: Tue, 16 Jun 2020 14:57:42 +0000 Subject: [PATCH] power: axp209: Limit inrush current for A20-OLinuXino_MICRO Message-ID: <20200616145742.47156-1-cedric@felizard.fr> 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