]> git.dujemihanovic.xyz Git - u-boot.git/commit
sun6i: Add basic axp221 driver
authorOliver Schinagl <oliver@schinagl.nl>
Fri, 26 Jul 2013 10:56:58 +0000 (12:56 +0200)
committerHans de Goede <hdegoede@redhat.com>
Thu, 13 Nov 2014 13:49:01 +0000 (14:49 +0100)
commit5c7f10fda362db16a7bf3e571b4ae1e88fac2466
treee1f036b2b6a5eadc0101430183dd0a01f4a830ba
parent3b10e6eb68d1bb774d93e1f3d153e68875fda5ad
sun6i: Add basic axp221 driver

The A31 uses the AXP221 pmic for various voltages.

Signed-off-by: Oliver Schinagl <oliver@schinagl.nl>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
--
Changes in v2:
-Rebase
Changes in v3:
-Add support for all dldo and aldo-s
-Add Kconfig option to select building AXP221 and to select voltage of
 dldo and aldo-s
Changes in v4:
-Add axp221_setbits helper function
-Use symbolic names for enabled bits in CTRL1 - CTRL3 registers
board/sunxi/board.c
drivers/power/Kconfig
drivers/power/Makefile
drivers/power/axp221.c [new file with mode: 0644]
include/axp221.h [new file with mode: 0644]