Skip to contentSkip to conversation

dt-bindings: iio: adc: ad7292: fix constraint over channel quantity

PATCH Applied Marcelo Schmitt 3 participants 3 messages Nov 16, 2019 – Nov 23, 2019

Subsystems (4)
lore
Share & tools
lore

Marcelo Schmitt

author maintainer
#0 lore raw

PATCH 2/2 dt-bindings: iio: adc: ad7292: fix constraint over channel quantity

Change items property of AD7292 channels to correctly constrain their quantity.

---
 Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml +2 -1
index 5770f63dd511..e1f6d64bdccd 100644
@@ -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
Signature · 1 line
2.23.0
maintainer Applied
#2 lore raw
Quoted 6 lines · On Fri, 22 Nov 2019 10:06:23 -0600 Rob Herring <[email protected]> wrote:
Quoted 4 lines · Marcelo Schmitt

Change items property of AD7292 channels to correctly constrain their quantity.

Quoted 6 lines
Quoted 4 lines
---
 Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)  

Applied to the fixes-togreg branch of iio.git.

Thanks,

Jonathan