diff options
author | Leonard Göhrs <l.goehrs@pengutronix.de> | 2023-06-07 13:55:02 +0200 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2023-06-13 16:54:14 +0200 |
commit | ae128bb36d23e4e95c52e5254c3b4cf408c54433 (patch) | |
tree | 3fe82ed86a40dc09c59224f2920fa16a1819259f /Documentation/devicetree/bindings/gpio | |
parent | gpiolib: remove unused gpio_cansleep() (diff) | |
download | wireguard-linux-ae128bb36d23e4e95c52e5254c3b4cf408c54433.tar.xz wireguard-linux-ae128bb36d23e4e95c52e5254c3b4cf408c54433.zip |
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 <l.goehrs@pengutronix.de>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/gpio')
-rw-r--r-- | Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml | 4 |
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 |