Jeegar Patel
Jeegar Patel

Reputation: 27230

interrupt in linux kernel

I have taken one gpio of my omap4 based custom board as input gpio. When I connect any external h/w on any port then input gpio gets pull down and I get interrupt on that gpio.

Now when I run Linux kernel 2.6 its working fine and gets interrupt on that gpio but when I use Linux kernel 3.0, its not creating interrupt on that gpio. The value of that gpio doesn't change and interrupt handler is not called.

So is there any difference in power level setting for creating interrupt in Linux kernel?

Upvotes: 4

Views: 772

Answers (1)

TheCodeArtist
TheCodeArtist

Reputation: 22507

As mentioned in the comments, the issue was resolved by correctly specifying the pull-up on the pin.

One more thing to consider usually is the "pin-mux" i.e. one would need to verify that the pin in question is configured as a GPIO and not some other functionality.

A detailed description of the pin configuration,
specifically for OMAP4 (mux, pull, wake-up), is available here.

Upvotes: 1

Related Questions