diff mbox

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

Message ID 20170223025338.GA5982@app09
State Accepted, archived
Headers show

Commit Message

Greentime Hu Feb. 23, 2017, 2:53 a.m. UTC
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>
---
Changes in v2:
 - Wrap the commit messages and remove the hunk that are already applied.
---
 .../net/{moxa,moxart-mac.txt => faraday,ftmac.txt} |    7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
 rename Documentation/devicetree/bindings/net/{moxa,moxart-mac.txt => faraday,ftmac.txt} (68%)

Comments

Rob Herring March 2, 2017, 3:10 p.m. UTC | #1
On Thu, Feb 23, 2017 at 10:53:47AM +0800, Greentime Hu 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>
> ---
> Changes in v2:
>  - Wrap the commit messages and remove the hunk that are already applied.
> ---
>  .../net/{moxa,moxart-mac.txt => faraday,ftmac.txt} |    7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
>  rename Documentation/devicetree/bindings/net/{moxa,moxart-mac.txt => faraday,ftmac.txt} (68%)

Applied, thanks.

Rob
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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