[RFC PATCH 0/3 v2] ARM: S5PV210: common struct clk support

MyungJoo Ham myungjoo.ham at samsung.com
Fri Jul 9 01:47:29 EDT 2010

These patches enable S5PV210 to use the common struct clk patch:
([PATCH 0/2] Common struct clk implementation, v5) when a user selects
"S5PV210_USE_COMMON_STRUCT_CLK" (Use common struct clk for S5PV210
clock framework). Because the common struct clk implementation patches
appear to be still in-progress, these patches allow users to turn-on and
off common struct clk feature for S5PV210. We plan to merge (patching
*.c directly) the separated *-common-clk.c files when the common struct
clk patch is finalized and merged.

Note that when common struct clk is used, a clock should be defined
with struct clk_samsung, not with struct clk although struck clk can
be registered because the behavior can be erratic.

We will update the patch when Common struct clk implementation is updated.
This patch is for v5 patch.

At v2, we have corrected minor style glitches and copyright sentences.

MyungJoo Ham (3):
  ARM: SAMSUNG: Add common struct clk support for Samsung SoCs
  ARM: S5P: common struct clk support.
  ARM: S5PV210: common struct clk support.

 arch/arm/mach-s5pv210/Kconfig                     |   10 +
 arch/arm/mach-s5pv210/Makefile                    |    5 +-
 arch/arm/mach-s5pv210/clock-common-clk.c          | 1064 +++++++++++++++++++++
 arch/arm/plat-s5p/Makefile                        |    3 +-
 arch/arm/plat-s5p/clock-common-clk.c              |  163 ++++
 arch/arm/plat-s5p/include/plat/s5p-clock.h        |   18 +
 arch/arm/plat-samsung/Kconfig                     |    9 +
 arch/arm/plat-samsung/Makefile                    |    9 +-
 arch/arm/plat-samsung/clock-clksrc-common-clk.c   |  239 +++++
 arch/arm/plat-samsung/clock-common-clk.c          |  468 +++++++++
 arch/arm/plat-samsung/include/plat/clock-clksrc.h |    8 +
 arch/arm/plat-samsung/include/plat/clock.h        |   68 ++
 arch/arm/plat-samsung/pwm-clock-common-clk.c      |  500 ++++++++++
 13 files changed, 2559 insertions(+), 5 deletions(-)
 create mode 100644 arch/arm/mach-s5pv210/clock-common-clk.c
 create mode 100644 arch/arm/plat-s5p/clock-common-clk.c
 create mode 100644 arch/arm/plat-samsung/clock-clksrc-common-clk.c
 create mode 100644 arch/arm/plat-samsung/clock-common-clk.c
 create mode 100644 arch/arm/plat-samsung/pwm-clock-common-clk.c

More information about the linux-arm-kernel mailing list