Re: [PATCH] dt-bindings: iio: adc: ad7192: Fix 'single-channel' constraints

From: Jonathan Cameron
Date: Sat Jul 27 2024 - 11:11:00 EST


On Fri, 26 Jul 2024 13:52:58 -0500
"Rob Herring (Arm)" <robh@xxxxxxxxxx> wrote:

> On Tue, 23 Jul 2024 18:09:03 -0500, Rob Herring (Arm) wrote:
> > 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")
> > Signed-off-by: Rob Herring (Arm) <robh@xxxxxxxxxx>
> > ---
> > Documentation/devicetree/bindings/iio/adc/adi,ad7192.yaml | 5 ++---
> > 1 file changed, 2 insertions(+), 3 deletions(-)
> >
>
> I have other fixes for rc1 already, so I've applied this one.
>
> Rob

Cool
For the record (no need to add to patch!)
Acked-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>