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.

OMAP-L137 Linux: How to enable and configure GPIO-interrupts ? (kernel v2.6.29-rc8-omap-l138-wakeup)

Other Parts Discussed in Thread: ADS7846

Hello,

i try to enable an ads7846 touchcontroller for an OMAP l137 on an EVM-Board extension.
Therefor i have to have a gpio pin for an interrupt line.
I am using the v2.6.29-rc8-omap-l138-wakeup kernel from arago-project.org .

I try to use GPIO3_9 for the interrupt line, and i extended the MUX settings to
program the pin for gpio. ( davinci_cfg_reg(DA830_GPIO3_9); )

I have problems to enable the interrupt for this gpio.

Can anybody tell me how to enable and configure the interrupt for gpio`s on the OMAPl137 in (that) linux kernel?

Thank you very much!

Bastian.

  • This isn't an answer, but more like a pointer in the right direction? The ARM9 Interrupt controller is called "AINTC". You will find reference to it in the OMAPL137 data sheet. If you search your Kernel build area for files containing "AINTC", you will find some that will point you in the right direction. If nothing else, reading up on mapping gpio to an interrupt based on the documentation for AINTC will give you all the info you need to create your own driver or to extend an existing driver.

    You might also check with your Linux forum for Linux pointers.