I have been trying to get understand the OMAP3530/ gpio/linux irq system.
I have been able to configure gpio_130 as an output, and gpio_131 as an input, also enabled the the IRQ for gpio_131 and set it to high level detect. I have then shorted gpio_130 to gpio_131 and when I set the gpio_130 high linux appears to hang; disconnect the the gpio pins and linux returns to operating normally.
I am assuming this is indicating that in fact I am generating an interrupt on gpio_131 and linux continuously trying to service the interrupt.
I have also written a very simple kernel module with an interrupt handler, and have tried to assign the IRQ for gpio_131. I also have a pritnk() in the handler to see if the handler is getting called. so far I have yet to see the printk().
I am not sure if I am requesting the correct IRQ for this gpio? Does anyone know how to assign/request the correct IRQ for the gpio interrupts?
Is there any way (maybe through /proc) to see which interrupt is firing?(if it hasn't been assigned)