Skip to content

clk: exynos4: migrate to common clock framework

Mike Turquette linux-arm-kernel linux-devicetree linux-samsung-soc 2 versions – New

Get series with b4
b4 am 20121127173102.21126.27914@nucleus

Versions newest first · linked by author and title

  1. v4 Latest posting 2/20 of 12 patches 0 repliesNew
  2. v4 posting 1/20 of 12 patches 0 repliesSuperseded

Patches in v4 posting 2/2 No applies recorded yet

None of the 12 patches the cover letter announces are in this archive.

Reviews trailers per patch

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

Read the v4 thread

Cover letter [PATCH v4 00/12] clk: exynos4: migrate to common clock framework

Quoting Kukjin Kim (2012-11-26 16:57:53)

Quoted 17 lines
Quoted 8 lines · Mike Turquette

Quoting Thomas Abraham (2012-11-24 13:17:53)

Quoted 3 lines

Changes since v3:
- Includes changes suggested by Tomasz Figa <[email protected]>

Hi Thomas,

Hi Mike,

Quoted 6 lines

3.7-rc7 is out and I do not wish to take any large changes this close to the merge window opening up. I will review these patches and give any feedback now on the common clk bits, but merging in the drivers/clk/samsung parts would have to wait until after clk-next is rebased onto 3.8-rc.

Quoted 7 lines

I agree. Would be better if this could be provided early 3.8-rc.

Quoted 3 lines

Which tree do you want to merge this through? Samsung or clk-next? Will you split the patches or take it all once you have gathered ACKs?

Mike, if you're ok, I'd like to take this series in Samsung tree because this changes are very important and touches many Samsung stuff.

Sounds good to me.

Regards,
Mike

Quoted 93 lines

Of course, I can create topic branch for your clk-next if you want.

Thanks.

Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.

Quoted 83 lines

Thanks,
Mike

Quoted 1 line

This patch series migrates the Samsung Exynos4 SoC clock code to adopt

the

Quoted 6 lines

common clock framework. The use of Samsung specific clock structures has been removed and all board support code has been updated. imx-style of clock registration and lookup has been adopted for device tree based exynos4 platforms.

This patch series is based on the for-next branch of Samsung

maintainer's

Quoted 6 lines

tree with all patches merged from clk-next branch of Mike's tree. This series has been tested on Exynos4210 based Origen board and Exynos4412 based smdk board.

Thomas Abraham (12):
clk: samsung: add common clock framework helper functions for Samsung

platforms

Quoted 6 lines

clk: samsung: add pll clock registration helper functions
clk: exynos4: register clocks using common clock framework
ARM: Exynos: Rework timer initialization sequence
ARM: Exynos4: Migrate clock support to common clock framework
ARM: dts: add exynos4 clock controller nodes
ARM: dts: add xxti and xusbxti fixed rate clock nodes for exynos4

based platforms

Quoted 1 line

ARM: Exynos4: allow legacy board support to specify xxti and xusbxti

clock speed

Quoted 1 line

ARM: dts: add clock provider information for all controllers in

Exynos4 SoC

Quoted 4 lines

ARM: Exynos4: remove auxdata table from machine file
ARM: Exynos: use fin_pll clock as the tick clock source for mct
ARM: Exynos: add support for mct clock setup

Quoted 10 lines
 .../devicetree/bindings/clock/exynos4-clock.txt    |  215 +++
 arch/arm/boot/dts/exynos4.dtsi                     |   48 +
 arch/arm/boot/dts/exynos4210-origen.dts            |   12 +
 arch/arm/boot/dts/exynos4210-smdkv310.dts          |   12 +
 arch/arm/boot/dts/exynos4210.dtsi                  |    6 +
 arch/arm/boot/dts/exynos4412-smdk4412.dts          |   12 +
 arch/arm/boot/dts/exynos4x12.dtsi                  |    6 +
 arch/arm/mach-exynos/Kconfig                       |    1 +
 arch/arm/mach-exynos/Makefile                      |    3 -
 arch/arm/mach-exynos/clock-exynos4.c               | 1602 -----------------

---

Quoted 16 lines
 arch/arm/mach-exynos/clock-exynos4.h               |   35 -
 arch/arm/mach-exynos/clock-exynos4210.c            |  188 ---
 arch/arm/mach-exynos/clock-exynos4212.c            |  192 ---
 arch/arm/mach-exynos/common.c                      |   57 +-
 arch/arm/mach-exynos/common.h                      |   21 +-
 arch/arm/mach-exynos/mach-armlex4210.c             |    3 +-
 arch/arm/mach-exynos/mach-exynos4-dt.c             |   71 +-
 arch/arm/mach-exynos/mach-exynos5-dt.c             |    2 +-
 arch/arm/mach-exynos/mach-nuri.c                   |    5 +-
 arch/arm/mach-exynos/mach-origen.c                 |    5 +-
 arch/arm/mach-exynos/mach-smdk4x12.c               |    5 +-
 arch/arm/mach-exynos/mach-smdkv310.c               |    7 +-
 arch/arm/mach-exynos/mach-universal_c210.c         |    3 +-
 arch/arm/mach-exynos/mct.c                         |   32 +-
 arch/arm/plat-samsung/Kconfig                      |    4 +-
 drivers/clk/Makefile                               |    1 +
Quoted 8 lines
 drivers/clk/samsung/Makefile                       |    6 +
 drivers/clk/samsung/clk-exynos4.c                  |  655 ++++++++
 drivers/clk/samsung/clk-pll.c                      |  400 +++++
 drivers/clk/samsung/clk-pll.h                      |   38 +
 drivers/clk/samsung/clk.c                          |  180 +++
 drivers/clk/samsung/clk.h                          |  216 +++
 32 files changed, 1905 insertions(+), 2138 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/exynos4-

clock.txt

Quoted 13 lines
 delete mode 100644 arch/arm/mach-exynos/clock-exynos4.c
 delete mode 100644 arch/arm/mach-exynos/clock-exynos4.h
 delete mode 100644 arch/arm/mach-exynos/clock-exynos4210.c
 delete mode 100644 arch/arm/mach-exynos/clock-exynos4212.c
 create mode 100644 drivers/clk/samsung/Makefile
 create mode 100644 drivers/clk/samsung/clk-exynos4.c
 create mode 100644 drivers/clk/samsung/clk-pll.c
 create mode 100644 drivers/clk/samsung/clk-pll.h
 create mode 100644 drivers/clk/samsung/clk.c
 create mode 100644 drivers/clk/samsung/clk.h

--
1.7.4.4