diff options
author | Tero Kristo <tero.kristo@nokia.com> | 2008-10-29 13:31:24 +0200 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2009-09-02 15:08:25 -0700 |
commit | 2811d6b3237c9b77007a6b2b10ee5b576da0574e (patch) | |
tree | 84febe1c3cdd2ece0b1f097d64cf9c597b1c833a /arch/arm/mach-omap2/board-apollon.c | |
parent | 6199ab2690ca6f44f838603da079b3faa837e502 (diff) |
OMAP: PM debug: Add PRCM register dump support
Allows dumping out current register contents from the debug filesystem, and
also allows user to add arbitrary register save points into code. Current
register contents are available under debugfs at:
[debugfs]/pm_debug/registers/current
To add a save point, do following:
From module init (or somewhere before the save call, called only once):
pm_dbg_init_regset(n); // n=1..4, allocates memory for dump area #n
From arbitrary code location:
pm_dbg_regset_save(n); // n=1..4, saves registers to dump area #n
After this, the register dump can be seen under [debugfs]/pm_debug/registers/n
Signed-off-by: Tero Kristo <tero.kristo@nokia.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-omap2/board-apollon.c')
0 files changed, 0 insertions, 0 deletions