Skip to contentSkip to conversation

gpio interrupt support

DISCUSSION Brian Swetland 2 participants 2 messages Dec 29, 2005

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 6 lines · Brian Swetland

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.