Commit f759f020 authored by Jonathan Cameron's avatar Jonathan Cameron

dt-bindings:iio:adc:adi,ad7292: Use new adc.yaml binding for channels.

Also add additionalProperties: false for the child nodes.
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Cc: Marcelo Schmitt <marcelo.schmitt1@gmail.com>
Link: https://lore.kernel.org/r/20201031182423.742798-4-jic23@kernel.org
parent 26d146e2
...@@ -45,10 +45,10 @@ required: ...@@ -45,10 +45,10 @@ required:
patternProperties: patternProperties:
"^channel@[0-7]$": "^channel@[0-7]$":
$ref: "adc.yaml"
type: object type: object
description: | description: |
Represents the external channels which are connected to the ADC. Represents the external channels which are connected to the ADC.
See Documentation/devicetree/bindings/iio/adc/adc.txt.
properties: properties:
reg: reg:
...@@ -58,13 +58,13 @@ patternProperties: ...@@ -58,13 +58,13 @@ patternProperties:
- minimum: 0 - minimum: 0
maximum: 7 maximum: 7
diff-channels: diff-channels: true
description: see Documentation/devicetree/bindings/iio/adc/adc.txt
maxItems: 1
required: required:
- reg - reg
additionalProperties: true
additionalProperties: false additionalProperties: false
examples: examples:
......
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