[PATCH] dt-bindings: i2c: brcm, iproc-i2c: convert to the json-schema
Rob Herring
robh at kernel.org
Wed May 12 11:35:16 PDT 2021
On Wed, 12 May 2021 18:07:50 +0200, RafaÅ MiÅecki wrote:
> From: RafaÅ MiÅecki <rafal at milecki.pl>
>
> This helps validating DTS files.
>
> Introduced changes:
> 1. Added arm-gic.h include
>
> Signed-off-by: RafaÅ MiÅecki <rafal at milecki.pl>
> ---
> .../bindings/i2c/brcm,iproc-i2c.txt | 46 ------------
> .../bindings/i2c/brcm,iproc-i2c.yaml | 71 +++++++++++++++++++
> 2 files changed, 71 insertions(+), 46 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/i2c/brcm,iproc-i2c.txt
> create mode 100644 Documentation/devicetree/bindings/i2c/brcm,iproc-i2c.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:
Documentation/devicetree/bindings/i2c/brcm,iproc-i2c.example.dt.yaml:0:0: /example-0/i2c at 18008000/wm8750 at 1a: failed to match any schema with compatible: ['wlf,wm8750']
See https://patchwork.ozlabs.org/patch/1477696
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.
More information about the linux-arm-kernel
mailing list