[PATCH v2 2/3] ARM: timer-sp: support timer clock freq other than 1MHz

Russell King - ARM Linux linux at arm.linux.org.uk
Tue Dec 21 08:44:43 EST 2010


On Sat, Oct 02, 2010 at 09:34:45AM -0500, Rob Herring wrote:
> From: Rob Herring <rob.herring at smooth-stone.com>
> 
> The timer-sp code is fixed to 1MHz timer clock. Add clock api
> calls to get the timer clock frequency and support for independent
> clock frequencies.
> 
> Rename timer names for clocksource and clockevent to timer-sp or
> the clock connection ID string if provided.
> 
> Signed-off-by: Rob Herring <rob.herring at smooth-stone.com>

As mentioned in the previous few days on the mailing list, rather than
having this code half-heartedly use the clk API, I'd much rather we did
a proper conversion.  That means having the clk API up and running
earlier than we currently do on the ARM platforms.

In order to allow this to happen, I've queued an addition to the mdesc
record which provides an early hook which can be used for this kind of
early platform initialization.

So, after the next merge window, could you have another look at this
please?



More information about the linux-arm-kernel mailing list