freebsd-dev/sys/dev/gpio
Luiz Otavio O Souza e8da3e8aaf Add ofw_gpiobus_parse_gpios(), a new public function, to parse the gpios
property for devices that doesn't descend directly from gpiobus.

The parser supports multiple pins, different GPIO controllers and can use
arbitrary names for the property (to match the many linux variants:
cd-gpios, power-gpios, wp-gpios, etc.).

Pass the driver name on ofw_gpiobus_add_fdt_child().  Update gpioled to
match.

An usage example of ofw_gpiobus_parse_gpios() will follow soon.
2015-02-28 21:01:01 +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 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 Rename and move gpiobus_alloc_ivars() and gpiobus_free_ivars() so they can 2015-02-28 20:02:41 +00:00
gpiobusvar.h Add ofw_gpiobus_parse_gpios(), a new public function, to parse the gpios 2015-02-28 21:01:01 +00:00
gpioc.c Moves all the duplicate code to a single function. 2014-11-18 17:22:08 +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 Add ofw_gpiobus_parse_gpios(), a new public function, to parse the gpios 2015-02-28 21:01:01 +00:00
ofw_gpiobus.c Add ofw_gpiobus_parse_gpios(), a new public function, to parse the gpios 2015-02-28 21:01:01 +00:00