[PATCH 1/2] gpio: add pin biasing and drive mode to gpiolib

Alan Cox alan at lxorguk.ukuu.org.uk
Fri Apr 22 07:56:24 EDT 2011


> > There's a couple of things I added on top of what you already seem to have:
> > - in include/linux/of_gpio.h the of_gpio_flags were extended to
> > support open-drain in device-trees.
> 
> Device tree support can very well be handled as an add-on I believe,
> please feel free to do that on top of my patch set :-)

In fact the op code stuff seems to fit very well with device tree as
device tree can now simply attach a list of property/value pairs to an
arbitary GPIO to be fed to it on setup/shutdown/whatever




More information about the linux-arm-kernel mailing list