Skip to content

OMAP clock, B of F: clockdomain, powerdomain updates

Paul Walmsley linux-omap lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 17 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10OMAP2/3 clock: combine clkdm, clkdm_name into union in struct clkarch/arm/mach-omap2/clock.c arch/arm/mach-omap2/clock24xx.h arch/arm/mach-omap2/clock34xx.h +1 more+275 -2733 replies
2/10OMAP2/3 clockdomains: combine pwrdm, pwrdm_name into union in struct clockdomainarch/arm/mach-omap2/clockdomain.c arch/arm/mach-omap2/clockdomains.h arch/arm/plat-omap/include/mach/clockdomain.h+68 -684 replies
3/10OMAP2/3 clockdomains: add CM, PRM, virt_opp_clkdm clockdomainsarch/arm/mach-omap2/clock24xx.h arch/arm/mach-omap2/clock34xx.h arch/arm/mach-omap2/clockdomains.h +1 more+106 -471 reply
4/10OMAP3 PRCM: add DPLL1-5 powerdomains, clockdomains; mark clocksarch/arm/mach-omap2/clock34xx.h arch/arm/mach-omap2/clockdomains.h arch/arm/mach-omap2/powerdomains.h +1 more+98 -01 reply
5/10OMAP2/3 clock: add clockdomains to all remaining clocks; fix clkdm initarch/arm/mach-omap2/clock.c arch/arm/mach-omap2/clock24xx.c arch/arm/mach-omap2/clock24xx.h +1 more+38 -231 reply
6/10OMAP3 pwrdm: add CORE SAR handling (for USBTLL module)arch/arm/mach-omap2/powerdomains.h arch/arm/mach-omap2/powerdomains34xx.h+23 -37 replies
7/10OMAP3 powerdomains: remove RET from SGX power states listarch/arm/mach-omap2/powerdomains34xx.h+6 -10 replies
8/10OMAP: wait for pwrdm transition after clk_enable()arch/arm/mach-omap2/clockdomain.c+2 -00 replies
9/10OMAP2/3 clockdomains: autodeps should respect platform flagsarch/arm/mach-omap2/clockdomain.c+6 -00 replies
10/10OMAP3: PM: Emu_pwrdm is switched off by hardware even when sdti is in usearch/arm/mach-omap2/clockdomains.h+5 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH B 00/10] OMAP clock, B of F: clockdomain, powerdomain updates

This series is the second of six to bring the mainline kernel OMAP clock code up-to-date with the linux-omap tree.

Major changes in this series:

- Fix clockdomain, powerdomain code and data to match the hardware
- Add PRCM clockdomains
- Add DPLL clockdomains, powerdomains
- Mark all OMAP clocks with clockdomains
- Combine pwrdm, clkdm names and pointers into unions

Some patches have been "compressed" together, as requested by rmk - original commit IDs are in the patch descriptions.

Compile-tested on OSK5912 (OMAP1), H4 and 2430SDP (OMAP2), and BeagleBoard (OMAP3). Boot-tested on 2430SDP and BeagleBoard.

Applies on top of series A, posted earlier.

- Paul

---

Jouni Hogander (1):
OMAP3: PM: Emu_pwrdm is switched off by hardware even when sdti is in use

Paul Walmsley (8):
OMAP2/3 clockdomains: autodeps should respect platform flags
OMAP3 powerdomains: remove RET from SGX power states list
OMAP3 pwrdm: add CORE SAR handling (for USBTLL module)
OMAP2/3 clock: add clockdomains to all remaining clocks; fix clkdm init OMAP3 PRCM: add DPLL1-5 powerdomains, clockdomains; mark clocks OMAP2/3 clockdomains: add CM, PRM, virt_opp_clkdm clockdomains OMAP2/3 clockdomains: combine pwrdm, pwrdm_name into union in struct clockdomain OMAP2/3 clock: combine clkdm, clkdm_name into union in struct clk

Tomi Valkeinen (1):
OMAP: wait for pwrdm transition after clk_enable()

 arch/arm/mach-omap2/clock.c                   |   26 +-
 arch/arm/mach-omap2/clock24xx.c               |    2 
 arch/arm/mach-omap2/clock24xx.h               |  278 ++++++++++---------
 arch/arm/mach-omap2/clock34xx.h               |  369 +++++++++++++++----------
 arch/arm/mach-omap2/clockdomain.c             |   58 ++--
 arch/arm/mach-omap2/clockdomains.h            |  125 ++++++--
 arch/arm/mach-omap2/powerdomains.h            |    8 -
 arch/arm/mach-omap2/powerdomains34xx.h        |   61 ++++
 arch/arm/plat-omap/include/mach/clock.h       |    6 
 arch/arm/plat-omap/include/mach/clockdomain.h |   24 +-
 arch/arm/plat-omap/include/mach/powerdomain.h |    4 
 11 files changed, 586 insertions(+), 375 deletions(-)

text data bss dec hex filename
3241423 164192 100912 3506527 35815f vmlinux.beagle.orig
3241711 163872 100912 3506495 35813f vmlinux.beagle