From: Jianguo Zhang <jianguo.zhang@mediatek.com>
To: "David S . Miller" <davem@davemloft.net>,
Rob Herring <robh+dt@kernel.org>
Cc: Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Giuseppe Cavallaro <peppe.cavallaro@st.com>,
Alexandre Torgue <alexandre.torgue@foss.st.com>,
Jose Abreu <joabreu@synopsys.com>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Matthias Brugger <matthias.bgg@gmail.com>,
"Biao Huang" <biao.huang@mediatek.com>, <netdev@vger.kernel.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<linux-stm32@st-md-mailman.stormreply.com>,
<linux-arm-kernel@lists.infradead.org>,
<linux-mediatek@lists.infradead.org>,
Jianguo Zhang <jianguo.zhang@mediatek.com>
Subject: [PATCH 1/2] stmmac: dwmac-mediatek: add support for mt8188
Date: Mon, 19 Sep 2022 16:04:09 +0800 [thread overview]
Message-ID: <20220919080410.11270-2-jianguo.zhang@mediatek.com> (raw)
In-Reply-To: <20220919080410.11270-1-jianguo.zhang@mediatek.com>
Add ethernet support for MediaTek SoCs from mt8188 family.
As mt8188 and mt8195 have same ethernet design, so private data
"mt8195_gmac_variant" can be reused for mt8188.
Signed-off-by: Jianguo Zhang <jianguo.zhang@mediatek.com>
---
drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c
index d42e1afb6521..f45be440b6d0 100644
--- a/drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c
+++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-mediatek.c
@@ -720,6 +720,8 @@ static const struct of_device_id mediatek_dwmac_match[] = {
.data = &mt2712_gmac_variant },
{ .compatible = "mediatek,mt8195-gmac",
.data = &mt8195_gmac_variant },
+ { .compatible = "mediatek,mt8188-gmac",
+ .data = &mt8195_gmac_variant },
{ }
};
--
2.25.1
next prev parent reply other threads:[~2022-09-19 8:04 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-19 8:04 [PATCH 0/2] Mediatek ethernet patchs for mt8188 Jianguo Zhang
2022-09-19 8:04 ` Jianguo Zhang [this message]
2022-09-19 8:19 ` [PATCH 1/2] stmmac: dwmac-mediatek: add support " Krzysztof Kozlowski
2022-09-19 8:37 ` Jianguo Zhang
2022-09-19 9:27 ` Krzysztof Kozlowski
2022-09-19 9:56 ` Jianguo Zhang
2022-09-19 10:06 ` Krzysztof Kozlowski
2022-09-20 2:33 ` Jianguo Zhang
2022-09-19 8:04 ` [PATCH 2/2] net: dt-bindings: dwmac: " Jianguo Zhang
2022-09-19 8:20 ` Krzysztof Kozlowski
2022-09-19 16:24 ` Krzysztof Kozlowski
2022-09-20 2:41 ` Jianguo Zhang
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=20220919080410.11270-2-jianguo.zhang@mediatek.com \
--to=jianguo.zhang@mediatek.com \
--cc=alexandre.torgue@foss.st.com \
--cc=biao.huang@mediatek.com \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=joabreu@synopsys.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=matthias.bgg@gmail.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=peppe.cavallaro@st.com \
--cc=robh+dt@kernel.org \
/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 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).