linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Question on setting up external interrupt for P1020 (MPC8xxx) with device tree
@ 2011-02-11 19:07 Kenny Ho
  2011-02-11 21:56 ` Scott Wood
  0 siblings, 1 reply; 4+ messages in thread
From: Kenny Ho @ 2011-02-11 19:07 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 651 bytes --]

Hi,

 

I am trying to write a device driver that uses an external interrupt
(one of the 16 irq lines) for the Freescale P1020 processor and I hope
some of you can help.  Am I suppose to setup a separate node in the dts
and look for that node in my driver to setup the interrupt?  Or does the
dts interrupt declaration belong to the interrupt-controller
declaration?  I noticed the mpc8xxx_gpio driver defined its own irq_chip
but I thought that may be because each gpio pin can trigger an
interrupt.  Do I need to define my own irq_chip structure for my device
even if I am using one of the hard irq lines?  

 

Regards,

Kenny


[-- Attachment #2: Type: text/html, Size: 2555 bytes --]

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

end of thread, other threads:[~2011-02-11 22:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-11 19:07 Question on setting up external interrupt for P1020 (MPC8xxx) with device tree Kenny Ho
2011-02-11 21:56 ` Scott Wood
2011-02-11 22:15   ` Kenny Ho
2011-02-11 22:19     ` Scott Wood

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