Re: [PATCH 2/2] pinctrl: add a generic control interface

From: Mark Brown
Date: Fri Oct 21 2011 - 08:30:44 EST


On Fri, Oct 21, 2011 at 02:28:25PM +0200, Linus Walleij wrote:
> On Thu, Oct 20, 2011 at 5:42 PM, Mark Brown
> > On Thu, Oct 20, 2011 at 04:43:30PM +0200, Linus Walleij wrote:

> >> In Ux500 we model our power domain switches as regulators,
> >> does such a property even belong in pin control? Is there
> >> one power domain switch per pin you mean, or a power switch
> >> for a whole group of pins?

> > This isn't an on/off control and in this cae it's per pin.

> If this is a binary output pin, I suspect that
> I suspect that what you call "off" is actually implemeted as
> in this figure:

To repeat once more: this is *not* an on/off control, this is a control
selecting the voltage domain a pin is referenced to.

> http://upload.wikimedia.org/wikipedia/commons/c/c0/Tristate_buffer.svg

No, this is completely orthogonal to voltage domain selection.
--
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/