[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251027084239.2610141-3-jun.guo@cixtech.com>
Date: Mon, 27 Oct 2025 16:42:38 +0800
From: Jun Guo <jun.guo@...tech.com>
To: peter.chen@...tech.com,
fugang.duan@...tech.com,
robh@...nel.org,
krzk+dt@...nel.org,
conor+dt@...nel.org,
broonie@...nel.org
Cc: linux-spi@...r.kernel.org,
michal.simek@....com,
cix-kernel-upstream@...tech.com,
linux-arm-kernel@...ts.infradead.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
Jun Guo <jun.guo@...tech.com>
Subject: [PATCH v2 2/3] dt-bindings: spi: spi-cadence: update DT binding docs to support cix sky1 SoC
- Add new compatible strings to the DT binding documents to support
cix sky1 SoC;
- Adjust the configuration of the compatible property to support both
single-item and two-items cases.
Signed-off-by: Jun Guo <jun.guo@...tech.com>
---
.../devicetree/bindings/spi/spi-cadence.yaml | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/spi/spi-cadence.yaml b/Documentation/devicetree/bindings/spi/spi-cadence.yaml
index 8de96abe9da1..e75b142a1368 100644
--- a/Documentation/devicetree/bindings/spi/spi-cadence.yaml
+++ b/Documentation/devicetree/bindings/spi/spi-cadence.yaml
@@ -14,9 +14,14 @@ allOf:
properties:
compatible:
- enum:
- - cdns,spi-r1p6
- - xlnx,zynq-spi-r1p6
+ oneOf:
+ - enum:
+ - cdns,spi-r1p6
+ - xlnx,zynq-spi-r1p6
+ - items:
+ - enum:
+ - cix,sky1-spi-r1p6
+ - const: cdns,spi-r1p6
reg:
maxItems: 1
--
2.34.1
Powered by blists - more mailing lists