[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-iio
Subject:    Re: [PATCH v4 2/6] dt-bindings: iio: accel: fxls8962af: add bindings
From:       Rob Herring <robh () kernel ! org>
Date:       2021-04-29 15:25:15
Message-ID: 1619709915.268133.1303439.nullmailer () robh ! at ! kernel ! org
[Download RAW message or body]

On Thu, 29 Apr 2021 14:28:02 +0200, Sean Nyekjaer wrote:
> Add devicetree binding for the NXP FXLS8962AF/FXLS8964AF
> accelerometer sensor.
> 
> Signed-off-by: Sean Nyekjaer <sean@geanix.com>
> ---
> Changes for v2:
> - removed requirement for interrupt
> 
> Changes for v3:
> - None
> 
> Changes for v4:
> - Included the dt patch from the RFC
> 
> .../bindings/iio/accel/nxp,fxls8962af.yaml    | 82 +++++++++++++++++++
> 1 file changed, 82 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/iio/accel/nxp,fxls8962af.yaml
> 

My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check'
on your patch (DT_CHECKER_FLAGS is new in v5.13):

yamllint warnings/errors:

dtschema/dtc warnings/errors:
/builds/robherring/linux-dt-review/Documentation/devicetree/bindings/iio/accel/nxp,fxls8962af.yaml: \
                properties:interrupt-names:items: {'enum': ['INT1', 'INT2']} is not \
                of type 'array'
/builds/robherring/linux-dt-review/Documentation/devicetree/bindings/iio/accel/nxp,fxls8962af.yaml: \
                ignoring, error in schema: properties: interrupt-names: items
warning: no schema found in file: \
./Documentation/devicetree/bindings/iio/accel/nxp,fxls8962af.yaml \
Documentation/devicetree/bindings/iio/accel/nxp,fxls8962af.example.dt.yaml:0:0: \
/example-0/i2c0/accelerometer@62: failed to match any schema with compatible: \
['nxp,fxls8962af'] Documentation/devicetree/bindings/iio/accel/nxp,fxls8962af.example.dt.yaml:0:0: \
/example-1/spi0/accelerometer@0: failed to match any schema with compatible: \
['nxp,fxls8962af']

See https://patchwork.ozlabs.org/patch/1471682

This check can fail if there are any dependencies. The base for a patch
series is generally the most recent rc1.

If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:

pip3 install dtschema --upgrade

Please check and re-submit.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic