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

From: Linus Walleij
Date: Wed Apr 20 2011 - 08:21:57 EST


2011/4/19 Ben Nizette <bn@xxxxxxxxxxxxxxx>:
> On 18/04/2011, at 10:26 PM, Alan Cox wrote:
>
>> The logical extension to that is to delete the gpio layer because the
>> board code can do it ?
>
> Well anything that is done once at startup, yes,

This patch is about biasing and drive modes. We need to alter
these at runtime (from board code, indeed) due to the fact that
when you go to sleep e.g. floating a pin yeilds better power
characteristics.

Linus Walleij
--
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/