diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2014-10-28 18:14:23 +0100 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2014-10-31 00:29:39 +0100 |
commit | 2ed8c878eb781eb572c10789e8108f7cc2957192 (patch) | |
tree | 6b10e3a87d9b4c80580479609a93891db955cef6 /drivers | |
parent | 934a529f94f653c869e750d8178b7ace62dadaf3 (diff) | |
download | u-boot-imx-2ed8c878eb781eb572c10789e8108f7cc2957192.zip u-boot-imx-2ed8c878eb781eb572c10789e8108f7cc2957192.tar.gz u-boot-imx-2ed8c878eb781eb572c10789e8108f7cc2957192.tar.bz2 |
twl4030: VMMC2 3.2V enable on MMC init
This enables the VMMC2 LDO, which powers the MMC2 device.
When the device starts from MMC2, this has already been enabled by the BootROM,
but when starting from peripheral boot (USB, UART), it is not the case.
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Acked-by: Pantelis Antoniou <panto@antoniou-consulting.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/power/twl4030.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/power/twl4030.c b/drivers/power/twl4030.c index 3e50310..e578ae6 100644 --- a/drivers/power/twl4030.c +++ b/drivers/power/twl4030.c @@ -98,4 +98,10 @@ void twl4030_power_mmc_init(void) TWL4030_PM_RECEIVER_VMMC1_VSEL_32, TWL4030_PM_RECEIVER_VMMC1_DEV_GRP, TWL4030_PM_RECEIVER_DEV_GRP_P1); + + /* Set VMMC2 to 3.15 Volts */ + twl4030_pmrecv_vsel_cfg(TWL4030_PM_RECEIVER_VMMC2_DEDICATED, + TWL4030_PM_RECEIVER_VMMC2_VSEL_32, + TWL4030_PM_RECEIVER_VMMC2_DEV_GRP, + TWL4030_PM_RECEIVER_DEV_GRP_P1); } |