devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [DT] API to determine if interrupt is PPI or SPI ?
@ 2012-07-26 19:18 rvaswani
       [not found] ` <53a41d02c4c4c24bdab47667183891bf.squirrel-mMfbam+mt9083fI46fginR2eb7JE58TQ@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: rvaswani @ 2012-07-26 19:18 UTC (permalink / raw)
  To: devicetree-discuss, davidb, grant.likely; +Cc: linux-arm-kernel

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 ?

Thanks,
Rohit

-- 
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
--

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-07-27 20:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-26 19:18 [DT] API to determine if interrupt is PPI or SPI ? rvaswani
     [not found] ` <53a41d02c4c4c24bdab47667183891bf.squirrel-mMfbam+mt9083fI46fginR2eb7JE58TQ@public.gmane.org>
2012-07-27 12:33   ` Rob Herring
     [not found]     ` <50128AA0.8040409-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2012-07-27 13:09       ` Will Deacon
2012-07-27 20:00         ` rvaswani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).