linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/2] dt-bindings: iio: adc: ad7292: fix constraint over channel quantity
@ 2019-11-16 20:51 Marcelo Schmitt
  2019-11-22 16:06 ` Rob Herring
  0 siblings, 1 reply; 3+ messages in thread
From: Marcelo Schmitt @ 2019-11-16 20:51 UTC (permalink / raw)
  To: jic23, robh
  Cc: dragos.bogdan, alexandru.ardelean, linux-kernel, linux-iio,
	devicetree, kernel-usp

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(-)

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
-- 
2.23.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 2/2] dt-bindings: iio: adc: ad7292: fix constraint over channel quantity
  2019-11-16 20:51 [PATCH 2/2] dt-bindings: iio: adc: ad7292: fix constraint over channel quantity Marcelo Schmitt
@ 2019-11-22 16:06 ` Rob Herring
  2019-11-23 12:27   ` Jonathan Cameron
  0 siblings, 1 reply; 3+ messages in thread
From: Rob Herring @ 2019-11-22 16:06 UTC (permalink / raw)
  To: Marcelo Schmitt
  Cc: Jonathan Cameron, Dragos Bogdan, Alexandru Ardelean,
	linux-kernel, open list:IIO SUBSYSTEM AND DRIVERS, devicetree,
	kernel-usp

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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 2/2] dt-bindings: iio: adc: ad7292: fix constraint over channel quantity
  2019-11-22 16:06 ` Rob Herring
@ 2019-11-23 12:27   ` Jonathan Cameron
  0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2019-11-23 12:27 UTC (permalink / raw)
  To: Rob Herring
  Cc: Marcelo Schmitt, Dragos Bogdan, Alexandru Ardelean, linux-kernel,
	open list:IIO SUBSYSTEM AND DRIVERS, devicetree, kernel-usp

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-11-23 12:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-16 20:51 [PATCH 2/2] dt-bindings: iio: adc: ad7292: fix constraint over channel quantity Marcelo Schmitt
2019-11-22 16:06 ` Rob Herring
2019-11-23 12:27   ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).