[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <82cd1a57397867b5a1039cd15244344c02a3ece1.1691047461.git.michal.simek@amd.com>
Date: Thu, 3 Aug 2023 09:24:25 +0200
From: Michal Simek <michal.simek@....com>
To: <linux-kernel@...r.kernel.org>, <monstr@...str.eu>,
<michal.simek@...inx.com>, <git@...inx.com>
CC: Conor Dooley <conor+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Mark Brown <broonie@...nel.org>,
Rob Herring <robh+dt@...nel.org>, <devicetree@...r.kernel.org>,
<linux-spi@...r.kernel.org>
Subject: [PATCH 2/2] dt-bindings: spi: spi-cadence: Add label property
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@....com>
---
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
Powered by blists - more mailing lists