oh icon indicating copy to clipboard operation
oh copied to clipboard

GPIO: Linux: Support IRQ_TYPE_EDGE_BOTH

Open olajep opened this issue 8 years ago • 0 comments

With this all Linux kernel interrupt API types are now supported by the driver.

Branch with full history here: https://github.com/parallella/parallella-linux/tree/oh-gpio

ChangeLog:

commit 084e854e045df6161228348f8b442ed90e57bb24 Author: Ola Jeppsson [email protected] Date: Sat May 7 19:45:43 2016 +0200

gpio: oh: Refactor oh_gpio_irq_handler

Add oh_gpio_irq_handler_for_each helper function to avoid code duplication.

commit 4559f5a3768dd436b921f6ee901ccbdf7646bb51 Author: Ola Jeppsson [email protected] Date: Sat May 7 18:33:59 2016 +0200

gpio: oh: Add support for IRQ_TYPE_EDGE_BOTH

Toggle IPOL based on the interrupt pin value for interrupt lines that are configured to be triggered on both the rising and falling edge.

Signed-off-by: Ola Jeppsson [email protected]

olajep avatar May 09 '16 07:05 olajep