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:需要有关将 GPIO 中断用于定制硬件的示例或文档

Guru**** 2005515 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/568393/linux-processor-sdk-am57x-need-examples-or-documentation-on-using-gpio-interrupt-for-custom-hardware

器件型号:PROCESSOR-SDK-AM57X

工具/软件:Linux

我的 SDK 为:SDK-Linux-am57xx-EVM-03.00.04、但是我已经下载并预计很快会迁移到最新的3.02、因此示例将会很好。

我有基于 am57xx-EVM 的定制硬件。

我正在编写一个需要接收2个 GPIO 中断的内核模块。

我需要一个指向某些文档的指针或一个示例、其中显示:

-如何修改设备树以启用要使用的特定 GPIO 中断。

-一旦器件树正确、如何将中断处理程序连接到特定的 GPIO 中断

如何控制这两个中断的中断使能。