This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x GPIO interrupt and /proc/interrupts



Hi,

How to map GPIO interrupt to /proc/interrupts ?

Using the ioremap(), i have done memory map AM335x GPIO register and set GPIO1_26 as input interrupt,

register setting on GPIO1:

GPIO_IRQSTATUS_SET_0 |= 1 << 26; //enable interrupt on pin26

GPIO_IRQSTATUS_SET_1 |= 1 << 26; //enable interrupt on pin26

GPIO_OE |= 1 < 26 //set pin 26 as input

GPIO_RISINGDETECT |= 1 << 26; //enable IRQ on rising edge on pin 26

i use "cat  /proc/interrupts" command to view my interrupt, but nothing change on /proc/interrupts when trigger GPIO1_26, how i map my GPIO1_26 interrupt to /proc/interrupts file?

Thanks & Regards

Keldy