]> Git Repo - linux.git/commitdiff
regulator: Fix qcom,spmi-regulator schema
authorJean-Philippe Brucker <[email protected]>
Wed, 31 Aug 2022 08:05:04 +0000 (09:05 +0100)
committerMark Brown <[email protected]>
Wed, 31 Aug 2022 11:13:17 +0000 (12:13 +0100)
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: 0b3bbd7646b0 ("regulator: qcom,spmi-regulator: Convert to dtschema")
Reviewed-by: Rob Herring <[email protected]>
Signed-off-by: Jean-Philippe Brucker <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Documentation/devicetree/bindings/regulator/qcom,spmi-regulator.yaml

index 8b7c4af4b5517e06a95b87765a6a5ed04638a31f..faa4af9fd03582c4e9457a5bbb74b98a6899c1f1 100644 (file)
@@ -35,6 +35,7 @@ patternProperties:
     description: List of regulators and its properties
     type: object
     $ref: regulator.yaml#
+    unevaluatedProperties: false
 
     properties:
       qcom,ocp-max-retries:
@@ -100,8 +101,6 @@ patternProperties:
           SAW controlled gang leader. Will be configured as SAW regulator.
         type: boolean
 
-      unevaluatedProperties: false
-
 required:
   - compatible
 
This page took 0.060992 seconds and 4 git commands to generate.