netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] Documentation: devicetree: change the mediatek ethernet compatible string
@ 2017-01-25  8:20 John Crispin
  2017-01-25  8:20 ` [PATCH 2/2] net-next: ethernet: mediatek: change the " John Crispin
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: John Crispin @ 2017-01-25  8:20 UTC (permalink / raw)
  To: Rob Herring, Matthias Brugger, David S. Miller
  Cc: netdev, Sean Wang, devicetree, linux-mediatek, John Crispin

When the binding was defined, I was not aware that mt2701 was an earlier
version of the SoC. For sake of consistency, the ethernet driver should
use mt2701 inside the compat string as this is the earliest SoC with the
ethernet core.

The ethernet driver is currently of no real use until we finish and
upstream the DSA driver. There are no users of this binding yet. It should
be safe to fix this now before it is too late and we need to provide
backward compatibility for the mt7623-eth compat string.

Reported-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: John Crispin <john@phrozen.org>
---
 Documentation/devicetree/bindings/net/mediatek-net.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/net/mediatek-net.txt b/Documentation/devicetree/bindings/net/mediatek-net.txt
index c010faf..c7194e8 100644
--- a/Documentation/devicetree/bindings/net/mediatek-net.txt
+++ b/Documentation/devicetree/bindings/net/mediatek-net.txt
@@ -7,7 +7,7 @@ have dual GMAC each represented by a child node..
 * Ethernet controller node
 
 Required properties:
-- compatible: Should be "mediatek,mt7623-eth"
+- compatible: Should be "mediatek,mt2701-eth"
 - reg: Address and length of the register set for the device
 - interrupts: Should contain the three frame engines interrupts in numeric
 	order. These are fe_int0, fe_int1 and fe_int2.
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-02-02  5:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-25  8:20 [PATCH 1/2] Documentation: devicetree: change the mediatek ethernet compatible string John Crispin
2017-01-25  8:20 ` [PATCH 2/2] net-next: ethernet: mediatek: change the " John Crispin
     [not found]   ` <1485332455-34743-2-git-send-email-john-Pj+rj9U5foFAfugRpC6u6w@public.gmane.org>
2017-01-25 19:36     ` David Miller
2017-02-02  5:07   ` James Liao
     [not found] ` <1485332455-34743-1-git-send-email-john-Pj+rj9U5foFAfugRpC6u6w@public.gmane.org>
2017-01-25 10:43   ` [PATCH 1/2] Documentation: devicetree: change the mediatek ethernet " Matthias Brugger
2017-01-27 22:41   ` Rob Herring
2017-01-25 19:36 ` David Miller
2017-02-02  5:07 ` James Liao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).