summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/devices.c
diff options
context:
space:
mode:
authorMadhu2009-11-22 19:11:08 +0100
committerTony Lindgren2009-11-22 19:24:32 +0100
commit4679232d3a2085fa5080f260d68b4049c14d5b76 (patch)
treed47d508d9880c41d9a9163b0dea4d3b16130dacc /arch/arm/mach-omap2/devices.c
parentomap3630: Set omap3630 MMC1 I/O speed to 52Mhz (diff)
downloadkernel-qcow2-linux-4679232d3a2085fa5080f260d68b4049c14d5b76.tar.gz
kernel-qcow2-linux-4679232d3a2085fa5080f260d68b4049c14d5b76.tar.xz
kernel-qcow2-linux-4679232d3a2085fa5080f260d68b4049c14d5b76.zip
omap3: HSMMC2 8-bit mux configuration
Add support for omap hsmmc2 8-bit mux configuration. Signed-off-by: Madhusudhan Chikkature <madhu.cr@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/devices.c')
-rw-r--r--arch/arm/mach-omap2/devices.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c
index 8d23e1f7f84b..8b6cd8c82dd2 100644
--- a/arch/arm/mach-omap2/devices.c
+++ b/arch/arm/mach-omap2/devices.c
@@ -609,6 +609,12 @@ static inline void omap2_mmc_mux(struct omap_mmc_platform_data *mmc_controller,
omap_cfg_reg(AG4_3430_MMC2_DAT2);
omap_cfg_reg(AF4_3430_MMC2_DAT3);
}
+ if (mmc_controller->slots[0].wires == 8) {
+ omap_cfg_reg(AE4_3430_MMC2_DAT4);
+ omap_cfg_reg(AH3_3430_MMC2_DAT5);
+ omap_cfg_reg(AF3_3430_MMC2_DAT6);
+ omap_cfg_reg(AE3_3430_MMC2_DAT7);
+ }
}
/*