twl6030: Set WR_S for VMMC
After Reset VMMC goes to default VSEL. This is not a clean power cycle for some SD cards. Set flag WR_S for VMMC to avoid going to default VSEL. Signed-off-by: Jan Weitzel <j.weitzel@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
86974b5d99
commit
9897dec869
|
@ -43,6 +43,7 @@ void set_up_mmc_voltage_omap4(void)
|
|||
writel(value, OMAP4_CONTROL_PBIASLITE);
|
||||
|
||||
twl6030_mci_write(TWL6030_PMCS_VMMC_CFG_VOLTAGE,
|
||||
TWL6030_VMMC_WR_S |
|
||||
TWL6030_VMMC_VSEL_0 | TWL6030_VMMC_VSEL_2 |
|
||||
TWL6030_VMMC_VSEL_4);
|
||||
twl6030_mci_write(TWL6030_PMCS_VMMC_CFG_STATE,
|
||||
|
|
Loading…
Reference in New Issue