diff options
author | Paul Walmsley <[email protected]> | 2012-09-23 17:28:28 -0600 |
---|---|---|
committer | Paul Walmsley <[email protected]> | 2012-09-23 17:28:28 -0600 |
commit | b71c72178e24118214f21567a15adcad61b4238a (patch) | |
tree | 65d550588f5c76db32905c6ceddc2dc20ef0a1cd /lib/string_helpers.c | |
parent | 5c3e4ec48586f6dfb482f1c524748948ba14021e (diff) |
ARM: OMAP2+: clockdomain/hwmod: add workaround for EMU clockdomain idle problems
The idle status of the IP blocks and clocks inside the EMU clockdomain
isn't taken into account by the PRCM hardware when deciding whether
the clockdomain is idle. Add a workaround flag in the clockdomain
code, CLKDM_MISSING_IDLE_REPORTING, to deal with this problem, and add
the code necessary to support it.
If CLKDM_MISSING_IDLE_REPORTING is set on a clockdomain, the
clockdomain will be forced active whenever an IP block inside that
clockdomain is in use, even if the clockdomain supports
hardware-supervised idle. When the kernel indicates that the last
active IP block inside the clockdomain is no longer used, the
clockdomain will be forced idle, or, if that mode is not supported in
the hardware, it will be placed into hardware-supervised idle.
This patch is an equal collaboration with Jon Hunter
<[email protected]>. Ming Lei <[email protected]>, Will Deacon
<[email protected]>, Madhav Vij <[email protected]>, Kevin Hilman
<[email protected]>, Benoît Cousson <[email protected]>, and Santosh
Shilimkar <[email protected]> all made essential contributions
to the understanding of EMU clockdomain power management on OMAP.
Signed-off-by: Paul Walmsley <[email protected]>
Cc: Jon Hunter <[email protected]>
Cc: Ming Lei <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Madhav Vij <[email protected]>
Cc: Kevin Hilman <[email protected]>
Cc: Benoît Cousson <[email protected]>
Cc: Santosh Shilimkar <[email protected]>
Tested-by: Jon Hunter <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions