Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1503056

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

From Noam Camus <noamca@mellanox.com>
Newsgroups linux.kernel
Subject RE: [PATCH 3/3] clocksource: Add clockevent support to NPS400 driver
Date 2016-10-18 16:40 +0200
Message-ID <stDID-2X6-69@gated-at.bofh.it> (permalink)
References <stD5U-2pf-13@gated-at.bofh.it> <stD5U-2pf-15@gated-at.bofh.it> <stD5U-2pf-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> From: Rob Herring [mailto:robh@kernel.org] 
> Sent: Tuesday, October 18, 2016 4:57 PM

>> 
>> 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.

Yes, blocks are different.
The difference is that only second timer instance are actually producing timer interrupt served by Linux for the clockevent framework.
Please note that the numbering used here for timer (i.e. 0 or 1) are derived from HW blocks and are not any Linux detail I used for binding definition (It is a note at this patch set cover letter).

Noam

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH 3/3] clocksource: Add clockevent support to NPS400 driver Rob Herring <robh@kernel.org> - 2016-10-18 16:00 +0200
  RE: [PATCH 3/3] clocksource: Add clockevent support to NPS400 driver Noam Camus <noamca@mellanox.com> - 2016-10-18 16:40 +0200
  RE: [PATCH 3/3] clocksource: Add clockevent support to NPS400 driver Noam Camus <noamca@mellanox.com> - 2016-10-18 20:30 +0200

csiph-web