AnsweredAssumed Answered

imx6 GPIO

Question asked by amonica on Jul 4, 2014
Latest reply on Jul 7, 2014 by igorpadykov

Hi,

     I wanted to configure the GPIO pin 9 on imx6 board as interrupt. I have added the following configurations

 

  ret = gpio_request((unsigned int)bridge.nGpio,"Interrupt");

  ret = gpio_direction_input((unsigned int)bridge.nGpio);

  ret = gpio_export((unsigned int)bridge.nGpio, 1);

  bridge.irq = gpio_to_irq((unsigned int)bridge.nGpio);

 

The interrupts keeps on coming on imx6 but even though my device does not generate any interrupt. Is anything else required to be added on my gpio config side.

 

Regards,

Amonica

Outcomes