linux-omap.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Disable the non working eMMC on Zoom2/3
@ 2010-04-01  0:25 Madhusudhan Chikkature
  2010-04-01  4:03 ` Ghorai, Sukumar
  0 siblings, 1 reply; 21+ messages in thread
From: Madhusudhan Chikkature @ 2010-04-01  0:25 UTC (permalink / raw)
  To: tony; +Cc: linux-omap, linux-mmc

From: Madhusudhan Chikkature <madhu.cr@ti.com>
Date: Wed, 31 Mar 2010 12:29:19 -0400
Subject: [PATCH] Zoom2/3: Disable MMC2

The eMMC on Zoom2/3 seems to have a lower EXT_CSD Rev.This causes the
writes to fail since the card size is not detected correctly by the MMC
core. Disable the MMC2 support for Zoom2/3.

Signed-off-by: Madhusudhan Chikkature <madhu.cr@ti.com>
---
 arch/arm/mach-omap2/board-zoom-peripherals.c |   30 --------------------------
 1 files changed, 0 insertions(+), 30 deletions(-)

diff --git a/arch/arm/mach-omap2/board-zoom-peripherals.c
b/arch/arm/mach-omap2/board-zoom-peripherals.c
index 6b39849..ac791d2 100644
--- a/arch/arm/mach-omap2/board-zoom-peripherals.c
+++ b/arch/arm/mach-omap2/board-zoom-peripherals.c
@@ -102,10 +102,6 @@ static struct regulator_consumer_supply zoom_vsim_supply = {
 	.supply		= "vmmc_aux",
 };

-static struct regulator_consumer_supply zoom_vmmc2_supply = {
-	.supply		= "vmmc",
-};
-
 /* VMMC1 for OMAP VDD_MMC1 (i/o) and MMC1 card */
 static struct regulator_init_data zoom_vmmc1 = {
 	.constraints = {
@@ -121,21 +117,6 @@ static struct regulator_init_data zoom_vmmc1 = {
 	.consumer_supplies      = &zoom_vmmc1_supply,
 };

-/* VMMC2 for MMC2 card */
-static struct regulator_init_data zoom_vmmc2 = {
-	.constraints = {
-		.min_uV			= 1850000,
-		.max_uV			= 1850000,
-		.apply_uV		= true,
-		.valid_modes_mask	= REGULATOR_MODE_NORMAL
-					| REGULATOR_MODE_STANDBY,
-		.valid_ops_mask		= REGULATOR_CHANGE_MODE
-					| REGULATOR_CHANGE_STATUS,
-	},
-	.num_consumer_supplies  = 1,
-	.consumer_supplies      = &zoom_vmmc2_supply,
-};
-
 /* VSIM for OMAP VDD_MMC1A (i/o for DAT4..DAT7) */
 static struct regulator_init_data zoom_vsim = {
 	.constraints = {
@@ -159,15 +140,6 @@ static struct omap2_hsmmc_info mmc[] __initdata = {
 		.gpio_wp	= -EINVAL,
 		.power_saving	= true,
 	},
-	{
-		.name		= "internal",
-		.mmc		= 2,
-		.wires		= 8,
-		.gpio_cd	= -EINVAL,
-		.gpio_wp	= -EINVAL,
-		.nonremovable	= true,
-		.power_saving	= true,
-	},
 	{}      /* Terminator */
 };

@@ -183,7 +155,6 @@ static int zoom_twl_gpio_setup(struct device *dev,
 	*/
 	zoom_vmmc1_supply.dev = mmc[0].dev;
 	zoom_vsim_supply.dev = mmc[0].dev;
-	zoom_vmmc2_supply.dev = mmc[1].dev;

 	return 0;
 }
@@ -241,7 +212,6 @@ static struct twl4030_platform_data zoom_twldata = {
 	.keypad		= &zoom_kp_twl4030_data,
 	.codec		= &zoom_codec_data,
 	.vmmc1          = &zoom_vmmc1,
-	.vmmc2          = &zoom_vmmc2,
 	.vsim           = &zoom_vsim,

 };
-- 
1.6.3.3




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

end of thread, other threads:[~2010-06-24 12:04 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-01  0:25 [PATCH] Disable the non working eMMC on Zoom2/3 Madhusudhan Chikkature
2010-04-01  4:03 ` Ghorai, Sukumar
2010-04-01 17:04   ` Madhusudhan
2010-04-01 18:34     ` Ghorai, Sukumar
2010-04-01 21:59       ` Nishanth Menon
2010-04-01 22:58         ` Madhusudhan
2010-04-07 11:49           ` Tony Lindgren
2010-04-08 17:11             ` Madhusudhan
2010-04-27 18:21               ` Tony Lindgren
2010-04-28 19:23                 ` Tony Lindgren
2010-04-28 19:34                   ` Madhusudhan
2010-04-28 19:45                     ` Tony Lindgren
2010-04-30 16:57                       ` Madhusudhan
2010-05-05 18:27                         ` Tony Lindgren
2010-05-06  1:35                           ` Madhusudhan
2010-05-06 15:30                             ` Tony Lindgren
2010-05-07 21:25                               ` Madhusudhan
2010-06-22 11:20                                 ` zhangfei gao
2010-06-22 11:43                                   ` Ghorai, Sukumar
2010-06-24 10:55                                     ` zhangfei gao
2010-06-24 12:04                                       ` Ghorai, Sukumar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).