]> git.karo-electronics.de Git - linux-beck.git/commit
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)
commit62f3ec5fbd5fddce62b7a71adc04723a5eb903da
tree682d86d38cf888bd10622479d779e862ebcee6d3
parent94734749af794c080f6af6ac3ce8c1c13ee2dbbd
ARM: OMAP2+: UART: Add wakeup mechanism for omap-uarts

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>
arch/arm/mach-omap2/serial.c
arch/arm/plat-omap/include/plat/omap-serial.h
drivers/tty/serial/omap-serial.c