Messages in this thread | | | Date | Wed, 6 Nov 2013 10:29:47 +0100 | Subject | Re: [PATCH 3/4] ARM: pinctrl: Add Broadcom Capri pinctrl driver | From | Linus Walleij <> |
| |
On Tue, Nov 5, 2013 at 1:04 AM, Stephen Warren <swarren@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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |