GPIO: Add support for gpio pin interrupts.
authormmel <mmel@FreeBSD.org>
Thu, 28 Apr 2016 12:03:22 +0000 (12:03 +0000)
committermmel <mmel@FreeBSD.org>
Thu, 28 Apr 2016 12:03:22 +0000 (12:03 +0000)
commit1e1149563f886677c0347755d702a76c759ff77e
tree00380a7fe91fc930efff33bed8dd079eafcc6a3c
parent08fbecbeed728096b1370fb3015dfb832a6cecae
GPIO: Add support for gpio pin interrupts.
Add new function gpio_alloc_intr_resource(), which allows an allocation
of interrupt resource associated to given gpio pin. It also allows to
specify interrupt configuration.

Note: This functionality is dependent on INTRNG, and must be
implemented in each GPIO controller.
sys/dev/gpio/gpiobus.c
sys/dev/gpio/gpiobusvar.h
sys/kern/subr_intr.c
sys/sys/gpio.h
sys/sys/intr.h