]> git.dujemihanovic.xyz Git - u-boot.git/commit
sunxi: axp2xx: disable ldoio0/1 at boot
authorHans de Goede <hdegoede@redhat.com>
Mon, 12 Sep 2016 07:52:52 +0000 (09:52 +0200)
committerHans de Goede <hdegoede@redhat.com>
Sat, 17 Sep 2016 12:37:39 +0000 (14:37 +0200)
commit253e62bf4b118d38a9e4a396b68fac61dcae7bbc
tree7d84055ccd91417823986e1cff30c346709141f8
parent8cbb389bb3da80cbf8911f8386cbff92c6a78afe
sunxi: axp2xx: disable ldoio0/1 at boot

When cold-booting the ldoio0/1 regulators are always off / the
gpios are always at tristate. But when re-booting from android these
are sometimes on. Disable them at axp_init time (iow as early as possible)
to remove this difference between a cold boot and a reboot.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
drivers/power/axp209.c
drivers/power/axp221.c