Re: [PATCH] dt-bindings: net: generalize moxart-mac to support all faraday based ftmac IP
From: Linus Walleij
Date: Tue Feb 21 2017 - 18:10:11 EST
On Tue, Feb 14, 2017 at 9:56 AM, Greentime Hu <green.hu@xxxxxxxxx> wrote:
> Andestech and moxa use the same faraday mac IP, so we use faraday,ftmac.txt to describe it.
>
> Signed-off-by: Greentime Hu <green.hu@xxxxxxxxx>
> ---
> .../net/{moxa,moxart-mac.txt => faraday,ftmac.txt} | 7 +++++--
> .../devicetree/bindings/vendor-prefixes.txt | 1 +
> 2 files changed, 6 insertions(+), 2 deletions(-)
> rename Documentation/devicetree/bindings/net/{moxa,moxart-mac.txt => faraday,ftmac.txt} (68%)
>
> diff --git a/Documentation/devicetree/bindings/net/moxa,moxart-mac.txt b/Documentation/devicetree/bindings/net/faraday,ftmac.txt
> similarity index 68%
> rename from Documentation/devicetree/bindings/net/moxa,moxart-mac.txt
> rename to Documentation/devicetree/bindings/net/faraday,ftmac.txt
> index 583418b..be4f55e 100644
> --- a/Documentation/devicetree/bindings/net/moxa,moxart-mac.txt
> +++ b/Documentation/devicetree/bindings/net/faraday,ftmac.txt
> @@ -1,8 +1,11 @@
> -MOXA ART Ethernet Controller
> +Faraday Ethernet Controller
>
> Required properties:
>
> -- compatible : Must be "moxa,moxart-mac"
> +- compatible : Must contain "faraday,ftmac", as well as one of
> + the SoC specific identifiers:
> + "andestech,atmac100"
> + "moxa,moxart-mac"
Looks right to me.
> +faraday Faraday Technology Corporation
I think Rob already has this part on queue.
Yours,
Linus Walleij