freebsd-skq/sys/dev/gpio
Luiz Otavio O Souza 628a40b5c4 Fix the gpio-specifier decoding by respecting the GPIO controller's
#gpio-cells property.

Add a new ofw_bus method (OFW_BUS_MAP_GPIOS()) that allows the GPIO
controller to implement its own mapping to deal with gpio-specifiers,
allowing the decoding of gpio-specifiers to be controller specific.

The default ofw_bus_map_gpios() decodes the linux standard (#gpio-cells =
<2>) and the FreeBSD standard (#gpio-cells = <3>).

It pass the gpio-specifier flag field to the children as an ivar variable so
they can act upon.
2014-04-27 12:11:00 +00:00
..
gpio_if.m
gpiobus_if.m
gpiobus.c Add an OFW GPIO compatible bus. This allows the use of the DTS files to 2014-02-13 17:08:29 +00:00
gpiobusvar.h Fix the gpio-specifier decoding by respecting the GPIO controller's 2014-04-27 12:11:00 +00:00
gpioc.c Remove extra semicolon which rendered condition useless 2012-04-02 00:11:26 +00:00
gpioiic.c Add OFW support to the in tree gpio compatible devices: gpioiic(4) and 2014-02-13 17:58:52 +00:00
gpioled.c Add OFW support to the in tree gpio compatible devices: gpioiic(4) and 2014-02-13 17:58:52 +00:00
ofw_gpiobus.c Fix the gpio-specifier decoding by respecting the GPIO controller's 2014-04-27 12:11:00 +00:00