devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dt-bindings: iio: ad7192: Fix DTC error in reg schema
@ 2019-12-12 13:40 Benjamin Gaignard
  2019-12-12 14:06 ` Rob Herring
  2019-12-20 14:01 ` Marcelo Schmitt
  0 siblings, 2 replies; 3+ messages in thread
From: Benjamin Gaignard @ 2019-12-12 13:40 UTC (permalink / raw)
  To: marcelo.schmitt1, Jonathan.Cameron, knaack.h, lars, pmeerw,
	robh+dt, mark.rutland
  Cc: linux-iio, devicetree, linux-kernel, benjamin.gaignard

Add minimum field to be compliant to json-schema

Fixes: d898f9ac542f9 ("dt-bindings: iio: adc: Add dt-schema for AD7292")
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
---
 Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml
index b68be3aaf587..d804a8a78bea 100644
--- a/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7292.yaml
@@ -53,6 +53,7 @@ patternProperties:
         description: |
           The channel number. It can have up to 8 channels numbered from 0 to 7.
         items:
+          minimum: 0
           maximum: 7
 
       diff-channels:
-- 
2.15.0


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

end of thread, other threads:[~2019-12-20 14:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-12 13:40 [PATCH] dt-bindings: iio: ad7192: Fix DTC error in reg schema Benjamin Gaignard
2019-12-12 14:06 ` Rob Herring
2019-12-20 14:01 ` Marcelo Schmitt

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