Skip to contentSkip to conversation

dt-bindings: mtd: spi-nand: Add spi-peripheral-props.yaml reference

PATCH In review Rob Herring 2 participants 2 messages May 25, 2022 – May 26, 2022

Subsystems (2)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: mtd: spi-nand: Add spi-peripheral-props.yaml reference

SPI peripheral device bindings need to reference spi-peripheral-props.yaml in order to use various SPI controller specific properties. Otherwise, the unevaluatedProperties check will reject any controller specific properties.

---
 Documentation/devicetree/bindings/mtd/spi-nand.yaml | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/mtd/spi-nand.yaml +1 -0
index 431faac518a4..dd3cd1d53009 100644
@@ -11,6 +11,7 @@ maintainers:
 
 allOf:
   - $ref: "nand-chip.yaml#"
+  - $ref: /schemas/spi/spi-peripheral-props.yaml#
 
 properties:
   compatible:
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Rob Herring

SPI peripheral device bindings need to reference spi-peripheral-props.yaml in order to use various SPI controller specific properties. Otherwise, the unevaluatedProperties check will reject any controller specific properties.

Signature · 3 lines
Regards,
Pratyush Yadav
Texas Instruments Inc.