From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 955A2D0E6FB for ; Mon, 21 Oct 2024 11:48:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=H8YrykSb7t2DHYMO+hlxPJmtmmelI3x9zl/hvQxPiVo=; b=nv8WrXMpZplmW/z7tRuNcPxH42 DN5N06yYxvSA4C40ECaMvCTFh09HDH6+HVYuze/U+fKIjFNV2XqmJhZgWYQqI7KcNHjOprn7dcwma vAGv71KPyjtRwLYDoMFsLc0voGxwkBcU9Ri7+cmYNEYqDF0U6Gu5ZB2kRscSsH6JQcgN0JGCYkRbV qFRQfKvbNAxgFN2yWUl1b/qJMe0J9GxOG+4W2f5kTfD8CzOLgAu8alww/9hgYOPzKNSOdCttrXjCm CvUZE1gb4iPV4gKV5MyhHS0jPm+arQC87GY791w7ahqvQXUirYAP80cHj027htnkXgFvdo7U6gSIY 8M8LCGhA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t2qtT-000000076Ly-3rRq; Mon, 21 Oct 2024 11:48:15 +0000 Received: from nyc.source.kernel.org ([2604:1380:45d1:ec00::3]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1t2qpP-000000075ZN-3urJ; Mon, 21 Oct 2024 11:44:05 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by nyc.source.kernel.org (Postfix) with ESMTP id 38968A42771; Mon, 21 Oct 2024 11:43:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 02AA8C4CEC3; Mon, 21 Oct 2024 11:43:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1729511042; bh=AJ/DqPzoLPYjvF0DStKqvbOtkyW/e+moS4T9f9nXyqQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qPFG2UnDVHfwXTPxm6/dIYV2yc8SrdzSZjAUbW5bfUU9txzgGGCDLhEveKdAqHc+0 WfC7DIo7X1e7eisVg7uwKVasVx6+hUkKkSuQXaVpEOTy/FvGJzco3VnSNoTv+92scF WWJgX+rwjhW3AOlhM5b7gtA1pCqvF3KEEGbdSl/steiVuxGqvQrdMP9mbvWm19ezzU j+syt2dsRwW6p3fHyFmxQ+isz8rl6180ifHI2cbt49Yck1ecLQXqEra4QJ6ty695Fc WkaoG2t9iBRyZjxmo2sydyVzk6imdEtruIvB/ceaODruCdKixQ3QGkvpsBSImK8qwq gbhSxRwyxfYow== Date: Mon, 21 Oct 2024 12:43:54 +0100 From: Simon Horman To: Drew Fustini Cc: Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alexandre Torgue , Giuseppe Cavallaro , Jose Abreu , Maxime Coquelin , Emil Renner Berthing , Jisheng Zhang , Guo Ren , Fu Wei , Paul Walmsley , Palmer Dabbelt , Albert Ou , Andrew Lunn , Drew Fustini , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: Re: [PATCH net-next v4 0/3] Add the dwmac driver support for T-HEAD TH1520 SoC Message-ID: <20241021114354.GF402847@kernel.org> References: <20241020-th1520-dwmac-v4-0-c77acd33ccef@tenstorrent.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20241020-th1520-dwmac-v4-0-c77acd33ccef@tenstorrent.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241021_044404_196712_1B6CA1EE X-CRM114-Status: GOOD ( 26.25 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sun, Oct 20, 2024 at 07:35:59PM -0700, Drew Fustini wrote: > This series adds support for dwmac gigabit ethernet in the T-Head TH1520 > RISC-V SoC along with dts patches to enable the ethernet ports on the > BeagleV Ahead and the LicheePi 4A. > > The pinctrl-th1520 driver, pinctrl binding, and related dts patches are > in linux-next so there are no longer any prerequisite series that need > to be applied first. > > Changes in v4: > - Rebase on next for pinctrl dependency > - Add 'net-next' prefix to subject per maintainer-netdev.rst > - Add clocks, clock-names, interrupts and interrupt-names to binding > - Simplify driver code by switching from regmap to regualar mmio > > Changes in v3: > - Rebase on v6.12-rc1 > - Remove thead,rx-internal-delay and thead,tx-internal-delay properties > - Remove unneeded call to thead_dwmac_fix_speed() during probe > - Fix filename for the yaml file in MAINTAINERS patch > - Link: https://lore.kernel.org/linux-riscv/20240930-th1520-dwmac-v3-0-ae3e03c225ab@tenstorrent.com/ > > Changes in v2: > - Drop the first patch as it is no longer needed due to upstream commit > d01e0e98de31 ("dt-bindings: net: dwmac: Validate PBL for all IP-cores") > - Rename compatible from "thead,th1520-dwmac" to "thead,th1520-gmac" > - Add thead,rx-internal-delay and thead,tx-internal-delay properties > and check that it does not exceed the maximum value > - Convert from stmmac_dvr_probe() to devm_stmmac_pltfr_probe() and > delete the .remove_new hook as it is no longer needed > - Handle return value of regmap_write() in case it fails > - Add phy reset delay properties to the BeagleV Ahead device tree > - Link: https://lore.kernel.org/linux-riscv/20240926-th1520-dwmac-v2-0-f34f28ad1dc9@tenstorrent.com/ > > Changes in v1: > - remove thead,gmacapb that references syscon for APB registers > - add a second memory region to gmac nodes for the APB registers > - Link: https://lore.kernel.org/all/20240713-thead-dwmac-v1-0-81f04480cd31@tenstorrent.com/ > > --- > Emil Renner Berthing (1): > riscv: dts: thead: Add TH1520 ethernet nodes > > Jisheng Zhang (2): > dt-bindings: net: Add T-HEAD dwmac support > net: stmmac: Add glue layer for T-HEAD TH1520 SoC > > .../devicetree/bindings/net/snps,dwmac.yaml | 1 + > .../devicetree/bindings/net/thead,th1520-gmac.yaml | 115 +++++++++ > MAINTAINERS | 2 + > arch/riscv/boot/dts/thead/th1520-beaglev-ahead.dts | 91 +++++++ > .../boot/dts/thead/th1520-lichee-module-4a.dtsi | 119 +++++++++ > arch/riscv/boot/dts/thead/th1520.dtsi | 50 ++++ > drivers/net/ethernet/stmicro/stmmac/Kconfig | 10 + > drivers/net/ethernet/stmicro/stmmac/Makefile | 1 + > drivers/net/ethernet/stmicro/stmmac/dwmac-thead.c | 268 +++++++++++++++++++++ > 9 files changed, 657 insertions(+) > --- > base-commit: f2493655d2d3d5c6958ed996b043c821c23ae8d3 > change-id: 20241020-th1520-dwmac-e14cc8f8427b Hi Drew, all, This series is targeted at net-next, but it doesn't apply there. I'm unsure what the way forwards is, but I expect that at a minimum the patchset will need to be reposted in some form. -- pw-bot: cr