Skip to content

Clockdomains: add OMAP2/3 clockdomain code, link 34xx clocks with clockdomains

Paul Walmsley linux-omap 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4Clockdomains: add base OMAP2/3 clockdomain codearch/arm/mach-omap2/Makefile arch/arm/mach-omap2/clockdomain.c arch/arm/plat-omap/Kconfig +1 more+698 -11 reply
2/4Clockdomains: connect clockdomain code to powerdomain codearch/arm/mach-omap2/clockdomain.c arch/arm/mach-omap2/powerdomain.c include/asm-arm/arch-omap/powerdomain.h+147 -21 reply
3/4Clockdomains: encode OMAP2/3 clockdomainsarch/arm/mach-omap2/clockdomains.h arch/arm/mach-omap2/cm-regbits-24xx.h arch/arm/mach-omap2/cm-regbits-34xx.h +3 more+342 -250 replies
4/4Clockdomains: Integrate OMAP3 clocks with clockdomain codearch/arm/mach-omap2/clock.c arch/arm/mach-omap2/clock.h arch/arm/mach-omap2/clock34xx.c +2 more+229 -230 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/4] Clockdomains: add OMAP2/3 clockdomain code, link 34xx clocks with clockdomains

Hello,

this patch series adds a hardware control interface for OMAP2/3 clockdomains. Also added is clockdomain usecounting of underlying clocks, so hardware-supervised and software-supervised clockdomain transitions can occur correctly. The interface is fully documented in the code.

24xx clocks are not yet linked with clockdomains. This will be done in a later patchset.

This series must be applied after the powerdomain series, posted earlier.

Clockdomain code tested on 3430SDP ES2.1; also boot-tested on N800.

Many people at Nokia and TI provided commentary and review during the development of the clockdomain patches. Particular help came from (in alphabetical order): Karthik Dasu, Tony Lindgren, Rajendra Nayak, Sakari Poussa, Igor Stoppa, and Richard Woodruff. Jouni Högander merits special mention; he took the original code and made it do what it was supposed to do on the hardware, testing and fixing many bugs.

Comments welcome,

- Paul

size:
text data bss dec hex filename

3270030  151896  100832 3522758  35c0c6 vmlinux.3430sdp.orig
3272798  154168  100832 3527798  35d476 vmlinux.3430sdp

diffstat:

 arch/arm/mach-omap2/Makefile            |    3
 arch/arm/mach-omap2/clock.c             |   45 ++
 arch/arm/mach-omap2/clock.h             |    1
 arch/arm/mach-omap2/clock34xx.c         |    4
 arch/arm/mach-omap2/clock34xx.h         |  198 +++++++++-
 arch/arm/mach-omap2/clockdomain.c       |  583 ++++++++++++++++++++++++++++++++
 arch/arm/mach-omap2/clockdomains.h      |  283 +++++++++++++++
 arch/arm/mach-omap2/cm-regbits-24xx.h   |   24 -
 arch/arm/mach-omap2/cm-regbits-34xx.h   |   42 +-
 arch/arm/mach-omap2/io.c                |    4
 arch/arm/mach-omap2/pm.c                |   12
 arch/arm/mach-omap2/powerdomain.c       |  128 +++++++
 arch/arm/plat-omap/Kconfig              |   12
 drivers/dsp/dspgateway/dsp_core.c       |    2
 include/asm-arm/arch-omap/clock.h       |    4
 include/asm-arm/arch-omap/clockdomain.h |  105 +++++
 include/asm-arm/arch-omap/powerdomain.h |   17
 17 files changed, 1416 insertions(+), 51 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html