public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] omap: TWL4030 Bump VMMC1 interface voltage from 3V to 3.15V
@ 2011-09-28 16:47 Ash Charles
  2011-09-30 19:00 ` Steve Sakoman
  2011-12-06 20:16 ` Anatolij Gustschin
  0 siblings, 2 replies; 3+ messages in thread
From: Ash Charles @ 2011-09-28 16:47 UTC (permalink / raw)
  To: u-boot

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>
---
 drivers/power/twl4030.c |    4 ++--
 include/twl4030.h       |    1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/power/twl4030.c b/drivers/power/twl4030.c
index 5a7323a..4a4ddeb 100644
--- a/drivers/power/twl4030.c
+++ b/drivers/power/twl4030.c
@@ -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);
 }
diff --git a/include/twl4030.h b/include/twl4030.h
index 930c285..9cd32ab 100644
--- a/include/twl4030.h
+++ b/include/twl4030.h
@@ -310,6 +310,7 @@
 #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
-- 
1.7.4.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] omap: TWL4030 Bump VMMC1 interface voltage from 3V to 3.15V
  2011-09-28 16:47 [U-Boot] [PATCH] omap: TWL4030 Bump VMMC1 interface voltage from 3V to 3.15V Ash Charles
@ 2011-09-30 19:00 ` Steve Sakoman
  2011-12-06 20:16 ` Anatolij Gustschin
  1 sibling, 0 replies; 3+ messages in thread
From: Steve Sakoman @ 2011-09-30 19:00 UTC (permalink / raw)
  To: u-boot

On Wed, Sep 28, 2011 at 9:47 AM, Ash Charles <ash@gumstix.com> wrote:
> 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>

Steve

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH] omap: TWL4030 Bump VMMC1 interface voltage from 3V to 3.15V
  2011-09-28 16:47 [U-Boot] [PATCH] omap: TWL4030 Bump VMMC1 interface voltage from 3V to 3.15V Ash Charles
  2011-09-30 19:00 ` Steve Sakoman
@ 2011-12-06 20:16 ` Anatolij Gustschin
  1 sibling, 0 replies; 3+ messages in thread
From: Anatolij Gustschin @ 2011-12-06 20:16 UTC (permalink / raw)
  To: u-boot

On Wed, 28 Sep 2011 09:47:16 -0700
Ash Charles <ash@gumstix.com> wrote:

> 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>
> ---
>  drivers/power/twl4030.c |    4 ++--
>  include/twl4030.h       |    1 +
>  2 files changed, 3 insertions(+), 2 deletions(-)

Applied to u-boot-staging/agust at denx.de. Thanks!

Anatolij

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-12-06 20:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-28 16:47 [U-Boot] [PATCH] omap: TWL4030 Bump VMMC1 interface voltage from 3V to 3.15V Ash Charles
2011-09-30 19:00 ` Steve Sakoman
2011-12-06 20:16 ` Anatolij Gustschin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox