dt-bindings: gpio: pca9570: Add label property
authorMichal Simek <michal.simek@amd.com>
Thu, 1 Feb 2024 10:24:20 +0000 (11:24 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 5 Feb 2024 08:29:20 +0000 (09:29 +0100)
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>
Documentation/devicetree/bindings/gpio/gpio-pca9570.yaml

index 452f897..6f73961 100644 (file)
@@ -28,6 +28,9 @@ properties:
     minItems: 4
     maxItems: 8
 
+  label:
+    description: A descriptive name for this device.
+
 required:
   - compatible
   - reg