From a94e5cd8457fb46866459562ef6c53f9dcc375f7 Mon Sep 17 00:00:00 2001 From: Vincent Whitchurch Date: Fri, 11 Feb 2022 14:24:49 +0100 Subject: [PATCH] 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 Signed-off-by: Vincent Whitchurch Link: https://lore.kernel.org/r/20220211132449.2899924-1-vincent.whitchurch@axis.com Signed-off-by: Mark Brown --- 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 e3d739a..0f29c75f 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.7.4