Skip to content

OMAP2/3 clock: fix some bugs in omap2_clk_wait_ready()

Paul Walmsley linux-omap 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4OMAP2/3 clock: clean up omap2_clk_wait_ready()arch/arm/mach-omap2/clock.c+14 -120 replies
2/4OMAP3 clock: fix omap2_clk_wait_ready() for OMAP3430ES2+ DSSarch/arm/mach-omap2/clock.c arch/arm/mach-omap2/cm-regbits-34xx.h+33 -50 replies
3/4OMAP3 clock: OMAP3430ES2+ has SSI target idlest bitarch/arm/mach-omap2/clock.c arch/arm/mach-omap2/cm-regbits-34xx.h+38 -240 replies
4/4OMAP2 clock: check register address in omap2_clk_wait_ready()arch/arm/mach-omap2/clock.c+7 -30 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] OMAP2/3 clock: fix some bugs in omap2_clk_wait_ready()

This patch series fixes some bugs in omap2_clk_wait_ready(). This function waits for an OMAP module to become ready after both its functional and interface clocks are enabled. Not all OMAP modules support this process.

In particular, this series:

- does some minor code cleanup,

- waits for DSS to become available on OMAP3430ES2+,

- waits for SSI to become available on OMAP3430ES2+,

- and adds a test for the OMAP2 portion of the code to verify that the clocks it tests for are in the CORE powerdomain.

These patches are possible due to the efforts of several people; credits are listed in the individual patch descriptions.

Boot-tested on 3430SDP ES2 and 2430SDP.

- Paul

---

size:
text data bss dec hex filename

3391246  156920  107144 3655310  37c68e vmlinux.3430sdp.orig
3391374  156920  107144 3655438  37c70e vmlinux.3430sdp.fixed
 arch/arm/mach-omap2/clock.c           |   79 ++++++++++++++++++++++++++-------
 arch/arm/mach-omap2/cm-regbits-34xx.h |    7 ++-
 2 files changed, 67 insertions(+), 19 deletions(-)