ARM: OMAP5 / DRA7: Enable CPU RET on suspend
authorRajendra Nayak <rnayak@ti.com>
Mon, 27 May 2013 10:16:44 +0000 (15:46 +0530)
committerNishanth Menon <nm@ti.com>
Mon, 8 Sep 2014 16:38:43 +0000 (11:38 -0500)
commit6099dd37c66931085557363b4716483f97cf92a0
treea8d887251abfc3a3ed4803ba907936985d62a540
parente97c4eb342055b24da886b56377dc0093e835b4a
ARM: OMAP5 / DRA7: Enable CPU RET on suspend

On OMAP5 / DRA7, prevent a CPU powerdomain OFF and resulting MPU OSWR
and instead attempt a CPU RET and side effect, MPU RET in suspend.

NOTE: the hardware was originally designed to be capable of achieving
deep power states such as OFF and OSWR, however due to various issues
and risks, deepest valid state was determined to be CSWR - hence we use
the errata framework to handle this case.

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
[nm@ti.com: updates]
Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Kevin Hilman <khilman@linaro.org>
Tested-by: Kevin Hilman <khilman@linaro.org>
arch/arm/mach-omap2/omap-mpuss-lowpower.c
arch/arm/mach-omap2/omap-wakeupgen.c
arch/arm/mach-omap2/pm.h
arch/arm/mach-omap2/pm44xx.c