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>
This commit is contained in:
parent
bbde6ebae6
commit
5110b2980a
|
@ -473,6 +473,11 @@ static inline void board_smc91x_init(void)
|
||||||
|
|
||||||
#endif
|
#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)
|
static void __init omap_3430sdp_init(void)
|
||||||
{
|
{
|
||||||
omap3430_i2c_init();
|
omap3430_i2c_init();
|
||||||
|
@ -490,6 +495,7 @@ static void __init omap_3430sdp_init(void)
|
||||||
omap_serial_init();
|
omap_serial_init();
|
||||||
usb_musb_init();
|
usb_musb_init();
|
||||||
board_smc91x_init();
|
board_smc91x_init();
|
||||||
|
enable_board_wakeup_source();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __init omap_3430sdp_map_io(void)
|
static void __init omap_3430sdp_map_io(void)
|
||||||
|
|
|
@ -542,6 +542,11 @@ MUX_CFG_34XX("AF13_3430_MMC3_DAT2", 0x5e8,
|
||||||
OMAP34XX_MUX_MODE2 | OMAP34XX_PIN_INPUT_PULLUP)
|
OMAP34XX_MUX_MODE2 | OMAP34XX_PIN_INPUT_PULLUP)
|
||||||
MUX_CFG_34XX("AF13_3430_MMC3_DAT3", 0x5e2,
|
MUX_CFG_34XX("AF13_3430_MMC3_DAT3", 0x5e2,
|
||||||
OMAP34XX_MUX_MODE2 | OMAP34XX_PIN_INPUT_PULLUP)
|
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)
|
#define OMAP34XX_PINS_SZ ARRAY_SIZE(omap34xx_pins)
|
||||||
|
|
|
@ -885,6 +885,9 @@ enum omap34xx_index {
|
||||||
AH9_3430_MMC3_DAT1,
|
AH9_3430_MMC3_DAT1,
|
||||||
AF13_3430_MMC3_DAT2,
|
AF13_3430_MMC3_DAT2,
|
||||||
AF13_3430_MMC3_DAT3,
|
AF13_3430_MMC3_DAT3,
|
||||||
|
|
||||||
|
/* SYS_NIRQ T2 INT1 */
|
||||||
|
AF26_34XX_SYS_NIRQ,
|
||||||
};
|
};
|
||||||
|
|
||||||
struct omap_mux_cfg {
|
struct omap_mux_cfg {
|
||||||
|
|
Reference in New Issue