From: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
To: linux-arm-kernel@lists.infradead.org
Subject: Re: [RFC 13/17] ARM: shmobile: marzen-reference: Initialize CPG device
Date: Mon, 25 Nov 2013 12:15:28 +0000 [thread overview]
Message-ID: <52933F60.8090208@cogentembedded.com> (raw)
In-Reply-To: <1385342312-1967-14-git-send-email-horms+renesas@verge.net.au>
Hello.
On 25-11-2013 5:18, Simon Horman wrote:
> On multiplatform kernels clocks are handled by the CCF CPG driver. It
> must be explicitly initialized by a call to rcar_gen2_clocks_init() with
You meant r8a7779_clocks_init() instead?
> the value of the boot mode pins.
> Based on similar work for the Koelsch board by Laurent Pinchart.
> Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
> ---
> arch/arm/mach-shmobile/board-marzen-reference.c | 16 ++++++++++++----
> 1 file changed, 12 insertions(+), 4 deletions(-)
> diff --git a/arch/arm/mach-shmobile/board-marzen-reference.c b/arch/arm/mach-shmobile/board-marzen-reference.c
> index 782907f..3a7c0fc 100644
> --- a/arch/arm/mach-shmobile/board-marzen-reference.c
> +++ b/arch/arm/mach-shmobile/board-marzen-reference.c
[...]
> @@ -28,11 +29,17 @@
> #include <asm/mach/arch.h>
>
>
> -static void __init marzen_init(void)
> +static void __init marzen_init_timer(void)
> {
> #ifdef CONFIG_COMMON_CLK
> - of_clk_init(NULL);
> -#else
> + r8a7779_clocks_init(r8a7779_read_mode_pins());
> +#endif
> + clocksource_of_init();
> +}
> +
> +static void __init marzen_init(void)
> +{
> +#ifndef CONFIG_COMMON_CLK
> r8a7779_clock_init();
> #endif
> r8a7779_add_standard_devices_dt();
WBR, Sergei
WARNING: multiple messages have this Message-ID (diff)
From: sergei.shtylyov@cogentembedded.com (Sergei Shtylyov)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC 13/17] ARM: shmobile: marzen-reference: Initialize CPG device
Date: Mon, 25 Nov 2013 16:15:28 +0400 [thread overview]
Message-ID: <52933F60.8090208@cogentembedded.com> (raw)
In-Reply-To: <1385342312-1967-14-git-send-email-horms+renesas@verge.net.au>
Hello.
On 25-11-2013 5:18, Simon Horman wrote:
> On multiplatform kernels clocks are handled by the CCF CPG driver. It
> must be explicitly initialized by a call to rcar_gen2_clocks_init() with
You meant r8a7779_clocks_init() instead?
> the value of the boot mode pins.
> Based on similar work for the Koelsch board by Laurent Pinchart.
> Cc: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
> ---
> arch/arm/mach-shmobile/board-marzen-reference.c | 16 ++++++++++++----
> 1 file changed, 12 insertions(+), 4 deletions(-)
> diff --git a/arch/arm/mach-shmobile/board-marzen-reference.c b/arch/arm/mach-shmobile/board-marzen-reference.c
> index 782907f..3a7c0fc 100644
> --- a/arch/arm/mach-shmobile/board-marzen-reference.c
> +++ b/arch/arm/mach-shmobile/board-marzen-reference.c
[...]
> @@ -28,11 +29,17 @@
> #include <asm/mach/arch.h>
>
>
> -static void __init marzen_init(void)
> +static void __init marzen_init_timer(void)
> {
> #ifdef CONFIG_COMMON_CLK
> - of_clk_init(NULL);
> -#else
> + r8a7779_clocks_init(r8a7779_read_mode_pins());
> +#endif
> + clocksource_of_init();
> +}
> +
> +static void __init marzen_init(void)
> +{
> +#ifndef CONFIG_COMMON_CLK
> r8a7779_clock_init();
> #endif
> r8a7779_add_standard_devices_dt();
WBR, Sergei
next prev parent reply other threads:[~2013-11-25 12:15 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-25 1:18 [RFC 00/17] ARM: shmobile: r8a7779, marzen: multiplatform Simon Horman
2013-11-25 1:18 ` Simon Horman
2013-11-25 1:18 ` [RFC 08/17] ARM: shmobile: r8a7779: Add helper to read mode pins Simon Horman
2013-11-25 11:53 ` Sergei Shtylyov
2013-11-25 11:53 ` Sergei Shtylyov
2013-11-26 0:34 ` Simon Horman
2013-11-26 0:34 ` Simon Horman
2013-11-25 1:18 ` [RFC 13/17] ARM: shmobile: marzen-reference: Initialize CPG device Simon Horman
2013-11-25 12:15 ` Sergei Shtylyov [this message]
2013-11-25 12:15 ` Sergei Shtylyov
2013-11-26 0:35 ` Simon Horman
2013-11-26 0:35 ` Simon Horman
2013-11-25 1:18 ` [RFC 15/17] ARM: shmobile: Remove non-multiplatform Marzen reference support Simon Horman
2013-11-25 6:51 ` Kuninori Morimoto
2013-11-25 6:51 ` Kuninori Morimoto
2013-11-26 0:26 ` Simon Horman
2013-11-26 0:26 ` Simon Horman
2013-11-25 1:18 ` [RFC 16/17] ARM: shmobile: Let Marzen multiplatform boot with Marzen DTB Simon Horman
2013-11-25 6:56 ` Kuninori Morimoto
2013-11-25 6:56 ` Kuninori Morimoto
2013-11-26 0:27 ` Simon Horman
2013-11-26 0:27 ` 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=52933F60.8090208@cogentembedded.com \
--to=sergei.shtylyov@cogentembedded.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.