On Mon, Jul 23, 2012 at 9:11 PM, Florian Fainelli [off-list ref] wrote:
[Thomas P]
quoted
I am surprised that this doesn't use the clocksource and clockevents
infrastructure. It probably should, and be implemented in
drivers/clocksource/.
This may sound like a stupid question, but the big constraint with this SoC is
that the timers do not reload themselves, and so far, I did not find out how I
can handle this properly with a clocksource. I suppose that it should not be a
big problem for the clockevent device however.
Has anyone any example of such particular case?
Gah what horror.
So you don't have *anything* in your platform which is really
continous and sufficiently fast?
Then try to get an IRQ to rearm and retrigger the timer to fire
itself whenever it reloads and pray this doesn't add a skew too much.
Bonus if you can use the NMI for this :-/
Yours,
Linus Walleij