[PATCH] arm: ixp4xx, u300: Select ARCH_REQUIRE_GPIOLIB, not GENERIC_GPIO
Linus Walleij
linus.walleij at linaro.org
Mon Sep 5 08:41:30 EDT 2011
On Mon, Sep 5, 2011 at 5:12 AM, Ben Hutchings <ben at decadent.org.uk> wrote:
> @@ -830,7 +830,7 @@ config ARCH_U300
> select GENERIC_CLOCKEVENTS
> select CLKDEV_LOOKUP
> select HAVE_MACH_CLKDEV
> - select GENERIC_GPIO
> + select ARCH_REQUIRE_GPIOLIB
> help
> Support for ST-Ericsson U300 series mobile platforms.
Please don't do that, it really is no gpiolib implementation.
In the archives you can find patches I already submitted switching
the U300 GPIO over to use gpiolib.
However it fell to the ground due to the shortage of a mechanism
in gpiolib to configure pin bias. I could try to hack around it but
it would still be a hack :-(
I sent several patches trying to adress that issue, none have been
accepted.
So instead I venture into inventing the pin control subsystem which
is intended to handle complex controllers like these. It is at
version 7 right now.
Thanks,
Linus Walleij
More information about the linux-arm-kernel
mailing list