Linux-IIO Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH v2 1/2] dt-bindings: iio: adc: ad7292: fix channel constraint
@ 2019-12-04 15:59 Marcelo Schmitt
  2019-12-04 18:57 ` Rob Herring
  0 siblings, 1 reply; 3+ messages in thread
From: Marcelo Schmitt @ 2019-12-04 15:59 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>
---
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


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

* Re: [PATCH v2 1/2] dt-bindings: iio: adc: ad7292: fix channel constraint
  2019-12-04 15:59 [PATCH v2 1/2] dt-bindings: iio: adc: ad7292: fix channel constraint Marcelo Schmitt
@ 2019-12-04 18:57 ` Rob Herring
  2019-12-04 21:59   ` Marcelo Schmitt
  0 siblings, 1 reply; 3+ messages in thread
From: Rob Herring @ 2019-12-04 18:57 UTC (permalink / raw)
  To: Marcelo Schmitt
  Cc: jic23, dragos.bogdan, alexandru.ardelean, linux-kernel,
	linux-iio, devicetree, kernel-usp

On Wed, Dec 04, 2019 at 12:59:23PM -0300, Marcelo Schmitt wrote:
> Change items property of AD7292 channels to correctly constrain their
> quantity.
> 
> Signed-off-by: Marcelo Schmitt <marcelo.schmitt1@gmail.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(-)

I think Jonathan already applied this series.

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

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

* Re: [PATCH v2 1/2] dt-bindings: iio: adc: ad7292: fix channel constraint
  2019-12-04 18:57 ` Rob Herring
@ 2019-12-04 21:59   ` Marcelo Schmitt
  0 siblings, 0 replies; 3+ messages in thread
From: Marcelo Schmitt @ 2019-12-04 21:59 UTC (permalink / raw)
  To: Rob Herring
  Cc: jic23, dragos.bogdan, alexandru.ardelean, linux-kernel,
	linux-iio, devicetree, kernel-usp

I see now that I had misunderstood part of the last thread.
Sorry for the unnecessary spamming. Please, ignore this V2 series.

On 12/04, Rob Herring wrote:
> On Wed, Dec 04, 2019 at 12:59:23PM -0300, Marcelo Schmitt wrote:
> > Change items property of AD7292 channels to correctly constrain their
> > quantity.
> > 
> > Signed-off-by: Marcelo Schmitt <marcelo.schmitt1@gmail.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(-)
> 
> I think Jonathan already applied this series.
> 
> > 
> > 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
> > 

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

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-04 15:59 [PATCH v2 1/2] dt-bindings: iio: adc: ad7292: fix channel constraint Marcelo Schmitt
2019-12-04 18:57 ` Rob Herring
2019-12-04 21:59   ` Marcelo Schmitt

Linux-IIO Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-iio/0 linux-iio/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-iio linux-iio/ https://lore.kernel.org/linux-iio \
		linux-iio@vger.kernel.org
	public-inbox-index linux-iio

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-iio


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git