ARM: OMAP4: TWL6030: ensure sys_nirq1 is mux'd and wakeup enabled
authorKevin Hilman <khilman@ti.com>
Thu, 28 Jun 2012 17:01:32 +0000 (10:01 -0700)
committerTony Lindgren <tony@atomide.com>
Mon, 2 Jul 2012 11:59:04 +0000 (04:59 -0700)
commit5941b8142e9f4d7b8b99562e833067b307b3f390
treecf975bb961edb352aa600b16d3d9b68d5a947559
parent95669d788192d351890bfb16785336c2db816356
ARM: OMAP4: TWL6030: 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 OMAP4430/Panda.

Signed-off-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/twl-common.c