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

Rob Herring posted 1 patch 3 years, 11 months ago
Documentation/devicetree/bindings/mtd/spi-nand.yaml | 1 +
1 file changed, 1 insertion(+)
[PATCH] dt-bindings: mtd: spi-nand: Add spi-peripheral-props.yaml reference
Posted by Rob Herring 3 years, 11 months ago
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.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 Documentation/devicetree/bindings/mtd/spi-nand.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/mtd/spi-nand.yaml b/Documentation/devicetree/bindings/mtd/spi-nand.yaml
index 431faac518a4..dd3cd1d53009 100644
--- a/Documentation/devicetree/bindings/mtd/spi-nand.yaml
+++ b/Documentation/devicetree/bindings/mtd/spi-nand.yaml
@@ -11,6 +11,7 @@ maintainers:
 
 allOf:
   - $ref: "nand-chip.yaml#"
+  - $ref: /schemas/spi/spi-peripheral-props.yaml#
 
 properties:
   compatible:
-- 
2.34.1
Re: [PATCH] dt-bindings: mtd: spi-nand: Add spi-peripheral-props.yaml reference
Posted by Pratyush Yadav 3 years, 11 months ago
On 25/05/22 03:59PM, Rob Herring wrote:
> 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.
> 
> Signed-off-by: Rob Herring <robh@kernel.org>

Reviewed-by: Pratyush Yadav <p.yadav@ti.com>

-- 
Regards,
Pratyush Yadav
Texas Instruments Inc.