diff options
author | Kevin Hilman <khilman@ti.com> | 2012-07-16 16:56:15 -0700 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2012-08-07 11:27:31 -0700 |
commit | 265a2bc84247c9b9e3bb4fe275f16ba99551a7e7 (patch) | |
tree | 2650b9a88516e670959eabfca4e05e8386f3e396 /arch/arm/mach-omap2 | |
parent | 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee (diff) | |
download | linux-265a2bc84247c9b9e3bb4fe275f16ba99551a7e7.tar.gz linux-265a2bc84247c9b9e3bb4fe275f16ba99551a7e7.tar.bz2 linux-265a2bc84247c9b9e3bb4fe275f16ba99551a7e7.zip |
ARM: OMAP3: TWL4030: ensure sys_nirq1 is mux'd and wakeup enabled
The SYS_NIRQ1 pin is the interupt line for the PMIC part of the TWL6030
and interrupts from the PMIC are needed as wakeup sources.
Ensure this pin is mux'd as input and has wakeup enabled so PMIC
interupts (e.g. RTC) can be used as wakeup sources.
Tested on 3430/n900, OMAP3530/Overo Fire, 3730/Overo FireSTORM,
3730/Beagle-xM.
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/twl-common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/twl-common.c b/arch/arm/mach-omap2/twl-common.c index de47f170ba50..db5ff6642375 100644 --- a/arch/arm/mach-omap2/twl-common.c +++ b/arch/arm/mach-omap2/twl-common.c @@ -67,6 +67,7 @@ void __init omap_pmic_init(int bus, u32 clkrate, const char *pmic_type, int pmic_irq, struct twl4030_platform_data *pmic_data) { + omap_mux_init_signal("sys_nirq", OMAP_PIN_INPUT_PULLUP | OMAP_PIN_OFF_WAKEUPENABLE); strncpy(pmic_i2c_board_info.type, pmic_type, sizeof(pmic_i2c_board_info.type)); pmic_i2c_board_info.irq = pmic_irq; |