Re: [PATCH] dt-bindings: memory-controllers: ti,gpmc: Convert to yaml

From: Rob Herring
Date: Thu Aug 26 2021 - 09:26:28 EST


On Thu, 26 Aug 2021 11:57:31 +0300, Roger Quadros wrote:
> Convert omap-gpmc.txt to ti,gpmc.yaml.
>
> Signed-off-by: Roger Quadros <rogerq@xxxxxxxxxx>
> ---
> .../bindings/memory-controllers/omap-gpmc.txt | 157 --------
> .../bindings/memory-controllers/ti,gpmc.yaml | 360 ++++++++++++++++++
> 2 files changed, 360 insertions(+), 157 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/memory-controllers/omap-gpmc.txt
> create mode 100644 Documentation/devicetree/bindings/memory-controllers/ti,gpmc.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/memory-controllers/ti,gpmc.example.dt.yaml:0:0: /example-0/memory-controller@50000000/nand-controller@0,0: failed to match any schema with compatible: ['ti,omap2-nand']

doc reference errors (make refcheckdocs):
Warning: Documentation/devicetree/bindings/mtd/gpmc-nand.txt references a file that doesn't exist: Documentation/devicetree/bindings/memory-controllers/omap-gpmc.txt
Warning: Documentation/devicetree/bindings/mtd/gpmc-nor.txt references a file that doesn't exist: Documentation/devicetree/bindings/memory-controllers/omap-gpmc.txt
Warning: Documentation/devicetree/bindings/mtd/gpmc-nor.txt references a file that doesn't exist: Documentation/devicetree/bindings/memory-controllers/omap-gpmc.txt
Warning: Documentation/devicetree/bindings/mtd/gpmc-onenand.txt references a file that doesn't exist: Documentation/devicetree/bindings/memory-controllers/omap-gpmc.txt
Warning: Documentation/devicetree/bindings/net/gpmc-eth.txt references a file that doesn't exist: Documentation/devicetree/bindings/memory-controllers/omap-gpmc.txt
Warning: Documentation/devicetree/bindings/net/gpmc-eth.txt references a file that doesn't exist: Documentation/devicetree/bindings/memory-controllers/omap-gpmc.txt
Documentation/devicetree/bindings/mtd/gpmc-nand.txt: Documentation/devicetree/bindings/memory-controllers/omap-gpmc.txt
Documentation/devicetree/bindings/mtd/gpmc-nor.txt: Documentation/devicetree/bindings/memory-controllers/omap-gpmc.txt
Documentation/devicetree/bindings/mtd/gpmc-nor.txt: Documentation/devicetree/bindings/memory-controllers/omap-gpmc.txt
Documentation/devicetree/bindings/mtd/gpmc-onenand.txt: Documentation/devicetree/bindings/memory-controllers/omap-gpmc.txt
Documentation/devicetree/bindings/net/gpmc-eth.txt: Documentation/devicetree/bindings/memory-controllers/omap-gpmc.txt
Documentation/devicetree/bindings/net/gpmc-eth.txt: Documentation/devicetree/bindings/memory-controllers/omap-gpmc.txt

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

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.