All of lore.kernel.org
 help / color / mirror / Atom feed
From: Magnus Damm <magnus.damm@gmail.com>
To: linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v2 3/3] ARM: shmobile: kzm9d: Use common clock framework
Date: Tue, 08 Oct 2013 05:52:47 +0000	[thread overview]
Message-ID: <CANqRtoTPoR8Lt67Bo-BC9DxdN_+XH5uEGBetYGHMnrmjYk-21w@mail.gmail.com> (raw)
In-Reply-To: <20131008143403.c11f294c8a1701a2ab3bc5fd@ops.dti.ne.jp>

On Tue, Oct 8, 2013 at 2:34 PM,  <takasi-y@ops.dti.ne.jp> wrote:
> Use common clock framework version of clock
>  drivers/clk/shmobile/clk-emev2.c
> instead of sh-clkfwk version
>  arch/arm/mach-shmobile/clock-emev2.c
> when it is configured as a part of multi-platform.
>
> Signed-off-by: Takashi Yoshii <takasi-y@ops.dti.ne.jp>
> ---
>  arch/arm/mach-shmobile/board-kzm9d-reference.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/mach-shmobile/board-kzm9d-reference.c b/arch/arm/mach-shmobile/board-kzm9d-reference.c
> index 054d8d5..853003c 100644
> --- a/arch/arm/mach-shmobile/board-kzm9d-reference.c
> +++ b/arch/arm/mach-shmobile/board-kzm9d-reference.c
> @@ -20,15 +20,14 @@
>
>  #include <linux/init.h>
>  #include <linux/of_platform.h>
> +#include <linux/clk-provider.h>
>  #include <mach/emev2.h>
>  #include <mach/common.h>
>  #include <asm/mach/arch.h>
>
>  static void __init kzm9d_add_standard_devices(void)
>  {
> -       if (!IS_ENABLED(CONFIG_COMMON_CLK))
> -               emev2_clock_init();
> -
> +       of_clk_init(NULL);

Hi Yoshii-san,

Thanks, this looks very good. It is the correct way now when
renesas-devel-20131008 includes the following series:
[PATCH 00/05] ARM: shmobile: KZM9D Multiplatform update

Acked-by: Magnus Damm <damm@opensource.se>

Cheers,

/ magnus

WARNING: multiple messages have this Message-ID (diff)
From: Magnus Damm <magnus.damm@gmail.com>
To: takasi-y@ops.dti.ne.jp
Cc: SH-Linux <linux-sh@vger.kernel.org>,
	Ben Dooks <ben.dooks@codethink.co.uk>,
	Shinya Kuribayashi <shinya.kuribayashi.px@renesas.com>,
	Mike Turquette <mturquette@linaro.org>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	devicetree@vger.kernel.org, Simon Horman <horms@verge.net.au>,
	"linux-arm-kernel@lists.infradead.org" 
	<linux-arm-kernel@lists.infradead.org>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2 3/3] ARM: shmobile: kzm9d: Use common clock framework
Date: Tue, 8 Oct 2013 14:52:47 +0900	[thread overview]
Message-ID: <CANqRtoTPoR8Lt67Bo-BC9DxdN_+XH5uEGBetYGHMnrmjYk-21w@mail.gmail.com> (raw)
In-Reply-To: <20131008143403.c11f294c8a1701a2ab3bc5fd@ops.dti.ne.jp>

On Tue, Oct 8, 2013 at 2:34 PM,  <takasi-y@ops.dti.ne.jp> wrote:
> Use common clock framework version of clock
>  drivers/clk/shmobile/clk-emev2.c
> instead of sh-clkfwk version
>  arch/arm/mach-shmobile/clock-emev2.c
> when it is configured as a part of multi-platform.
>
> Signed-off-by: Takashi Yoshii <takasi-y@ops.dti.ne.jp>
> ---
>  arch/arm/mach-shmobile/board-kzm9d-reference.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/mach-shmobile/board-kzm9d-reference.c b/arch/arm/mach-shmobile/board-kzm9d-reference.c
> index 054d8d5..853003c 100644
> --- a/arch/arm/mach-shmobile/board-kzm9d-reference.c
> +++ b/arch/arm/mach-shmobile/board-kzm9d-reference.c
> @@ -20,15 +20,14 @@
>
>  #include <linux/init.h>
>  #include <linux/of_platform.h>
> +#include <linux/clk-provider.h>
>  #include <mach/emev2.h>
>  #include <mach/common.h>
>  #include <asm/mach/arch.h>
>
>  static void __init kzm9d_add_standard_devices(void)
>  {
> -       if (!IS_ENABLED(CONFIG_COMMON_CLK))
> -               emev2_clock_init();
> -
> +       of_clk_init(NULL);

Hi Yoshii-san,

Thanks, this looks very good. It is the correct way now when
renesas-devel-20131008 includes the following series:
[PATCH 00/05] ARM: shmobile: KZM9D Multiplatform update

Acked-by: Magnus Damm <damm@opensource.se>

Cheers,

/ magnus

WARNING: multiple messages have this Message-ID (diff)
From: Magnus Damm <magnus.damm@gmail.com>
To: takasi-y@ops.dti.ne.jp
Cc: SH-Linux <linux-sh@vger.kernel.org>,
	Ben Dooks <ben.dooks@codethink.co.uk>,
	Shinya Kuribayashi <shinya.kuribayashi.px@renesas.com>,
	Mike Turquette <mturquette@linaro.org>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	devicetree@vger.kernel.org, Simon Horman <horms@verge.net.au>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2 3/3] ARM: shmobile: kzm9d: Use common clock framework
Date: Tue, 8 Oct 2013 14:52:47 +0900	[thread overview]
Message-ID: <CANqRtoTPoR8Lt67Bo-BC9DxdN_+XH5uEGBetYGHMnrmjYk-21w@mail.gmail.com> (raw)
In-Reply-To: <20131008143403.c11f294c8a1701a2ab3bc5fd@ops.dti.ne.jp>

On Tue, Oct 8, 2013 at 2:34 PM,  <takasi-y@ops.dti.ne.jp> wrote:
> Use common clock framework version of clock
>  drivers/clk/shmobile/clk-emev2.c
> instead of sh-clkfwk version
>  arch/arm/mach-shmobile/clock-emev2.c
> when it is configured as a part of multi-platform.
>
> Signed-off-by: Takashi Yoshii <takasi-y@ops.dti.ne.jp>
> ---
>  arch/arm/mach-shmobile/board-kzm9d-reference.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/mach-shmobile/board-kzm9d-reference.c b/arch/arm/mach-shmobile/board-kzm9d-reference.c
> index 054d8d5..853003c 100644
> --- a/arch/arm/mach-shmobile/board-kzm9d-reference.c
> +++ b/arch/arm/mach-shmobile/board-kzm9d-reference.c
> @@ -20,15 +20,14 @@
>
>  #include <linux/init.h>
>  #include <linux/of_platform.h>
> +#include <linux/clk-provider.h>
>  #include <mach/emev2.h>
>  #include <mach/common.h>
>  #include <asm/mach/arch.h>
>
>  static void __init kzm9d_add_standard_devices(void)
>  {
> -       if (!IS_ENABLED(CONFIG_COMMON_CLK))
> -               emev2_clock_init();
> -
> +       of_clk_init(NULL);

Hi Yoshii-san,

Thanks, this looks very good. It is the correct way now when
renesas-devel-20131008 includes the following series:
[PATCH 00/05] ARM: shmobile: KZM9D Multiplatform update

Acked-by: Magnus Damm <damm@opensource.se>

Cheers,

/ magnus

WARNING: multiple messages have this Message-ID (diff)
From: magnus.damm@gmail.com (Magnus Damm)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 3/3] ARM: shmobile: kzm9d: Use common clock framework
Date: Tue, 8 Oct 2013 14:52:47 +0900	[thread overview]
Message-ID: <CANqRtoTPoR8Lt67Bo-BC9DxdN_+XH5uEGBetYGHMnrmjYk-21w@mail.gmail.com> (raw)
In-Reply-To: <20131008143403.c11f294c8a1701a2ab3bc5fd@ops.dti.ne.jp>

On Tue, Oct 8, 2013 at 2:34 PM,  <takasi-y@ops.dti.ne.jp> wrote:
> Use common clock framework version of clock
>  drivers/clk/shmobile/clk-emev2.c
> instead of sh-clkfwk version
>  arch/arm/mach-shmobile/clock-emev2.c
> when it is configured as a part of multi-platform.
>
> Signed-off-by: Takashi Yoshii <takasi-y@ops.dti.ne.jp>
> ---
>  arch/arm/mach-shmobile/board-kzm9d-reference.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/mach-shmobile/board-kzm9d-reference.c b/arch/arm/mach-shmobile/board-kzm9d-reference.c
> index 054d8d5..853003c 100644
> --- a/arch/arm/mach-shmobile/board-kzm9d-reference.c
> +++ b/arch/arm/mach-shmobile/board-kzm9d-reference.c
> @@ -20,15 +20,14 @@
>
>  #include <linux/init.h>
>  #include <linux/of_platform.h>
> +#include <linux/clk-provider.h>
>  #include <mach/emev2.h>
>  #include <mach/common.h>
>  #include <asm/mach/arch.h>
>
>  static void __init kzm9d_add_standard_devices(void)
>  {
> -       if (!IS_ENABLED(CONFIG_COMMON_CLK))
> -               emev2_clock_init();
> -
> +       of_clk_init(NULL);

Hi Yoshii-san,

Thanks, this looks very good. It is the correct way now when
renesas-devel-20131008 includes the following series:
[PATCH 00/05] ARM: shmobile: KZM9D Multiplatform update

Acked-by: Magnus Damm <damm@opensource.se>

Cheers,

/ magnus

  reply	other threads:[~2013-10-08  5:52 UTC|newest]

Thread overview: 75+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-08  5:30 [PATCH v2 0/3] ARM: shmobile: kzm9d: migrate to common clock framework with DT takasi-y
2013-10-08  5:30 ` takasi-y at ops.dti.ne.jp
2013-10-08  5:30 ` takasi-y
2013-10-08  5:32 ` [PATCH v2 1/3] clk: emev2: Add support for emev2 SMU clocks " takasi-y
2013-10-08  5:32   ` takasi-y at ops.dti.ne.jp
2013-10-08  5:32   ` takasi-y
2013-10-08  5:58   ` Magnus Damm
2013-10-08  5:58     ` Magnus Damm
2013-10-08  5:58     ` Magnus Damm
2013-10-08  5:58     ` Magnus Damm
2013-10-09  3:38     ` Simon Horman
2013-10-09  3:38       ` Simon Horman
2013-10-09  3:38       ` Simon Horman
2013-10-09  3:38       ` Simon Horman
2013-10-09  6:10       ` Ben Dooks
2013-10-09  6:10         ` Ben Dooks
2013-10-09  6:10         ` Ben Dooks
2013-10-09  6:10         ` Ben Dooks
2013-10-08  5:33 ` [PATCH v2 2/3] ARM: shmobile: emev2: Add clock tree description in DT takasi-y
2013-10-08  5:33   ` takasi-y at ops.dti.ne.jp
2013-10-08  5:33   ` takasi-y
2013-10-08  5:54   ` Magnus Damm
2013-10-08  5:54     ` Magnus Damm
2013-10-08  5:54     ` Magnus Damm
2013-10-08  5:54     ` Magnus Damm
2013-10-09  3:40     ` Simon Horman
2013-10-09  3:40       ` Simon Horman
2013-10-09  3:40       ` Simon Horman
2013-10-09  3:40       ` Simon Horman
2013-10-08  5:34 ` [PATCH v2 3/3] ARM: shmobile: kzm9d: Use common clock framework takasi-y
2013-10-08  5:34   ` takasi-y at ops.dti.ne.jp
2013-10-08  5:34   ` takasi-y
2013-10-08  5:52   ` Magnus Damm [this message]
2013-10-08  5:52     ` Magnus Damm
2013-10-08  5:52     ` Magnus Damm
2013-10-08  5:52     ` Magnus Damm
2013-10-09  3:40   ` Simon Horman
2013-10-09  3:40     ` Simon Horman
2013-10-09  3:40     ` Simon Horman
2013-10-09  4:59     ` Magnus Damm
2013-10-09  4:59       ` Magnus Damm
2013-10-09  4:59       ` Magnus Damm
2013-10-09  4:59       ` Magnus Damm
2013-10-09  6:54       ` Simon Horman
2013-10-09  6:54         ` Simon Horman
2013-10-09  6:54         ` Simon Horman
2013-10-09  6:54         ` Simon Horman
2013-10-09  7:29         ` Magnus Damm
2013-10-09  7:29           ` Magnus Damm
2013-10-09  7:29           ` Magnus Damm
2013-10-09  7:29           ` Magnus Damm
2013-10-09 10:39           ` Simon Horman
2013-10-09 10:39             ` Simon Horman
2013-10-09 10:39             ` Simon Horman
2013-10-09 10:39             ` Simon Horman
2013-10-29  4:42             ` Simon Horman
2013-10-29  4:42               ` Simon Horman
2013-10-29  4:42               ` Simon Horman
2013-10-29  4:42               ` Simon Horman
2013-12-02  2:25               ` Simon Horman
2013-12-02  2:25                 ` Simon Horman
2013-12-02  2:25                 ` Simon Horman
2013-12-02  2:25                 ` Simon Horman
2013-12-23  6:41                 ` Mike Turquette
2013-12-23  6:41                   ` Mike Turquette
2013-12-23  6:41                   ` Mike Turquette
2013-12-23  6:41                   ` Mike Turquette
2013-12-23  8:00                   ` Simon Horman
2013-12-23  8:00                     ` Simon Horman
2013-12-23  8:00                     ` Simon Horman
2013-12-23  8:00                     ` Simon Horman
2014-01-06  8:10                     ` Simon Horman
2014-01-06  8:10                       ` Simon Horman
2014-01-06  8:10                       ` Simon Horman
2014-01-06  8:10                       ` 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=CANqRtoTPoR8Lt67Bo-BC9DxdN_+XH5uEGBetYGHMnrmjYk-21w@mail.gmail.com \
    --to=magnus.damm@gmail.com \
    --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 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.