Re: [PATCH v1 4/6] dt-bindings: memory: tegra20: mc: Convert to schema
From: Rob Herring
Date: Tue Mar 30 2021 - 09:47:19 EST
On Tue, Mar 30, 2021 at 08:08:43AM -0500, Rob Herring wrote:
> On Mon, 29 Mar 2021 22:46:00 +0300, Dmitry Osipenko wrote:
> > Convert Tegra20 Memory Controller binding to schema.
> >
> > Signed-off-by: Dmitry Osipenko <digetx@xxxxxxxxx>
> > ---
> > .../memory-controllers/nvidia,tegra20-mc.txt | 40 ----------
> > .../memory-controllers/nvidia,tegra20-mc.yaml | 78 +++++++++++++++++++
> > 2 files changed, 78 insertions(+), 40 deletions(-)
> > delete mode 100644 Documentation/devicetree/bindings/memory-controllers/nvidia,tegra20-mc.txt
> > create mode 100644 Documentation/devicetree/bindings/memory-controllers/nvidia,tegra20-mc.yaml
> >
>
> My bot found errors running 'make dt_binding_check' on your patch:
>
> yamllint warnings/errors:
>
> dtschema/dtc warnings/errors:
> Documentation/devicetree/bindings/memory-controllers/nvidia,tegra20-mc.example.dt.yaml:0:0: /example-0/memory-controller@7000f000: failed to match any schema with compatible: ['nvidia,tegra20-mc']
Yes, this is a new warning. It's off by default for dt_binding_check
until we fix the existing warnings, but you can enable by adding
'DT_CHECKER_FLAGS=-m'. Support for this is in the dt/next branch.
Rob