linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Interrupts on GPIO
@ 2009-03-30 15:57 Yann Pelletier
  2009-03-30 16:32 ` Grant Likely
  0 siblings, 1 reply; 4+ messages in thread
From: Yann Pelletier @ 2009-03-30 15:57 UTC (permalink / raw)
  To: linuxppc-dev@ozlabs.org


Hi,=20
I'd like to add supports for interrupts handling from GPIO controller.  Som=
e of these interrupts are from I2C devices and some others are from SPI dev=
ices.

What is the best approach to enable interrupts handling for those devices t=
hrough GPIO.

Note that I'm developing on a custom board based on mpc8313_rdb using linux=
 2.6.28.5


Also,=20

# cat /proc/interrupts
           CPU0      =20
 16:         60   IPIC   Level     serial
 17:          0   IPIC   Level     fpga
 18:          4   IPIC   Level     mpc83xx_spi
 21:          0   IPIC   Level     i2c-mpc
 22:          7   IPIC   Level     i2c-mpc

According to my platform device tree, serial irq should be on int9, SPI on =
int16 and i2c on int14,15.  This causes me some problems as I need int18 to=
 map to external IRQ2.

Thanks for support.

Yann

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

end of thread, other threads:[~2009-03-31 21:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.3884.1238431353.26545.linuxppc-dev@ozlabs.org>
2009-03-31 20:59 ` Interrupts on GPIO Yann Pelletier
2009-03-31 21:38   ` Grant Likely
2009-03-30 15:57 Yann Pelletier
2009-03-30 16:32 ` Grant Likely

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