[PATCH] ARM: clps711x: convert to clocksource/clockevents

Alexander Shiyan shc_work at mail.ru
Thu Aug 30 13:02:10 EDT 2012


On Thu, 30 Aug 2012 18:37:58 +0200
Linus Walleij <linus.walleij at linaro.org> wrote:

> This converts the ageing clps711x timer driver to the modern
> clocksource/clockevent API.
The patch does not account for the changes that I sent to the mailing list
recently, where I did support different clock frequencies for the processor.

> This was blind-coded using the datasheet, it'd be great if someone
> who has this machine could test it.
...
> +	/* Set both timers to 512 kHz */
The patch uses a second timer, which does not allow its use for other purposes,
I can not test the functionality of the device in this case, unfortunately.

I have also tried to do something like this without using additional processor
resources, but not yet brought to the finish line yet.

-- 
Alexander Shiyan <shc_work at mail.ru>



More information about the linux-arm-kernel mailing list