Skip to content

OMAP4 static dependency support

Rajendra Nayak linux-arm-kernel linux-omap 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3OMAP4: clockdomain: Add clkdm static dependency srcsarch/arm/mach-omap2/clockdomains44xx_data.c+385 -50 replies
2/3OMAP4: CM: Add CM accesor api for bitwise controlarch/arm/mach-omap2/cminst44xx.c arch/arm/mach-omap2/cminst44xx.h+27 -00 replies
3/3OMAP4: clockdomain: Add wkup/sleep dependency supportarch/arm/mach-omap2/clockdomain44xx.c arch/arm/mach-omap2/cm44xx.h+60 -02 replies
3/3OMAP4: clockdomain: Add wkup/sleep dependency support+0 -01 reply
3/3OMAP4: clockdomain: Add wkup/sleep dependency support+0 -01 reply
3/3OMAP4: clockdomain: Add wkup/sleep dependency support+0 -02 replies
3/3OMAP4: clockdomain: Add wkup/sleep dependency support+0 -01 reply

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/3] OMAP4 static dependency support

OMAP4 supports 2 type of domain dependency between clock domains.

-1- Static dependency

Given a domain dependency from clockdomain A to another clockdomain B, static dependency consists in constraining domain B to become or stay active, as soon as and as long as there exists atleast one system initiator of domain A willing to access domain B.

This is very similar to what was supported on OMAP3, except for the fact that there is no distinction between a sleep and a wakeup dependency. A static dependency here means both.

-2- Dynamic dependency

Given a domain dependency from clock domain A to another clockdomain B, dynamic dependency consists in constraining domain B to become or stay active, as soon as and as long as OCP traffic is ongoing or pending from domain A to domain B. A sliding window (configurable in software) is used to determine if a OCP transaction is ongoing or stopped.

This is newly supported in OMAP4 and did not exist on any of the older OMAPs.
All Dynamic dependencies are hardwired and cannot be enabled/disabled in software.

This patch series adds support only for static dependency configuration in clockdomain framework.

The series is dependent on the clockdomain-split series posted here
http://marc.info/?l=linux-omap&m=129595632429995&w=2
and hence is based on the 'pwrdm_clkdm_a_2.6.39' branch of git://git.pwsan.com/linux-2.6

Rajendra Nayak (3):
OMAP4: clockdomain: Add clkmd static dependency srcs
OMAP4: CM: Add CM accesor api for bitwise control
OMAP4: clockdomain: Add wkup/sleep dependency support

 arch/arm/mach-omap2/clockdomain44xx.c       |   59 ++++
 arch/arm/mach-omap2/clockdomains44xx_data.c |  390 ++++++++++++++++++++++++++-
 arch/arm/mach-omap2/cm44xx.h                |    1 +
 arch/arm/mach-omap2/cminst44xx.c            |   21 ++
 arch/arm/mach-omap2/cminst44xx.h            |    6 +
 5 files changed, 472 insertions(+), 5 deletions(-)