dt-bindings: pinctrl: nuvoton,npcm845: Add missing additionalProperties on gpio child nodes
Subsystems (4)
Rob Herring
maintainerPATCH 1/1 dt-bindings: pinctrl: nuvoton,npcm845: Add missing additionalProperties on gpio child nodes
Just as unevaluatedProperties or additionalProperties are required at the top level of schemas, they should (and will) also be required for child node schemas. That ensures only documented properties are present for any node. Add the missing addtionalProperties to the 'gpio' child nodes.
--- .../devicetree/bindings/pinctrl/nuvoton,npcm845-pinctrl.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/pinctrl/nuvoton,npcm845-pinctrl.yaml +1 -0
@@ -35,6 +35,7 @@ properties: patternProperties: '^gpio@': type: object + additionalProperties: false description: Eight GPIO banks that each contain 32 GPIOs.
Signature · 1 line
2.42.0
Quoted 7 lines · Rob Herring
Just as unevaluatedProperties or additionalProperties are required at the top level of schemas, they should (and will) also be required for child node schemas. That ensures only documented properties are present for any node. Add the missing addtionalProperties to the 'gpio' child nodes.
Signed-off-by Rob Herring <[email protected]>
Thanks,
Conor.
Quoted 19 lines
--- .../devicetree/bindings/pinctrl/nuvoton,npcm845-pinctrl.yaml | 1 + 1 file changed, 1 insertion(+)Documentation/devicetree/bindings/pinctrl/nuvoton,npcm845-pinctrl.yaml +1
-0@@ -35,6 +35,7 @@ properties: patternProperties: '^gpio@': type: object + additionalProperties: false description: Eight GPIO banks that each contain 32 GPIOs.Signature · 1 line
2.42.0
Quoted 7 lines · Rob Herring
Just as unevaluatedProperties or additionalProperties are required at the top level of schemas, they should (and will) also be required for child node schemas. That ensures only documented properties are present for any node. Add the missing addtionalProperties to the 'gpio' child nodes.
Signed-off-by Rob Herring <[email protected]>
Patch applied!
Yours,
Linus Walleij