aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/powerdomain.c
diff options
context:
space:
mode:
authorPeter 'p2' De Schrijver <peter.de-schrijver@nokia.com>2008-10-15 18:13:48 +0300
committerKevin Hilman <khilman@deeprootsystems.com>2009-09-02 15:08:24 -0700
commit331b93f41dff21c8f95709032cb184fb82bf2003 (patch)
tree6945e875909ae2571bd3344c978395414e61781c /arch/arm/mach-omap2/powerdomain.c
parentOMAP: PM: Add closures to clkdm_for_each and pwrdm_for_each. (diff)
downloadlinux-dev-331b93f41dff21c8f95709032cb184fb82bf2003.tar.xz
linux-dev-331b93f41dff21c8f95709032cb184fb82bf2003.zip
OMAP: PM: Add pm-debug counters
This patch provides the debugfs entries and a function which will be called by the PM code to register the time spent per domain per state. Also some new fields are added to the powerdomain struct to keep the time information. NOTE: As of v2.6.29, using getnstimeofday() after drivers are suspended is no longer safe since the timekeeping subsystem is also suspended as part of the suspend process. Instead use sched_clock() which on OMAP returns the 32k SYNC timer in nanoseconds. Also, do not print out status for meta powerdomains (dpll*) Signed-off-by: Peter 'p2' De Schrijver <peter.de-schrijver@nokia.com> Signed-off-by: Tero Kristo <tero.kristo@nokia.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-omap2/powerdomain.c')
0 files changed, 0 insertions, 0 deletions