Re: [PATCH v2 2/2] dt-bindings: misc: convert fsl, qoriq-mc from txt to YAML

From: Rob Herring
Date: Tue Nov 10 2020 - 12:20:54 EST


On Mon, Nov 9, 2020 at 4:11 PM Rob Herring <robh@xxxxxxxxxx> wrote:
>
> On Mon, 09 Nov 2020 12:46:35 +0200, Laurentiu Tudor wrote:
> > From: Ionut-robert Aron <ionut-robert.aron@xxxxxxx>
> >
> > Convert fsl,qoriq-mc to YAML in order to automate the verification
> > process of dts files. In addition, update MAINTAINERS accordingly
> > and, while at it, add some missing files.
> >
> > Signed-off-by: Ionut-robert Aron <ionut-robert.aron@xxxxxxx>
> > [laurentiu.tudor@xxxxxxx: update MINTAINERS, updates & fixes in schema]
> > Signed-off-by: Laurentiu Tudor <laurentiu.tudor@xxxxxxx>
> > ---
> > Changes in v2:
> > - fixed errors reported by yamllint
> > - dropped multiple unnecessary quotes
> > - used schema instead of text in description
> > - added constraints on dpmac reg property
> >
> > .../devicetree/bindings/misc/fsl,qoriq-mc.txt | 196 ----------------
> > .../bindings/misc/fsl,qoriq-mc.yaml | 210 ++++++++++++++++++
> > .../ethernet/freescale/dpaa2/overview.rst | 5 +-
> > MAINTAINERS | 4 +-
> > 4 files changed, 217 insertions(+), 198 deletions(-)
> > delete mode 100644 Documentation/devicetree/bindings/misc/fsl,qoriq-mc.txt
> > create mode 100644 Documentation/devicetree/bindings/misc/fsl,qoriq-mc.yaml
> >
>
> Applied, thanks!

And now dropped. This duplicates what's in commit 0dbcd4991719
("dt-bindings: net: add the DPAA2 MAC DTS definition") and has
warnings from it:

/builds/robherring/linux-dt-bindings/Documentation/devicetree/bindings/misc/fsl,qoriq-mc.example.dt.yaml:
dpmac@1: $nodename:0: 'dpmac@1' does not match '^ethernet(@.*)?$'
From schema: /builds/robherring/linux-dt-bindings/Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml

Rob