mirror of
https://github.com/opnsense/src.git
synced 2026-04-06 09:55:24 -04:00
#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. |
||
|---|---|---|
| .. | ||
| gpio_if.m | ||
| gpiobus.c | ||
| gpiobus_if.m | ||
| gpiobusvar.h | ||
| gpioc.c | ||
| gpioiic.c | ||
| gpioled.c | ||
| ofw_gpiobus.c | ||