summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorMarcelo Schmitt <marcelo.schmitt1@gmail.com>2019-11-16 23:51:13 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-12-08 21:10:28 +0300
commitada971cbdc37bd1f0f9b6d7373c24b67e14c5c13 (patch)
tree47c187f5e719a5ea8f287972e82ab7a5f17bdb38 /Documentation
parentdd587a7f0af5bdb2567e68da0093bbe654ecc950 (diff)
downloadlinux-ada971cbdc37bd1f0f9b6d7373c24b67e14c5c13.tar.xz
dt-bindings: iio: adc: ad7292: fix constraint over channel quantity
Change items property of AD7292 channels to correctly constrain their quantity. Signed-off-by: Marcelo Schmitt <marcelo.schmitt1@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml
index 5770f63dd511..e1f6d64bdccd 100644
--- a/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml
@@ -53,7 +53,8 @@ patternProperties:
description: |
The channel number. It can have up to 8 channels numbered from 0 to 7.
items:
- maximum: 7
+ - minimum: 0
+ maximum: 7
diff-channels:
description: see Documentation/devicetree/bindings/iio/adc/adc.txt