Commit c682c963 authored by Rob Herring's avatar Rob Herring Committed by Jonathan Cameron
Browse files

dt-bindings: iio: 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>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20220823145649.3118479-2-robh@kernel.org


Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 1b55d33e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -58,6 +58,7 @@ required:
patternProperties:
  "^.*@[0-9a-f]+$":
    type: object
    additionalProperties: false
    description: |
      Represents the external channels which are connected to the ADC.
      For compatible property "qcom,spmi-vadc" following channels, also known as
+2 −0
Original line number Diff line number Diff line
@@ -72,6 +72,7 @@ additionalProperties: false
patternProperties:
  "^filter@[0-9]+$":
    type: object
    unevaluatedProperties: false
    description: child node

    properties:
@@ -225,6 +226,7 @@ patternProperties:
          patternProperties:
            "^dfsdm-dai+$":
              type: object
              additionalProperties: false
              description: child node

              properties:
+1 −0
Original line number Diff line number Diff line
@@ -43,6 +43,7 @@ additionalProperties: false
patternProperties:
  "^channel@[0-7]+$":
    type: object
    additionalProperties: false
    description:
      Child nodes needed for each channel that the platform uses.

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

  ams-pl@400:
    type: object
    additionalProperties: false
    description:
      PL-SYSMON is capable of monitoring off chip voltage and temperature.
      PL-SYSMON block has DRP, JTAG and I2C interface to enable monitoring
+1 −0
Original line number Diff line number Diff line
@@ -63,6 +63,7 @@ additionalProperties: false
patternProperties:
  "^channel@[0-3]$":
    type: object
    additionalProperties: false
    description: Represents the external channels which are connected to the device.

    properties:
Loading