]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: pinctrl: amlogic,pinctrl-a4: Add missing constraint on allowed 'group...
authorRob Herring (Arm) <robh@kernel.org>
Wed, 7 May 2025 21:58:51 +0000 (16:58 -0500)
committerRob Herring (Arm) <robh@kernel.org>
Tue, 27 May 2025 19:06:36 +0000 (14:06 -0500)
The "^group-[0-9a-z-]+$" nodes schema doesn't constrain the allowed
properties as the referenced common schemas don't have constraints.
Add the missing "unevaluatedProperties" constraint.

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20250507215852.2748420-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Documentation/devicetree/bindings/pinctrl/amlogic,pinctrl-a4.yaml

index 8eb50cad61d584c34e4307103ba76924d2f114e3..78279b9fb737804bef06f3ad6a8300df6e3f523e 100644 (file)
@@ -65,6 +65,7 @@ patternProperties:
     patternProperties:
       "^group-[0-9a-z-]+$":
         type: object
+        unevaluatedProperties: false
         allOf:
           - $ref: /schemas/pinctrl/pincfg-node.yaml
           - $ref: /schemas/pinctrl/pinmux-node.yaml