Thread (10 messages) 10 messages, 3 authors, 2016-10-21

Re: [PATCH 3/3] clocksource: Add clockevent support to NPS400 driver

From: Rob Herring <robh@kernel.org>
Date: 2016-10-18 13:57:34
Also in: lkml

On Thu, Oct 13, 2016 at 05:52:30PM +0300, Noam Camus wrote:
From: Noam Camus <redacted>

Till now we used clockevent from generic ARC driver.
This was enough as long as we worked with simple multicore SoC.
When we are working with multithread SoC each HW thread can be
scheduled to receive timer interrupt using timer mask register
(TSI1).

This patch will provide a way to control clock events per
HW thread.

Driver can be used from device tree by:
compatible = "ezchip,nps400-timer0" <-- for clocksource
compatible = "ezchip,nps400-timer1" <-- for clockevent
You're letting Linux details define the binding. Are these blocks 
different (the block itself, not connections to the block like 
interrupts)?

If you need a particular timer instance to be used, then describe 
whatever is the difference in the h/w.  For example, the clockevent 
timer has to be the timer with an interrupt.

Rob
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help