sunxi: power: axp818: add support for axp818 driver
authorvishnupatekar <vishnupatekar0510@gmail.com>
Sat, 28 Nov 2015 17:07:21 +0000 (01:07 +0800)
committerHans de Goede <hdegoede@redhat.com>
Thu, 10 Dec 2015 10:14:22 +0000 (11:14 +0100)
commit813c7372bbb5b8939c0e0ef04d1d16d97e489d75
tree99972ea1522a2043c36bc87fe0d685c66e31fde4
parentd5a3357f1bdf24a2c5df9bc219b963c09dd6c6b3
sunxi: power: axp818: add support for axp818 driver

AXP818 is rsb based PMIC and used on Allwinner A83T H8 Homlet dev board.
It's registers are different and calculating reg config is different than
that of earlier axp power ICs.

DCDC1, DCDC2, DCDC3 and DCDC5 is implemented at the moment.
all other voltages can be added subsequently.
AXP datasheet is uploaded to wiki:
http://linux-sunxi.org/File:AXP818_datasheet_Revision1.0.pdf

Signed-off-by: Vishnu Patekar <vishnupatekar0510@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/power/Kconfig
drivers/power/Makefile
drivers/power/axp818.c [new file with mode: 0644]
include/axp818.h [new file with mode: 0644]
include/axp_pmic.h