linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* GPIO interrupts on mpc8313e
@ 2007-08-01 11:45 Yoni Levin
  2007-08-01 16:26 ` Florian A. Voegel
  2007-08-01 18:36 ` Scott Wood
  0 siblings, 2 replies; 8+ messages in thread
From: Yoni Levin @ 2007-08-01 11:45 UTC (permalink / raw)
  To: linuxppc-embedded

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

 

I want to receive interrupt from 1 GPIO port (for example 14)

I changed the GPIMR to 0xffffffff (so I need to get interrupts from all GPIO
ports)

And then request the irq by :

irq_create_mapping(NULL,74);

request_irq(74,handler,IRQF_DISABLED,"GPIO",NULL);

the return value is 0 (OK)

but I cant receive any interrupt.

do I need to do something else?

 

 


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

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

end of thread, other threads:[~2007-08-02 15:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-01 11:45 GPIO interrupts on mpc8313e Yoni Levin
2007-08-01 16:26 ` Florian A. Voegel
2007-08-01 18:36 ` Scott Wood
2007-08-02  6:11   ` Domen Puncer
2007-08-02  8:37   ` Yoni Levin
2007-08-02 15:18     ` Scott Wood
2007-08-02 15:38       ` Yoni Levin
2007-08-02 15:40         ` 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).