Skip to content

Update OMAP2/3 powerdomains, clockdomains

Paul Walmsley linux-omap 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest12 patches 1 replyIn review
  2. v112 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12OMAP2/3 clockdomains: add CM and PRM clkdmsarch/arm/mach-omap2/clockdomains.h arch/arm/plat-omap/include/mach/powerdomain.h+21 -20 replies
2/12OMAP2/3 clock: convert wkup_clkdm PRM clocks to prm_clkdmarch/arm/mach-omap2/clock24xx.h arch/arm/mach-omap2/clock34xx.h+28 -260 replies
3/12OMAP2/3 clock: annotate PRM clocks that are missing clockdomainsarch/arm/mach-omap2/clock24xx.h arch/arm/mach-omap2/clock34xx.h+20 -10 replies
4/12OMAP2/3 clock: convert wkup_clkdm CM clocks to cm_clkdmarch/arm/mach-omap2/clock24xx.h arch/arm/mach-omap2/clock34xx.h+9 -90 replies
5/12OMAP2/3 clock: mark the rest of the CM clocks as belonging to cm_clkdmarch/arm/mach-omap2/clock34xx.h+20 -60 replies
6/12OMAP2/3 clockdomain: remove wkup_clkdmarch/arm/mach-omap2/clockdomains.h+0 -80 replies
7/12OMAP3 PRCM: add DPLL1-5 powerdomains, clockdomainsarch/arm/mach-omap2/clockdomains.h arch/arm/mach-omap2/powerdomains.h arch/arm/mach-omap2/powerdomains34xx.h+71 -00 replies
8/12OMAP3 clock: mark DPLL clocks with their DPLLx clockdomainsarch/arm/mach-omap2/clock34xx.h+27 -00 replies
9/12OMAP2/3 clock: note clockdomains for remaining clocksarch/arm/mach-omap2/clock24xx.h arch/arm/mach-omap2/clock34xx.h+31 -20 replies
10/12OMAP2 clockdomain: add virt_opp_clkdmarch/arm/mach-omap2/clock24xx.h arch/arm/mach-omap2/clockdomains.h+12 -00 replies
11/12OMAP3 clock: remove duplicate call to omap2_init_clk_clkdm()arch/arm/mach-omap2/clock34xx.h+0 -180 replies
12/12OMAP2/3 clock: warn if clock is missing clockdomainarch/arm/mach-omap2/clock.c+5 -30 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 00/12] Update OMAP2/3 powerdomains, clockdomains

This second version adds two fixes: it removes the extraneous init from csi2_96m_fck, and associates virt_opp_clkdm with wkup_pwrdm.

...

This series updates the in-kernel OMAP2/3 clockdomain and powerdomain structures:

- Split the placeholder clockdomain "wkup_clkdm" into "cm_clkdm" and "prm_clkdm". This more accurately reflects the hardware.

- Add powerdomains and clockdomains for DPLLs 1 through 5 on OMAP3.

- Associate every clock in OMAP2/3 clock tree with an appropriate clockdomain.

Boot-tested on 2430SDP and 3430SDP.

---

size:
text data bss dec hex filename

3441382  157936  105728 3705046  3888d6 vmlinux.3430sdp.orig
3441638  158440  105728 3705806  388bce vmlinux.3430sdp
 arch/arm/mach-omap2/clock.c                   |    8 +
 arch/arm/mach-omap2/clock24xx.h               |   56 ++++++----
 arch/arm/mach-omap2/clock34xx.h               |  140 ++++++++++++++++++-------
 arch/arm/mach-omap2/clockdomains.h            |   65 +++++++++++-
 arch/arm/mach-omap2/powerdomains.h            |    5 +
 arch/arm/mach-omap2/powerdomains34xx.h        |   31 ++++++
 arch/arm/plat-omap/include/mach/powerdomain.h |    4 -
 7 files changed, 239 insertions(+), 70 deletions(-)