
On Wed, Nov 21, 2018 at 03:58:18PM -0500, Stefan Monnier wrote:
When powering up an AXP209, the default value for LDO3 output is enabled. This works fine. However if for whatever reason, LDO3 is disabled, for example by OS during reboot and u-boot enables LDO3 again, the PMIC shuts down (without setting an interrupt) causing the board to hang. This behavior has been seen from Linux as well, u-boot disables LDO3 as a default value, the kernel enables it per its DTS, the kernel hangs as the PMIC gets shut down.
Hmm... I've never had any problems booting my Orange Pi mini, but it (almost) always hangs on reboot (right after the final message from the OS and before the first message from U-boot). Any chance this is the same problem?
Well, f you have the hardware, then there's only one way to find out:
1) Apply patchset 2) Add following into boards defconfig: CONFIG_AXP_ALDO3_INRUSH_QUIRK=y 3) If it still fails to reboot, add following CONFIG_AXP_ALDO3_VOLT_SLOPE_08=y
Stefan
-- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout.