Folks,
What else I need to do to enable an IRQ from edge events on GPIO 82? This input is working correctly (I can read it with gpio_get_value), but I can't register an interrupt to be called when its status changes.
To get a IRQ, I'm doing this within a Linux kernel module
irq_num = gpio_to_irq(82);
ret = request_irq(irq_num, (irq_handler_t) my_irq_handler,
IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING, "gpio82", NULL);
but it fails. It seems I need to enable it through the correct HW register. This GPIO doesn't appear in the table "ARM Interrupt Mux (ARM_INTMUX) Control Register Field Descriptions" (page 132 of the SPRUFG5A), so I think it's multiplexed somewhere else. How can I find it?
Thanks in advance.