All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Yoshii <takashi.yoshii.zj@renesas.com>
To: SH-Linux <linux-sh@vger.kernel.org>
Cc: Magnus Damm <magnus.damm@gmail.com>,
	ben.dooks@codethink.co.uk,
	Shinya Kuribayashi <shinya.kuribayashi.px@renesas.com>,
	devicetree@vger.kernel.org, linux-serial@vger.kernel.org,
	Simon Horman <horms@verge.net.au>,
	Paul Mundt <lethal@linux-sh.org>,
	Mike Turquette <mturquette@linaro.org>,
	linux-kernel@vger.kernel.org
Subject: [PATCH 0/6] ARM: shmobile: kzm9d-reference:  migrate to common clock framework with DT
Date: Tue, 24 Sep 2013 04:05:26 +0000	[thread overview]
Message-ID: <52410F86.4040301@renesas.com> (raw)

This patch series makes kzm9d-reference to move to new clk implementation
 based on the common clock framework and device tree.

First three are for preparation.
[PATCH 1/6] clocksource: em_sti: convert to clk_prepare/unprepare
[PATCH 2/6] serial8250-em: convert to clk_prepare/unprepare
[PATCH 3/6] sh: clkfwk: Select sh-/common- clkfwk alternatively

Next one is a proposal document of DT bindings.
[PATCH 4/6] ARM: shmobile: emev2: Define SMU clock DT bindings

This is the implementation, and dts which carries clock tree description.
[PATCH 5/6] clk: emev2: Add support for emev2 SMU clocks with DT

Last one is small modification needed for migration.
[PATCH 6/6] ARM: shmobile: kzm9d-reference: Use common clock

These patches do not remove sh-clkfwk version, even on emev2.
kzm9d(without -reference) target still uses sh-clkfwk.
I believe this method encourages step-by-step migration on other sh-mobile
 targets, too.

Patches should be applied and compiled both on
 v3.12-rc2 and
 kernel/git/horms/renesas.git tag:renesas-devel-20130922 

Confirmed on kernel/git/horms/renesas.git tag:renesas-devel-20130922 
for boot up to command prompt.
- kzm9d board / multiplatform + kzm9d-reference configuration
- kzm9d board / kzm9d-reference configuration
- kzm9d board / kzm9d (with sh-clkfwk) configuration for regression.
- ape6evm (with sh-clkfwk) for regression.
for compile only
- sh7757lcr (in arch/sh with sh-clkfwk) for regression.


Shinya Kuribayashi (2):
  clocksource: em_sti: convert to clk_prepare/unprepare
  serial8250-em: convert to clk_prepare/unprepare

Takashi YOSHII (4):
  sh: clkfwk: Select sh-/common- clkfwk alternatively
  ARM: shmobile: emev2: Define SMU clock DT bindings
  clk: emev2: Add support for emev2 SMU clocks with DT
  ARM: shmobile: kzm9d-reference: Use common clock framework

 .../devicetree/bindings/clock/emev2-clock.txt      |  99 ++++++++++++++++++++
 arch/arm/Kconfig                                   |   2 +-
 arch/arm/boot/dts/emev2.dtsi                       |  84 +++++++++++++++++
 arch/arm/mach-shmobile/Kconfig                     |   1 +
 arch/arm/mach-shmobile/board-kzm9d-reference.c     |   5 +-
 arch/sh/Kconfig                                    |   1 +
 drivers/clk/Makefile                               |   2 +
 drivers/clk/shmobile/Makefile                      |   5 +
 drivers/clk/shmobile/clk-emev2.c                   | 104 +++++++++++++++++++++
 drivers/clocksource/em_sti.c                       |   4 +-
 drivers/sh/clk/Makefile                            |   3 +-
 drivers/tty/serial/8250/8250_em.c                  |   6 +-
 12 files changed, 305 insertions(+), 11 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/emev2-clock.txt
 create mode 100644 drivers/clk/shmobile/Makefile
 create mode 100644 drivers/clk/shmobile/clk-emev2.c

-- 
1.8.1.5


WARNING: multiple messages have this Message-ID (diff)
From: Takashi Yoshii <takashi.yoshii.zj@renesas.com>
To: SH-Linux <linux-sh@vger.kernel.org>
Cc: Magnus Damm <magnus.damm@gmail.com>,
	ben.dooks@codethink.co.uk,
	Shinya Kuribayashi <shinya.kuribayashi.px@renesas.com>,
	devicetree@vger.kernel.org, linux-serial@vger.kernel.org,
	Simon Horman <horms@verge.net.au>,
	Paul Mundt <lethal@linux-sh.org>,
	Mike Turquette <mturquette@linaro.org>,
	linux-kernel@vger.kernel.org
Subject: [PATCH 0/6] ARM: shmobile: kzm9d-reference:  migrate to common clock framework with DT
Date: Tue, 24 Sep 2013 13:05:26 +0900	[thread overview]
Message-ID: <52410F86.4040301@renesas.com> (raw)

This patch series makes kzm9d-reference to move to new clk implementation
 based on the common clock framework and device tree.

First three are for preparation.
[PATCH 1/6] clocksource: em_sti: convert to clk_prepare/unprepare
[PATCH 2/6] serial8250-em: convert to clk_prepare/unprepare
[PATCH 3/6] sh: clkfwk: Select sh-/common- clkfwk alternatively

Next one is a proposal document of DT bindings.
[PATCH 4/6] ARM: shmobile: emev2: Define SMU clock DT bindings

This is the implementation, and dts which carries clock tree description.
[PATCH 5/6] clk: emev2: Add support for emev2 SMU clocks with DT

Last one is small modification needed for migration.
[PATCH 6/6] ARM: shmobile: kzm9d-reference: Use common clock

These patches do not remove sh-clkfwk version, even on emev2.
kzm9d(without -reference) target still uses sh-clkfwk.
I believe this method encourages step-by-step migration on other sh-mobile
 targets, too.

Patches should be applied and compiled both on
 v3.12-rc2 and
 kernel/git/horms/renesas.git tag:renesas-devel-20130922 

Confirmed on kernel/git/horms/renesas.git tag:renesas-devel-20130922 
for boot up to command prompt.
- kzm9d board / multiplatform + kzm9d-reference configuration
- kzm9d board / kzm9d-reference configuration
- kzm9d board / kzm9d (with sh-clkfwk) configuration for regression.
- ape6evm (with sh-clkfwk) for regression.
for compile only
- sh7757lcr (in arch/sh with sh-clkfwk) for regression.


Shinya Kuribayashi (2):
  clocksource: em_sti: convert to clk_prepare/unprepare
  serial8250-em: convert to clk_prepare/unprepare

Takashi YOSHII (4):
  sh: clkfwk: Select sh-/common- clkfwk alternatively
  ARM: shmobile: emev2: Define SMU clock DT bindings
  clk: emev2: Add support for emev2 SMU clocks with DT
  ARM: shmobile: kzm9d-reference: Use common clock framework

 .../devicetree/bindings/clock/emev2-clock.txt      |  99 ++++++++++++++++++++
 arch/arm/Kconfig                                   |   2 +-
 arch/arm/boot/dts/emev2.dtsi                       |  84 +++++++++++++++++
 arch/arm/mach-shmobile/Kconfig                     |   1 +
 arch/arm/mach-shmobile/board-kzm9d-reference.c     |   5 +-
 arch/sh/Kconfig                                    |   1 +
 drivers/clk/Makefile                               |   2 +
 drivers/clk/shmobile/Makefile                      |   5 +
 drivers/clk/shmobile/clk-emev2.c                   | 104 +++++++++++++++++++++
 drivers/clocksource/em_sti.c                       |   4 +-
 drivers/sh/clk/Makefile                            |   3 +-
 drivers/tty/serial/8250/8250_em.c                  |   6 +-
 12 files changed, 305 insertions(+), 11 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/clock/emev2-clock.txt
 create mode 100644 drivers/clk/shmobile/Makefile
 create mode 100644 drivers/clk/shmobile/clk-emev2.c

-- 
1.8.1.5

             reply	other threads:[~2013-09-24  4:05 UTC|newest]

Thread overview: 82+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-24  4:05 Takashi Yoshii [this message]
2013-09-24  4:05 ` [PATCH 0/6] ARM: shmobile: kzm9d-reference: migrate to common clock framework with DT Takashi Yoshii
2013-09-24  4:09 ` [PATCH 1/6] clocksource: em_sti: convert to clk_prepare/unprepare takasi-y
2013-09-24  4:09   ` takasi-y
2013-09-24  4:42   ` Simon Horman
2013-09-24  4:42     ` Simon Horman
2013-09-26 10:18     ` Daniel Lezcano
2013-09-26 10:18       ` Daniel Lezcano
     [not found]   ` <20130924130924.61d4ecedf3d4fca5952d55fc-nDL5PR/MsHhHfZP73Gtkiw@public.gmane.org>
2013-09-30 15:25     ` Laurent Pinchart
2013-09-30 15:25       ` Laurent Pinchart
2013-09-30 15:25       ` Laurent Pinchart
     [not found]       ` <52440A07.4050101-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2013-10-03  2:30         ` Simon Horman
2013-10-03  2:30           ` Simon Horman
2013-10-03  2:30           ` Simon Horman
2013-10-01  9:05     ` Magnus Damm
2013-10-01  9:05       ` Magnus Damm
2013-10-01  9:05       ` Magnus Damm
2013-09-24  4:10 ` [PATCH 2/6] serial8250-em: " takasi-y
2013-09-24  4:10   ` takasi-y
2013-09-24  4:44   ` Simon Horman
2013-09-24  4:44     ` Simon Horman
2013-09-24 13:41     ` Greg Kroah-Hartman
2013-09-24 13:41       ` Greg Kroah-Hartman
2013-09-30 15:25   ` Laurent Pinchart
2013-09-30 15:25     ` Laurent Pinchart
     [not found]     ` <20130924134113.GA7246-U8xfFu+wG4EAvxtiuMwx3w@public.gmane.org>
2013-10-03  2:30       ` Simon Horman
2013-10-03  2:30         ` Simon Horman
2013-10-03  2:30         ` Simon Horman
     [not found]   ` <20130924131039.3c871cad7acb2a068a988d0f-nDL5PR/MsHhHfZP73Gtkiw@public.gmane.org>
2013-10-01  9:07     ` Magnus Damm
2013-10-01  9:07       ` Magnus Damm
2013-10-01  9:07       ` Magnus Damm
2013-09-24  4:12 ` [PATCH 3/6] sh: clkfwk: Select sh-/common- clkfwk alternatively takasi-y
2013-09-24  4:12   ` takasi-y
2013-09-30 18:40   ` Laurent Pinchart
2013-09-30 18:40     ` Laurent Pinchart
2013-10-04  5:25     ` takasi-y
2013-10-04  5:25       ` takasi-y
2013-10-04  5:25       ` takasi-y-nDL5PR/MsHhHfZP73Gtkiw
2013-10-01  9:30   ` Magnus Damm
2013-10-01  9:30     ` Magnus Damm
2013-09-24  4:13 ` [PATCH 4/6] ARM: shmobile: emev2: Define SMU clock DT bindings takasi-y
2013-09-24  4:13   ` takasi-y
     [not found]   ` <20130924131331.0e9a5f830f531655b2ea0ebe-nDL5PR/MsHhHfZP73Gtkiw@public.gmane.org>
2013-09-24  4:52     ` Simon Horman
2013-09-24  4:52       ` Simon Horman
2013-09-24  4:52       ` Simon Horman
2013-09-24  9:00       ` takashi.yoshii.zj
2013-09-24  9:00         ` takashi.yoshii.zj
     [not found]       ` <20130924045215.GE3619-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>
2013-10-01 11:36         ` Laurent Pinchart
2013-10-01 11:36           ` Laurent Pinchart
2013-10-01 11:36           ` Laurent Pinchart
2013-10-02  1:28           ` Simon Horman
2013-10-02  1:28             ` Simon Horman
2013-10-06 17:16           ` Takashi YOSHII
2013-10-06 17:16             ` Takashi YOSHII
2013-10-06 17:16             ` Takashi YOSHII
     [not found] ` <52410F86.4040301-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2013-09-24  4:15   ` [PATCH 5/6] clk: emev2: Add support for emev2 SMU clocks with DT takasi-y
2013-09-24  4:15     ` takasi-y
2013-09-24  4:15     ` takasi-y-nDL5PR/MsHhHfZP73Gtkiw
     [not found]     ` <20130924131542.f865fad4dec98e024c0d4676-nDL5PR/MsHhHfZP73Gtkiw@public.gmane.org>
2013-10-01  9:15       ` Magnus Damm
2013-10-01  9:15         ` Magnus Damm
2013-10-01  9:15         ` Magnus Damm
2013-10-01 12:27         ` Laurent Pinchart
2013-10-01 12:27           ` Laurent Pinchart
2013-10-01 12:27           ` Laurent Pinchart
     [not found]         ` <CANqRtoRD35Ei31PK8a_TOp=2uiYPCoaJuDb6tyZtQL8s0PavNw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-10-04  5:44           ` takasi-y
2013-10-04  5:44             ` takasi-y
2013-10-04  5:44             ` takasi-y-nDL5PR/MsHhHfZP73Gtkiw
2013-09-24  4:17   ` [PATCH 6/6] ARM: shmobile: kzm9d-reference: Use common clock framework takasi-y
2013-09-24  4:17     ` takasi-y
2013-09-24  4:17     ` takasi-y-nDL5PR/MsHhHfZP73Gtkiw
2013-09-24  4:55     ` Simon Horman
2013-09-24  4:55       ` Simon Horman
2013-10-01  9:23     ` Magnus Damm
2013-10-01  9:23       ` Magnus Damm
2013-09-25  7:17   ` [PATCH 0/6] ARM: shmobile: kzm9d-reference: migrate to common clock framework with DT Kuninori Morimoto
2013-09-25  7:17     ` Kuninori Morimoto
2013-09-25  7:17     ` Kuninori Morimoto
     [not found]     ` <87siwtl69z.wl%kuninori.morimoto.gx-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2013-10-04  1:12       ` takasi-y
2013-10-04  1:12         ` takasi-y
2013-10-04  1:12         ` takasi-y-nDL5PR/MsHhHfZP73Gtkiw
2013-09-24  4:56 ` Simon Horman
2013-09-24  4:56   ` Simon Horman

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=52410F86.4040301@renesas.com \
    --to=takashi.yoshii.zj@renesas.com \
    --cc=ben.dooks@codethink.co.uk \
    --cc=devicetree@vger.kernel.org \
    --cc=horms@verge.net.au \
    --cc=lethal@linux-sh.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=mturquette@linaro.org \
    --cc=shinya.kuribayashi.px@renesas.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.