OSDN Git Service

pinctrl: generic: Add bi-directional and output-enable
authorJacopo Mondi <jacopo+renesas@jmondi.org>
Wed, 5 Apr 2017 14:07:19 +0000 (16:07 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 11 Apr 2017 09:01:33 +0000 (11:01 +0200)
commit8c58f1a7a4b6d1d723bf25fef9d842d5a11200d0
treeb94b6f5bf4151471067a9acf264e6e4b0e6f3441
parent03ffb507c8c4998fa85d3efae70cb18085457263
pinctrl: generic: Add bi-directional and output-enable

Add bi-directional and output-enable pin configuration properties.

bi-directional allows to specify when a pin shall operate in input and
output mode at the same time. This is particularly useful in platforms
where input and output buffers have to be manually enabled.

output-enable is just syntactic sugar to specify that a pin shall
operate in output mode, ignoring the provided argument.
This pairs with input-enable pin configuration option.

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
drivers/pinctrl/pinconf-generic.c
include/linux/pinctrl/pinconf-generic.h