Re: [PATCH v2 2/2] dt-bindings: misc: convert fsl, qoriq-mc from txt to YAML
From: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Date: 2020-11-10 17:36:06
Also in:
linux-arm-kernel, linux-devicetree, linux-doc, lkml, netdev
On 11/10/2020 7:20 PM, Rob Herring wrote:
On Mon, Nov 9, 2020 at 4:11 PM Rob Herring [off-list ref] wrote:quoted
On Mon, 09 Nov 2020 12:46:35 +0200, Laurentiu Tudor wrote:quoted
From: Ionut-robert Aron <redacted> 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 <redacted> [laurentiu.tudor@nxp.com: update MINTAINERS, updates & fixes in schema] Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com> --- 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.yamlApplied, 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
My patch converts the .txt devicetree/bindings/misc/fsl,qoriq-mc.yaml while the commit you mention creates devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml, but at a first sight there seems to be some duplication. Will sync internally with my colleagues and return with a resolution. Thanks and sorry for the trouble. --- Best Regards, Laurentiu