Re: [PATCH v2 1/5] dt-bindings: memory: lpddr3: convert to dtschema

From: Rob Herring
Date: Sat Feb 05 2022 - 10:36:30 EST


On Sat, 05 Feb 2022 13:00:39 +0100, Krzysztof Kozlowski wrote:
> Convert the LPDDR3 memory bindings to DT schema format.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxx>
> ---
> .../memory-controllers/ddr/jedec,lpddr3.yaml | 266 ++++++++++++++++++
> .../memory-controllers/ddr/lpddr3.txt | 107 -------
> 2 files changed, 266 insertions(+), 107 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/memory-controllers/ddr/jedec,lpddr3.yaml
> delete mode 100644 Documentation/devicetree/bindings/memory-controllers/ddr/lpddr3.txt
>

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/ddr/jedec,lpddr3.example.dt.yaml:0:0: /example-0/lpddr3/timings@800000000: failed to match any schema with compatible: ['jedec,lpddr3-timings']

doc reference errors (make refcheckdocs):
Warning: Documentation/devicetree/bindings/memory-controllers/samsung,exynos5422-dmc.yaml references a file that doesn't exist: Documentation/devicetree/bindings/memory-controllers/ddr/lpddr3.txt
Documentation/devicetree/bindings/memory-controllers/samsung,exynos5422-dmc.yaml: Documentation/devicetree/bindings/memory-controllers/ddr/lpddr3.txt

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

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.