linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] devicetree: gpio: 74x164: optional enable-gpios
@ 2017-08-07 12:27 Peng Fan
  2017-08-07 12:27 ` [PATCH 2/2] gpio: 74x164: handling enable-gpios Peng Fan
  0 siblings, 1 reply; 5+ messages in thread
From: Peng Fan @ 2017-08-07 12:27 UTC (permalink / raw)
  To: linus.walleij, robh; +Cc: linux-gpio, devicetree, linux-kernel, Peng Fan

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@nxp.com>
Cc: Rob Herring <robh@kernel.org>
Cc: Linus Walleij <linus.walleij@linaro.org>
---
 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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-08-08  1:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-07 12:27 [PATCH 1/2] devicetree: gpio: 74x164: optional enable-gpios Peng Fan
2017-08-07 12:27 ` [PATCH 2/2] gpio: 74x164: handling enable-gpios Peng Fan
2017-08-07 12:36   ` Fabio Estevam
2017-08-07 12:40   ` Fabio Estevam
2017-08-08  1:15     ` Peng Fan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).