[PATCH 2/2] dt-bindings: spi: spi-cadence: Add label property

From: Michal Simek
Date: Thu Aug 03 2023 - 03:24:49 EST


Add a label property to allow a custom name to be used for identifying the
controller on a board. This is useful when there is more than one
controller present. Similar change was done by commit 412b7a521c30
("dt-bindings: eeprom: at24: Add label property for AT24").

Signed-off-by: Michal Simek <michal.simek@xxxxxxx>
---

Documentation/devicetree/bindings/spi/spi-cadence.yaml | 3 +++
1 file changed, 3 insertions(+)

diff --git a/Documentation/devicetree/bindings/spi/spi-cadence.yaml b/Documentation/devicetree/bindings/spi/spi-cadence.yaml
index 9eda7f0d2869..d4b61b0e8301 100644
--- a/Documentation/devicetree/bindings/spi/spi-cadence.yaml
+++ b/Documentation/devicetree/bindings/spi/spi-cadence.yaml
@@ -52,6 +52,9 @@ properties:
power-domains:
maxItems: 1

+ label:
+ description: Descriptive name of the SPI controller.
+
required:
- compatible
- reg
--
2.36.1