diff options
author | Reddy, Teerth <teerth@ti.com> | 2009-08-24 02:28:59 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2009-09-02 18:07:56 -0400 |
commit | 5110b2980a1299f6c253260de385b0dc2b2308b0 (patch) | |
tree | e3114c62d639d49de52c0079370206c5edf2e126 /arch/arm/mach-omap2/board-3430sdp.c | |
parent | bbde6ebae6dacf2f6e6ac4ab28c1805a2d51c5e1 (diff) |
OMAP3: PM: add T2 interrupt line mux setting, and enable on 3430SDP
This patch changes for setting the padconf value for sys_nirq line
which is connected to T2 INTR1. This will fix the T2 keypad wakeup
issue on OMAP3 SDP.
Signed-off-by: Teerth Reddy <teerth@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-3430sdp.c')
-rw-r--r-- | arch/arm/mach-omap2/board-3430sdp.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/board-3430sdp.c b/arch/arm/mach-omap2/board-3430sdp.c index 7e9b76cc7675..31d9f56c6483 100644 --- a/arch/arm/mach-omap2/board-3430sdp.c +++ b/arch/arm/mach-omap2/board-3430sdp.c | |||
@@ -473,6 +473,11 @@ static inline void board_smc91x_init(void) | |||
473 | 473 | ||
474 | #endif | 474 | #endif |
475 | 475 | ||
476 | static void enable_board_wakeup_source(void) | ||
477 | { | ||
478 | omap_cfg_reg(AF26_34XX_SYS_NIRQ); /* T2 interrupt line (keypad) */ | ||
479 | } | ||
480 | |||
476 | static void __init omap_3430sdp_init(void) | 481 | static void __init omap_3430sdp_init(void) |
477 | { | 482 | { |
478 | omap3430_i2c_init(); | 483 | omap3430_i2c_init(); |
@@ -490,6 +495,7 @@ static void __init omap_3430sdp_init(void) | |||
490 | omap_serial_init(); | 495 | omap_serial_init(); |
491 | usb_musb_init(); | 496 | usb_musb_init(); |
492 | board_smc91x_init(); | 497 | board_smc91x_init(); |
498 | enable_board_wakeup_source(); | ||
493 | } | 499 | } |
494 | 500 | ||
495 | static void __init omap_3430sdp_map_io(void) | 501 | static void __init omap_3430sdp_map_io(void) |