Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 163138
b: refs/heads/master
c: 5110b29
h: refs/heads/master
v: v3
  • Loading branch information
Reddy, Teerth authored and Kevin Hilman committed Sep 2, 2009
1 parent 74a2731 commit fed1145
Show file tree
Hide file tree
Showing 4 changed files with 15 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: bbde6ebae6dacf2f6e6ac4ab28c1805a2d51c5e1
refs/heads/master: 5110b2980a1299f6c253260de385b0dc2b2308b0
6 changes: 6 additions & 0 deletions trunk/arch/arm/mach-omap2/board-3430sdp.c
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,11 @@ static inline void board_smc91x_init(void)

#endif

static void enable_board_wakeup_source(void)
{
omap_cfg_reg(AF26_34XX_SYS_NIRQ); /* T2 interrupt line (keypad) */
}

static void __init omap_3430sdp_init(void)
{
omap3430_i2c_init();
Expand All @@ -490,6 +495,7 @@ static void __init omap_3430sdp_init(void)
omap_serial_init();
usb_musb_init();
board_smc91x_init();
enable_board_wakeup_source();
}

static void __init omap_3430sdp_map_io(void)
Expand Down
5 changes: 5 additions & 0 deletions trunk/arch/arm/mach-omap2/mux.c
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,11 @@ MUX_CFG_34XX("AF13_3430_MMC3_DAT2", 0x5e8,
OMAP34XX_MUX_MODE2 | OMAP34XX_PIN_INPUT_PULLUP)
MUX_CFG_34XX("AF13_3430_MMC3_DAT3", 0x5e2,
OMAP34XX_MUX_MODE2 | OMAP34XX_PIN_INPUT_PULLUP)

/* SYS_NIRQ T2 INT1 */
MUX_CFG_34XX("AF26_34XX_SYS_NIRQ", 0x1E0,
OMAP3_WAKEUP_EN | OMAP34XX_PIN_INPUT_PULLUP |
OMAP34XX_MUX_MODE0)
};

#define OMAP34XX_PINS_SZ ARRAY_SIZE(omap34xx_pins)
Expand Down
3 changes: 3 additions & 0 deletions trunk/arch/arm/plat-omap/include/mach/mux.h
Original file line number Diff line number Diff line change
Expand Up @@ -885,6 +885,9 @@ enum omap34xx_index {
AH9_3430_MMC3_DAT1,
AF13_3430_MMC3_DAT2,
AF13_3430_MMC3_DAT3,

/* SYS_NIRQ T2 INT1 */
AF26_34XX_SYS_NIRQ,
};

struct omap_mux_cfg {
Expand Down

0 comments on commit fed1145

Please sign in to comment.