spi: spi-mux: Add reference to spi-peripheral-props.yaml schema
authorRob Herring <robh@kernel.org>
Wed, 5 Jan 2022 18:32:33 +0000 (12:32 -0600)
committerMark Brown <broonie@kernel.org>
Thu, 6 Jan 2022 13:55:59 +0000 (13:55 +0000)
The spi-mux serves as both a SPI peripheral and controller, so add a
reference to spi-peripheral-props.yaml in addition to
spi-controller.yaml. This is necessary to avoid unevaluatedProperties
warnings once those are fully enabled.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Link: https://lore.kernel.org/r/20220105183234.3426649-1-robh@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/spi/spi-mux.yaml

index 51c7622..7ea79f6 100644 (file)
@@ -31,6 +31,7 @@ description: |
 
 allOf:
   - $ref: "/schemas/spi/spi-controller.yaml#"
+  - $ref: "/schemas/spi/spi-peripheral-props.yaml#"
 
 maintainers:
   - Chris Packham <chris.packham@alliedtelesis.co.nz>