* [PATCH] ARM: mach-shmobile: Move sh7372 Mackerel external clk setup
@ 2012-03-06 7:30 Magnus Damm
2012-03-06 7:31 ` [PATCH] ARM: mach-shmobile: Move sh7372 AP4EVB " Magnus Damm
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Magnus Damm @ 2012-03-06 7:30 UTC (permalink / raw)
To: linux-sh
From: Magnus Damm <damm@opensource.se>
Move the board specific external clock setting for sh7372 Mackerel
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-mackerel.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- 0004/arch/arm/mach-shmobile/board-mackerel.c
+++ work/arch/arm/mach-shmobile/board-mackerel.c 2012-03-06 12:43:35.000000000 +0900
@@ -1348,6 +1348,9 @@ static void __init mackerel_init(void)
struct clk *clk;
int ret;
+ /* External clock source */
+ clk_set_rate(&sh7372_dv_clki_clk, 27000000);
+
sh7372_pinmux_init();
/* enable SCIFA0 */
@@ -1555,9 +1558,6 @@ static void __init mackerel_timer_init(v
{
sh7372_clock_init();
shmobile_timer.init();
-
- /* External clock source */
- clk_set_rate(&sh7372_dv_clki_clk, 27000000);
}
static struct sys_timer mackerel_timer = {
^ permalink raw reply [flat|nested] 4+ messages in thread* [PATCH] ARM: mach-shmobile: Move sh7372 AP4EVB external clk setup
2012-03-06 7:30 [PATCH] ARM: mach-shmobile: Move sh7372 Mackerel external clk setup Magnus Damm
@ 2012-03-06 7:31 ` Magnus Damm
2012-03-07 21:58 ` [PATCH] ARM: mach-shmobile: Move sh7372 Mackerel " Rafael J. Wysocki
2012-03-07 21:58 ` [PATCH] ARM: mach-shmobile: Move sh7372 AP4EVB " Rafael J. Wysocki
2 siblings, 0 replies; 4+ messages in thread
From: Magnus Damm @ 2012-03-06 7:31 UTC (permalink / raw)
To: linux-sh
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 = {
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] ARM: mach-shmobile: Move sh7372 Mackerel external clk setup
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 ` Rafael J. Wysocki
2012-03-07 21:58 ` [PATCH] ARM: mach-shmobile: Move sh7372 AP4EVB " Rafael J. Wysocki
2 siblings, 0 replies; 4+ messages in thread
From: Rafael J. Wysocki @ 2012-03-07 21:58 UTC (permalink / raw)
To: linux-sh
On Tuesday, March 06, 2012, Magnus Damm wrote:
> From: Magnus Damm <damm@opensource.se>
>
> Move the board specific external clock setting for sh7372 Mackerel
> 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-mackerel.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> --- 0004/arch/arm/mach-shmobile/board-mackerel.c
> +++ work/arch/arm/mach-shmobile/board-mackerel.c 2012-03-06 12:43:35.000000000 +0900
> @@ -1348,6 +1348,9 @@ static void __init mackerel_init(void)
> struct clk *clk;
> int ret;
>
> + /* External clock source */
> + clk_set_rate(&sh7372_dv_clki_clk, 27000000);
> +
> sh7372_pinmux_init();
>
> /* enable SCIFA0 */
> @@ -1555,9 +1558,6 @@ static void __init mackerel_timer_init(v
> {
> sh7372_clock_init();
> shmobile_timer.init();
> -
> - /* External clock source */
> - clk_set_rate(&sh7372_dv_clki_clk, 27000000);
> }
>
> static struct sys_timer mackerel_timer = {
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [PATCH] ARM: mach-shmobile: Move sh7372 AP4EVB external clk setup
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
2 siblings, 0 replies; 4+ messages in thread
From: Rafael J. Wysocki @ 2012-03-07 21:58 UTC (permalink / raw)
To: linux-sh
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 = {
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-03-07 21:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH] ARM: mach-shmobile: Move sh7372 AP4EVB " Rafael J. Wysocki
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).