Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPIO: Linux: Support IRQ_TYPE_EDGE_BOTH #79

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

olajep
Copy link
Contributor

@olajep olajep commented May 9, 2016

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]

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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant