aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-msm
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-10-28 17:16:11 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-10-28 17:16:11 -0400
commit46b51ea2099fa2082342e52b8284aa828429b80b (patch)
tree0a0d7bfe1aff036c86a2e7beacbd91398008bfb6 /arch/arm/mach-msm
parent1fdb24e969110fafea36d3b393bea438f702c87f (diff)
parenta6029e1f75bb484c1f5bc68b6a8572e4024795bc (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc: (83 commits) mmc: fix compile error when CONFIG_BLOCK is not enabled mmc: core: Cleanup eMMC4.5 conditionals mmc: omap_hsmmc: if multiblock reads are broken, disable them mmc: core: add workaround for controllers with broken multiblock reads mmc: core: Prevent too long response times for suspend mmc: recognise SDIO cards with SDIO_CCCR_REV 3.00 mmc: sd: Handle SD3.0 cards not supporting UHS-I bus speed mode mmc: core: support HPI send command mmc: core: Add cache control for eMMC4.5 device mmc: core: Modify the timeout value for writing power class mmc: core: new discard feature support at eMMC v4.5 mmc: core: mmc sanitize feature support for v4.5 mmc: dw_mmc: modify DATA register offset mmc: sdhci-pci: add flag for devices that can support runtime PM mmc: omap_hsmmc: ensure pbias configuration is always done mmc: core: Add Power Off Notify Feature eMMC 4.5 mmc: sdhci-s3c: fix potential NULL dereference mmc: replace printk with appropriate display macro mmc: core: Add default timeout value for CMD6 mmc: sdhci-pci: add runtime pm support ...
Diffstat (limited to 'arch/arm/mach-msm')
-rw-r--r--arch/arm/mach-msm/devices-msm7x00.c24
-rw-r--r--arch/arm/mach-msm/devices-qsd8x50.c24
-rw-r--r--arch/arm/mach-msm/include/mach/mmc.h9
3 files changed, 1 insertions, 56 deletions
diff --git a/arch/arm/mach-msm/devices-msm7x00.c b/arch/arm/mach-msm/devices-msm7x00.c
index c4f5e26feb4..993780f490a 100644
--- a/arch/arm/mach-msm/devices-msm7x00.c
+++ b/arch/arm/mach-msm/devices-msm7x00.c
@@ -176,12 +176,6 @@ static struct resource resources_sdc1[] = {
176 .name = "cmd_irq", 176 .name = "cmd_irq",
177 }, 177 },
178 { 178 {
179 .start = INT_SDC1_1,
180 .end = INT_SDC1_1,
181 .flags = IORESOURCE_IRQ,
182 .name = "pio_irq",
183 },
184 {
185 .flags = IORESOURCE_IRQ | IORESOURCE_DISABLED, 179 .flags = IORESOURCE_IRQ | IORESOURCE_DISABLED,
186 .name = "status_irq" 180 .name = "status_irq"
187 }, 181 },
@@ -204,12 +198,6 @@ static struct resource resources_sdc2[] = {
204 .flags = IORESOURCE_IRQ, 198 .flags = IORESOURCE_IRQ,
205 .name = "cmd_irq", 199 .name = "cmd_irq",
206 }, 200 },
207 {
208 .start = INT_SDC2_1,
209 .end = INT_SDC2_1,
210 .flags = IORESOURCE_IRQ,
211 .name = "pio_irq",
212 },
213 { 201 {
214 .flags = IORESOURCE_IRQ | IORESOURCE_DISABLED, 202 .flags = IORESOURCE_IRQ | IORESOURCE_DISABLED,
215 .name = "status_irq" 203 .name = "status_irq"
@@ -233,12 +221,6 @@ static struct resource resources_sdc3[] = {
233 .flags = IORESOURCE_IRQ, 221 .flags = IORESOURCE_IRQ,
234 .name = "cmd_irq", 222 .name = "cmd_irq",
235 }, 223 },
236 {
237 .start = INT_SDC3_1,
238 .end = INT_SDC3_1,
239 .flags = IORESOURCE_IRQ,
240 .name = "pio_irq",
241 },
242 { 224 {
243 .flags = IORESOURCE_IRQ | IORESOURCE_DISABLED, 225 .flags = IORESOURCE_IRQ | IORESOURCE_DISABLED,
244 .name = "status_irq" 226 .name = "status_irq"
@@ -262,12 +244,6 @@ static struct resource resources_sdc4[] = {
262 .flags = IORESOURCE_IRQ, 244 .flags = IORESOURCE_IRQ,
263 .name = "cmd_irq", 245 .name = "cmd_irq",
264 }, 246 },
265 {
266 .start = INT_SDC4_1,
267 .end = INT_SDC4_1,
268 .flags = IORESOURCE_IRQ,
269 .name = "pio_irq",
270 },
271 { 247 {
272 .flags = IORESOURCE_IRQ | IORESOURCE_DISABLED, 248 .flags = IORESOURCE_IRQ | IORESOURCE_DISABLED,
273 .name = "status_irq" 249 .name = "status_irq"
diff --git a/arch/arm/mach-msm/devices-qsd8x50.c b/arch/arm/mach-msm/devices-qsd8x50.c
index 12d8deb78d9..131633b12a3 100644
--- a/arch/arm/mach-msm/devices-qsd8x50.c
+++ b/arch/arm/mach-msm/devices-qsd8x50.c
@@ -140,12 +140,6 @@ static struct resource resources_sdc1[] = {
140 .name = "cmd_irq", 140 .name = "cmd_irq",
141 }, 141 },
142 { 142 {
143 .start = INT_SDC1_1,
144 .end = INT_SDC1_1,
145 .flags = IORESOURCE_IRQ,
146 .name = "pio_irq",
147 },
148 {
149 .flags = IORESOURCE_IRQ | IORESOURCE_DISABLED, 143 .flags = IORESOURCE_IRQ | IORESOURCE_DISABLED,
150 .name = "status_irq" 144 .name = "status_irq"
151 }, 145 },
@@ -168,12 +162,6 @@ static struct resource resources_sdc2[] = {
168 .flags = IORESOURCE_IRQ, 162 .flags = IORESOURCE_IRQ,
169 .name = "cmd_irq", 163 .name = "cmd_irq",
170 }, 164 },
171 {
172 .start = INT_SDC2_1,
173 .end = INT_SDC2_1,
174 .flags = IORESOURCE_IRQ,
175 .name = "pio_irq",
176 },
177 { 165 {
178 .flags = IORESOURCE_IRQ | IORESOURCE_DISABLED, 166 .flags = IORESOURCE_IRQ | IORESOURCE_DISABLED,
179 .name = "status_irq" 167 .name = "status_irq"
@@ -197,12 +185,6 @@ static struct resource resources_sdc3[] = {
197 .flags = IORESOURCE_IRQ, 185 .flags = IORESOURCE_IRQ,
198 .name = "cmd_irq", 186 .name = "cmd_irq",
199 }, 187 },
200 {
201 .start = INT_SDC3_1,
202 .end = INT_SDC3_1,
203 .flags = IORESOURCE_IRQ,
204 .name = "pio_irq",
205 },
206 { 188 {
207 .flags = IORESOURCE_IRQ | IORESOURCE_DISABLED, 189 .flags = IORESOURCE_IRQ | IORESOURCE_DISABLED,
208 .name = "status_irq" 190 .name = "status_irq"
@@ -226,12 +208,6 @@ static struct resource resources_sdc4[] = {
226 .flags = IORESOURCE_IRQ, 208 .flags = IORESOURCE_IRQ,
227 .name = "cmd_irq", 209 .name = "cmd_irq",
228 }, 210 },
229 {
230 .start = INT_SDC4_1,
231 .end = INT_SDC4_1,
232 .flags = IORESOURCE_IRQ,
233 .name = "pio_irq",
234 },
235 { 211 {
236 .flags = IORESOURCE_IRQ | IORESOURCE_DISABLED, 212 .flags = IORESOURCE_IRQ | IORESOURCE_DISABLED,
237 .name = "status_irq" 213 .name = "status_irq"
diff --git a/arch/arm/mach-msm/include/mach/mmc.h b/arch/arm/mach-msm/include/mach/mmc.h
index 5631b51cec4..ffcd9e3a6a7 100644
--- a/arch/arm/mach-msm/include/mach/mmc.h
+++ b/arch/arm/mach-msm/include/mach/mmc.h
@@ -8,13 +8,6 @@
8#include <linux/mmc/card.h> 8#include <linux/mmc/card.h>
9#include <linux/mmc/sdio_func.h> 9#include <linux/mmc/sdio_func.h>
10 10
11struct embedded_sdio_data {
12 struct sdio_cis cis;
13 struct sdio_cccr cccr;
14 struct sdio_embedded_func *funcs;
15 int num_funcs;
16};
17
18struct msm_mmc_gpio { 11struct msm_mmc_gpio {
19 unsigned no; 12 unsigned no;
20 const char *name; 13 const char *name;
@@ -29,9 +22,9 @@ struct msm_mmc_platform_data {
29 unsigned int ocr_mask; /* available voltages */ 22 unsigned int ocr_mask; /* available voltages */
30 u32 (*translate_vdd)(struct device *, unsigned int); 23 u32 (*translate_vdd)(struct device *, unsigned int);
31 unsigned int (*status)(struct device *); 24 unsigned int (*status)(struct device *);
32 struct embedded_sdio_data *embedded_sdio;
33 int (*register_status_notify)(void (*callback)(int card_present, void *dev_id), void *dev_id); 25 int (*register_status_notify)(void (*callback)(int card_present, void *dev_id), void *dev_id);
34 struct msm_mmc_gpio_data *gpio_data; 26 struct msm_mmc_gpio_data *gpio_data;
27 void (*init_card)(struct mmc_card *card);
35}; 28};
36 29
37#endif 30#endif