OMAP2 PM: link clocks to clockdomains, use clkdm/pwrdm code
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | 24xx clock: associate clocks with clockdomainsarch/ | +187 | 0 replies | |
| 2/6 | 24xx clock: add missing SSI L4 interface clockarch/ | +15 | 0 replies | |
| 3/6 | powerdomain: add pwrdm_get_mem_bank_count()arch/ include/ | +16 | 0 replies | |
| 4/6 | clockdomain: add clkdm_get_pwrdm()arch/ include/ | +19 | 0 replies | |
| 5/6 | 24xx PM: convert pm24xx.c code to use pwrdm/clkdm interfacesarch/ | +72 | 0 replies | |
| 6/6 | DSP Gateway: remove manual clockdomain/powerdomain tweakingdrivers/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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(-)