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.

omapl138 GPIO中断无法触发问题

注册了一些GPIO中断,同样的配置和操作方式,中断都显示注册成功,在GPIO电平发生变化时响应,其他bank的GPIO都能正常触发,唯独bank7的GPIO(GP7_14 GP7_11)中断始终都无法进入,用示波器量电平明明是有很明显的高低变化,请问这可能是什么原因导致的??我可以怎么查这个问题?谢谢!

之前问过没有解决,e2echina.ti.com/.../542571

部分代码如下:

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