From db4fce8fcd87ba139a8c4fb0d9c57f3d70b6116c Mon Sep 17 00:00:00 2001 From: Lokesh Vutla Date: Mon, 21 Aug 2017 12:50:50 +0530 Subject: 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 Signed-off-by: Lokesh Vutla --- include/palmas.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/palmas.h') 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); -- cgit v1.2.3