From: Carlos Aguiar <carlos.aguiar@indt.org.br>
To: Tony Lindgren <tony@atomide.com>,
"linu >> omap-linux" <linux-omap-open-source@linux.omap.com>
Subject: [PATCH] MMC: OMAP: Using correct MMC_VDD flags of low-voltage cards.
Date: Thu, 13 Sep 2007 11:02:14 -0400 [thread overview]
Message-ID: <46E950F6.3030302@indt.org.br> (raw)
[-- 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 --]
next reply other threads:[~2007-09-13 15:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-13 15:02 Carlos Aguiar [this message]
2007-09-17 18:31 ` [PATCH] MMC: OMAP: Using correct MMC_VDD flags of low-voltage cards Tony Lindgren
2007-09-17 18:40 ` Carlos Aguiar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46E950F6.3030302@indt.org.br \
--to=carlos.aguiar@indt.org.br \
--cc=linux-omap-open-source@linux.omap.com \
--cc=tony@atomide.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox