Re: [PATCH] dt-bindings: adau1977: convert text binding to yaml format

From: Rob Herring
Date: Fri Nov 06 2020 - 11:17:35 EST


On Fri, 06 Nov 2020 12:20:52 +0200, Alexandru Ardelean wrote:
> This change converts the old device-tree binding for ADAU1977 from text
> format to the new yaml format.
>
> Signed-off-by: Alexandru Ardelean <alexandru.ardelean@xxxxxxxxxx>
> ---
> .../bindings/sound/adi,adau1977.txt | 61 ---------------
> .../bindings/sound/adi,adau1977.yaml | 77 +++++++++++++++++++
> 2 files changed, 77 insertions(+), 61 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/sound/adi,adau1977.txt
> create mode 100644 Documentation/devicetree/bindings/sound/adi,adau1977.yaml
>


My bot found errors running 'make dt_binding_check' on your patch:

yamllint warnings/errors:

dtschema/dtc warnings/errors:
Error: Documentation/devicetree/bindings/sound/adi,adau1977.example.dts:28.37-38 syntax error
FATAL ERROR: Unable to parse input tree
make[1]: *** [scripts/Makefile.lib:342: Documentation/devicetree/bindings/sound/adi,adau1977.example.dt.yaml] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:1364: dt_binding_check] Error 2


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

The base for the patch is generally the last rc1. Any dependencies
should be noted.

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.