Skip to content

OMAP2 PM: link clocks to clockdomains, use clkdm/pwrdm code

Paul Walmsley linux-omap 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/624xx clock: associate clocks with clockdomainsarch/arm/mach-omap2/clock24xx.h+187 -510 replies
2/624xx clock: add missing SSI L4 interface clockarch/arm/mach-omap2/clock24xx.h+15 -00 replies
3/6powerdomain: add pwrdm_get_mem_bank_count()arch/arm/mach-omap2/powerdomain.c include/asm-arm/arch-omap/powerdomain.h+16 -00 replies
4/6clockdomain: add clkdm_get_pwrdm()arch/arm/mach-omap2/clockdomain.c include/asm-arm/arch-omap/clockdomain.h+19 -20 replies
5/624xx PM: convert pm24xx.c code to use pwrdm/clkdm interfacesarch/arm/mach-omap2/pm24xx.c+72 -340 replies
6/6DSP Gateway: remove manual clockdomain/powerdomain tweakingdrivers/dsp/dspgateway/dsp_core.c+0 -130 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] OMAP2 PM: link clocks to clockdomains, use clkdm/pwrdm code

This series updates OMAP24xx power management to use the recent clockdomain and powerdomain code that was integrated earlier this year. The series:

- associates a clockdomain with each struct clk,

- adds a couple of minor powerdomain/clockdomain interface functions to be used by pm.c,

- converts direct register manipulation for clockdomains and powerdomains in pm.c to use the clockdomain/powerdomain interface functions,

- and removes the clockdomain/powerdomain manipulation code from DSPGateway.

This series also adds a missing OMAP24xx clock, ssi_l4_iclk, noticed while annotating the clock framework.

Tested on an N800 with the serial console enabled, and power consumption matches current l-o git HEAD during screen on, dim, and off; and DSP still works.

--

size:

text data bss dec hex filename

3160390  150488   86308 3397186  33d642 vmlinux.n800.orig
3160642  150488   86308 3397438  33d73e vmlinux.n800.patched

diffstat:

 arch/arm/mach-omap2/clock24xx.h         |  251 +++++++++++++++++++++++++------
 arch/arm/mach-omap2/clockdomain.c       |   16 ++
 arch/arm/mach-omap2/pm24xx.c            |  106 +++++++++----
 arch/arm/mach-omap2/powerdomain.c       |   14 ++
 drivers/dsp/dspgateway/dsp_core.c       |   13 --
 include/asm-arm/arch-omap/clockdomain.h |    5 -
 include/asm-arm/arch-omap/powerdomain.h |    2 
 7 files changed, 308 insertions(+), 99 deletions(-)