Hi Vishnu,
In the next link I shared a code for GPIO interrupt in a kernel moduleIssue with configuring GPIO as an interrupt - i.MX6Q
If there are any other references in the device tree to the pin that you are using you must delete o comment out them.
I hope this helps.
Regards,
Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------