LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: <sean.wang@mediatek.com>
To: <john@phrozen.org>, <davem@davemloft.net>
Cc: <nbd@openwrt.org>, <netdev@vger.kernel.org>,
<linux-kernel@vger.kernel.org>,
<linux-mediatek@lists.infradead.org>,
Sean Wang <sean.wang@mediatek.com>
Subject: [PATCH net-next v1 0/6] Add MT7629 ethernet support
Date: Sat, 1 Jun 2019 08:03:09 +0800 [thread overview]
Message-ID: <1559347395-14058-1-git-send-email-sean.wang@mediatek.com> (raw)
From: Sean Wang <sean.wang@mediatek.com>
MT7629 inlcudes two sets of SGMIIs used for external switch or PHY, and embedded
switch (ESW) via GDM1, GePHY via GMAC2, so add several patches in the series to
make the code base common with the old SoCs.
The patch 1, 3 and 6, adds extension for SGMII to have the hardware configured
for 1G, 2.5G and AN to fit the capability of the target PHY. In patch 6 could be
an example showing how to use these configurations for underlying PHY speed to
match up the link speed of the target PHY.
The patch 4 is used for automatically configured the hardware path from GMACx to
the target PHY by the description in deviceetree topology to determine the
proper value for the corresponding MUX.
The patch 2 and 5 is for the update for MT7629 including dt-binding document and
its driver.
Sean Wang (6):
dt-bindings: clock: mediatek: Add an extra required property to
sgmiisys
dt-bindings: net: mediatek: Add support for MediaTek MT7629 SoC
net: ethernet: mediatek: Extend SGMII related functions
net: ethernet: mediatek: Integrate hardware path from GMAC to PHY
variants
net: ethernet: mediatek: Add MT7629 ethernet support
arm64: dts: mt7622: Enlarge the SGMII register range
.../arm/mediatek/mediatek,sgmiisys.txt | 2 +
.../devicetree/bindings/net/mediatek-net.txt | 14 +-
arch/arm64/boot/dts/mediatek/mt7622.dtsi | 3 +-
drivers/net/ethernet/mediatek/Makefile | 3 +-
drivers/net/ethernet/mediatek/mtk_eth_path.c | 323 ++++++++++++++++++
drivers/net/ethernet/mediatek/mtk_eth_soc.c | 97 +++---
drivers/net/ethernet/mediatek/mtk_eth_soc.h | 177 +++++++++-
drivers/net/ethernet/mediatek/mtk_sgmii.c | 105 ++++++
8 files changed, 647 insertions(+), 77 deletions(-)
create mode 100644 drivers/net/ethernet/mediatek/mtk_eth_path.c
create mode 100644 drivers/net/ethernet/mediatek/mtk_sgmii.c
--
2.17.1
next reply other threads:[~2019-06-01 0:08 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-01 0:03 sean.wang [this message]
2019-06-01 0:03 ` [PATCH net-next v1 1/6] dt-bindings: clock: mediatek: Add an extra required property to sgmiisys sean.wang
2019-06-01 0:03 ` [PATCH net-next v1 2/6] dt-bindings: net: mediatek: Add support for MediaTek MT7629 SoC sean.wang
2019-06-01 0:03 ` [PATCH net-next v1 3/6] net: ethernet: mediatek: Extend SGMII related functions sean.wang
2019-06-01 0:03 ` [PATCH net-next v1 4/6] net: ethernet: mediatek: Integrate hardware path from GMAC to PHY variants sean.wang
2019-06-01 0:03 ` [PATCH net-next v1 5/6] net: ethernet: mediatek: Add MT7629 ethernet support sean.wang
2019-06-01 0:03 ` [PATCH net-next v1 6/6] arm64: dts: mt7622: Enlarge the SGMII register range sean.wang
2019-06-03 22:00 ` [PATCH net-next v1 0/6] Add MT7629 ethernet support David Miller
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=1559347395-14058-1-git-send-email-sean.wang@mediatek.com \
--to=sean.wang@mediatek.com \
--cc=davem@davemloft.net \
--cc=john@phrozen.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=nbd@openwrt.org \
--cc=netdev@vger.kernel.org \
--subject='Re: [PATCH net-next v1 0/6] Add MT7629 ethernet support' \
/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
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).