summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@nxp.com>2017-08-07 09:41:50 -0300
committerLinus Walleij <linus.walleij@linaro.org>2017-08-14 16:24:02 +0200
commit7ebc194d0fd4bb0fc8c7aca4b500b5b24e733267 (patch)
treeaf692d51b340c436bb39432618a21b977c29d983 /Documentation
parentee949b51e4165107fe4d9ed18c23829119078722 (diff)
downloadlinux-7ebc194d0fd4bb0fc8c7aca4b500b5b24e733267.tar.gz
linux-7ebc194d0fd4bb0fc8c7aca4b500b5b24e733267.tar.bz2
linux-7ebc194d0fd4bb0fc8c7aca4b500b5b24e733267.zip
gpio: 74x164: Introduce 'enable-gpios' property
74HC595 has an /OE (output enable) pin that can be controlled by a GPIO. Introduce an optional property called 'enable-gpios' that allows controlling the /OE pin. Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/gpio/gpio-74x164.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpio/gpio-74x164.txt b/Documentation/devicetree/bindings/gpio/gpio-74x164.txt
index ce1b2231bf5d..2a97553d8d76 100644
--- a/Documentation/devicetree/bindings/gpio/gpio-74x164.txt
+++ b/Documentation/devicetree/bindings/gpio/gpio-74x164.txt
@@ -12,6 +12,9 @@ Required properties:
1 = active low
- registers-number: Number of daisy-chained shift registers
+Optional properties:
+- enable-gpios: GPIO connected to the OE (Output Enable) pin.
+
Example:
gpio5: gpio5@0 {