Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1580421 > unrolled thread

[PATCH] dt-bindings: net: generalize moxart-mac to support all faraday based ftmac IP

Started byGreentime Hu <green.hu@gmail.com>
First post2017-02-14 10:20 +0100
Last post2017-02-22 22:00 +0100
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] dt-bindings: net: generalize moxart-mac to support all  faraday based ftmac IP Greentime Hu <green.hu@gmail.com> - 2017-02-14 10:20 +0100
    Re: [PATCH] dt-bindings: net: generalize moxart-mac to support all  faraday based ftmac IP Linus Walleij <linus.walleij@linaro.org> - 2017-02-22 00:20 +0100
    Re: [PATCH] dt-bindings: net: generalize moxart-mac to support all  faraday based ftmac IP Rob Herring <robh@kernel.org> - 2017-02-22 22:00 +0100

#1580421 — [PATCH] dt-bindings: net: generalize moxart-mac to support all faraday based ftmac IP

FromGreentime Hu <green.hu@gmail.com>
Date2017-02-14 10:20 +0100
Subject[PATCH] dt-bindings: net: generalize moxart-mac to support all faraday based ftmac IP
Message-ID<taHrc-8k8-35@gated-at.bofh.it>
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@gmail.com>
---
 .../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"
 - reg : Should contain register location and length
 - interrupts : Should contain the mac interrupt number
 
diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
index 16d3b5e..489c336 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -102,6 +102,7 @@ everest	Everest Semiconductor Co. Ltd.
 everspin	Everspin Technologies, Inc.
 excito	Excito
 ezchip	EZchip Semiconductor
+faraday	Faraday Technology Corporation
 fcs	Fairchild Semiconductor
 firefly	Firefly
 focaltech	FocalTech Systems Co.,Ltd
-- 
1.7.9.5

[toc] | [next] | [standalone]


#1585797

FromLinus Walleij <linus.walleij@linaro.org>
Date2017-02-22 00:20 +0100
Message-ID<tdrSW-11G-13@gated-at.bofh.it>
In reply to#1580421
On Tue, Feb 14, 2017 at 9:56 AM, Greentime Hu <green.hu@gmail.com> 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@gmail.com>
> ---
>  .../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

[toc] | [prev] | [next] | [standalone]


#1586475

FromRob Herring <robh@kernel.org>
Date2017-02-22 22:00 +0100
Message-ID<tdMb0-7mE-31@gated-at.bofh.it>
In reply to#1580421
On Tue, Feb 14, 2017 at 04:56:30PM +0800, Greentime Hu wrote:
> Andestech and moxa use the same faraday mac IP, so we use faraday,ftmac.txt to describe it.

Please wrap your lines.

> Signed-off-by: Greentime Hu <green.hu@gmail.com>
> ---
>  .../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"
>  - reg : Should contain register location and length
>  - interrupts : Should contain the mac interrupt number
>  
> diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt
> index 16d3b5e..489c336 100644
> --- a/Documentation/devicetree/bindings/vendor-prefixes.txt
> +++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
> @@ -102,6 +102,7 @@ everest	Everest Semiconductor Co. Ltd.
>  everspin	Everspin Technologies, Inc.
>  excito	Excito
>  ezchip	EZchip Semiconductor
> +faraday	Faraday Technology Corporation

As Linus mentioned, I did apply the same thing already, so drop this 
hunk.

>  fcs	Fairchild Semiconductor
>  firefly	Firefly
>  focaltech	FocalTech Systems Co.,Ltd
> -- 
> 1.7.9.5
> 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web