Skip to content

Commit

Permalink
spi: spi-mux: Add reference to spi-peripheral-props.yaml schema
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rob Herring authored and Mark Brown committed Jan 6, 2022
1 parent ebe33e5 commit 709c81b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Documentation/devicetree/bindings/spi/spi-mux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 709c81b

Please sign in to comment.