Skip to content

OMAP clock, F of F: more clock cleanup

Paul Walmsley linux-omap lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12OMAP2/3 clock: don't use a barrier after clk_disable()arch/arm/mach-omap2/clock.c+1 -10 replies
2/12OMAP2xxx clock: consolidate DELAYED_APP clock commits; fix barrierarch/arm/mach-omap2/clock.c+24 -100 replies
3/12OMAP2/3 clock: convert remaining MPU barriers into OCP barriersarch/arm/mach-omap2/clock.c+3 -40 replies
4/12OMAP clock: drop clk_get_usecount()arch/arm/plat-omap/clock.c arch/arm/plat-omap/include/mach/clock.h+0 -170 replies
5/12OMAP clock: add OMAP chip family-specific clk_register() optionarch/arm/mach-omap2/clock.c arch/arm/mach-omap2/clock.h arch/arm/mach-omap2/clock24xx.c +3 more+21 -60 replies
6/12OMAP2/3 clock: every clock must have a clkdmarch/arm/mach-omap2/clock.c+9 -114 replies
7/12OMAP2/3 clock: omap2_clk_enable(): refactor usecount checkarch/arm/mach-omap2/clock.c+16 -150 replies
8/12OMAP2/3 clock: omap2_clk_enable(): fix bugs in clockdomain handlingarch/arm/mach-omap2/clock.c+3 -20 replies
9/12OMAP2/3 clock: omap2_clk_enable(): fix usecount decrement bugarch/arm/mach-omap2/clock.c+2 -40 replies
10/12OMAP2/3 clock: omap2_clk_enable(): fix logicarch/arm/mach-omap2/clock.c+10 -72 replies
11/12OMAP2/3 clock: don't tinker with hardirqs when they are supposed to be disabledarch/arm/mach-omap2/clock24xx.c arch/arm/mach-omap2/clock34xx.c+3 -110 replies
12/12OMAP2/3 McBSP: add temporary clockdomain fix for McBSP virtual clocksarch/arm/mach-omap2/clockdomains.h arch/arm/mach-omap2/mcbsp.c+6 -12 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH F 00/12] OMAP clock, F of F: more clock cleanup

This series is the sixth of six to bring the mainline kernel OMAP clock code up-to-date with the linux-omap tree. This series fixes several bugs and cleans up some of the clock code.

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 E, posted earlier.

- Paul

---

Paul Walmsley (12):
OMAP2/3 McBSP: add temporary clockdomain fix for McBSP virtual clocks OMAP2/3 clock: don't tinker with hardirqs when they are supposed to be disabled OMAP2/3 clock: omap2_clk_enable(): fix logic
OMAP2/3 clock: omap2_clk_enable(): fix usecount decrement bug OMAP2/3 clock: omap2_clk_enable(): fix bugs in clockdomain handling OMAP2/3 clock: omap2_clk_enable(): refactor usecount check OMAP2/3 clock: every clock must have a clkdm
OMAP clock: add OMAP chip family-specific clk_register() option OMAP clock: drop clk_get_usecount()
OMAP2/3 clock: convert remaining MPU barriers into OCP barriers OMAP2xxx clock: consolidate DELAYED_APP clock commits; fix barrier OMAP2/3 clock: don't use a barrier after clk_disable()

 arch/arm/mach-omap2/clock.c             |  102 +++++++++++++++++++------------
 arch/arm/mach-omap2/clock.h             |    1 
 arch/arm/mach-omap2/clock24xx.c         |   15 +----
 arch/arm/mach-omap2/clock34xx.c         |    7 +-
 arch/arm/mach-omap2/clockdomains.h      |    2 -
 arch/arm/mach-omap2/mcbsp.c             |    5 ++
 arch/arm/plat-omap/clock.c              |   27 +++-----
 arch/arm/plat-omap/include/mach/clock.h |    2 -
 8 files changed, 85 insertions(+), 76 deletions(-)

text data bss dec hex filename

3241435  165504  100880 3507819  35866b vmlinux.beagle.orig
3241418  165504  100880 3507802  35865a vmlinux.beagle