Commit 528cdcaacee55eb6c2910637e19541ee2c327487

Authored by Ash Charles
Committed by Anatolij Gustschin
1 parent c4eba6ec5c

omap: TWL4030 Bump VMMC1 interface voltage from 3V to 3.15V

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>

Showing 2 changed files with 3 additions and 2 deletions Side-by-side Diff

drivers/power/twl4030.c
... ... @@ -97,9 +97,9 @@
97 97  
98 98 void twl4030_power_mmc_init(void)
99 99 {
100   - /* Set VMMC1 to 3 Volts */
  100 + /* Set VMMC1 to 3.15 Volts */
101 101 twl4030_pmrecv_vsel_cfg(TWL4030_PM_RECEIVER_VMMC1_DEDICATED,
102   - TWL4030_PM_RECEIVER_VMMC1_VSEL_30,
  102 + TWL4030_PM_RECEIVER_VMMC1_VSEL_32,
103 103 TWL4030_PM_RECEIVER_VMMC1_DEV_GRP,
104 104 TWL4030_PM_RECEIVER_DEV_GRP_P1);
105 105 }
... ... @@ -310,6 +310,7 @@
310 310 #define TWL4030_PM_RECEIVER_VPLL2_VSEL_18 0x05
311 311 #define TWL4030_PM_RECEIVER_VDAC_VSEL_18 0x03
312 312 #define TWL4030_PM_RECEIVER_VMMC1_VSEL_30 0x02
  313 +#define TWL4030_PM_RECEIVER_VMMC1_VSEL_32 0x03
313 314  
314 315 /* Device Selection in PM Receiver Module */
315 316 #define TWL4030_PM_RECEIVER_DEV_GRP_P1 0x20