Re: [PATCH] [RFC] pinctrl: add a driver for Energy Micro's efm32 SoCs
From: Uwe Kleine-König
Date: Mon Dec 12 2011 - 10:29:28 EST
On Mon, Dec 12, 2011 at 03:37:50PM +0100, Sascha Hauer wrote:
> On Sat, Dec 10, 2011 at 01:18:43AM +0100, Linus Walleij wrote:
> > On Fri, Dec 9, 2011 at 12:08 PM, Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> wrote:
> >
> > > I still think it should be "I'm board Y, please set all my pins up for me"
> >
> > This is basically what the current pinmux hog concept does.
> >
> > > Drivers should not be bothered with pin muxing *at all*.
> >
> > Not if they are simple. Like - set them up once and for all and
> > then forget about it.
> >
> > It gets problematic when we get to sleep states and the system
> > need to reconfigure all pins on say idle or deep sleep.
>
> If you need to reconfigure your pins in deep sleep and you control
> the pins in the driver this seems to suggest that your device won't
> suspend properly if the driver is not loaded?
If the pins have to be inactive (for some definition of inactive) for
sleep it should work well without the driver loaded, shouldn't it?
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
--
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/