dt-bindings: gpio: pca9570: add gpio-line-names property
authorLeonard Göhrs <l.goehrs@pengutronix.de>
Wed, 7 Jun 2023 11:55:02 +0000 (13:55 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 13 Jun 2023 14:54:14 +0000 (16:54 +0200)
This patch allows giving each of the controller's pins a meaningful
name.

Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml

index 5b01343..452f897 100644 (file)
@@ -24,6 +24,10 @@ properties:
   '#gpio-cells':
     const: 2
 
+  gpio-line-names:
+    minItems: 4
+    maxItems: 8
+
 required:
   - compatible
   - reg