Re: [PATCH v9 1/2] iio: proximity: provide device tree binding document
From: Rob Herring
Date: Mon Apr 20 2020 - 13:54:56 EST
On Fri, 17 Apr 2020 21:20:52 +0300, Ivan Mikhaylov wrote:
> Mostly standard i2c driver with some additional led-current option
> for vcnl3020.
>
> Signed-off-by: Ivan Mikhaylov <i.mikhaylov@xxxxxxxxx>
> ---
> .../bindings/iio/proximity/vcnl3020.yaml | 64 +++++++++++++++++++
> 1 file changed, 64 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/iio/proximity/vcnl3020.yaml
>
My bot found errors running 'make dt_binding_check' on your patch:
/builds/robherring/linux-dt-review/Documentation/devicetree/bindings/iio/proximity/vcnl3020.example.dt.yaml: proximity@13: vishay,led-current-microamp:0:0: 20 is not one of [0, 10000, 20000, 30000, 40000, 50000, 60000, 70000, 80000, 90000, 100000, 110000, 120000, 130000, 140000, 150000, 160000, 170000, 180000, 190000, 200000]
See https://patchwork.ozlabs.org/patch/1272391
If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure dt-schema is up to date:
pip3 install git+https://github.com/devicetree-org/dt-schema.git@master --upgrade
Please check and re-submit.