freebsd-dev/sys/dev/gpio
Warner Losh 3dede9f354 Use ofw_bus_find_child_device_by_phandle to see if the child we're
adding already exists and if so just return that. The typical use case
is from identify routines, which shouldn't be adding multiple copies
of the same phandle_t to the gpiobus. Only one per phandle_t is needed
(or expected by the current code).

Differential Revision: https://reviews.freebsd.org/D2871
2015-06-20 04:48:53 +00:00
..
gpio_if.m Implement a new method to retrieve the gpiobus reference from a GPIO 2015-01-31 15:50:19 +00:00
gpiobus_if.m Add a new ioctl to allow the setting of GPIO pin names. 2015-03-08 00:47:50 +00:00
gpiobus.c Add a new ioctl to allow the setting of GPIO pin names. 2015-03-08 00:47:50 +00:00
gpiobusvar.h Add a new ioctl to allow the setting of GPIO pin names. 2015-03-08 00:47:50 +00:00
gpioc.c Add a new ioctl to allow the setting of GPIO pin names. 2015-03-08 00:47:50 +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 This implements default-state support as described in: 2015-05-24 07:45:42 +00:00
ofw_gpiobus.c Use ofw_bus_find_child_device_by_phandle to see if the child we're 2015-06-20 04:48:53 +00:00