Messages in this thread | | | Date | Wed, 6 Jun 2012 23:47:10 +0200 | Subject | Re: [PATCH] pinctrl: add a pinctrl_mux_group_selected() function | From | Linus Walleij <> |
| |
On Tue, Jun 5, 2012 at 6:07 PM, Stephen Warren <swarren@wwwdotorg.org> wrote:
> Well, you can't really have different "default" modes - "default" should > be used when there truly is a single state that the device/driver just > wants to get programmed. When the device/driver itself can support > multiple different configurations, "default" isn't the right answer if > the driver needs to derive information from the selected pinctrl state; > there should be different pinctrl states for each possible configuration.
This is true...
> It's quite unlikely you'd ever want to switch between different states > at runtime, or program the HW to be anything other than what the board > supports, right?
I think so too, but I'm not sure if I once heard an argument to the contrary. Anyway, let's assume so.
Yours, Linus Walleij
| |