regulator: tps62864: Fix bindings for SW property
authorVincent Whitchurch <vincent.whitchurch@axis.com>
Fri, 11 Feb 2022 13:24:49 +0000 (14:24 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 14 Feb 2022 12:53:01 +0000 (12:53 +0000)
The property is not a pattern, so it should use 'properties' instead of
'patternProperties'.  Also, unevaluatedProperties should be set to false
like in the other regulator bindings.

Reported-by: Rob Herring <robh@kernel.org>
Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
Link: https://lore.kernel.org/r/20220211132449.2899924-1-vincent.whitchurch@axis.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Documentation/devicetree/bindings/regulator/ti,tps62864.yaml

index e3d739a..0f29c75 100644 (file)
@@ -23,10 +23,11 @@ properties:
   regulators:
     type: object
 
-    patternProperties:
+    properties:
       "SW":
         type: object
         $ref: regulator.yaml#
+        unevaluatedProperties: false
 
     additionalProperties: false