[PATCH 11/11] i2c: omap: enhance pinctrl support
Linus Walleij
linus.walleij at linaro.org
Tue Jun 4 17:23:24 EST 2013
On Fri, May 31, 2013 at 8:07 PM, Kevin Hilman <khilman at linaro.org> wrote:
> But that brings up a bigger question about whether or not we should be
> doing the rest of this (idle/sleep) pin management in the drivers or in
> the driver core as well. I would much prefer it be handled by the
> driver core.
Yes. See my suggestion in 2/11.
> In fact, since these are all PM related events, it should probably be
> handled by the PM core and seems pretty straight forward to do so.
I can see a clean interface with three simple functions toward
<pinctrl/consumer.h> for switching between the default, idle and
sleep states, but you may see even further...
Yours,
Linus Walleij
More information about the devicetree-discuss
mailing list