Skip to contentSkip to conversation

dt-bindings: gpio: mvebu: Fix "unevaluatedProperties" to be false

PATCH Applied Rob Herring 2 participants 2 messages Feb 2, 2024 – Feb 5, 2024

Subsystems (3)
lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: gpio: mvebu: Fix "unevaluatedProperties" to be false

Schemas need "unevaluatedProperties" or "additionalProperties" to be false in order to disallow undefined properties. Only common or otherwise incomplete schemas should allow undefined properties.

---
 Documentation/devicetree/bindings/gpio/gpio-mvebu.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/gpio/gpio-mvebu.yaml +1 -1
index f1bd1e6b2e1f..33d4e4716516 100644
@@ -115,7 +115,7 @@ allOf:
       required:
         - reg
 
-unevaluatedProperties: true
+unevaluatedProperties: false
 
 examples:
   - |
Signature · 1 line
2.43.0
#1 lore raw
Quoted 24 lines · Rob Herring

Schemas need "unevaluatedProperties" or "additionalProperties" to be false in order to disallow undefined properties. Only common or otherwise incomplete schemas should allow undefined properties.

---
 Documentation/devicetree/bindings/gpio/gpio-mvebu.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/gpio/gpio-mvebu.yaml +1 -2
index f1bd1e6b2e1f..33d4e4716516 100644
@@ -115,7 +115,7 @@ allOf:
       required:
         - reg
 
-unevaluatedProperties: true
+unevaluatedProperties: false
 
 examples:
   - |
--
Quoted 2 lines

2.43.0

Applied, thanks!

Bart