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

From: Mark Brown
Date: Mon Apr 18 2011 - 07:59:41 EST


On Mon, Apr 18, 2011 at 06:50:12PM +1000, Ben Nizette wrote:

Please fix your MUA to word wrap within paragraphs; I've reflowed your
text for legibility.

> Still my question stands, where is the driver ever better placed to
> make these calls than the board code?

Even if it ends up being the board code using these APIs it seems
sensible to have a standard API that GPIO drivers can use to expose the
functionality. This will help with getting control into code Linux owns
(since people don't have to implement custom APIs) and will mean we can
do things like add control of this for device tree based boards.
--
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/