[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191204155918.5ot4tplceqjeul6a@smtp.gmail.com>
Date: Wed, 4 Dec 2019 12:59:23 -0300
From: Marcelo Schmitt <marcelo.schmitt1@...il.com>
To: jic23@...nel.org, robh@...nel.org
Cc: dragos.bogdan@...log.com, alexandru.ardelean@...log.com,
linux-kernel@...r.kernel.org, linux-iio@...r.kernel.org,
devicetree@...r.kernel.org, kernel-usp@...glegroups.com
Subject: [PATCH v2 1/2] dt-bindings: iio: adc: ad7292: fix channel constraint
Change items property of AD7292 channels to correctly constrain their
quantity.
Signed-off-by: Marcelo Schmitt <marcelo.schmitt1@...il.com>
---
Changelog V2
- Shortened the message to make it closer to 50 columns.
Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml
index b68be3aaf587..18f1032b86f3 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
--
2.23.0
Powered by blists - more mailing lists