]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a GPIO driver for the Gateworks Cambria platform.
authorthompsa <thompsa@FreeBSD.org>
Thu, 11 Nov 2010 20:18:33 +0000 (20:18 +0000)
committerthompsa <thompsa@FreeBSD.org>
Thu, 11 Nov 2010 20:18:33 +0000 (20:18 +0000)
commitc08375b9a103f50bb13e44df0adf57a6a504e01a
treebebdcfda44da8f10d45016143d5d26b87f3aa465
parent56b80da7cac820e4575a4eca93a1c13c386ccec5
Add a GPIO driver for the Gateworks Cambria platform.

The external gpio pins are connected to a PLD on the i2c bus, unfortunatley
this device does not conform by failing to send an ack after each byte written.
The iicbb driver will abort the transfer when the address is not ack'd and it
would introduce a lot of churn to be able to pass a flag down to
iicbb_start/iicbb_write. Instead we do bad things by grabbing the iicbus but
then doing our own bit banging.
sys/arm/conf/CAMBRIA
sys/arm/conf/CAMBRIA.hints
sys/arm/xscale/ixp425/cambria_gpio.c [new file with mode: 0644]
sys/arm/xscale/ixp425/files.avila
sys/dev/gpio/gpiobus.c
sys/dev/gpio/gpioc.c