summaryrefslogtreecommitdiff
path: root/include/palmas.h
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2017-08-21 12:50:50 +0530
committerTom Rini <trini@konsulko.com>2017-09-11 16:19:37 -0400
commitdb4fce8fcd87ba139a8c4fb0d9c57f3d70b6116c (patch)
tree211c5992c8343158dd4a1167997cb00d473aa2ca /include/palmas.h
parent91d3e90668009a9d0175f03fe0daf5285b78c6ba (diff)
downloadu-boot-db4fce8fcd87ba139a8c4fb0d9c57f3d70b6116c.tar.gz
palmas: Add support for powering different ldos
It is not necessary that ldo1 is used to power on mmc. So, add support for passing ldo registers for powering on mmc. Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'include/palmas.h')
-rw-r--r--include/palmas.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/palmas.h b/include/palmas.h
index d676617344..404c2b3ca7 100644
--- a/include/palmas.h
+++ b/include/palmas.h
@@ -129,7 +129,7 @@ static inline int palmas_i2c_read_u8(u8 chip_no, u8 reg, u8 *val)
}
void palmas_init_settings(void);
-int palmas_mmc1_poweron_ldo(uint voltage);
+int palmas_mmc1_poweron_ldo(uint ldo_volt, uint ldo_ctrl, uint voltage);
int lp873x_mmc1_poweron_ldo(uint voltage);
int twl603x_mmc1_set_ldo9(u8 vsel);
int twl603x_audio_power(u8 on);