linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH] ARM: mach-shmobile: Move sh7372 AP4EVB external clk setup
Date: Wed, 07 Mar 2012 21:58:52 +0000	[thread overview]
Message-ID: <201203072302.11172.rjw@sisk.pl> (raw)
In-Reply-To: <20120306073018.27853.20666.sendpatchset@w520>

On Tuesday, March 06, 2012, Magnus Damm wrote:
> From: Magnus Damm <damm@opensource.se>
> 
> Move the board specific external clock setting for sh7372 AP4EVB
> from machine_desc->sys_timer->init() to machine_desc->init_machine().
> 
> This is ground work for shmobile timer code consolidation.
> 
> Signed-off-by: Magnus Damm <damm@opensource.se>

Applied.

Thanks,
Rafael


> ---
> 
>  arch/arm/mach-shmobile/board-ap4evb.c |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> --- 0004/arch/arm/mach-shmobile/board-ap4evb.c
> +++ work/arch/arm/mach-shmobile/board-ap4evb.c	2012-03-06 12:45:52.000000000 +0900
> @@ -1197,6 +1197,9 @@ static void __init ap4evb_init(void)
>  	u32 srcr4;
>  	struct clk *clk;
>  
> +	/* External clock source */
> +	clk_set_rate(&sh7372_dv_clki_clk, 27000000);
> +
>  	sh7372_pinmux_init();
>  
>  	/* enable SCIFA0 */
> @@ -1437,9 +1440,6 @@ static void __init ap4evb_timer_init(voi
>  {
>  	sh7372_clock_init();
>  	shmobile_timer.init();
> -
> -	/* External clock source */
> -	clk_set_rate(&sh7372_dv_clki_clk, 27000000);
>  }
>  
>  static struct sys_timer ap4evb_timer = {
> 
> 


      parent reply	other threads:[~2012-03-07 21:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-06  7:30 [PATCH] ARM: mach-shmobile: Move sh7372 Mackerel external clk setup Magnus Damm
2012-03-06  7:31 ` [PATCH] ARM: mach-shmobile: Move sh7372 AP4EVB " Magnus Damm
2012-03-07 21:58 ` [PATCH] ARM: mach-shmobile: Move sh7372 Mackerel " Rafael J. Wysocki
2012-03-07 21:58 ` Rafael J. Wysocki [this message]

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=201203072302.11172.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=linux-sh@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).