linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: shmobile: Register ARM architected timer
@ 2013-02-05  7:30 Magnus Damm
  2013-02-05  8:15 ` Simon Horman
  0 siblings, 1 reply; 3+ messages in thread
From: Magnus Damm @ 2013-02-05  7:30 UTC (permalink / raw)
  To: linux-arm-kernel

From: Magnus Damm <damm@opensource.se>

Register ARM architected timer by default for all mach-shmobile
systems using late timer.

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

 arch/arm/mach-shmobile/timer.c |    3 +++
 1 file changed, 3 insertions(+)

--- 0001/arch/arm/mach-shmobile/timer.c
+++ work/arch/arm/mach-shmobile/timer.c	2013-02-05 16:17:04.000000000 +0900
@@ -20,6 +20,7 @@
  */
 #include <linux/platform_device.h>
 #include <linux/delay.h>
+#include <asm/arch_timer.h>
 #include <asm/mach/time.h>
 #include <asm/smp_twd.h>
 
@@ -62,4 +63,6 @@ void __init shmobile_earlytimer_init(voi
 
 void __init shmobile_timer_init(void)
 {
+	arch_timer_of_register();
+	arch_timer_sched_clock_init();
 }

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ARM: shmobile: Register ARM architected timer
  2013-02-05  7:30 [PATCH] ARM: shmobile: Register ARM architected timer Magnus Damm
@ 2013-02-05  8:15 ` Simon Horman
  0 siblings, 0 replies; 3+ messages in thread
From: Simon Horman @ 2013-02-05  8:15 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Feb 05, 2013 at 04:30:49PM +0900, Magnus Damm wrote:
> From: Magnus Damm <damm@opensource.se>
> 
> Register ARM architected timer by default for all mach-shmobile
> systems using late timer.

Thanks, applied to a new soc4 branch and merged into next.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] ARM: shmobile: Register ARM architected timer
  2013-02-06  2:03 [GIT PULL] Renesas ARM-based SoC for v3.9 #4 Simon Horman
@ 2013-02-06  2:03 ` Simon Horman
  0 siblings, 0 replies; 3+ messages in thread
From: Simon Horman @ 2013-02-06  2:03 UTC (permalink / raw)
  To: linux-arm-kernel

From: Magnus Damm <damm@opensource.se>

Register ARM architected timer by default for all mach-shmobile
systems using late timer.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/mach-shmobile/timer.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/mach-shmobile/timer.c b/arch/arm/mach-shmobile/timer.c
index fdbe54a..3d16d4d 100644
--- a/arch/arm/mach-shmobile/timer.c
+++ b/arch/arm/mach-shmobile/timer.c
@@ -20,6 +20,7 @@
  */
 #include <linux/platform_device.h>
 #include <linux/delay.h>
+#include <asm/arch_timer.h>
 #include <asm/mach/time.h>
 #include <asm/smp_twd.h>
 
@@ -62,4 +63,6 @@ void __init shmobile_earlytimer_init(void)
 
 void __init shmobile_timer_init(void)
 {
+	arch_timer_of_register();
+	arch_timer_sched_clock_init();
 }
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-02-06  2:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-05  7:30 [PATCH] ARM: shmobile: Register ARM architected timer Magnus Damm
2013-02-05  8:15 ` Simon Horman
  -- strict thread matches above, loose matches on Subject: below --
2013-02-06  2:03 [GIT PULL] Renesas ARM-based SoC for v3.9 #4 Simon Horman
2013-02-06  2:03 ` [PATCH] ARM: shmobile: Register ARM architected timer Simon Horman

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).