Skip to contentSkip to conversation

dt-bindings: mtd: arasan,nand-controller: Ensure all properties are defined

PATCH Applied Rob Herring (Arm) 4 participants 4 messages Feb 3, 2025 – Feb 7, 2025

Subsystems (3)
lore
Share & tools
lore

Rob Herring (Arm)

author maintainer
#0 lore raw

PATCH 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
index 15b63bbb82a2..b90d3b48c2f2 100644
@@ -42,7 +42,7 @@ required:
   - clock-names
   - interrupts
 
-unevaluatedProperties: true
+unevaluatedProperties: false
 
 examples:
   - |
Signature · 1 line
2.47.2
reviewer Acked-by on v1 1/1
#1 lore raw
Quoted 13 lines · Rob Herring (Arm)

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 +0 -0
index 15b63bbb82a2..b90d3b48c2f2 100644

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

maintainer Applied
#3 lore raw
In reply to Rob Herring (Arm)
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