Skip to content

OMAP clock, C of F: DPLL updates

Paul Walmsley linux-omap lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest13 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13OMAP3 clock: fix DPLL jitter correction and rate programmingarch/arm/mach-omap2/clock34xx.c+8 -50 replies
2/13OMAP3 clock: DPLL{1,2}_FCLK clksel can divide by 4arch/arm/mach-omap2/clock34xx.h+16 -40 replies
3/13OMAP3 clock: convert dpll_data.idlest_bit to idlest_maskarch/arm/mach-omap2/clock34xx.c arch/arm/mach-omap2/clock34xx.h arch/arm/plat-omap/include/mach/clock.h+10 -100 replies
4/13OMAP3 clock: note the bypass source clock for DPLLsarch/arm/mach-omap2/clock34xx.h arch/arm/plat-omap/include/mach/clock.h+10 -00 replies
5/13OMAP2/3 clock: fix DPLL rate calculationarch/arm/mach-omap2/clock.c arch/arm/mach-omap2/clock.h arch/arm/mach-omap2/clock24xx.c +5 more+105 -1861 reply
6/13OMAP3 clock: DPLLs should enter bypass if new rate is sys_ckarch/arm/mach-omap2/clock34xx.c+29 -114 replies
7/13OMAP3 clock: recalculate DPLL subtree after bypass entry/exitarch/arm/mach-omap2/clock34xx.c+15 -21 reply
8/13OMAP3 clock: put DPLL into bypass if bypass rate = clk->rate, not hardware ratearch/arm/mach-omap2/clock34xx.c+1 -31 reply
9/13OMAP3 clock: fix non-CORE DPLL rate assignment bugsarch/arm/mach-omap2/clock34xx.c+4 -21 reply
10/13OMAP3 clock: remove unnecessary dpll_data dereferencesarch/arm/mach-omap2/clock.c+13 -100 replies
11/13OMAP3 clock: optimize DPLL rate rounding algorithmarch/arm/mach-omap2/clock.c+18 -170 replies
12/13OMAP3 clock: avoid invalid FREQSEL values during DPLL rate roundingarch/arm/mach-omap2/clock.c arch/arm/mach-omap2/clock24xx.h arch/arm/mach-omap2/clock34xx.h +1 more+72 -20 replies
13/13OMAP3 clock: disable DPLL autoidle while waiting for DPLL to lockarch/arm/mach-omap2/clock34xx.c+5 -100 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH C 00/13] OMAP clock, C of F: DPLL updates

This series is the third of six to bring the mainline kernel OMAP clock code up-to-date with the linux-omap tree.

Major changes in this series:

- Fix DPLL jitter compensation (FREQSEL).
- Calculate correct rates when DPLL is in bypass.
- Remove the virtual "bypass clocks."
- Optimize DPLL rate rounding algorithm.

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

- Paul

---

Paul Walmsley (12):
OMAP3 clock: disable DPLL autoidle while waiting for DPLL to lock OMAP3 clock: avoid invalid FREQSEL values during DPLL rate rounding OMAP3 clock: optimize DPLL rate rounding algorithm
OMAP3 clock: remove unnecessary dpll_data dereferences
OMAP3 clock: fix non-CORE DPLL rate assignment bugs
OMAP3 clock: put DPLL into bypass if bypass rate = clk->rate, not hardware rate OMAP3 clock: recalculate DPLL subtree after bypass entry/exit OMAP3 clock: DPLLs should enter bypass if new rate is sys_ck OMAP3 clock: note the bypass source clock for DPLLs
OMAP3 clock: convert dpll_data.idlest_bit to idlest_mask
OMAP3 clock: DPLL{1,2}_FCLK clksel can divide by 4
OMAP3 clock: fix DPLL jitter correction and rate programming

Tero Kristo (1):
OMAP2/3 clock: fix DPLL rate calculation

 arch/arm/mach-omap2/clock.c             |  162 +++++++++++++++++++-----
 arch/arm/mach-omap2/clock.h             |   15 ++
 arch/arm/mach-omap2/clock24xx.c         |   43 ++++--
 arch/arm/mach-omap2/clock24xx.h         |    3 
 arch/arm/mach-omap2/clock34xx.c         |   95 +++++++++-----
 arch/arm/mach-omap2/clock34xx.h         |  213 +++++++------------------------
 arch/arm/mach-omap2/memory.c            |    2 
 arch/arm/plat-omap/include/mach/clock.h |   15 +-
 8 files changed, 296 insertions(+), 252 deletions(-)

text data bss dec hex filename

3241711  163872  100912 3506495  35813f vmlinux.beagle.orig
3241515  163680  100912 3506107  357fbb vmlinux.beagle