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

Russell King - ARM Linux linux at arm.linux.org.uk
Wed Apr 27 17:58:46 EDT 2011


On Wed, Apr 20, 2011 at 04:43:15PM +0100, Alan Cox wrote:
> > Then of course the GPIO driver can in turn call the padmux
> > subsystem to request its pins or fail/bail out if they are taken.
> 
> Yes that makes a lot more sense. It preserves the abstraction in the
> simple cases but handles the complex stuff right.

If one GPIO can be routed to multiple pads, it is not possible for
the GPIO driver to request the padmux code to route the GPIO to the
outside world - the GPIO layer doesn't have the information to tell
the padmux code which pad to route the GPIO to.



More information about the linux-arm-kernel mailing list