From: John Crispin <blogic@openwrt.org>
To: "David S. Miller" <davem@davemloft.net>
Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org,
"Steven Liu (劉人豪)" <steven.liu@mediatek.com>,
"Carlos Huang (黃士彰)" <Carlos.Huang@mediatek.com>,
"Felix Fietkau" <nbd@openwrt.org>,
"Michael Lee" <igvtee@gmail.com>,
"John Crispin" <blogic@openwrt.org>
Subject: [PATCH V5 0/4] net-next: mediatek: add ethernet driver
Date: Tue, 8 Mar 2016 11:29:53 +0100 [thread overview]
Message-ID: <1457432997-25526-1-git-send-email-blogic@openwrt.org> (raw)
This series adds support for the Mediatek ethernet core found on current ARM
based SoCs. The driver works on MT2701 and MT7623 SoCs
Instead of trying to upstream everything at once I decided to concentrate on
the important parts required to make current generation silicon work. The V3
series only includes the code required to make dual MAC setups work and only
supports the newer QDMA engine.
Changes in V5
* reduce the mdio timeut to HZ
* add a call to usleep_range() which schedules in the background.
Changes in V4
* remove ugly _FE macro, use offsetof() instead
Changes in V3
* only include code for MT2701/7623 support
* drop support for PDMA and older MIPS based SoCs
* drop switch support
Changes in V2
* change the namespace of the functions from fe_* to mtk_*
* add support for the latest generation of ARM SoCs
* add dual MAC support
* remove the swconfig specific bits
* remove most of the magic values and replace them with defines
* add verbose descriptions to the patches
John Crispin (4):
net-next: mediatek: document MediaTek SoC ethernet binding
net-next: mediatek: add support for MT7623 ethernet
net-next: mediatek: add Kconfig and Makefile
net-next: mediatek: add an entry to MAINTAINERS
.../devicetree/bindings/net/mediatek-net.txt | 77 +
MAINTAINERS | 7 +
drivers/net/ethernet/Kconfig | 1 +
drivers/net/ethernet/Makefile | 1 +
drivers/net/ethernet/mediatek/Kconfig | 17 +
drivers/net/ethernet/mediatek/Makefile | 5 +
drivers/net/ethernet/mediatek/mtk_eth_soc.c | 1806 ++++++++++++++++++++
drivers/net/ethernet/mediatek/mtk_eth_soc.h | 421 +++++
8 files changed, 2335 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/mediatek-net.txt
create mode 100644 drivers/net/ethernet/mediatek/Kconfig
create mode 100644 drivers/net/ethernet/mediatek/Makefile
create mode 100644 drivers/net/ethernet/mediatek/mtk_eth_soc.c
create mode 100644 drivers/net/ethernet/mediatek/mtk_eth_soc.h
--
1.7.10.4
next reply other threads:[~2016-03-08 10:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-08 10:29 John Crispin [this message]
2016-03-08 10:29 ` [PATCH V5 1/4] net-next: mediatek: document MediaTek SoC ethernet binding John Crispin
[not found] ` <1457432997-25526-1-git-send-email-blogic-p3rKhJxN3npAfugRpC6u6w@public.gmane.org>
2016-03-08 10:29 ` [PATCH V5 2/4] net-next: mediatek: add support for MT7623 ethernet John Crispin
2016-03-08 10:29 ` [PATCH V5 3/4] net-next: mediatek: add Kconfig and Makefile John Crispin
2016-03-08 10:29 ` [PATCH V5 4/4] net-next: mediatek: add an entry to MAINTAINERS John Crispin
2016-03-10 21:22 ` [PATCH V5 0/4] net-next: mediatek: add ethernet driver 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=1457432997-25526-1-git-send-email-blogic@openwrt.org \
--to=blogic@openwrt.org \
--cc=Carlos.Huang@mediatek.com \
--cc=davem@davemloft.net \
--cc=igvtee@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=nbd@openwrt.org \
--cc=netdev@vger.kernel.org \
--cc=steven.liu@mediatek.com \
/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).