freebsd-skq/sys/dev/ofw
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
..
ofw_bus_if.m Fix the gpio-specifier decoding by respecting the GPIO controller's 2014-04-27 12:11:00 +00:00
ofw_bus_subr.c Add a set of helpers (ofw_bus_get_status() and ofw_bus_status_okay()) to 2014-02-02 16:41:54 +00:00
ofw_bus_subr.h Add a set of helpers (ofw_bus_get_status() and ofw_bus_status_okay()) to 2014-02-02 16:41:54 +00:00
ofw_bus.h Fix the gpio-specifier decoding by respecting the GPIO controller's 2014-04-27 12:11:00 +00:00
ofw_console.c Avoid warning about insecure format with clang. 2013-12-14 22:28:32 +00:00
ofw_disk.c
ofw_fdt.c Return the correct IEEE 1275 code for "nextprop". 2013-12-10 21:01:28 +00:00
ofw_if.m
ofw_iicbus.c Allow the use of OFW I2C bus together with iicbb(4) on OFW-based systems. 2014-02-13 18:22:49 +00:00
ofw_pci.h
ofw_standard.c
ofwbus.c Move Open Firmware device root on PowerPC, ARM, and MIPS systems to 2014-02-05 14:44:22 +00:00
ofwvar.h
openfirm.c Make all Open Firmware internal interfaces endian-safe by using the new 2013-10-23 13:55:41 +00:00
openfirm.h A few other common cases for encode-int decoding: OF_getencprop_alloc() 2013-10-22 21:20:05 +00:00
openfirmio.c
openfirmio.h
openpromio.c
openpromio.h