summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2016-03-30 00:26:48 +0800
committerHans de Goede <hdegoede@redhat.com>2016-03-31 17:03:58 +0200
commit38491d9c6515eafd97d881cab0420652f07d92a5 (patch)
tree43c2174a8b6f4ecde4a85d96271b0ede5d57f20d /include
parent4c6a9ca103f953b6e5e6dfcd56fb558e61ca3c05 (diff)
downloadu-boot-imx-38491d9c6515eafd97d881cab0420652f07d92a5.zip
u-boot-imx-38491d9c6515eafd97d881cab0420652f07d92a5.tar.gz
u-boot-imx-38491d9c6515eafd97d881cab0420652f07d92a5.tar.bz2
power: axp818: Add support for FLDOs
The FLDOs on AXP818 PMIC normally provide power to CPUS and USB HSIC PHY on the A83T/H8. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/axp818.h1
-rw-r--r--include/axp_pmic.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/axp818.h b/include/axp818.h
index b24c790..5630eed 100644
--- a/include/axp818.h
+++ b/include/axp818.h
@@ -41,6 +41,7 @@
#define AXP818_ELDO3_CTRL 0x1b
#define AXP818_FLDO1_CTRL 0x1c
#define AXP818_FLDO2_3_CTRL 0x1d
+#define AXP818_FLDO2_3_CTRL_FLDO3_VOL (1 << 4)
#define AXP818_DCDC1_CTRL 0x20
#define AXP818_DCDC2_CTRL 0x21
#define AXP818_DCDC3_CTRL 0x22
diff --git a/include/axp_pmic.h b/include/axp_pmic.h
index 0f14683..b203cc8 100644
--- a/include/axp_pmic.h
+++ b/include/axp_pmic.h
@@ -31,6 +31,7 @@ int axp_set_aldo3(unsigned int mvolt);
int axp_set_aldo4(unsigned int mvolt);
int axp_set_dldo(int dldo_num, unsigned int mvolt);
int axp_set_eldo(int eldo_num, unsigned int mvolt);
+int axp_set_fldo(int fldo_num, unsigned int mvolt);
int axp_init(void);
int axp_get_sid(unsigned int *sid);