9
0
Fork 0

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:
Jan Weitzel 2013-05-28 13:51:43 +02:00 committed by Sascha Hauer
parent 86974b5d99
commit 9897dec869
1 changed files with 1 additions and 0 deletions

View File

@ -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,