* [PATCH] MMC: OMAP: Using correct MMC_VDD flags of low-voltage cards.
@ 2007-09-13 15:02 Carlos Aguiar
2007-09-17 18:31 ` Tony Lindgren
0 siblings, 1 reply; 3+ messages in thread
From: Carlos Aguiar @ 2007-09-13 15:02 UTC (permalink / raw)
To: Tony Lindgren, linu >> omap-linux
[-- Attachment #1: Type: text/plain, Size: 289 bytes --]
From: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br>
Using correct MMC_VDD flags of low-voltage cards, according with commit
55556da01284af8c2174b786b3eca8e11301b656.
Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br>
Signed-off-by: Philip Langdale <philipl@overt.org>
[-- Attachment #2: 0001-MMC-OMAP-Using-correct-voltage-definitions.diff --]
[-- Type: text/plain, Size: 1968 bytes --]
Using correct MMC_VDD flags of low-voltage cards, according with commit
55556da01284af8c2174b786b3eca8e11301b656.
Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br>
Signed-off-by: Philip Langdale <philipl@overt.org>
Index: linux-omap/arch/arm/mach-omap2/board-n800-mmc.c
===================================================================
--- linux-omap.orig/arch/arm/mach-omap2/board-n800-mmc.c 2007-08-21 11:07:11.000000000 -0400
+++ linux-omap/arch/arm/mach-omap2/board-n800-mmc.c 2007-08-22 12:21:02.000000000 -0400
@@ -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 |
[-- Attachment #3: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] MMC: OMAP: Using correct MMC_VDD flags of low-voltage cards.
2007-09-13 15:02 [PATCH] MMC: OMAP: Using correct MMC_VDD flags of low-voltage cards Carlos Aguiar
@ 2007-09-17 18:31 ` Tony Lindgren
2007-09-17 18:40 ` Carlos Aguiar
0 siblings, 1 reply; 3+ messages in thread
From: Tony Lindgren @ 2007-09-17 18:31 UTC (permalink / raw)
To: Carlos Aguiar; +Cc: linu >> omap-linux
* Carlos Aguiar <carlos.aguiar@indt.org.br> [070913 08:03]:
> From: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br>
>
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] MMC: OMAP: Using correct MMC_VDD flags of low-voltage cards.
2007-09-17 18:31 ` Tony Lindgren
@ 2007-09-17 18:40 ` Carlos Aguiar
0 siblings, 0 replies; 3+ messages in thread
From: Carlos Aguiar @ 2007-09-17 18:40 UTC (permalink / raw)
To: ext Tony Lindgren; +Cc: linu >> omap-linux
ext Tony Lindgren wrote:
> * Carlos Aguiar <carlos.aguiar@indt.org.br> [070913 08:03]:
>
>> From: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br>
>>
>> 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.
--
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: carlos.aguiar@indt.org.br
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-09-17 18:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-13 15:02 [PATCH] MMC: OMAP: Using correct MMC_VDD flags of low-voltage cards Carlos Aguiar
2007-09-17 18:31 ` Tony Lindgren
2007-09-17 18:40 ` Carlos Aguiar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox