freebsd-dev/sys/dev/gpio
Ian Lepore 56ad49b260 Rewrite gpioiic(4) to use the gpio_pin_* API, and to conform to the modern
FDT bindings document for gpio-i2c devices.

Using the gpio_pin_* functions to acquire/release/manipulate gpio pins
removes the constraint that both gpio pins must belong to the same gpio
controller/bank, and that the gpioiic instance must be a child of gpiobus.
Removing those constraints allows the driver to be fully compatible with
the modern dts bindings for a gpio bitbanged i2c bus.

For hinted attachment, the two gpio pins still must be on the same gpiobus,
and the device instance must be a child of that bus.  This preserves
compatibility for existing installations that have use gpioiic(4) with hints.
2019-12-01 23:05:20 +00:00
..
dwgpio o Add support for multi-port instances of Synopsys DesignWare APB GPIO 2019-09-04 15:37:24 +00:00
bytgpio.c
chvgpio_reg.h
chvgpio.c
gpio_if.m
gpiobacklight.c
gpiobus_if.m
gpiobus.c Move most of the gpio_pin_* functions from ofw_gpiobus.c to gpiobus.c so 2019-12-01 21:27:09 +00:00
gpiobusvar.h Move most of the gpio_pin_* functions from ofw_gpiobus.c to gpiobus.c so 2019-12-01 21:27:09 +00:00
gpioc.c
gpioiic.c Rewrite gpioiic(4) to use the gpio_pin_* API, and to conform to the modern 2019-12-01 23:05:20 +00:00
gpiokeys_codes.c
gpiokeys.c Remove more needless <sys/tty.h> includes 2019-12-01 20:43:37 +00:00
gpiokeys.h
gpioled_fdt.c
gpioled.c
gpiopower.c
gpiopps.c Add PNP_INFO to the gpiopps driver. 2019-08-13 15:38:05 +00:00
gpioregulator.c Zero the GPIO regulator pins memory. 2019-06-06 20:54:09 +00:00
gpiospi.c
gpioths.c
ofw_gpiobus.c Move most of the gpio_pin_* functions from ofw_gpiobus.c to gpiobus.c so 2019-12-01 21:27:09 +00:00