Re: [PATCH] dt-bindings: sh_eth convert bindings to json-schema
From: Sergei Shtylyov <hidden>
Date: 2019-09-30 15:22:09
Also in:
linux-renesas-soc
Hello! On 09/30/2019 05:03 PM, Simon Horman wrote:
Convert Renesas Electronics SH EtherMAC bindings documentation to json-schema. Also name bindings documentation file according to the compat string being documented. Signed-off-by: Simon Horman <redacted>
[...]
quoted hunk ↗ jump to hunk
diff --git a/Documentation/devicetree/bindings/net/renesas,ether.yaml b/Documentation/devicetree/bindings/net/renesas,ether.yaml new file mode 100644 index 000000000000..7f84df9790e2 --- /dev/null +++ b/Documentation/devicetree/bindings/net/renesas,ether.yaml@@ -0,0 +1,114 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/renesas,ether.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Renesas Electronics SH EtherMAC + +allOf: + - $ref: ethernet-controller.yaml# + +maintainers: + - Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
I'm not sure I can maintain a YAML document as I don't know YAML. :-| [...]
quoted hunk ↗ jump to hunk
diff --git a/MAINTAINERS b/MAINTAINERS index 296de2b51c83..496e8f156925 100644 --- a/MAINTAINERS +++ b/MAINTAINERS@@ -13810,7 +13810,7 @@ R: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com> L: netdev@vger.kernel.org L: linux-renesas-soc@vger.kernel.org F: Documentation/devicetree/bindings/net/renesas,*.txt -F: Documentation/devicetree/bindings/net/sh_eth.txt +F: Documentation/devicetree/bindings/net/renesas,*.yaml F: drivers/net/ethernet/renesas/ F: include/linux/sh_eth.h
Are you planning the same thing for the EtherAVB bindings? We need to rename them to "renesas,etheravb" as the current name is neither here, nor there. Tha was my fault... :-( MBR, Sergei