lkml.org 
[lkml]   [2022]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 2/2] dt-bindings: gpio: fairchild,74hc595: add strobe-gpios property
Date
Some shift registers (74hc4094 for example) has a strobe signal to latch
data from the serial input to the parallel output.

Add an optional strobe-gpios property to support those chips.

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
---
.../devicetree/bindings/gpio/fairchild,74hc595.yaml | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml b/Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml
index a99e7842ca17..9893df9ae22c 100644
--- a/Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml
+++ b/Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml
@@ -14,6 +14,8 @@ properties:
enum:
- fairchild,74hc595
- nxp,74lvc594
+ - ti,cd54hc4094
+ - ti,cd74hc4094

reg:
maxItems: 1
@@ -33,6 +35,10 @@ properties:
description: GPIO connected to the OE (Output Enable) pin.
maxItems: 1

+ strobe-gpios:
+ description: GPIO connected to the STROBE pin
+ maxItems: 1
+
spi-max-frequency: true

patternProperties:
--
2.36.1
\
 
 \ /
  Last update: 2022-07-21 11:32    [W:0.110 / U:0.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site