ARM: OMAP3: PM: allow MPU to enter low-power states even when the UART is active
authorPaul Walmsley <paul@pwsan.com>
Fri, 13 Jan 2012 10:05:03 +0000 (03:05 -0700)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 10 Feb 2012 14:19:16 +0000 (16:19 +0200)
commite24a2be5cb4e63f63e6dd76eb2e44bee59ad8b38
treedc91cf6eca9d9580bf9eae17e6327295f7e645ed
parent521cc76b1f10445b067bf5b6f469e5d32f60c09c
ARM: OMAP3: PM: allow MPU to enter low-power states even when the UART is active

For some reason, both the existing OMAP3 PM code and the OMAP3 CPUIdle
driver prevent the MPU powerdomain from entering low-power modes when
any UART isn't asleep.  Possibly it is intended to minimize the ARM
wakeup latency when UART activity arrives, but the UART has a FIFO
that should handle this for most cases, with no dropped characters.  I
may be forgetting something important, though.  And CORE/PER low-power
states are a different matter entirely.

Thanks to NeilBrown <neilb@suse.de> for reporting the problem.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: NeilBrown <neilb@suse.de>
Cc: Joe Woodward <jw@terrafix.co.uk>
Cc: Tero Kristo <t-kristo@ti.com>
Cc: Kevin Hilman <khilman@ti.com>
Cc: Govindraj.R <govindraj.raja@ti.com>
Signed-off-by: NeilBrown <neilb@suse.de>
arch/arm/mach-omap2/cpuidle34xx.c
arch/arm/mach-omap2/pm.h
arch/arm/mach-omap2/pm34xx.c