[PATCH 1/2] devicetree: gpio: 74x164: optional enable-gpios

From: Peng Fan
Date: Mon Aug 07 2017 - 08:27:51 EST


There is an OE(low active) input pin for 74hc595 and 74lv595.
To some boards, the OE pin is controlled by GPIO, so add an
optional property "enable-gpios".

Signed-off-by: Peng Fan <peng.fan@xxxxxxx>
Cc: Rob Herring <robh@xxxxxxxxxx>
Cc: Linus Walleij <linus.walleij@xxxxxxxxxx>
---
Documentation/devicetree/bindings/gpio/gpio-74x164.txt | 3 +++
1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/gpio/gpio-74x164.txt b/Documentation/devicetree/bindings/gpio/gpio-74x164.txt
index ce1b223..c878834 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: Specifier of the GPIO connected to OE pin
+
Example:

gpio5: gpio5@0 {
--
2.6.6