]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
dt-bindings: iio: adc: ad7292: fix constraint over channel quantity
authorMarcelo Schmitt <marcelo.schmitt1@gmail.com>
Sat, 16 Nov 2019 20:51:13 +0000 (17:51 -0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 8 Dec 2019 18:10:28 +0000 (18:10 +0000)
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>
Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml

index 5770f63dd51170c3f5b83792d9f5304fc2df4123..e1f6d64bdccd188497b33b67ab744293810bfab0 100644 (file)
@@ -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