cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
sujay
Visitor
Visitor
129 Views
Registered: ‎10-28-2020

Kernel Module to handle axi gpio interrupt

I'm trying to configure an axi gpio as an interrupt pin but I'm unable to find resources on how to do it,

If its a regular gpio in sysfs we could just use the gpio_to_irq function, where we pass the gpio number as a parameter,

However for axi-gpio all I have is an address so how can I set this gpio as an interrupt?

I also have a uio pin which can be used from user space is there a way I can setup this uio pin to handle interrupts from kernel space?

 

0 Kudos
0 Replies