OMAP2/3 PM: Adding powerdomain APIs for reading the next logic and mem state
authorThara Gopinath <thara@ti.com>
Wed, 24 Feb 2010 19:05:49 +0000 (12:05 -0700)
committerPaul Walmsley <paul@pwsan.com>
Wed, 24 Feb 2010 19:05:49 +0000 (12:05 -0700)
commit1e3d0d2ba9ce1f975ca59d9a1048175f1e9c01ac
tree673c08a001a1fb0256244c6815451fff0cb34001
parentb024b542c3697dceb7b625773358310ee34382a6
OMAP2/3 PM: Adding powerdomain APIs for reading the next logic and mem state

This patch adds APIs pwrdm_read_logic_retst and
pwrdm_read_mem_retst for reading the next programmed
logic and memory state a powerdomain is to hit in event
of the next power domain state being retention.
These are needed for OSWR support.

Signed-off-by: Thara Gopinath <thara@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/powerdomain.c
arch/arm/plat-omap/include/plat/powerdomain.h