Re: [PATCH] dt-bindings: memory: convert Samsung Exynos DMC to dtschema
From: Rob Herring
Date: Fri Aug 13 2021 - 12:49:52 EST
On Fri, 13 Aug 2021 14:54:14 +0200, Krzysztof Kozlowski wrote:
> Convert Samsung Exynos5422 SoC frequency and voltage scaling for
> Dynamic Memory Controller to DT schema format using json-schema.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxx>
> ---
> .../memory-controllers/exynos5422-dmc.txt | 84 -----------
> .../samsung,exynos5422-dmc.yaml | 137 ++++++++++++++++++
> MAINTAINERS | 2 +-
> 3 files changed, 138 insertions(+), 85 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/memory-controllers/exynos5422-dmc.txt
> create mode 100644 Documentation/devicetree/bindings/memory-controllers/samsung,exynos5422-dmc.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/samsung,exynos5422-dmc.example.dt.yaml:0:0: /example-0/ppmu@10d00000: failed to match any schema with compatible: ['samsung,exynos-ppmu']
doc reference errors (make refcheckdocs):
See https://patchwork.ozlabs.org/patch/1516650
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.