[PATCH] arm: sunxi: Reduce inrush current on Olimex A20-OLinuXino_MICRO configs
authorPhilippe Coval <rzr@users.sf.net>
Sat, 6 Jan 2024 10:06:41 +0000 (11:06 +0100)
committerVagrant Cascadian <vagrant@debian.org>
Thu, 2 Jan 2025 21:47:07 +0000 (13:47 -0800)
This change fix reboot, both configurations
were tested on my Olimex A20 Micro Rev E with debian-12.

This issue was also present and fixed on A20 Lime2 (in 8311e84b18),
quoting Olliver Schinagl:

    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.

Link: https://bugs.debian.org/1060752
Series-to: u-boot@lists.denx.de
Series-links: 1:187331
Series-version: 2
Cc: Olliver Schinagl <oliver@schinagl.nl>
Cc: Priit Laes <plaes@plaes.org>
Cc: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Philippe Coval <rzr@users.sf.net>
Series-changes: 2
- Add qirk to eMMC configuration of same machine
Forwarded: http://patchwork.ozlabs.org/project/uboot/list/?series=394499
Bug-Debian: https://bugs.debian.org/1060752
Applied-Upstream: https://source.denx.de/u-boot/u-boot/-/commit/c93a6fc8f5313b2aa7081d53c3061c7c1b94afca#v2024.04-rc3-48-gc93a6fc8f5
Signed-off-by: Philippe Coval <rzr@users.sf.net>
Gbp-Pq: Topic allwinner
Gbp-Pq: Name 0001-arm-sunxi-Reduce-inrush-current-on-Olimex-A20-OLinuX.patch

configs/A20-OLinuXino_MICRO-eMMC_defconfig
configs/A20-OLinuXino_MICRO_defconfig

index ca5869f43d9fff5cf2e685cb886beb12106d6a9e..2f26b0ca01ffb67152d33bb4737ac0b82e1b190a 100644 (file)
@@ -20,6 +20,7 @@ CONFIG_ETH_DESIGNWARE=y
 CONFIG_MII=y
 CONFIG_SUN7I_GMAC=y
 CONFIG_SUN7I_GMAC_FORCE_TXERR=y
+CONFIG_AXP_ALDO3_INRUSH_QUIRK=y
 CONFIG_AXP_ALDO3_VOLT=2800
 CONFIG_AXP_ALDO4_VOLT=2800
 CONFIG_SCSI=y
index db4270f9b270404b3947b225d7986de4fbfc0cd3..673ab85c8a314495876a2c9072d2f0cf0cf005f7 100644 (file)
@@ -20,6 +20,7 @@ CONFIG_ETH_DESIGNWARE=y
 CONFIG_MII=y
 CONFIG_SUN7I_GMAC=y
 CONFIG_SUN7I_GMAC_FORCE_TXERR=y
+CONFIG_AXP_ALDO3_INRUSH_QUIRK=y
 CONFIG_AXP_ALDO3_VOLT=2800
 CONFIG_AXP_ALDO4_VOLT=2800
 CONFIG_SCSI=y