Re: pinctrl_config APIs, and other pinmux questions

From: Linus Walleij
Date: Mon Oct 17 2011 - 11:11:39 EST


On Fri, Oct 14, 2011 at 4:59 PM, Shawn Guo <shawn.guo@xxxxxxxxxxxxx> wrote:
> [Stephen]
>> I've started to look at porting the Tegra pinmux driver to your pinctrl
>> subsystem. In order to replace the existing pinmux driver, I need a way
>> to support configuring options such as tri-state, pull-up/down, drive-
>> strength, etc.
>>
> I'm also concerned about this.  The current pinctrl subsystem only
> implements pinmux.  Before pin/pad configuration (pincfg) support is
> available, I can not really convert imx iomuxc driver (iomux-v3) over
> to use the subsystem.

I have the same problem for drivers/gpio/gpio-nomadik. which
does all weird kind of stuff. So you're not alone.

The reason why this is not in the subsystem as of today is that
we cannot push hundreds of kilobytes of upfront design with no drivers
using it, the current patch set in for-next is big enough as it is right
now.
http://en.wikipedia.org/wiki/Big_Design_Up_Front

But we can start thinking about the next step, so lets design the
generic pin control stuff we need and merge it to -next early so
we can work on it next kernel cycle.

Yours,
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/