[PATCH 1/2] gpio: add pin biasing and drive mode to gpiolib
Alan Cox
alan at lxorguk.ukuu.org.uk
Mon Apr 18 04:19:02 EDT 2011
> gpiolib handles input and output, high and low because that's all that could reasonably be expected to a) always work and b) be changed at run time in the driver.
Imagine if file systems only handled 8.3 filenames because that's all
that could reasonably be expected to a) always work !
> So in short - what's the use case? Which driver requires this?
>
Also your comment re simply in or out on or off is incorrect. Pins may
also be in use by firmware and the like and in a 'neither' state.
Something certain gpio people seem to be in denial over.
Alan
More information about the linux-arm-kernel
mailing list