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.

LINUXSDK-OMAPL138: GPIO interrupt

Part Number: LINUXSDK-OMAPL138

Hi,

The customer registered GPIO interrupts. But only GPIO(GP7_14 GP7_11) cannot enter ISR when the signal level changed. Below is the related code:

for (i = 0; i < pData->auxKeyParam->gpioNum; i++)
{
ret = gpio_request(gpio, "aux_keypad");
if (ret)
{
printk(KERN_ERR "Request aux key gpio%d failed! ret = %d\n", gpio, ret);
return ret;
}

ret = gpio_direction_input(gpio);
}

ret = request_irq(gpio_to_irq(gpio), AuxiliaryKeyIsr,\
IRQF_DISABLED | IRQF_TRIGGER_RISING | IRQF_TRIGGER_FALLING,\
"auxiliaryKey", (void *)pKeypad);

cat /proc/interrupts  :

116: 6 GPIO auxiliaryKey

137: 0 GPIO matrixkeypad
140: 0 GPIO rotationKey
145: 0 GPIO auxiliaryKey
158: 0 GPIO matrixkeypad
161: 0 GPIO auxiliaryKey
167: 0 GPIO rotationKey
169: 0 GPIO matrixkeypad
224: 0 GPIO auxiliaryKey
227: 0 GPIO auxiliaryKey

These two pins are not used anywhere else and pinmux have already been configured, other GPIOs can be triggered normally except BANK7.