From patchwork Mon Feb 15 05:06:51 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 12087755 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2E060C433DB for ; Mon, 15 Feb 2021 05:08:40 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C602164E68 for ; Mon, 15 Feb 2021 05:08:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C602164E68 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=toshiba.co.jp Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=p0SBF9jV+eDqGcY5bSUwh05PQNe15dz9FyRHGmdvh1w=; b=g5sVDLOm3PrjyO9yy8xuHuNjdo kMGVTKNJ3SXo/EDlk5PTZYlhZg7RiosbWjiaIRIO85quoyXg89WLOnLGQoGNwFbu60sgsfR4nQL5T gXquxXgVbU4U7RHWHK6v08wFJziLxMmAHvgj2gon3bfDMe3j5dSEq1VGtZA36kwC3emc/FagsSXwr 0E/LWuBwoVYBSFxe41oXePp8/BYI7XDh41Xk5qETKNvjMmoM19QYXYqorSPBujYW85HF43khthIAW rvCILvUBxPBhhCh5XCludADAnPiWx09UCYufNxQTagCLW22f7crqVtqDad8XZOHwJ9KxOqVb/3fTM Zm4IbRrA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lBW6V-0002b1-Bd; Mon, 15 Feb 2021 05:07:23 +0000 Received: from mo-csw1516.securemx.jp ([210.130.202.155] helo=mo-csw.securemx.jp) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1lBW6P-0002ZH-VD for linux-arm-kernel@lists.infradead.org; Mon, 15 Feb 2021 05:07:20 +0000 Received: by mo-csw.securemx.jp (mx-mo-csw1516) id 11F577A3015166; Mon, 15 Feb 2021 14:07:07 +0900 X-Iguazu-Qid: 34tKUV8MimxR7ZIuD6 X-Iguazu-QSIG: v=2; s=0; t=1613365626; q=34tKUV8MimxR7ZIuD6; m=MS7teCp+O8x8PHbRPtbPQMWlgpxAEzzRds7XFt0rzvg= Received: from imx12.toshiba.co.jp (imx12.toshiba.co.jp [61.202.160.132]) by relay.securemx.jp (mx-mr1510) id 11F575WI005028; Mon, 15 Feb 2021 14:07:05 +0900 Received: from enc02.toshiba.co.jp ([61.202.160.51]) by imx12.toshiba.co.jp with ESMTP id 11F575I4029837; Mon, 15 Feb 2021 14:07:05 +0900 (JST) Received: from hop101.toshiba.co.jp ([133.199.85.107]) by enc02.toshiba.co.jp with ESMTP id 11F574E5021262; Mon, 15 Feb 2021 14:07:04 +0900 From: Nobuhiro Iwamatsu To: "David S . Miller" , Jakub Kicinski , Rob Herring Subject: [PATCH v3 0/4] net: stmmac: Add Toshiba Visconti SoCs glue driver Date: Mon, 15 Feb 2021 14:06:51 +0900 X-TSB-HOP: ON Message-Id: <20210215050655.2532-1-nobuhiro1.iwamatsu@toshiba.co.jp> X-Mailer: git-send-email 2.30.0.rc2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210215_000718_428838_FE1E5949 X-CRM114-Status: GOOD ( 11.15 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, punit1.agrawal@toshiba.co.jp, Alexandre Torgue , leon@kernel.org, arnd@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Jose Abreu , Giuseppe Cavallaro , Nobuhiro Iwamatsu , yuji2.ishikawa@toshiba.co.jp, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, This series is the ethernet driver for Toshiba's ARM SoC, Visconti[0]. This provides DT binding documentation, device driver, MAINTAINER files, and updates to DT files. Best regards, Nobuhiro [0]: https://toshiba.semicon-storage.com/ap-en/semiconductor/product/image-recognition-processors-visconti.htmli Updates: dt-bindings: net: Add DT bindings for Toshiba Visconti TMPV7700 SoC v2 -> v3: Change to the correct dwmac version. Remove description of reg property. Update examples, drop dma-coherent, add snps,tso, fix phy-mode. v1 -> v2: No update. net: stmmac: Add Toshiba Visconti SoCs glue driver v2 -> v3: Remove code that is no longer needed by using compatible string. Drop def_bool y in Kconfig v1 -> v2: Use reverse christmas tree ordering for local variable declarations. MAINTAINERS: Add entries for Toshiba Visconti ethernet controller v2 -> v3: No update. v1 -> v2: No update. arm: dts: visconti: Add DT support for Toshiba Visconti5 ethernet controller v2 -> v3: Add "snps,dwmac-4.20a" as compatible string. Add snps,tso. v1 -> v2: No update. Nobuhiro Iwamatsu (4): dt-bindings: net: Add DT bindings for Toshiba Visconti TMPV7700 SoC net: stmmac: Add Toshiba Visconti SoCs glue driver MAINTAINERS: Add entries for Toshiba Visconti ethernet controller arm: dts: visconti: Add DT support for Toshiba Visconti5 ethernet controller .../bindings/net/toshiba,visconti-dwmac.yaml | 85 ++++++ MAINTAINERS | 2 + .../boot/dts/toshiba/tmpv7708-rm-mbrc.dts | 18 ++ arch/arm64/boot/dts/toshiba/tmpv7708.dtsi | 25 ++ drivers/net/ethernet/stmicro/stmmac/Kconfig | 8 + drivers/net/ethernet/stmicro/stmmac/Makefile | 1 + .../ethernet/stmicro/stmmac/dwmac-visconti.c | 285 ++++++++++++++++++ 7 files changed, 424 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/toshiba,visconti-dwmac.yaml create mode 100644 drivers/net/ethernet/stmicro/stmmac/dwmac-visconti.c