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.

Linux/PROCESSOR-SDK-AM57X: Need examples or documentation on using GPIO interrupt for custom hardware

Part Number: PROCESSOR-SDK-AM57X

Tool/software: Linux

my SDK is: sdk-linux-am57xx-evm-03.00.00.04, however, I have downloaded and expect to move to the latest 3.02 very soon, so examples there would be fine.

I have custom hardware based on the am57xx-evm.

I am writing a kernel module that needs to receive 2 gpio interrupts.

I need a pointer to some documentation or an example that shows:

- how do I modify the device tree to enable the specific gpio interrupts I want to use.

- once the device tree is correct, how do I attach in interrupt handler to the specific gpio interrupts

- how do I control the interrupt enables for those two interrupts.