loos fc17b60932 MFC r265012, r265191, r265289, r265310
r265012:
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.

r265191:
Remove unnecessary headers.  Sort out the headers.  Add a missing header on
ofw_gpiobus.c (it was working because of sys/libkern.h).

r265289:
eally sort out the headers.

sys/systm.h must always come after sys/param.h.

Remove sys/types.h which should never be included together with sys/param.h.

Add sys/malloc.h for correctness even if it seems to don't be needed.

Remove more unused headers found by unusedinc (from bde@).

r265310:
Move gpiobus routines to dev/gpio.  Avoid polluting ofw_bus with bus
specific parts.
2014-05-15 15:15:23 +00:00
..
2014-05-07 20:28:27 +00:00
2014-05-08 07:13:22 +00:00
2014-05-15 12:39:28 +00:00
2014-03-26 16:59:28 +00:00
2013-11-26 08:46:39 +00:00
2014-04-07 01:49:30 +00:00
2014-05-10 07:53:36 +00:00
2014-05-14 15:35:01 +00:00
2014-05-07 20:28:27 +00:00
2014-05-07 20:28:27 +00:00
2013-09-29 15:19:34 +00:00
2014-05-08 21:03:31 +00:00
2014-02-17 01:36:53 +00:00
2014-04-23 11:22:54 +00:00
2014-05-02 21:30:59 +00:00
2013-12-30 21:17:20 +00:00
2014-05-08 11:59:23 +00:00
2014-03-26 23:57:09 +00:00
2014-02-04 03:36:42 +00:00
2014-04-14 04:51:59 +00:00
2014-02-07 04:02:14 +00:00
2014-03-31 02:24:29 +00:00
2014-04-15 07:54:17 +00:00
2014-05-13 05:26:43 +00:00
2013-10-18 17:08:23 +00:00