[PATCH v3 02/14] dt-bindings: fsi: fsi2spi: Document SPI controller child nodes
Eddie James
eajames at linux.ibm.com
Fri Apr 26 07:36:49 AEST 2024
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 at linux.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
More information about the linux-fsi
mailing list