[PATCH v5] clocksource:arm_global_timer: Add ARM global timer support.

Srinivas KANDAGATLA srinivas.kandagatla at st.com
Tue Jun 25 07:10:19 EST 2013


On 24/06/13 21:01, Thomas Gleixner wrote:
> On Mon, 24 Jun 2013, Srinivas KANDAGATLA wrote:
> 
>> From: Stuart Menefy <stuart.menefy at st.com>
>>
>> This is a simple driver for the global timer module found in the Cortex
>> A9-MP cores from revision r1p0 onwards. This should be able to perform
>> the functions of the system timer and the local timer in an SMP system.
>>
>> The global timer has the following features:
>>     The global timer is a 64-bit incrementing counter with an
>> auto-incrementing feature. It continues incrementing after sending
>> interrupts. The global timer is memory mapped in the private memory
>> region.
>>     The global timer is accessible to all Cortex-A9 processors in the
>> cluster. Each Cortex-A9 processor has a private 64-bit comparator that
>> is used to assert a private interrupt when the global timer has reached
>> the comparator value. All the Cortex-A9 processors in a design use the
>> banked ID, ID27, for this interrupt. ID27 is sent to the Interrupt
>> Controller as a Private Peripheral Interrupt. The global timer is
>> clocked by PERIPHCLK.
>>
>> Signed-off-by: Stuart Menefy <stuart.menefy at st.com>
>> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla at st.com>
>> CC: Arnd Bergmann <arnd at arndb.de>
>> CC: Rob Herring <robherring2 at gmail.com>
>> CC: Linus Walleij <linus.walleij at linaro.org>
>> CC: Will Deacon <will.deacon at arm.com>
>> CC: Thomas Gleixner <tglx at linutronix.de>
> 
> Reviewed-by: Thomas Gleixner <tglx at linutronix.de>
Thanks Thomas,
I will fix Stephen's comment in next spin.

Thanks,
srini
> _______________________________________________
> devicetree-discuss mailing list
> devicetree-discuss at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/devicetree-discuss
> 



More information about the devicetree-discuss mailing list