summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/gpio
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@amd.com>2024-02-01 13:24:20 +0300
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-02-05 11:29:20 +0300
commitfc449cefe69d19d3a56903ca7e0fbc91c48ca3f5 (patch)
tree784d6a6cef3faf35e2bcff0e06f183ee5619cbb0 /Documentation/devicetree/bindings/gpio
parent868206f1eba77fdced68395f8782a4b306e74f03 (diff)
downloadlinux-fc449cefe69d19d3a56903ca7e0fbc91c48ca3f5.tar.xz
dt-bindings: gpio: pca9570: Add label property
Add a label property to allow a custom name to be used for identifying a device on the board. This is useful when multiple devices are present on the same board. Similar change was done by commit ffae65fb1ae4 ("dt-bindings: spi: spi-cadence: Add label property") or by commit a53faa6bfa3b ("dt-bindings: hwmon: ina2xx: Add label property"). Signed-off-by: Michal Simek <michal.simek@amd.com> Acked-by: Rob Herring <robh@kernel.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.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml b/Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml
index 452f8972a965..6f73961001b7 100644
--- a/Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml
+++ b/Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml
@@ -28,6 +28,9 @@ properties:
minItems: 4
maxItems: 8
+ label:
+ description: A descriptive name for this device.
+
required:
- compatible
- reg