ARM: OMAP2+: UART: Add wakeup mechanism for omap-uarts
authorGovindraj.R <govindraj.raja@ti.com>
Thu, 13 Oct 2011 08:41:09 +0000 (14:11 +0530)
committerKevin Hilman <khilman@ti.com>
Thu, 15 Dec 2011 00:05:23 +0000 (16:05 -0800)
From the runtime callbacks enable hwmod wakeups for uart which will
internally enable io-pad wakeups for uarts if they have rx-pad pins
set as wakeup capabale.

Use the io-ring wakeup mechanism after uart clock gating and leave
the PM_WKST set for uart to default reset values cleanup the
code in serial.c which was handling PM_WKST reg.
Irq_chaing(PRM_DRIVER) is used to wakeup uart after uart clocks are gated
using pad wakeup mechanism.

Signed-off-by: Govindraj.R <govindraj.raja@ti.com>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de> (for drivers/tty changes)
Signed-off-by: Kevin Hilman <khilman@ti.com>

No differences found