From patchwork Mon Feb 15 15:24:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 12088387 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 6F7C2C433DB for ; Mon, 15 Feb 2021 15:26:13 +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 1E07364DBA for ; Mon, 15 Feb 2021 15:26:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1E07364DBA 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=8aV6ccXTn/cbEhTnvLcnXGrPXOFEOy6p64TllGVHAHg=; b=fxWXOOle/zNmsR/CSnUOeciFmb qkoaKRYQmyvE/xV4AIeTp2wGp5TLq1WqJu7Xykuc9XXRXYgDvaPtA3x/rj4fic2KTu0CAEq1uN5Ke tC10WTHpilrj6zjIFrPuwOx97cpDn1As2dQHeD8+X/6pXhxzgoc+VPsGiEZwM2PL1ci0wT3F6fPKS BlUwwzj4LQ103pj3nFsTOVnJCo5j5uMLbIbEuqF39zG/gBpM2tCzjgLRZ84x/ayg0z++tHb0Zmzfg Htff3aKx3cLAVZpoHLk3JCnIEmyKtU8THz2vscpDMveAlokniTG8Kk0MqW7MOVAdBOTBkkW+Qz29y vDj9HELw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1lBfk8-0001Af-Ci; Mon, 15 Feb 2021 15:24:56 +0000 Received: from mo-csw1514.securemx.jp ([210.130.202.153] helo=mo-csw.securemx.jp) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1lBfk3-00018Q-Tw for linux-arm-kernel@lists.infradead.org; Mon, 15 Feb 2021 15:24:53 +0000 Received: by mo-csw.securemx.jp (mx-mo-csw1514) id 11FFOi05026353; Tue, 16 Feb 2021 00:24:44 +0900 X-Iguazu-Qid: 34tMYNXf5ebGia1lCa X-Iguazu-QSIG: v=2; s=0; t=1613402684; q=34tMYNXf5ebGia1lCa; m=cj+MCU1y1W/fWNXIpwKsSHzvZL35tStosPJKR3uWZEE= Received: from imx2.toshiba.co.jp (imx2.toshiba.co.jp [106.186.93.51]) by relay.securemx.jp (mx-mr1512) id 11FFOgaS037437; Tue, 16 Feb 2021 00:24:43 +0900 Received: from enc01.toshiba.co.jp ([106.186.93.100]) by imx2.toshiba.co.jp with ESMTP id 11FFOgX0008332; Tue, 16 Feb 2021 00:24:42 +0900 (JST) Received: from hop001.toshiba.co.jp ([133.199.164.63]) by enc01.toshiba.co.jp with ESMTP id 11FFOfSP017693; Tue, 16 Feb 2021 00:24:42 +0900 From: Nobuhiro Iwamatsu To: "David S . Miller" , Jakub Kicinski , Rob Herring Subject: [PATCH v4 0/4] net: stmmac: Add Toshiba Visconti SoCs glue driver Date: Tue, 16 Feb 2021 00:24:34 +0900 X-TSB-HOP: ON Message-Id: <20210215152438.4318-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_102452_344772_D9995766 X-CRM114-Status: GOOD ( 11.76 ) 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 v3 -> v4: No update. Resend the correct patch series. 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 v3 -> v4: No update. Resend the correct patch series. https://lore.kernel.org/netdev/20210215050655.2532-3-nobuhiro1.iwamatsu@toshiba.co.jp/ did not contain the following fixes: - Drop def_bool y in Kconfig - Change from bool to tristate in Kconfig option. - Add 'default ARCH_VISCONTI' to Kconfig option. v2 -> v3: Remove code that is no longer needed by using compatible string. Drop def_bool y in Kconfig Change from bool to tristate in Kconfig option. Add 'default ARCH_VISCONTI' to Kconfig option. v1 -> v2: Use reverse christmas tree ordering for local variable declarations. MAINTAINERS: Add entries for Toshiba Visconti ethernet controller v3 -> v4: No update. Resend the correct patch series. v2 -> v3: No update. v1 -> v2: No update. arm: dts: visconti: Add DT support for Toshiba Visconti5 ethernet controller v3 -> v4: No update 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