Page 1 of 1

Interrupt number for uart-pl011

Posted: Sun Jun 16, 2019 9:52 am
by galileo53
I have written a kernel module that uses the uart-pl011 of the rasperry pi.
Prior to Raspbian version 4.19.42-v7, the interrupt number for the uart was 87.
With version 4.19.42-v7, the interrupt number has changed to 81, so my kernel module did not work any more.
The only way I found to get the information about the interrupt assignment, is to manually type "cat /proc/interrupts".
My question: is there any way to get this information "what interrupt is assigned to uart-pl011" automatically within the program.
Thanks for any hint