diff options
author | Tony Lindgren <[email protected]> | 2013-10-22 06:49:48 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2013-10-29 16:26:54 -0700 |
commit | 2a0b965cfb6efc667228831fc3a30308b4f94a87 (patch) | |
tree | 1226df08fda75015daee1882ebf8d6354880898c /net/lapb/lapb_out.c | |
parent | 24b6bb0714508e3a4f51dec9f4333c988f8afb76 (diff) |
serial: omap: Add support for optional wake-up
With the recent pinctrl-single changes, omaps can treat
wake-up events from deeper idle states as interrupts.
There's a separate "io chain" controller on most omaps
that stays enabled when the device hits off-idle and the
regular interrupt controller is powered off.
Let's add support for the optional second interrupt for
wake-up events. And then serial-omap can manage the
wake-up interrupt from it's runtime PM calls to avoid
spurious interrupts during runtime.
Note that the wake interrupt is board specific as it
uses the UART RX pin, and for omap3, there are six pin
options for UART3 RX pin.
Also Note that the legacy platform based booting handles
the wake-ups in the legacy mux driver and does not need to
pass the wake-up interrupt to the driver.
And finally, to pass the wake-up interrupt in the dts file,
either interrupt-map or the pending interrupts-extended
property needs to be passed. It's probably best to use
interrupts-extended when it's available.
Cc: Felipe Balbi <[email protected]>
Cc: Kevin Hilman <[email protected]>
Cc: Linus Walleij <[email protected]>
Reviewed-by: Felipe Balbi <[email protected]>
Reviewed-by: Roger Quadros <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions