MPIC Timers as clocksource

Kumar Gala galak at kernel.crashing.org
Thu Jan 29 06:17:55 EST 2009


On Jan 28, 2009, at 12:14 PM, Régis Odeyé wrote:

> Kumar Gala wrote:
>>
>> On Jan 28, 2009, at 8:38 AM, Régis Odeyé wrote:
>>
>>> Hi everybody,
>>> Is there anyone who implemented a clocksource driver (drivers/ 
>>> clocksource) to deal with the MPIC timers especially with 86xx and  
>>> 85xx soc's ?
>>> Regards.
>>>
>>> --
>>
>> We have some code for using the timers but not as a clocksource..  
>> Out of interest why do want this?
>>
>> - k
> We have a plan to use an external clock signal to drive those  
> timers. This signal is common with other boards in a same enclosure  
> so we could synchronize our boards with those timers.
> Could you point me out to the related code even if there is some  
> adaptations to get a clocksource driver.

I'll post some code.

As for clocksource.. last time I looked at that it was more about  
using a timer as the single kernel reference clock.

- k


More information about the Linuxppc-dev mailing list