On Thu, Oct 20, 2011 at 5:42 PM, Mark Brown
<broo...@opensource.wolfsonmicro.com> wrote:
> 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:
http://upload.wikimedia.org/wikipedia/commons/c/c0/Tristate_buffer.svg

In which case:
PIN_CONFIG_DRIVE_PUSH_PULL
PIN_CONFIG_DRIVE_OFF
or PIN_CONFIG_BIAS_HIGH_IMPEDANCE

Is a config pair which most often correspond to
exactly what you're doing here, albeit with a different
terminology.

However, if it is an *analog* pin....
Then it's something else.

Yours,
Linus Walleij

_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to