From 813c7372bbb5b8939c0e0ef04d1d16d97e489d75 Mon Sep 17 00:00:00 2001 From: vishnupatekar Date: Sun, 29 Nov 2015 01:07:21 +0800 Subject: 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 Reviewed-by: Hans de Goede Signed-off-by: Hans de Goede --- include/axp_pmic.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/axp_pmic.h') 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 #endif +#ifdef CONFIG_AXP818_POWER +#include +#endif int axp_set_dcdc1(unsigned int mvolt); int axp_set_dcdc2(unsigned int mvolt); -- cgit v1.2.3