Posts: 1
Joined: Sun Jun 16, 2019 9:28 am

Interrupt number for uart-pl011

Sun Jun 16, 2019 9:52 am

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

Return to “Raspberry Pi OS”