OMAP: PM counter infrastructure.
authorPeter 'p2' De Schrijver <peter.de-schrijver@nokia.com>
Wed, 15 Oct 2008 14:48:43 +0000 (17:48 +0300)
committerKevin Hilman <khilman@deeprootsystems.com>
Wed, 2 Sep 2009 22:08:23 +0000 (15:08 -0700)
commitba20bb126940ce4847e146a0d00b7f7b0868d773
treed9a8f3c316aa66261ba026e9bd2507fa4ec9a931
parent36d568ec055cb3ac4507d38ebabba955cdbb443e
OMAP: PM counter infrastructure.

This patch provides the infrastructure to count how many times a
powerdomain entered a given power state (on, inactive, retention,
off). A number of functions are provided which will be called by the
chip specific powerdomain and clockdomain code whenever a transition
might have happened.

Signed-off-by: Peter 'p2' De Schrijver <peter.de-schrijver@nokia.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/clockdomain.c
arch/arm/mach-omap2/powerdomain.c
arch/arm/plat-omap/include/mach/powerdomain.h