[PATCH 3/4] ARM: pinctrl: Add Broadcom Capri pinctrl driver

Linus Walleij linus.walleij at linaro.org
Wed Nov 6 04:29:47 EST 2013


On Tue, Nov 5, 2013 at 1:04 AM, Stephen Warren <swarren at wwwdotorg.org> wrote:
> On 11/04/2013 04:26 PM, Heiko Stübner wrote:

> Pure Boolean values should be represented as a valueless property. If
> the property is present, the value is true, otherwise false.
>
> However, pinctrl bindings often don't represent Boolean values, but
> rather tri-states, with the following values:
>
> * Don't touch this configuration option at all (missing)
> * Enable the option (<1>)
> * Disable the option (<0>)

But in this case we actually have these booleans to specify
exactly what we want to do:

bias-disable            - disable any pin bias
bias-high-impedance     - high impedance mode ("third-state", "floating")
bias-bus-hold           - latch weakly
bias-pull-up            - pull up the pin
bias-pull-down          - pull down the pin
bias-pull-pin-default   - use pin-default pull state

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list