[PATCH 05/11] ARM: OMAP3: CM/PM: add API for accessing module clock enable registers
Paul Walmsley
paul at pwsan.com
Sat Oct 19 13:40:28 EDT 2013
On Fri, 11 Oct 2013, Tero Kristo wrote:
> PRCM chain handler needs these to properly acknowledge wakeup events.
> Currently this functionality is implemented as direct register accesses,
> but as the CM code should eventually move to its own driver, separate
> API calls are now added for this purpose. PM core code is also changed
> to use these APIs.
>
> Signed-off-by: Tero Kristo <t-kristo at ti.com>
In theory, shouldn't the clock code know which clocks are enabled and
disabled? Seems like if it can use standard CCF code for this, this code
might also be able to avoid slow PRM/CM register accesses.
That prcm_clear_mod_irqs() function should probably be a hwmod-based
interface anyway...
- Paul
More information about the linux-arm-kernel
mailing list