]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Implement a new method to retrieve the gpiobus reference from a GPIO
authorLuiz Otavio O Souza <loos@FreeBSD.org>
Sat, 31 Jan 2015 15:50:19 +0000 (15:50 +0000)
committerLuiz Otavio O Souza <loos@FreeBSD.org>
Sat, 31 Jan 2015 15:50:19 +0000 (15:50 +0000)
commit2b8b8321e3141dd7fa92381bfbb7aa001d13e31b
tree70ef922ccb2006afeedd224700db1ae229ed14d2
parent484f578134f8f0e87706ad7e92445a8b208daa6d
Implement a new method to retrieve the gpiobus reference from a GPIO
controller.

The gpiobus is responsible to keep track of the used pins and serialize
the access to pins.

Some of these features are important to devices that do not descend
directly from gpiobus and as such cannot make use of its features (one
classic example is gpioc that is attached to the GPIO controller and could
not, until now, make use of the gpiobus locking).
sys/dev/gpio/gpio_if.m