Skip to contentSkip to conversation

MMC: OMAP: Using correct MMC_VDD flags of low-voltage cards.

PATCH In review Carlos Aguiar 2 participants 3 messages Sep 13, 2007 – Sep 17, 2007

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MMC: OMAP: Using correct MMC_VDD flags of low-voltage cards.

From: Carlos Eduardo Aguiar <[email protected]>

Using correct MMC_VDD flags of low-voltage cards, according with commit 55556da01284af8c2174b786b3eca8e11301b656.

Using correct MMC_VDD flags of low-voltage cards, according with commit 55556da01284af8c2174b786b3eca8e11301b656.

arch/arm/mach-omap2/board-n800-mmc.c +5 -11
Index: linux-omap/arch/arm/mach-omap2/board-n800-mmc.c
===================================================================
@@ -64,7 +64,7 @@ static int n800_mmc_set_power(struct dev
 		case MMC_VDD_28_29:
 			mV = 2800;
 			break;
-		case MMC_VDD_18_19:
+		case MMC_VDD_165_195:
 			mV = 1850;
 			break;
 		default:
@@ -96,17 +96,11 @@ static int n800_mmc_set_power(struct dev
 			mV = 2200;
 			break;
 		case MMC_VDD_20_21:
-		case MMC_VDD_19_20:
 			mV = 2000;
 			break;
-		case MMC_VDD_18_19:
-		case MMC_VDD_17_18:
+		case MMC_VDD_165_195:
 			mV = 1800;
 			break;
-		case MMC_VDD_150_155:
-		case MMC_VDD_145_150:
-			mV = 1500;
-			break;
 		default:
 			BUG();
 		}
@@ -235,7 +229,8 @@ static struct omap_mmc_platform_data n80
 		.set_bus_mode	= n800_mmc_set_bus_mode,
 		.get_ro		= NULL,
 		.get_cover_state= n800_mmc_get_cover_state,
-		.ocr_mask	= MMC_VDD_18_19 | MMC_VDD_28_29 | MMC_VDD_30_31 |
+		.ocr_mask	= MMC_VDD_165_195 |
+				  MMC_VDD_28_29 | MMC_VDD_30_31 |
 				  MMC_VDD_32_33 | MMC_VDD_33_34,
 		.name		= "internal",
 	},
@@ -244,8 +239,7 @@ static struct omap_mmc_platform_data n80
 		.set_bus_mode	= n800_mmc_set_bus_mode,
 		.get_ro		= NULL,
 		.get_cover_state= n800_mmc_get_cover_state,
-		.ocr_mask	= MMC_VDD_150_155 | MMC_VDD_145_150 | MMC_VDD_17_18 |
-				  MMC_VDD_18_19 | MMC_VDD_19_20 | MMC_VDD_20_21 |
+		.ocr_mask	= MMC_VDD_165_195 | MMC_VDD_20_21 |
 				  MMC_VDD_21_22 | MMC_VDD_22_23 | MMC_VDD_23_24 |
 				  MMC_VDD_24_25 | MMC_VDD_27_28 | MMC_VDD_28_29 |
 				  MMC_VDD_29_30 | MMC_VDD_30_31 | MMC_VDD_32_33 |
maintainer
#1 lore raw
Quoted 4 lines · Carlos Aguiar

From: Carlos Eduardo Aguiar <[email protected]>

Using correct MMC_VDD flags of low-voltage cards, according with commit 55556da01284af8c2174b786b3eca8e11301b656.

Pushing this today. Any news on posting the fixed multislot series again?

Tony

#2 lore raw
Quoted 4 lines · ext Tony Lindgren
Quoted 2 lines · Carlos Aguiar

From: Carlos Eduardo Aguiar <[email protected]>

Quoted 10 lines
Quoted 3 lines

Using correct MMC_VDD flags of low-voltage cards, according with commit 55556da01284af8c2174b786b3eca8e11301b656.

Pushing this today. Any news on posting the fixed multislot series again?

Tony

Hi Tony,

Yes, sure! Today I sent the latest version of the series to my coworkes for a final revision. I'll sent to you (cc'ing Linux-OMAP mailing list) until tomorrow.

BR,

Carlos.

Signature · 7 lines
Carlos Eduardo Aguiar
Nokia Institute of Technology - INdT
Open Source Mobile Research Center - OSMRC - Manaus
Core Team
Phone: +55 92 2126-1079
Mobile: +55 92 8127-1797
E-mail: [email protected]