[PATCH] pinctrl: document the pinctrl PM states
Linus Walleij
linus.walleij at linaro.org
Mon Jun 17 12:05:18 EDT 2013
On Mon, Jun 17, 2013 at 9:20 AM, Tony Lindgren <tony at atomide.com> wrote:
> First, I think the concept of remuxing (or even checking) _all_ the pins
> for a consumer device is wrong on most if not all hardware. For past 10
> years I have not seen a case where _all_ the pins for a device would need
> to be remuxed for any reason.
We may be talking past each other here. On the ux500 we use a lot
of runtime pincontrol, but none of this is *remuxing*.
We are only *reconfiguring*.
Now I know that Haojian only recently added pin config to the
pinctrl-single.c driver so maybe you have mostly seen muxing
in your driver so far, so you view of the world is a bit different.
On the Nomadik pin controller we do mostly hogged muxing
at boot time, but a lot of runtime reconfiguration. So our
needs are very different.
Bear in mind that struct pinctl * forks effects in two paths,
one is muxing the other is config, like pull-ups etc.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list