summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Whitchurch <vincent.whitchurch@axis.com>2022-02-11 16:24:49 +0300
committerMark Brown <broonie@kernel.org>2022-02-14 15:53:01 +0300
commita94e5cd8457fb46866459562ef6c53f9dcc375f7 (patch)
tree9c24c8cec5b6fee7f825d287176475b7bd16aac8
parente2a01b4e8806087743e5ee42f9dcedfc741d4112 (diff)
downloadlinux-a94e5cd8457fb46866459562ef6c53f9dcc375f7.tar.xz
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>
-rw-r--r--Documentation/devicetree/bindings/regulator/ti,tps62864.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/regulator/ti,tps62864.yaml b/Documentation/devicetree/bindings/regulator/ti,tps62864.yaml
index e3d739a37ab0..0f29c75f42ea 100644
--- a/Documentation/devicetree/bindings/regulator/ti,tps62864.yaml
+++ b/Documentation/devicetree/bindings/regulator/ti,tps62864.yaml
@@ -23,10 +23,11 @@ properties:
regulators:
type: object
- patternProperties:
+ properties:
"SW":
type: object
$ref: regulator.yaml#
+ unevaluatedProperties: false
additionalProperties: false