Skip to content

Commit a94e5cd

Browse files
vwaxbroonie
authored andcommitted
regulator: tps62864: Fix bindings for SW property
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>
1 parent e2a01b4 commit a94e5cd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Documentation/devicetree/bindings/regulator/ti,tps62864.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@ properties:
2323
regulators:
2424
type: object
2525

26-
patternProperties:
26+
properties:
2727
"SW":
2828
type: object
2929
$ref: regulator.yaml#
30+
unevaluatedProperties: false
3031

3132
additionalProperties: false
3233

0 commit comments

Comments
 (0)