[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240425213701.655540-3-eajames@linux.ibm.com>
Date: Thu, 25 Apr 2024 16:36:49 -0500
From: Eddie James <eajames@...ux.ibm.com>
To: linux-aspeed@...ts.ozlabs.org
Cc: eajames@...ux.ibm.com, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-fsi@...ts.ozlabs.org,
linux-spi@...r.kernel.org, linux-i2c@...r.kernel.org,
lakshmiy@...ibm.com, robh@...nel.org, krzk+dt@...nel.org,
conor+dt@...nel.org, joel@....id.au, andrew@...econstruct.com.au
Subject: [PATCH v3 02/14] dt-bindings: fsi: fsi2spi: Document SPI controller child nodes
The FSI2SPI bridge has several SPI controllers behind it, which
should be documented. Also, therefore the node needs to specify
address and size cells.
Signed-off-by: Eddie James <eajames@...ux.ibm.com>
---
.../devicetree/bindings/fsi/ibm,fsi2spi.yaml | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/Documentation/devicetree/bindings/fsi/ibm,fsi2spi.yaml b/Documentation/devicetree/bindings/fsi/ibm,fsi2spi.yaml
index e2ca0b000471..512d6d4dff3c 100644
--- a/Documentation/devicetree/bindings/fsi/ibm,fsi2spi.yaml
+++ b/Documentation/devicetree/bindings/fsi/ibm,fsi2spi.yaml
@@ -24,6 +24,17 @@ properties:
items:
- description: FSI slave address
+ "#address-cells":
+ const: 1
+
+ "#size-cells":
+ const: 0
+
+patternProperties:
+ "^spi@[0-9a-f]+$":
+ $ref: /schemas/spi/ibm,p10-spi.yaml
+ description: Child node describing underlying SPI controller
+
required:
- compatible
- reg
--
2.39.3
Powered by blists - more mailing lists