[PATCH 8/9] ARM: pxa: add 32KHz timer as clock source

Haojian Zhuang hzhuang1 at marvell.com
Wed Nov 17 22:11:46 EST 2010



>-----Original Message-----
>From: Nicolas Pitre [mailto:nico at fluxnic.net]
>Sent: 2010年11月17日 11:23 PM
>To: Haojian Zhuang
>Cc: linux-arm-kernel at lists.infradead.org; Eric Miao
>Subject: Re: [PATCH 8/9] ARM: pxa: add 32KHz timer as clock source
>
>On Wed, 17 Nov 2010, Haojian Zhuang wrote:
>
>> PXA silicons are using 3MHz timer as default clock source. But it'll be stopped
>> counting in low power mode. Although 32KHz timer is slow, it can continue
>> counting in low power mode. While low power mode is implemented as idle,
>> stopped timer can't be accepted.
>>
>> Add 32KHz timer as an alternative clock source. User can switch clock source
>> on demand.
>
>Do you need to do this for sched_clock() too?  The clock source API is
>for reliable clock, but sched_clock is not as strict and requires a fast
>and lightweight implementation instead.  And the clock source API and
>sched_clock() don't have to be based on the same timer.
>

Thanks for your comments. Now it's fixed in attachment.

Best Regards
Haojian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-ARM-pxa-add-32KHz-timer-as-clock-source.patch
Type: application/octet-stream
Size: 9969 bytes
Desc: 0008-ARM-pxa-add-32KHz-timer-as-clock-source.patch
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20101117/604137fe/attachment.obj>


More information about the linux-arm-kernel mailing list