Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ad48ed0c authored by Adam Ford's avatar Adam Ford Committed by Lee Jones
Browse files

mfd: twl4030-power: Fix pmic for boards that need vmmc1 on reboot



At least two different omap3630/3730 boards booting from MMC1
fail to reboot if the "ti,twl4030-power-idle-osc-off" or
"ti,twl4030-power-idle" compatible flags are set.  This patch will
keep the vmmc1 powered up during reboot allowing the bootloader
to load.

Signed-off-by: default avatarAdam Ford <aford173@gmail.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent f8b7ce67
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -701,6 +701,7 @@ static struct twl4030_ins omap3_wrst_seq[] = {
	TWL_RESOURCE_RESET(RES_MAIN_REF),
	TWL_RESOURCE_GROUP_RESET(RES_GRP_ALL, RES_TYPE_R0, RES_TYPE2_R2),
	TWL_RESOURCE_RESET(RES_VUSB_3V1),
	TWL_RESOURCE_RESET(RES_VMMC1),
	TWL_RESOURCE_GROUP_RESET(RES_GRP_ALL, RES_TYPE_R0, RES_TYPE2_R1),
	TWL_RESOURCE_GROUP_RESET(RES_GRP_RC, RES_TYPE_ALL, RES_TYPE2_R0),
	TWL_RESOURCE_ON(RES_RESET),