devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mark Rutland <mark.rutland@arm.com>
To: Thomas Abraham <thomas.abraham@linaro.org>
Cc: "johnstul@us.ibm.com" <johnstul@us.ibm.com>,
	"devicetree-discuss@lists.ozlabs.org"
	<devicetree-discuss@lists.ozlabs.org>,
	"swarren@nvidia.com" <swarren@nvidia.com>,
	"rob.herring@calxeda.com" <rob.herring@calxeda.com>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH] ARM: architected timers: allow dt based discovery using clocksource_of_init
Date: Mon, 21 Jan 2013 12:13:53 +0000	[thread overview]
Message-ID: <20130121121353.GH15707@e106331-lin.cambridge.arm.com> (raw)
In-Reply-To: <1358731326-2979-1-git-send-email-thomas.abraham@linaro.org>

Hi Thomas,

This looks really useful, and it's going to conflict with my arch_timer /
arm_generic driver unification series [1].

I'm happy to take this as part of my series if that's ok with you?

On Mon, Jan 21, 2013 at 01:22:06AM +0000, Thomas Abraham wrote:
> Add an entry in __clksrc_of_table so that ARMv7 architected timer is
> discoverable using call to clocksource_of_init.
> 
> Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
> ---
>  arch/arm/kernel/arch_timer.c |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/arm/kernel/arch_timer.c b/arch/arm/kernel/arch_timer.c
> index c8ef207..d21aada 100644
> --- a/arch/arm/kernel/arch_timer.c
> +++ b/arch/arm/kernel/arch_timer.c
> @@ -504,6 +504,9 @@ int __init arch_timer_of_register(void)
>  
>  	return arch_timer_register();
>  }
> +#ifdef CONFIG_CLKSRC_OF
> +CLOCKSOURCE_OF_DECLARE(armv7_timer, "arm,armv7-timer", arch_timer_of_register)
> +#endif
>  
>  int __init arch_timer_sched_clock_init(void)
>  {
> -- 
> 1.7.5.4
> 
> _______________________________________________
> devicetree-discuss mailing list
> devicetree-discuss@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/devicetree-discuss
> 

Thanks,
Mark.

[1] http://lists.infradead.org/pipermail/linux-arm-kernel/2013-January/142070.html

  reply	other threads:[~2013-01-21 12:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-21  1:22 [PATCH] ARM: architected timers: allow dt based discovery using clocksource_of_init Thomas Abraham
2013-01-21 12:13 ` Mark Rutland [this message]
     [not found]   ` <20130121121353.GH15707-NuALmloUBlrZROr8t4l/smS4ubULX0JqMm0uRHvK7Nw@public.gmane.org>
2013-01-21 18:19     ` Thomas Abraham
     [not found] ` <1358731326-2979-1-git-send-email-thomas.abraham-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2013-01-21 17:21   ` Stephen Warren
2013-01-21 18:25     ` Marc Zyngier
     [not found]     ` <50FD7904.1070201-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-01-21 18:30       ` Thomas Abraham
2013-01-22 11:04         ` Mark Rutland
2013-01-30 17:19           ` Mark Rutland
2013-01-30 17:49             ` Stephen Warren

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=20130121121353.GH15707@e106331-lin.cambridge.arm.com \
    --to=mark.rutland@arm.com \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=johnstul@us.ibm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=rob.herring@calxeda.com \
    --cc=swarren@nvidia.com \
    --cc=thomas.abraham@linaro.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).