Commit 475043fa authored by Jean-Philippe Brucker's avatar Jean-Philippe Brucker Committed by Mark Brown

regulator: Fix qcom,spmi-regulator schema

The DT validator reports an error in the schema:

Documentation/devicetree/bindings/regulator/qcom,spmi-regulator.yaml: ignoring, error in schema: patternProperties: ^(5vs[1-2]|(l|s)[1-9][0-9]?|lvs[1-3])$: properties

Move the unevaluatedProperties statement out of the properties section
to fix it.

Fixes: 0b3bbd76 ("regulator: qcom,spmi-regulator: Convert to dtschema")
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarJean-Philippe Brucker <jean-philippe@linaro.org>
Link: https://lore.kernel.org/r/20220831080503.17600-1-jean-philippe@linaro.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 78e1e867
...@@ -35,6 +35,7 @@ patternProperties: ...@@ -35,6 +35,7 @@ patternProperties:
description: List of regulators and its properties description: List of regulators and its properties
type: object type: object
$ref: regulator.yaml# $ref: regulator.yaml#
unevaluatedProperties: false
properties: properties:
qcom,ocp-max-retries: qcom,ocp-max-retries:
...@@ -100,8 +101,6 @@ patternProperties: ...@@ -100,8 +101,6 @@ patternProperties:
SAW controlled gang leader. Will be configured as SAW regulator. SAW controlled gang leader. Will be configured as SAW regulator.
type: boolean type: boolean
unevaluatedProperties: false
required: required:
- compatible - compatible
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment