From: heiko@sntech.de (Heiko Stübner)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 0/9] ARM: S3C24XX: convert s3c2410, s3c2440 s3c2442 to common clock framework
Date: Wed, 23 Apr 2014 21:32:58 +0200 [thread overview]
Message-ID: <2104342.rkElQpXtvM@phil> (raw)
At least, here is v2 of the common clock conversion of s3c2410 - s3c2442.
If suitable this will finish the conversion of s3c24xx arches.
Tested on an Openmoko Neo Freerunner (GTA02).
It is meant to go on top of the s3c2412 ccf conversion already in
linux-samsung.
changes since v1:
- add already received Acks and Reviews
- remove patches that were already part of the s3c2412 submission
- implement suggestions from Tomasz Figa:
- in cpufreq-utils only request mpll clock the first time
- in dclk driver
- use variant list to describe SoC differences
- do not provide a dt binding at this time, as the dclk
parts should probably be part of the pinctrl driver
In any case this can be solved when the first dt platform needs
support for the external clock outputs
- in clk-s3c2410
- fix sentinels
- rename dt-bindings header
- don't export XTI clock id
Heiko Stuebner (9):
ARM: S3C24XX: cpufreq-utils: don't write raw values to MPLLCON when
using ccf
clk: samsung: add clock driver for external clock outputs
ARM: S3C24XX: enable usage of common dclk if common clock framework is
enabled
dt-bindings: add documentation for s3c2410 clock controller
clk: samsung: add clock controller driver for s3c2410, s3c2440 and
s3c2442
ARM: S3C24XX: add platform code for conversion to the common clock
framework
ARM: S3C24XX: convert s3c2440 and s3c2442 to common clock framework
ARM: S3C24XX: convert s3c2410 to common clock framework
ARM: S3C24XX: remove legacy clock code
.../bindings/clock/samsung,s3c2410-clock.txt | 50 +++
arch/arm/mach-s3c24xx/Kconfig | 50 ++-
arch/arm/mach-s3c24xx/Makefile | 6 +-
arch/arm/mach-s3c24xx/clock-dclk.c | 195 ---------
arch/arm/mach-s3c24xx/clock-s3c2410.c | 285 ------------
arch/arm/mach-s3c24xx/clock-s3c2440.c | 217 ----------
arch/arm/mach-s3c24xx/clock-s3c244x.c | 141 ------
arch/arm/mach-s3c24xx/common.c | 45 +-
arch/arm/mach-s3c24xx/common.h | 11 +-
arch/arm/mach-s3c24xx/cpufreq-utils.c | 14 +
arch/arm/mach-s3c24xx/include/mach/regs-clock.h | 18 -
arch/arm/mach-s3c24xx/include/mach/regs-gpio.h | 3 -
arch/arm/mach-s3c24xx/mach-amlm5900.c | 9 +-
arch/arm/mach-s3c24xx/mach-anubis.c | 15 +-
arch/arm/mach-s3c24xx/mach-at2440evb.c | 10 +-
arch/arm/mach-s3c24xx/mach-bast.c | 15 +-
arch/arm/mach-s3c24xx/mach-gta02.c | 8 +-
arch/arm/mach-s3c24xx/mach-h1940.c | 10 +-
arch/arm/mach-s3c24xx/mach-mini2440.c | 10 +-
arch/arm/mach-s3c24xx/mach-n30.c | 12 +-
arch/arm/mach-s3c24xx/mach-nexcoder.c | 10 +-
arch/arm/mach-s3c24xx/mach-osiris.c | 15 +-
arch/arm/mach-s3c24xx/mach-otom.c | 10 +-
arch/arm/mach-s3c24xx/mach-qt2410.c | 9 +-
arch/arm/mach-s3c24xx/mach-rx1950.c | 15 +-
arch/arm/mach-s3c24xx/mach-rx3715.c | 10 +-
arch/arm/mach-s3c24xx/mach-smdk2410.c | 9 +-
arch/arm/mach-s3c24xx/mach-smdk2440.c | 10 +-
arch/arm/mach-s3c24xx/mach-tct_hammer.c | 9 +-
arch/arm/mach-s3c24xx/mach-vr1000.c | 15 +-
arch/arm/mach-s3c24xx/pm.c | 12 -
arch/arm/mach-s3c24xx/s3c2410.c | 56 ---
arch/arm/mach-s3c24xx/s3c2442.c | 111 -----
arch/arm/mach-s3c24xx/s3c244x.c | 59 +--
drivers/clk/samsung/Makefile | 2 +
drivers/clk/samsung/clk-s3c2410-dclk.c | 440 +++++++++++++++++++
drivers/clk/samsung/clk-s3c2410.c | 477 +++++++++++++++++++++
include/dt-bindings/clock/s3c2410.h | 62 +++
38 files changed, 1276 insertions(+), 1179 deletions(-)
create mode 100644 Documentation/devicetree/bindings/clock/samsung,s3c2410-clock.txt
delete mode 100644 arch/arm/mach-s3c24xx/clock-dclk.c
delete mode 100644 arch/arm/mach-s3c24xx/clock-s3c2410.c
delete mode 100644 arch/arm/mach-s3c24xx/clock-s3c2440.c
delete mode 100644 arch/arm/mach-s3c24xx/clock-s3c244x.c
create mode 100644 drivers/clk/samsung/clk-s3c2410-dclk.c
create mode 100644 drivers/clk/samsung/clk-s3c2410.c
create mode 100644 include/dt-bindings/clock/s3c2410.h
--
1.9.0
next reply other threads:[~2014-04-23 19:32 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-23 19:32 Heiko Stübner [this message]
2014-04-23 19:34 ` [PATCH v2 1/9] ARM: S3C24XX: cpufreq-utils: don't write raw values to MPLLCON when using ccf Heiko Stübner
2014-04-23 20:42 ` Sergei Shtylyov
2014-04-23 20:55 ` Tomasz Figa
2014-04-23 21:11 ` Heiko Stübner
2014-05-06 4:27 ` Kukjin Kim
2014-05-06 15:07 ` Tomasz Figa
2014-05-08 17:36 ` Tomasz Figa
2014-04-23 21:02 ` Sergei Shtylyov
2014-04-23 22:08 ` [PATCH v2.1 " Heiko Stübner
2014-04-23 19:34 ` [PATCH v2 2/9] clk: samsung: add clock driver for external clock outputs Heiko Stübner
2014-04-23 19:35 ` [PATCH v2 3/9] ARM: S3C24XX: enable usage of common dclk if common clock framework is enabled Heiko Stübner
2014-04-23 20:09 ` [PATCH v2.1 " Heiko Stübner
2014-05-09 16:49 ` Paul Bolle
2014-05-09 17:53 ` Tomasz Figa
2014-05-09 23:07 ` Heiko Stübner
2014-05-09 23:11 ` Tomasz Figa
2014-05-09 23:33 ` Heiko Stübner
2014-05-12 22:47 ` Kukjin Kim
2014-05-12 22:57 ` Heiko Stübner
2014-05-09 22:57 ` Heiko Stübner
2014-04-23 19:36 ` [PATCH v2 4/9] dt-bindings: add documentation for s3c2410 clock controller Heiko Stübner
2014-05-06 15:19 ` [ATTN] " Tomasz Figa
2014-04-23 19:36 ` [PATCH v2 5/9] clk: samsung: add clock controller driver for s3c2410, s3c2440 and s3c2442 Heiko Stübner
2014-04-23 19:37 ` [PATCH v2 6/9] ARM: S3C24XX: add platform code for conversion to the common clock framework Heiko Stübner
2014-04-23 19:37 ` [PATCH v2 7/9] ARM: S3C24XX: convert s3c2440 and s3c2442 to " Heiko Stübner
2014-04-23 19:38 ` [PATCH v2 8/9] ARM: S3C24XX: convert s3c2410 " Heiko Stübner
2014-04-23 20:10 ` [PATCH v2.1 " Heiko Stübner
2014-04-23 19:38 ` [PATCH v2 9/9] ARM: S3C24XX: remove legacy clock code Heiko Stübner
2014-04-23 20:11 ` [PATCH v2.1 " Heiko Stübner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2104342.rkElQpXtvM@phil \
--to=heiko@sntech.de \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox