aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonard Göhrs <[email protected]>2023-06-07 13:55:02 +0200
committerBartosz Golaszewski <[email protected]>2023-06-13 16:54:14 +0200
commitae128bb36d23e4e95c52e5254c3b4cf408c54433 (patch)
tree3fe82ed86a40dc09c59224f2920fa16a1819259f
parent7d0b80647f73a170dd20d18fbf01de0f770ed7c8 (diff)
dt-bindings: gpio: pca9570: add gpio-line-names property
This patch allows giving each of the controller's pins a meaningful name. Signed-off-by: Leonard Göhrs <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
-rw-r--r--Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml b/Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml
index 5b0134304e51..452f8972a965 100644
--- a/Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml
+++ b/Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml
@@ -24,6 +24,10 @@ properties:
'#gpio-cells':
const: 2
+ gpio-line-names:
+ minItems: 4
+ maxItems: 8
+
required:
- compatible
- reg