[PATCH] regulator: tps62864: Fix bindings for SW property

From: Vincent Whitchurch
Date: Fri Feb 11 2022 - 08:26:02 EST


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@xxxxxxxxxx>
Signed-off-by: Vincent Whitchurch <vincent.whitchurch@xxxxxxxx>
---
Documentation/devicetree/bindings/regulator/ti,tps62864.yaml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

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

--
2.34.1