[U-Boot] [PATCH 07/13] colibri_t20: disable PMIC sleep mode on low supply voltage

Simon Glass
2015-07-06T16:38:50Z

On 6 July 2015 at 02:20, Marcel Ziswiler <marcel@ziswiler.com> wrote:
> From: Marcel Ziswiler <marcel.ziswiler@toradex.com>
>
> The Colibri T20's PMIC enters a sleep mode on low supply voltage < 3.0V
> ?2.5% (2.92...3.08V). Rising the main supply voltage again does not
> bring it back to regular operation. Not even a full reset does bring
> the module back. A full power cycle was required to reboot the system.
> A long positive pulse on the PMICs resume pin also reboots the system
> but this pin is only accessible as a test point on the module.
>
> This patch configures the PMIC through I2C to not enter this sleep mode
> plus force it to normal state upon sleep request exit should this ever
> happen.
>
> Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
> ---
> board/toradex/colibri_t20/colibri_t20.c | 35 +++++++++++++++++++++++++++++++++
> 1 file changed, 35 insertions(+)

Reviewed-by: Simon Glass <sjg@chromium.org>

You could write a pmic driver for this if you like.