Zoom2/3:Update hsmmc board config params
Subsystems (3)
PATCH 1/1 Zoom2/3:Update hsmmc board config params
From: Madhusudhan Chikkature <[email protected]>
Subject: [PATCH] Zoom2/3:Update hsmmc board config params.
Update the hsmmc zoom peripheral configuration to support:
Power saving mode
mmc2 8-bit support
Configure mmc2 as non removable
--- arch/arm/mach-omap2/board-zoom-peripherals.c | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-)
(quoted diff) +0 -0
b/arch/arm/mach-omap2/board-zoom-peripherals.c
index 221a8e3..258794d 100755
arch/arm/mach-omap2/board-zoom-peripherals.c +8 -5
@@ -152,14 +152,20 @@ static struct regulator_init_data zoom_vsim = {static struct twl4030_hsmmc_info mmc[]__initdata = { { + .name ="external" , .mmc =1 , .wires =4 , .gpio_wp = -EINVAL , + .power_saving = true, }, { + .name ="internal" , .mmc =2 , - .wires =4 , + .wires =8 , + .gpio_cd = -EINVAL , .gpio_wp = -EINVAL , + .nonremovable = true, + .power_saving = true, }, {}/* Terminator */ };
@@ -167,11 +173,8 @@ static struct twl4030_hsmmc_info mmc[] __initdata = {static int zoom_twl_gpio_setup (struct device *dev,unsigned gpio,unsigned ngpio) { -/* gpio + 0 is "mmc0_cd" (input/IRQ), -* gpio + 1 is "mmc1_cd" (input/IRQ) -*/ +/* gpio + 0 is "mmc0_cd" (input/IRQ) */ mmc[0 ].gpio_cd = gpio +0 ; - mmc[1 ].gpio_cd = gpio +1 ;twl4030_mmc_init (mmc);/* link regulators to MMC adapters ... we "know" the
Signature · 1 line
1.6.0.4
Tony Lindgren
maintainerPATCH 1/1 Zoom2/3:Update hsmmc board config params.
This patch has been applied to the linux-omap
by youw fwiendly patch wobot.
Branch in linux-omap: for-next-vol2
Initial commit ID (Likely to change): d110a6b269e46dd6b0b94bd5dd5020d959f2f9d8
PatchWorks
http://patchwork.kernel.org/patch/62616/
Git (Likely to change, and takes a while to get mirrored)
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git;a=commit;h=d110a6b269e46dd6b0b94bd5dd5020d959f2f9d8