Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755392AbcCCUCx (ORCPT ); Thu, 3 Mar 2016 15:02:53 -0500 Received: from caladan.dune.hu ([78.24.191.180]:59910 "EHLO arrakis.dune.hu" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754781AbcCCUCv (ORCPT ); Thu, 3 Mar 2016 15:02:51 -0500 From: John Crispin To: "David S. Miller" Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, =?UTF-8?q?Steven=20Liu=20=28=E5=8A=89=E4=BA=BA=E8=B1=AA=29?= , =?UTF-8?q?Carlos=20Huang=20=28=E9=BB=83=E5=A3=AB=E5=BD=B0=29?= , Felix Fietkau , Michael Lee , John Crispin Subject: [PATCH V3 0/4] net-next: mediatek: add ethernet driver Date: Thu, 3 Mar 2016 21:02:37 +0100 Message-Id: <1457035361-57669-1-git-send-email-blogic@openwrt.org> X-Mailer: git-send-email 1.7.10.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1932 Lines: 44 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 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 | 1786 ++++++++++++++++++++ drivers/net/ethernet/mediatek/mtk_eth_soc.h | 427 +++++ 8 files changed, 2321 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