From: Govindraj.R Date: Thu, 13 Oct 2011 08:41:09 +0000 (+0530) Subject: ARM: OMAP2+: UART: Add wakeup mechanism for omap-uarts X-Git-Tag: v3.3-rc1~137^2~3^2^2~5^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62f3ec5fbd5fddce62b7a71adc04723a5eb903da;p=pandora-kernel.git 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 Acked-by: Greg Kroah-Hartman (for drivers/tty changes) Signed-off-by: Kevin Hilman --- Reading git-diff-tree failed