All of lore.kernel.org
 help / color / mirror / Atom feed
From: MarkLee <Mark-MC.Lee@mediatek.com>
To: u-boot@lists.denx.de
Subject: [U-boot,2/4] eth: mtk-eth: add mt7622 support in mediatek eth driver
Date: Tue, 21 Jan 2020 19:31:58 +0800	[thread overview]
Message-ID: <20200121113200.24259-3-Mark-MC.Lee@mediatek.com> (raw)
In-Reply-To: <20200121113200.24259-1-Mark-MC.Lee@mediatek.com>

This patch add mt7622 support in mediatek eth driver

Signed-off-by: MarkLee <Mark-MC.Lee@mediatek.com>
---
 drivers/net/mtk_eth.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/net/mtk_eth.c b/drivers/net/mtk_eth.c
index 7721ffb46c..85bbc2a3c5 100644
--- a/drivers/net/mtk_eth.c
+++ b/drivers/net/mtk_eth.c
@@ -136,7 +136,8 @@ enum mtk_switch {
 
 enum mtk_soc {
 	SOC_MT7623,
-	SOC_MT7629
+	SOC_MT7629,
+	SOC_MT7622
 };
 
 struct mtk_eth_priv {
@@ -1196,6 +1197,7 @@ static int mtk_eth_ofdata_to_platdata(struct udevice *dev)
 static const struct udevice_id mtk_eth_ids[] = {
 	{ .compatible = "mediatek,mt7629-eth", .data = SOC_MT7629 },
 	{ .compatible = "mediatek,mt7623-eth", .data = SOC_MT7623 },
+	{ .compatible = "mediatek,mt7622-eth", .data = SOC_MT7622 },
 	{}
 };
 
-- 
2.17.1

  parent reply	other threads:[~2020-01-21 11:31 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-21 11:31 [U-boot,0/4] Add ethernet support for MT7622 MarkLee
2020-01-21 11:31 ` [U-boot, 1/4] eth: mtk-eth: add sgmii mode support in mediatek eth driver MarkLee
2020-02-08  0:06   ` Tom Rini
2020-01-21 11:31 ` MarkLee [this message]
2020-02-08  0:06   ` [U-boot, 2/4] eth: mtk-eth: add mt7622 " Tom Rini
2020-01-21 11:31 ` [U-boot, 3/4] arm: dts: mediatek: add ethernet and sgmii dts node for mt7622 MarkLee
2020-02-08  0:06   ` Tom Rini
2020-01-21 11:32 ` [U-boot,4/4] configs: mediatek: enable mt7622 ethernet support MarkLee
2020-01-27 18:49   ` Tom Rini
2020-01-28 12:03     ` Aw: " Frank Wunderlich
2020-02-08  0:06   ` Tom Rini
2020-01-21 12:53 ` Aw: [U-boot,0/4] Add ethernet support for MT7622 Frank Wunderlich
2020-01-22  8:43   ` mtk15127
2020-01-26 11:53     ` Aw: " Frank Wunderlich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200121113200.24259-3-Mark-MC.Lee@mediatek.com \
    --to=mark-mc.lee@mediatek.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.