From: Magnus Damm <magnus.damm@gmail.com>
To: linux-sh@vger.kernel.org
Subject: [PATCH] ARM: mach-shmobile: Move sh7372 AP4EVB external clk setup
Date: Tue, 06 Mar 2012 07:31:55 +0000 [thread overview]
Message-ID: <20120306073155.27860.13406.sendpatchset@w520> (raw)
In-Reply-To: <20120306073018.27853.20666.sendpatchset@w520>
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>
---
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 = {
next prev parent reply other threads:[~2012-03-06 7:31 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 ` Magnus Damm [this message]
2012-03-07 21:58 ` Rafael J. Wysocki
2012-03-07 21:58 ` [PATCH] ARM: mach-shmobile: Move sh7372 AP4EVB " Rafael J. Wysocki
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=20120306073155.27860.13406.sendpatchset@w520 \
--to=magnus.damm@gmail.com \
--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 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.