Unverified Commit de6fbef1 authored by Rob Herring's avatar Rob Herring Committed by Mark Brown
Browse files

regulator: dt-bindings: Add missing (unevaluated|additional)Properties on child nodes



In order to ensure only documented properties are present, node schemas
must have unevaluatedProperties or additionalProperties set to false
(typically).

Signed-off-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220823145649.3118479-7-robh@kernel.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 0739ce4c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -83,6 +83,7 @@ properties:

  regulators:
    type: object
    additionalProperties: false
    description: |
      List of regulators provided by the device

+1 −0
Original line number Diff line number Diff line
@@ -79,6 +79,7 @@ patternProperties:
    patternProperties:
      regulator-state-(standby|mem|disk):
        type: object
        additionalProperties: true
        properties:
          regulator-mode: false

+1 −0
Original line number Diff line number Diff line
@@ -111,6 +111,7 @@ properties:

  regulators:
    type: object
    additionalProperties: false
    description:
      List of child nodes that specify the regulators.

+1 −0
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@ properties:
      "^vbuck[1-4]$":
        type: object
        $ref: "regulator.yaml#"
        unevaluatedProperties: false

        properties:
          regulator-compatible:
+1 −0
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@ patternProperties:
    description: List of regulators and its properties
    type: object
    $ref: regulator.yaml#
    unevaluatedProperties: false

    properties:
      qcom,ocp-max-retries:
Loading