]> git.sur5r.net Git - u-boot/commitdiff
omap: TWL4030 Bump VMMC1 interface voltage from 3V to 3.15V
authorAsh Charles <ash@gumstix.com>
Wed, 28 Sep 2011 06:47:16 +0000 (06:47 +0000)
committerAnatolij Gustschin <agust@denx.de>
Fri, 9 Dec 2011 16:28:28 +0000 (17:28 +0100)
MMC interfaces are specified to be 3.3V compatible with an operating
voltage range of 3.1V to 3.5V for SD cards. This change affects
hardware using TWL4030 (TPS6595x) PMICs and should improve the
reliability when communicating with marginally-spec'd MMC devices.
3.15V is the highest possible level for this chip.  This patch
has been tested on a Gumstix Overo board.

Signed-off-by: Ash Charles <ash@gumstix.com>
Tested-by: Steve Sakoman <steve@sakoman.com>
drivers/power/twl4030.c
include/twl4030.h

index 5a7323a7150fda1e849400a9f5d8de3d38a471a7..4a4ddeb91fffdcf086ce9b0f25d1bc69400ccb33 100644 (file)
@@ -97,9 +97,9 @@ void twl4030_power_init(void)
 
 void twl4030_power_mmc_init(void)
 {
-       /* Set VMMC1 to 3 Volts */
+       /* Set VMMC1 to 3.15 Volts */
        twl4030_pmrecv_vsel_cfg(TWL4030_PM_RECEIVER_VMMC1_DEDICATED,
-                               TWL4030_PM_RECEIVER_VMMC1_VSEL_30,
+                               TWL4030_PM_RECEIVER_VMMC1_VSEL_32,
                                TWL4030_PM_RECEIVER_VMMC1_DEV_GRP,
                                TWL4030_PM_RECEIVER_DEV_GRP_P1);
 }
index 930c285c26fee2ffbc6237bd33acb2162bce6ce4..9cd32ab45a15dcc61ce537bf3316fd45dabd2b81 100644 (file)
 #define TWL4030_PM_RECEIVER_VPLL2_VSEL_18              0x05
 #define TWL4030_PM_RECEIVER_VDAC_VSEL_18               0x03
 #define TWL4030_PM_RECEIVER_VMMC1_VSEL_30              0x02
+#define TWL4030_PM_RECEIVER_VMMC1_VSEL_32              0x03
 
 /* Device Selection in PM Receiver Module */
 #define TWL4030_PM_RECEIVER_DEV_GRP_P1                 0x20