diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2010-07-15 16:06:04 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-08-05 08:26:18 -0400 |
commit | 61bfbdb856879cff583fe53b2ab6ae907faedee7 (patch) | |
tree | 6c7f58f04ea51e0a944f4bd50be597ee223a10a3 /arch/mips/include/asm | |
parent | ba01d6ec04f6d1d983101eb527caa96318fc1017 (diff) |
MMC: Add support for the controller on JZ4740 SoCs.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Matt Fleming <matt@console-pimps.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Matt Fleming <matt@console-pimps.org>
Cc: linux-mmc@vger.kernel.org
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/1463/
Patchwork: https://patchwork.linux-mips.org/patch/1523/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm')
-rw-r--r-- | arch/mips/include/asm/mach-jz4740/jz4740_mmc.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mach-jz4740/jz4740_mmc.h b/arch/mips/include/asm/mach-jz4740/jz4740_mmc.h new file mode 100644 index 000000000000..8543f432b4b3 --- /dev/null +++ b/arch/mips/include/asm/mach-jz4740/jz4740_mmc.h | |||
@@ -0,0 +1,15 @@ | |||
1 | #ifndef __LINUX_MMC_JZ4740_MMC | ||
2 | #define __LINUX_MMC_JZ4740_MMC | ||
3 | |||
4 | struct jz4740_mmc_platform_data { | ||
5 | int gpio_power; | ||
6 | int gpio_card_detect; | ||
7 | int gpio_read_only; | ||
8 | unsigned card_detect_active_low:1; | ||
9 | unsigned read_only_active_low:1; | ||
10 | unsigned power_active_low:1; | ||
11 | |||
12 | unsigned data_1bit:1; | ||
13 | }; | ||
14 | |||
15 | #endif | ||