Re: [PATCH v8 9/9] dt-bindings: clock: tegra: Convert to schema

From: Rob Herring
Date: Sun May 16 2021 - 22:30:42 EST


On Sun, 16 May 2021 19:30:41 +0300, Dmitry Osipenko wrote:
> Convert NVIDIA Tegra clock bindings to schema.
>
> Reviewed-by: Rob Herring <robh@xxxxxxxxxx>
> Signed-off-by: Dmitry Osipenko <digetx@xxxxxxxxx>
> ---
> .../bindings/clock/nvidia,tegra114-car.txt | 63 ----------
> .../bindings/clock/nvidia,tegra124-car.txt | 107 ----------------
> .../bindings/clock/nvidia,tegra124-car.yaml | 115 ++++++++++++++++++
> .../bindings/clock/nvidia,tegra20-car.txt | 63 ----------
> .../bindings/clock/nvidia,tegra20-car.yaml | 69 +++++++++++
> .../bindings/clock/nvidia,tegra210-car.txt | 56 ---------
> .../bindings/clock/nvidia,tegra30-car.txt | 63 ----------
> 7 files changed, 184 insertions(+), 352 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/clock/nvidia,tegra114-car.txt
> delete mode 100644 Documentation/devicetree/bindings/clock/nvidia,tegra124-car.txt
> create mode 100644 Documentation/devicetree/bindings/clock/nvidia,tegra124-car.yaml
> delete mode 100644 Documentation/devicetree/bindings/clock/nvidia,tegra20-car.txt
> create mode 100644 Documentation/devicetree/bindings/clock/nvidia,tegra20-car.yaml
> delete mode 100644 Documentation/devicetree/bindings/clock/nvidia,tegra210-car.txt
> delete mode 100644 Documentation/devicetree/bindings/clock/nvidia,tegra30-car.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/clock/nvidia,tegra20-car.example.dt.yaml:0:0: /example-0/usb-controller@c5004000: failed to match any schema with compatible: ['nvidia,tegra20-ehci']
Documentation/devicetree/bindings/clock/nvidia,tegra124-car.example.dt.yaml:0:0: /example-0/usb-controller@c5004000: failed to match any schema with compatible: ['nvidia,tegra20-ehci']

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

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.