[PATCH V2 08/10] ARM: OMAP4: Prevent EMU power domain transitioning to OFF when in-use

Shilimkar, Santosh santosh.shilimkar at ti.com
Thu Aug 2 03:34:25 EDT 2012


On Wed, Aug 1, 2012 at 9:06 PM, Paul Walmsley <paul at pwsan.com> wrote:
>
> Hi Jon et al,
>
> Here's what I'm planning to queue here.  The only changes from what Jon
> posted are the patch changelog and some checkpatch fixes.  If anyone
> has any final comments, please let me know.
>
>
> - Paul
>
> From: Paul Walmsley <paul at pwsan.com>
> Date: Wed, 1 Aug 2012 09:11:20 -0600
> Subject: [PATCH] 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
> <jon-hunter at ti.com>.  Ming Lei <ming.lei at canonical.com>, Will Deacon
> <will.deacon at arm.com>, Madhav Vij <mvij at ti.com>, Kevin Hilman
> <khilman at ti.com>, Benoît Cousson <b-cousson at ti.com>, and Santosh
> Shilimkar <santosh.shilimkar at ti.com> all made essential contributions
> to the understanding of EMU clockdomain power management on OMAP.
>
> Signed-off-by: Paul Walmsley <paul at pwsan.com>
> Cc: Jon Hunter <jon-hunter at ti.com>
> Cc: Ming Lei <ming.lei at canonical.com>
> Cc: Will Deacon <will.deacon at arm.com>
> Cc: Madhav Vij <mvij at ti.com>
> Cc: Kevin Hilman <khilman at ti.com>
> Cc: Benoît Cousson <b-cousson at ti.com>
> Cc: Santosh Shilimkar <santosh.shilimkar at ti.com>
> ---
Acked-by: Santosh Shilimkar <santosh.shilimkar at ti.com>



More information about the linux-arm-kernel mailing list