[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241213-gpio74-v1-2-fa2c089caf41@posteo.net>
Date: Fri, 13 Dec 2024 18:32:48 +0100
From: J. Neuschäfer via B4 Relay <devnull+j.ne.posteo.net@...nel.org>
To: Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <brgl@...ev.pl>, Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>, Maxime Ripard <mripard@...nel.org>
Cc: linux-gpio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
J. Neuschäfer <j.ne@...teo.net>
Subject: [PATCH 2/4] dt-bindings: gpio: fairchild,74hc595: Add latch-gpios
property
From: "J. Neuschäfer" <j.ne@...teo.net>
The Fairchild MM74HC595 and other compatible parts have a latch clock
input (also known as storage register clock input), which must be
clocked once in order to apply any value that was serially shifted in.
This patch adds a latch-gpios property to the binding to allow
specifying a GPIO that connects to the latch clock.
Signed-off-by: J. Neuschäfer <j.ne@...teo.net>
---
Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml b/Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml
index 629cf9b2ab8e4a63fbe17f56792a46d2066d40c3..38d473a3852154e53faec88dc911dc0a4f9cbd1f 100644
--- a/Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml
+++ b/Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml
@@ -34,6 +34,10 @@ properties:
description: GPIO connected to the OE (Output Enable) pin.
maxItems: 1
+ latch-gpios:
+ description: GPIO connected to the latch clock or storage register clock pin.
+ maxItems: 1
+
patternProperties:
"^(hog-[0-9]+|.+-hog(-[0-9]+)?)$":
type: object
--
2.45.2
Powered by blists - more mailing lists