linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Simon Horman <horms+renesas@verge.net.au>
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: shmobile: Register ARM architected timer
Date: Wed, 06 Feb 2013 02:03:21 +0000	[thread overview]
Message-ID: <1360116201-9362-2-git-send-email-horms+renesas@verge.net.au> (raw)
In-Reply-To: <1360116201-9362-1-git-send-email-horms+renesas@verge.net.au>

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


  reply	other threads:[~2013-02-06  2:03 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-07  8:34 [GIT PULL] Renesas ARM-based SoC for v3.8 #2 Simon Horman
2012-11-07  8:34 ` [PATCH 1/4] ARM: shmobile: r8a7779: PFC rename PENCx -> USB_PENCx Simon Horman
2012-11-07  8:34 ` [PATCH 2/4] ARM: shmobile: r8a7740: add USB24 clock explain Simon Horman
2012-11-07  8:34 ` [PATCH 3/4] ARM: shmobile: r8a7779: add USB EHCI clock support Simon Horman
2012-11-07  8:34 ` [PATCH 4/4] ARM: shmobile: r8a7779: add USB OHCI " Simon Horman
2013-10-04  6:45   ` [PATCH 4/4] ARM: shmobile: r8a7779: add I2C clock for DT Kuninori Morimoto
2013-10-08  1:50   ` Simon Horman
2012-11-08  6:30 ` [GIT PULL] Renesas ARM-based SoC for v3.8 #2 Simon Horman
2012-11-13  3:10 ` [GIT PULL] Renesas ARM-based SoC for v3.8 #4 Simon Horman
2012-11-13  3:10   ` [PATCH 1/4] Revert "ARM: shmobile: emev2: Replace modify_scu_cpu_psr with scu_power_mode" Simon Horman
2012-11-13  3:10   ` [PATCH 2/4] Revert "ARM: shmobile: sh73a0: " Simon Horman
2012-11-13  3:10   ` [PATCH 3/4] Revert "ARM: shmobile: r8a7779: " Simon Horman
2012-11-13  3:10   ` [PATCH 4/4] sh: clkfwk: fixup unsed variable warning Simon Horman
2012-11-13 12:50   ` [GIT PULL] Renesas ARM-based SoC for v3.8 #4 Arnd Bergmann
2013-01-25  2:13 ` [GIT PULL] Renesas ARM-based SoC for v3.9 Simon Horman
2013-01-25  2:13   ` [PATCH 01/15] ARM: shmobile: Remove duplicate inclusion of dma-mapping.h in setup-r8a7740.c Simon Horman
2013-01-25  2:55     ` Sachin Kamat
2013-01-25  3:38       ` Simon Horman
2013-01-25  3:56         ` Sachin Kamat
2013-01-25  2:13   ` [PATCH 02/15] ARM: shmobile: r8a7740: add TMU timer support Simon Horman
2013-01-25  2:13   ` [PATCH 03/15] ARM: shmobile: sh73a0: fixup div4_clks bitmap Simon Horman
2013-01-25  2:13   ` [PATCH 04/15] ARM: mach-shmobile: sh73a0 external IRQ wake update Simon Horman
2013-01-25  2:13   ` [PATCH 05/15] ARM: sh7372: add clock lookup entries for DT-based devices Simon Horman
2013-01-25  2:13   ` [PATCH 06/15] ARM: sh7372: fix cache clean / invalidate order Simon Horman
2013-01-25  2:13   ` [PATCH 07/15] ARM: shmobile: add function declarations for sh7372 DT helper functions Simon Horman
2013-01-25  2:13   ` [PATCH 08/15] ARM: shmobile: sh73a0: Add CPU sleep suspend Simon Horman
2013-01-25  2:13   ` [PATCH 09/15] ARM: shmobile: r8a7740: " Simon Horman
2013-01-25  2:13   ` [PATCH 10/15] ARM: SH-Mobile: sh73a0: Secondary CPUs handle own SCU flags Simon Horman
2013-01-25  2:13   ` [PATCH 11/15] ARM: SH-Mobile: sh73a0: Add CPU Hotplug Simon Horman
2013-01-25  2:13   ` [PATCH 12/15] ARM: mach-shmobile: sh73a0: Allow initialisation of GIC by DT Simon Horman
2013-01-25 10:08     ` Mark Rutland
2013-01-25  2:13   ` [PATCH 13/15] ARM: mach-shmobile: sh73a0: Minimal setup using DT Simon Horman
2013-01-25  2:13   ` [PATCH 14/15] ARM: mach-shmobile: sh73a0: Initialise MMCIF " Simon Horman
2013-01-25  2:13   ` [PATCH 15/15] ARM: shmobile: r8a7779: scif .irqs used SCIx_IRQ_MUXED() Simon Horman
2013-01-25  3:43   ` [GIT PULL] Renesas ARM-based SoC for v3.9 Simon Horman
2013-01-31  6:23 ` [GIT PULL] Renesas ARM-based SoC for v3.9 #2 Simon Horman
2013-01-31  6:23   ` [PATCH 1/9] ARM: shmobile: ag5evm: Use gpio_request_one() Simon Horman
2013-01-31  6:23   ` [PATCH 2/9] ARM: shmobile: ap4evb: " Simon Horman
2013-01-31  6:23   ` [PATCH 3/9] ARM: shmobile: armadillo800eva: " Simon Horman
2013-01-31  6:23   ` [PATCH 4/9] ARM: shmobile: armadillo800eva: Use gpio_set_value() to set GPIO value Simon Horman
2013-01-31  6:23   ` [PATCH 5/9] ARM: shmobile: kota2: Use gpio_request_one() Simon Horman
2013-01-31  6:23   ` [PATCH 6/9] ARM: shmobile: bonito: " Simon Horman
2013-01-31  6:24   ` [PATCH 7/9] ARM: shmobile: kzm9g: " Simon Horman
2013-01-31  6:24   ` [PATCH 8/9] ARM: shmobile: mackerel: " Simon Horman
2013-01-31  6:24   ` [PATCH 9/9] ARM: shmobile: armadillo800eva: set clock rates before timer init Simon Horman
2013-02-01  3:40   ` [GIT PULL] Renesas ARM-based SoC for v3.9 #2 Olof Johansson
2013-01-31  6:26 ` Simon Horman
2013-01-31  6:26   ` [PATCH 1/4] ARM: mach-shmobile: sh73a0: Add reg and device_type properties to cpus Simon Horman
2013-01-31  6:26   ` [PATCH 2/4] ARM: mach-shmobile: emev2: " Simon Horman
2013-01-31  6:26   ` [PATCH 3/4] ARM: mach-shmobile: add shmobile_cpu_disable_any() Simon Horman
2013-01-31  6:26   ` [PATCH 4/4] ARM: mach-shmobile: sh73a0: allow unplugging of CPU0 Simon Horman
2013-02-01  3:40   ` [GIT PULL] Renesas ARM-based SoC for v3.9 #2 Olof Johansson
2013-02-05  3:47 ` [GIT PULL] Renesas ARM-based SoC for v3.9 #3 Simon Horman
2013-02-05  3:47   ` [PATCH] ARM: shmobile: r8a7779: Correct TMU clock support Simon Horman
2013-02-05 19:12   ` [GIT PULL] Renesas ARM-based SoC for v3.9 #3 Olof Johansson
2013-02-06  2:03 ` [GIT PULL] Renesas ARM-based SoC for v3.9 #4 Simon Horman
2013-02-06  2:03   ` Simon Horman [this message]
2013-02-10  0:50   ` Olof Johansson
2013-02-19  3:49 ` [GIT PULL] Renesas ARM-based SoC for v3.9 #5 Simon Horman
2013-02-19  3:49   ` [PATCH] ARM: shmobile: r8a7779: Correct TMU clock support again Simon Horman
2013-02-19 15:41   ` [GIT PULL] Renesas ARM-based SoC for v3.9 #5 Arnd Bergmann
  -- strict thread matches above, loose matches on Subject: below --
2013-02-05  7:30 [PATCH] ARM: shmobile: Register ARM architected timer Magnus Damm
2013-02-05  8:15 ` 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=1360116201-9362-2-git-send-email-horms+renesas@verge.net.au \
    --to=horms+renesas@verge.net.au \
    --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 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).