diff options
author | Tero Kristo <t-kristo@ti.com> | 2012-09-23 17:28:19 -0600 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-09-23 17:28:19 -0600 |
commit | 5b8a14be513ca1172c72ec181a5e22ec18fb7bf5 (patch) | |
tree | fc6d85078409b5e72d56dac8b5fec060abc81fa5 /arch/arm/mach-omap2/drm.c | |
parent | 3bb05dbf69018177c06ee09011e2d8bd183dd2ba (diff) |
ARM: OMAP4: powerdomain: add support for reading prev logic and mem states
On OMAP4, there is no support to read previous logic state
or previous memory state achieved when a power domain transitions
to RET. Instead there are module level context registers.
In order to support the powerdomain level logic/mem_off_counters
on OMAP4, instead use the previous power state achieved (RET) and
the *programmed* logic/mem RET state to derive if a powerdomain lost
logic or did not.
If the powerdomain is programmed to enter RET state and lose logic
in RET state, knowing that the powerdomain entered RET is good enough
to derive that the logic was lost as well, in such cases.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
[paul@pwsan.com: removed dependency on functional power state series for now;
bumped copyright date]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/drm.c')
0 files changed, 0 insertions, 0 deletions