Re: [PATCH] dt-bindings: iio: addac: adi,74115: Add missing maxItems

From: Michał Grzelak
Date: Wed Jan 18 2023 - 13:12:01 EST


On Tue, 17 Jan 2023, Rob Herring wrote:

On Sun, Jan 15, 2023 at 03:25:58AM +0100, Michał Grzelak wrote:
Running 'make dt_binding_check' gives following warnings:
iio/addac/adi,ad74115.example.dtb:
addac@0: adi,conv2-range-microvolt: 'oneOf' conditional failed, one must
be fixed:
4282967296 is not one of [-2500000, 0]
4282967296 is not one of [-12000000, 0]
-2500000 was expected
-104000 was expected
625000 was expected

addac@0: Unevaluated properties are not allowed
('adi,conv2-range-microvolt' was unexpected)
From schema: iio/addac/adi,ad74115.yaml

I think your dtschema version is out of date. I don't see this issue.
The issue has to do with signed types and there have been some fixes
related to them.


Right. Issue vanished after upgrade, sorry for unnecessary noise.

Best regards,
Michał