I am using IMX8M-Mini controller on Linux platform. In my driver code GPIO is acting as interrupt to handle button press event.
But now i want to prioritize the interrupts for each button.
How to achieve this?
Hi,
Any updates?
pls check if your dts settings is correct or not, also double check the IOMUX settings, you can refer to the document as below
"https://www.emcraft.com/som/vf6/controlling-gpio-from-linux"
you also can find the example how to test gpio
Hi,
Can you tell me how to give priority to the GPIO using as an interrupts.
As per my understanding every GPIO can be configured as interrupt As they have separate IRQ numbers assigned.
So is there any way to prioritize them?
yes, GPIO can be configured as interrupt, if you refer to the patch I sent to you
you can find "interrupts" which is defined in the dts file, tell you how to set it proper
But now i want to prioritize the interrupts for each button.
>do you mind sharing more detailed information for this use case? do you mind sharing your code to show your use case? and what bsp version do you use?