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

From: Alan Cox
Date: Fri Apr 22 2011 - 07:55:37 EST


> > 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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/