diff options
author | Adrian Hunter <adrian.hunter@nokia.com> | 2009-09-22 19:45:05 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-23 10:39:36 -0400 |
commit | 5e763d2968148efafc352748b0ed598b1a695dad (patch) | |
tree | 8d5c23b074e12056d6b95d946038f50ed259bc44 /arch | |
parent | e2bf08d643a244ccb9d9b70aff655340a0d98626 (diff) |
ARM: OMAP: RX51: set MMC capabilities and power-saving flag
Specify MMC capabilities and set the power-saving flag for RX51.
Signed-off-by: Adrian Hunter <adrian.hunter@nokia.com>
Acked-by: Matt Fleming <matt@console-pimps.org>
Cc: Ian Molton <ian@mnementh.co.uk>
Cc: "Roberto A. Foglietta" <roberto.foglietta@gmail.com>
Cc: Jarkko Lavinen <jarkko.lavinen@nokia.com>
Cc: Denis Karpov <ext-denis.2.karpov@nokia.com>
Cc: Pierre Ossman <pierre@ossman.eu>
Cc: Philip Langdale <philipl@overt.org>
Cc: "Madhusudhan" <madhu.cr@ti.com>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-omap2/board-rx51-peripherals.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c index e70baa799018..e6e8290b7828 100644 --- a/arch/arm/mach-omap2/board-rx51-peripherals.c +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include <linux/delay.h> | 19 | #include <linux/delay.h> |
20 | #include <linux/regulator/machine.h> | 20 | #include <linux/regulator/machine.h> |
21 | #include <linux/gpio.h> | 21 | #include <linux/gpio.h> |
22 | #include <linux/mmc/host.h> | ||
22 | 23 | ||
23 | #include <mach/mcspi.h> | 24 | #include <mach/mcspi.h> |
24 | #include <mach/mux.h> | 25 | #include <mach/mux.h> |
@@ -102,6 +103,7 @@ static struct twl4030_hsmmc_info mmc[] = { | |||
102 | .cover_only = true, | 103 | .cover_only = true, |
103 | .gpio_cd = 160, | 104 | .gpio_cd = 160, |
104 | .gpio_wp = -EINVAL, | 105 | .gpio_wp = -EINVAL, |
106 | .power_saving = true, | ||
105 | }, | 107 | }, |
106 | { | 108 | { |
107 | .name = "internal", | 109 | .name = "internal", |
@@ -109,6 +111,8 @@ static struct twl4030_hsmmc_info mmc[] = { | |||
109 | .wires = 8, | 111 | .wires = 8, |
110 | .gpio_cd = -EINVAL, | 112 | .gpio_cd = -EINVAL, |
111 | .gpio_wp = -EINVAL, | 113 | .gpio_wp = -EINVAL, |
114 | .nonremovable = true, | ||
115 | .power_saving = true, | ||
112 | }, | 116 | }, |
113 | {} /* Terminator */ | 117 | {} /* Terminator */ |
114 | }; | 118 | }; |