summaryrefslogtreecommitdiffstats
path: root/drivers/tty/n_tracerouter.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2013-10-22 06:49:48 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-29 16:26:54 -0700
commit2a0b965cfb6efc667228831fc3a30308b4f94a87 (patch)
tree1226df08fda75015daee1882ebf8d6354880898c /drivers/tty/n_tracerouter.c
parent24b6bb0714508e3a4f51dec9f4333c988f8afb76 (diff)
downloadblackbird-op-linux-2a0b965cfb6efc667228831fc3a30308b4f94a87.tar.gz
blackbird-op-linux-2a0b965cfb6efc667228831fc3a30308b4f94a87.zip
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 <balbi@ti.com> Cc: Kevin Hilman <khilman@linaro.org> Cc: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Felipe Balbi <balbi@ti.com> Reviewed-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/n_tracerouter.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud