Re: [RFC 1/3] pinctrl: add a driver for NVIDIA Tegra

From: Tony Lindgren
Date: Sun Dec 11 2011 - 14:36:29 EST


* Linus Walleij <linus.walleij@xxxxxxxxxx> [111209 15:17]:
> On Fri, Dec 9, 2011 at 6:07 PM, Tony Lindgren <tony@xxxxxxxxxxx> wrote:
>
> > - We currently have hard time supporting pin groups with pins
> > Âcoming from multiple pinmux driver instances
>
> Pin groups are per definiton per-controller inctance. That is a
> given side effect of not having a global pin space.
>
> But you can create two groups of the same name on two
> pin controllers so that e.g. pinctrl.0 and pinctrl.1 have
> a group named "foo", then map both to a certain device
> in the board pinmux map.
>
> You will have to request them individually however, like
> with two hogs or two pinmux_get() calls specifying the
> name of each map, else you will just get the first one.
>
> Not that I've tried it, but that's how it's supposed to work...

Yes a little bit of trickery is needed there, I'll look into
it more as we already have two controller instances on omap4.

Regards,

Tony
--
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/