[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <56B885B2.6060408@linaro.org>
Date: Mon, 8 Feb 2016 13:10:26 +0100
From: Daniel Lezcano <daniel.lezcano@...aro.org>
To: Vineet Gupta <Vineet.Gupta1@...opsys.com>,
linux-snps-arc@...ts.infradead.org, Alexey.Brodkin@...opsys.com,
Noam Camus <noamc@...hip.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: [PATCH 6/9] ARC: clocksource: DT based probe
On 02/02/2016 11:58 AM, Vineet Gupta wrote:
> - Remove explicit clocksource setup and let it be done by OF framework
> by defining CLOCKSOURCE_OF_DECLARE() for various timers
>
> - This allows multiple clocksources to be potentially registered
> simultaneouly: previously we could only do one - as all of them had
> same arc_counter_setup() routine for registration
>
> - Setup routines also ensure that the underlying timer actually exists.
>
> - Remove some of the panic() calls if underlying timer is NOT detcted as
> a fallback clocksource might still be available
> 1. If GRFC doesn't exist, jiffies clocksource gets registered anyways
> 2. if RTC doesn't exist, TIMER1 cetainly will take over (as it is
> always present)
>
> Cc: Daniel Lezcano <daniel.lezcano@...aro.org>
> Signed-off-by: Vineet Gupta <vgupta@...opsys.com>
May be it is time to move these drivers into the drivers/clocksource
directory where they belong to.
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
Powered by blists - more mailing lists