Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 184720
b: refs/heads/master
c: a1e6364
h: refs/heads/master
v: v3
  • Loading branch information
Lesly A M authored and Tony Lindgren committed Feb 15, 2010
1 parent 2fedde2 commit 0e6c266
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 321cfc851dbb866e4d5efd555eca5919895324ca
refs/heads/master: a1e63642a9ed167f74afd10245fb907ac41a54d0
9 changes: 9 additions & 0 deletions trunk/arch/arm/mach-omap2/board-zoom-peripherals.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <plat/common.h>
#include <plat/usb.h>

#include "mux.h"
#include "hsmmc.h"

/* Zoom2 has Qwerty keyboard*/
Expand Down Expand Up @@ -263,9 +264,17 @@ static int __init omap_i2c_init(void)
return 0;
}

static void enable_board_wakeup_source(void)
{
/* T2 interrupt line (keypad) */
omap_mux_init_signal("sys_nirq",
OMAP_WAKEUP_EN | OMAP_PIN_INPUT_PULLUP);
}

void __init zoom_peripherals_init(void)
{
omap_i2c_init();
omap_serial_init();
usb_musb_init();
enable_board_wakeup_source();
}

0 comments on commit 0e6c266

Please sign in to comment.