Skip to content

SPEAr: Move to common clock framework

Viresh Kumar linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 of 13 patches 0 repliesNew

12 of 13 patches are in this archive. The cover letter announces 13.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13CLKDEV: Add helper routines to allocate and add clkdevs for given struct clk *drivers/clk/clkdev.c include/linux/clkdev.h+61 -60 replies
2/13clk: Fix typo in commentinclude/linux/clk-provider.h+1 -11 reply
3/13clk: Fix typo in commentinclude/linux/clk-provider.h+1 -10 replies
4/13clk: clk-private: Add DEFINE_CLK macroinclude/linux/clk-private.h+20 -391 reply
5/13clk: clk-gate: Create clk_gate_endisable()drivers/clk/clk-gate.c+25 -291 reply
6/13clk: Don't set clk->new_rate twicedrivers/clk/clk.c+1 -11 reply
7/13clk: clk_set_rate() must fail if CLK_SET_RATE_GATE is set and clk is enableddrivers/clk/clk.c+5 -00 replies
8/13SPEAr: clk: Add VCO-PLL Synthesizer clockarch/arm/plat-spear/Makefile arch/arm/plat-spear/clk-vco-pll.c arch/arm/plat-spear/include/plat/clk.h+425 -00 replies
9/13SPEAr: clk: Add Auxiliary Synthesizer clockarch/arm/plat-spear/Makefile arch/arm/plat-spear/clk-aux-synth.c arch/arm/plat-spear/include/plat/clk.h+228 -13 replies
10/13SPEAr: clk: Add Fractional Synthesizer clockarch/arm/plat-spear/Makefile arch/arm/plat-spear/clk-frac-synth.c arch/arm/plat-spear/include/plat/clk.h+173 -10 replies
11/13SPEAr: clk: Add General Purpose Timer Synthesizer clockarch/arm/plat-spear/Makefile arch/arm/plat-spear/clk-gpt-synth.c arch/arm/plat-spear/include/plat/clk.h+163 -10 replies
13/13SPEAr: Call clk_prepare() before calling clk_enablearch/arm/plat-spear/time.c+4 -43 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/13] SPEAr: Move to common clock framework

Arnd,

SPEAr now supports common clock framework. This patchset contains changes related to this. It also contain few dependency commits for clock framework that are earlier sent separately.

@Mike: It would be easiest to get these through ARM-SoC tree. So, would need your Acked-by on these patches. But firstly they must get reivewed :)

This patchset is rebased over:
- clk: add a fixed factor clock - by Sascha Hauer
http://lists.infradead.org/pipermail/linux-arm-kernel/2012-March/090680.html

- common clk framework misc fixes - by Mike Turquette
https://lkml.org/lkml/2012/4/11/780

- V4: pinctrl: Add SPEAr pinctrl support
http://www.spinics.net/lists/arm-kernel/msg169387.html

- V3: SPEAr DT support updates
http://comments.gmane.org/gmane.linux.drivers.devicetree/14197

Russell King (1):
CLKDEV: Add helper routines to allocate and add clkdevs for given
struct clk *

Viresh Kumar (12):
clk: Fix typo in comment
clk: Fix typo in comment
clk: clk-private: Add DEFINE_CLK macro
clk: clk-gate: Create clk_gate_endisable()
clk: Don't set clk->new_rate twice
clk: clk_set_rate() must fail if CLK_SET_RATE_GATE is set and clk is
enabled
SPEAr: clk: Add VCO-PLL Synthesizer clock
SPEAr: clk: Add Auxiliary Synthesizer clock
SPEAr: clk: Add Fractional Synthesizer clock
SPEAr: clk: Add General Purpose Timer Synthesizer clock
SPEAr: Switch to common clock framework
SPEAr: Call clk_prepare() before calling clk_enable

 MAINTAINERS                                     |    4 +-
 arch/arm/Kconfig                                |    1 +
 arch/arm/mach-spear3xx/clock.c                  | 1354 +++++++++--------------
 arch/arm/mach-spear3xx/include/mach/generic.h   |    4 +-
 arch/arm/mach-spear3xx/include/mach/misc_regs.h |    2 +
 arch/arm/mach-spear3xx/include/mach/spear.h     |   13 +
 arch/arm/mach-spear3xx/spear300.c               |    1 -
 arch/arm/mach-spear3xx/spear310.c               |    1 -
 arch/arm/mach-spear3xx/spear320.c               |   12 +-
 arch/arm/mach-spear3xx/spear3xx.c               |    2 +
 arch/arm/mach-spear6xx/clock.c                  | 1015 +++++------------
 arch/arm/mach-spear6xx/include/mach/misc_regs.h |    2 +
 arch/arm/mach-spear6xx/spear6xx.c               |    5 +-
 arch/arm/plat-spear/Makefile                    |    3 +-
 arch/arm/plat-spear/clk-aux-synth.c             |  195 ++++
 arch/arm/plat-spear/clk-frac-synth.c            |  156 +++
 arch/arm/plat-spear/clk-gpt-synth.c             |  145 +++
 arch/arm/plat-spear/clk-vco-pll.c               |  346 ++++++
 arch/arm/plat-spear/clock.c                     | 1005 -----------------
 arch/arm/plat-spear/include/plat/clk.h          |  143 +++
 arch/arm/plat-spear/include/plat/clock.h        |  249 -----
 arch/arm/plat-spear/time.c                      |    8 +-
 drivers/clk/clk-gate.c                          |   54 +-
 drivers/clk/clk.c                               |    7 +-
 drivers/clk/clkdev.c                            |   64 +-
 include/linux/clk-private.h                     |   59 +-
 include/linux/clk-provider.h                    |    4 +-
 include/linux/clkdev.h                          |    3 +
 28 files changed, 1963 insertions(+), 2894 deletions(-)
 create mode 100644 arch/arm/plat-spear/clk-aux-synth.c
 create mode 100644 arch/arm/plat-spear/clk-frac-synth.c
 create mode 100644 arch/arm/plat-spear/clk-gpt-synth.c
 create mode 100644 arch/arm/plat-spear/clk-vco-pll.c
 delete mode 100644 arch/arm/plat-spear/clock.c
 create mode 100644 arch/arm/plat-spear/include/plat/clk.h
 delete mode 100644 arch/arm/plat-spear/include/plat/clock.h
Signature · 1 line
1.7.9