diff mbox series

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

Message ID 20191116205110.vvqkmujecc6u5fvi@smtp.gmail.com (mailing list archive)
State New, archived
Headers show
Series [1/2] dt-bindings: iio: adc: ad7292: Update SPDX identifier | expand

Commit Message

Marcelo Schmitt Nov. 16, 2019, 8:51 p.m. UTC
Change items property of AD7292 channels to correctly constrain their
quantity.

Signed-off-by: Marcelo Schmitt <marcelo.schmitt1@gmail.com>
---
 Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Rob Herring (Arm) Nov. 22, 2019, 4:06 p.m. UTC | #1
On Sat, Nov 16, 2019 at 2:51 PM Marcelo Schmitt
<marcelo.schmitt1@gmail.com> wrote:
>
> Change items property of AD7292 channels to correctly constrain their
> quantity.
>
> Signed-off-by: Marcelo Schmitt <marcelo.schmitt1@gmail.com>
> ---
>  Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Reviewed-by: Rob Herring <robh@kernel.org>
Jonathan Cameron Nov. 23, 2019, 12:27 p.m. UTC | #2
On Fri, 22 Nov 2019 10:06:23 -0600
Rob Herring <robh@kernel.org> wrote:

> On Sat, Nov 16, 2019 at 2:51 PM Marcelo Schmitt
> <marcelo.schmitt1@gmail.com> wrote:
> >
> > Change items property of AD7292 channels to correctly constrain their
> > quantity.
> >
> > Signed-off-by: Marcelo Schmitt <marcelo.schmitt1@gmail.com>
> > ---
> >  Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml | 3 ++-
> >  1 file changed, 2 insertions(+), 1 deletion(-)  
> 
> Reviewed-by: Rob Herring <robh@kernel.org>


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

Thanks,

Jonathan
diff mbox series

Patch

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