summaryrefslogtreecommitdiff
path: root/include/axp_pmic.h
diff options
context:
space:
mode:
authorvishnupatekar <vishnupatekar0510@gmail.com>2015-11-29 01:07:21 +0800
committerHans de Goede <hdegoede@redhat.com>2015-12-10 11:14:22 +0100
commit813c7372bbb5b8939c0e0ef04d1d16d97e489d75 (patch)
tree99972ea1522a2043c36bc87fe0d685c66e31fde4 /include/axp_pmic.h
parentd5a3357f1bdf24a2c5df9bc219b963c09dd6c6b3 (diff)
downloadu-boot-813c7372bbb5b8939c0e0ef04d1d16d97e489d75.tar.gz
u-boot-813c7372bbb5b8939c0e0ef04d1d16d97e489d75.tar.bz2
u-boot-813c7372bbb5b8939c0e0ef04d1d16d97e489d75.zip
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>
Diffstat (limited to 'include/axp_pmic.h')
-rw-r--r--include/axp_pmic.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/axp_pmic.h b/include/axp_pmic.h
index ef339c4785..3b01c49cc9 100644
--- a/include/axp_pmic.h
+++ b/include/axp_pmic.h
@@ -16,6 +16,9 @@
#ifdef CONFIG_AXP221_POWER
#include <axp221.h>
#endif
+#ifdef CONFIG_AXP818_POWER
+#include <axp818.h>
+#endif
int axp_set_dcdc1(unsigned int mvolt);
int axp_set_dcdc2(unsigned int mvolt);