]> www.infradead.org Git - users/hch/block.git/commit
dt-bindings: iio: adc: ad7192: Fix 'single-channel' constraints
authorRob Herring (Arm) <robh@kernel.org>
Tue, 23 Jul 2024 23:09:03 +0000 (18:09 -0500)
committerRob Herring (Arm) <robh@kernel.org>
Fri, 26 Jul 2024 18:53:20 +0000 (13:53 -0500)
commit6dc55268f64b780eb8774de3705f791b689853bb
tree470e8c2c001d2718c95d8ab688629ba7baf213a3
parent9722c3b66e21ff08aec570d02a97d331087fd70f
dt-bindings: iio: adc: ad7192: Fix 'single-channel' constraints

The 'single-channel' property is an uint32, not an array, so 'items' is
an incorrect constraint. This didn't matter until dtschema recently
changed how properties are decoded. This results in this warning:

Documentation/devicetree/bindings/iio/adc/adi,ad7192.example.dtb: adc@0: \
  channel@1:single-channel: 1 is not of type 'array'

Fixes: caf7b7632b8d ("dt-bindings: iio: adc: ad7192: Add AD7194 support")
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20240723230904.1299744-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml