dt-bindings: mtd: arasan,nand-controller: Ensure all properties are defined
Rob Herring (Arm)
maintainerPATCH 1/1 dt-bindings: mtd: arasan,nand-controller: Ensure all properties are defined
Device specific schemas should not allow undefined properties which is what 'unevaluatedProperties: true' allows. Fix this constraint.
--- .../devicetree/bindings/mtd/arasan,nand-controller.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/mtd/arasan,nand-controller.yaml +1 -1
@@ -42,7 +42,7 @@ required: - clock-names - interrupts -unevaluatedProperties: true +unevaluatedProperties: false examples: - |
Signature · 1 line
2.47.2
Quoted 13 lines · Rob Herring (Arm)
Device specific schemas should not allow undefined properties which is what 'unevaluatedProperties: true' allows. Fix this constraint.
Signed-off-by Rob Herring (Arm) <[email protected]>--- .../devicetree/bindings/mtd/arasan,nand-controller.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Documentation/devicetree/bindings/mtd/arasan,nand-controller.yaml +0
-0
Documentation/devicetree/bindings/mtd/arasan,nand-controller.yaml required: · line 48
Quoted 8 lines
Documentation/devicetree/bindings/mtd/arasan,nand-controller.yaml +1
-1@@ -42,7 +42,7 @@ required: - clock-names - interrupts -unevaluatedProperties: true +unevaluatedProperties: false examples: - |
Good thing to do. And we should extend binding to cover other properties which are missing in description. Pretty much remove arasan,has-mdma from DTs and describe power-domains and num-cs in binding.
Thanks,
Michal
Quoted 4 lines · Rob Herring (Arm)
Device specific schemas should not allow undefined properties which is what 'unevaluatedProperties: true' allows. Fix this constraint.
Signed-off-by Rob Herring (Arm) <[email protected]>
Quoted 4 lines · Rob Herring (Arm)
Device specific schemas should not allow undefined properties which is what 'unevaluatedProperties: true' allows. Fix this constraint.
Applied to nand/next, thanks!
[1/1] dt-bindings: mtd: arasan,nand-controller: Ensure all properties are defined
commit: 499a4b16a4869a901a9bc601bc1e0b8f60151e93
Patche(s) should be available on mtd/linux.git and will be part of the next PR (provided that no robot complains by then).
Kind regards,
Miquèl