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: Rob Herring <robh@kernel.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20220823145649.3118479-2-robh@kernel.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
parent
1b55d33e02
commit
c682c96334
@ -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
|
||||
|
@ -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:
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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
|
||||
|
@ -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:
|
||||
|
@ -78,6 +78,7 @@ patternProperties:
|
||||
|
||||
custom-output-range-config:
|
||||
type: object
|
||||
additionalProperties: false
|
||||
description: Configuration of custom range when
|
||||
adi,output-range-microvolt is not present.
|
||||
The formulas for calculation the output voltages are
|
||||
|
@ -60,6 +60,7 @@ properties:
|
||||
connected to the DAC. Channel 0 can act both as a current
|
||||
source and sink.
|
||||
type: object
|
||||
additionalProperties: false
|
||||
|
||||
properties:
|
||||
reg:
|
||||
@ -83,6 +84,7 @@ properties:
|
||||
description: Represents an external channel which are
|
||||
connected to the DAC.
|
||||
type: object
|
||||
additionalProperties: false
|
||||
|
||||
properties:
|
||||
reg:
|
||||
@ -99,6 +101,7 @@ properties:
|
||||
description: Represents an external channel which are
|
||||
connected to the DAC.
|
||||
type: object
|
||||
additionalProperties: false
|
||||
|
||||
properties:
|
||||
reg:
|
||||
@ -114,6 +117,7 @@ properties:
|
||||
patternProperties:
|
||||
"^channel@([3-5])$":
|
||||
type: object
|
||||
additionalProperties: false
|
||||
description: Represents the external channels which are connected to the DAC.
|
||||
properties:
|
||||
reg:
|
||||
|
@ -48,6 +48,7 @@ properties:
|
||||
patternProperties:
|
||||
"^channel@([0-9]|1[0-5])$":
|
||||
type: object
|
||||
additionalProperties: false
|
||||
|
||||
properties:
|
||||
reg:
|
||||
|
Loading…
x
Reference in New Issue
Block a user