* gpio interrupt support
@ 2005-12-29 21:25 Brian Swetland
2005-12-29 21:41 ` Paul Mundt
0 siblings, 1 reply; 3+ messages in thread
From: Brian Swetland @ 2005-12-29 21:25 UTC (permalink / raw)
To: linux-omap-open-source
I need to handle interrupts from omap gpios... it looks like there's
code for (most of?) this in plat-omap/gpio.c, but the interrupt related
functions are static and not exported. Is this functionality incomplete
or is there some other way to register gpio interrupt handlers that I'm
overlooking?
Thanks,
Brian
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: gpio interrupt support
2005-12-29 21:25 gpio interrupt support Brian Swetland
@ 2005-12-29 21:41 ` Paul Mundt
0 siblings, 0 replies; 3+ messages in thread
From: Paul Mundt @ 2005-12-29 21:41 UTC (permalink / raw)
To: Brian Swetland; +Cc: linux-omap-open-source
On Thu, Dec 29, 2005 at 01:25:06PM -0800, Brian Swetland wrote:
> I need to handle interrupts from omap gpios... it looks like there's
> code for (most of?) this in plat-omap/gpio.c, but the interrupt related
> functions are static and not exported. Is this functionality incomplete
> or is there some other way to register gpio interrupt handlers that I'm
> overlooking?
>
Sounds like OMAP_GPIO_IRQ() is probably what you are after. Look at
plat-omap/gpio-switch.c as an example.
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: gpio interrupt support
@ 2005-12-29 22:04 Zhang, Jian
0 siblings, 0 replies; 3+ messages in thread
From: Zhang, Jian @ 2005-12-29 22:04 UTC (permalink / raw)
To: Brian Swetland, linux-omap-open-source
gpio.c extends the system IRQs by the number of OMAP GPIO pins. You use
request_irq() to subscribe a GPIO IRQ. See Ethernet driver for details.
Regards,
Jian
-----Original Message-----
From: linux-omap-open-source-bounces+jzhang=ti.com@linux.omap.com
[mailto:linux-omap-open-source-bounces+jzhang=ti.com@linux.omap.com] On
Behalf Of Brian Swetland
Sent: Thursday, December 29, 2005 3:25 PM
To: linux-omap-open-source@linux.omap.com
Subject: gpio interrupt support
I need to handle interrupts from omap gpios... it looks like there's
code for (most of?) this in plat-omap/gpio.c, but the interrupt related
functions are static and not exported. Is this functionality incomplete
or is there some other way to register gpio interrupt handlers that I'm
overlooking?
Thanks,
Brian
_______________________________________________
Linux-omap-open-source mailing list
Linux-omap-open-source@linux.omap.com
http://linux.omap.com/mailman/listinfo/linux-omap-open-source
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-12-29 22:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-29 21:25 gpio interrupt support Brian Swetland
2005-12-29 21:41 ` Paul Mundt
-- strict thread matches above, loose matches on Subject: below --
2005-12-29 22:04 Zhang, Jian
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox