Re: [PATCH] dt-bindings: mtd: arasan,nand-controller: Ensure all properties are defined

From: Michal Simek
Date: Tue Feb 04 2025 - 03:42:13 EST




On 2/3/25 22:30, Rob Herring (Arm) wrote:
Device specific schemas should not allow undefined properties which is
what 'unevaluatedProperties: true' allows. Fix this constraint.

Signed-off-by: Rob Herring (Arm) <robh@xxxxxxxxxx>
---
.../devicetree/bindings/mtd/arasan,nand-controller.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/mtd/arasan,nand-controller.yaml b/Documentation/devicetree/bindings/mtd/arasan,nand-controller.yaml
index 15b63bbb82a2..b90d3b48c2f2 100644
--- a/Documentation/devicetree/bindings/mtd/arasan,nand-controller.yaml
+++ b/Documentation/devicetree/bindings/mtd/arasan,nand-controller.yaml
@@ -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.

Acked-by: Michal Simek <michal.simek@xxxxxxx>

Thanks,
Michal