Thread (2 messages) 2 messages, 2 authors, 2012-07-27

[DT] API to determine if interrupt is PPI or SPI ?

From: Will Deacon <hidden>
Date: 2012-07-27 13:09:47
Also in: linux-devicetree

Possibly related (same subject, not in this thread)

On Fri, Jul 27, 2012 at 01:33:36PM +0100, Rob Herring wrote:
On 07/26/2012 02:18 PM, rvaswani at codeaurora.org wrote:
quoted
Hello,

We can specify the interrupt information in the device tree using the arm
gic convention.
Is there an API to read directly the 1st cell and determine if an
interrupt is a PPI or a SPI ? This information is directly relevant to the
driver because it needs to call request_irq or request_percpu_irq based on
this data.

How should this be done ideally ?
Seems a bit strange to me that you would have a h/w block that can be
connected either way...
The CPU PMU can be wired as either SPI or PPI. The latter makes more sense to
me but usually (although not exclusively) it's wired using the former.

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