freebsd-dev/sys/dev/gpio
Luiz Otavio O Souza 138bf90953 Add basic interrupt management code to gpiobus and ofw_gpiobus.
This is the general support to allow the use of GPIO pins as interrupt
sources for direct gpiobus children.

The use of GPIO pins as generic interrupt sources (for an ethernet driver
for example) will only be possible when arm/intrng is complete.  Then, most
of this code will need to be rewritten, but it works for now, is better
than what we have and will allow further developments.

Tested on:	ar71xx (RSPRO), am335x (BBB), bcm2835 (Raspberry pi)
Differential Revision:	https://reviews.freebsd.org/D999
Reviewed by:	rpaulo
2014-11-18 01:38:39 +00:00
..
gpio_if.m Move gpiobus routines to dev/gpio. Avoid polluting ofw_bus with bus 2014-05-04 04:01:26 +00:00
gpiobus_if.m Fix the gpiobus locking by using a more sane model where it isn't necessary 2014-10-31 19:15:14 +00:00
gpiobus.c Add basic interrupt management code to gpiobus and ofw_gpiobus. 2014-11-18 01:38:39 +00:00
gpiobusvar.h Add basic interrupt management code to gpiobus and ofw_gpiobus. 2014-11-18 01:38:39 +00:00
gpioc.c Remove extra semicolon which rendered condition useless 2012-04-02 00:11:26 +00:00
gpioiic.c Fix the gpiobus locking by using a more sane model where it isn't necessary 2014-10-31 19:15:14 +00:00
gpioled.c Fix the build of non-FDT systems by moving the gpiobusvar.h header outside 2014-11-01 10:40:29 +00:00
ofw_gpiobus.c Add basic interrupt management code to gpiobus and ofw_gpiobus. 2014-11-18 01:38:39 +00:00