Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175683
b: refs/heads/master
c: ed32350
h: refs/heads/master
i:
  175681: c765bba
  175679: 6dc6558
v: v3
  • Loading branch information
Madhusudhan Chikkature authored and Tony Lindgren committed Dec 12, 2009
1 parent 3fafdcb commit 5d11368
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5bcf5a106feb6d760e478ed3c601db672c10b848
refs/heads/master: ed32350dc5ccc2b00685d857c3270688d465cd41
13 changes: 8 additions & 5 deletions trunk/arch/arm/mach-omap2/board-zoom-peripherals.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,26 +152,29 @@ 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 */
};

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
Expand Down

0 comments on commit 5d11368

Please sign in to comment.