From patchwork Fri Aug 18 23:14:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Golle X-Patchwork-Id: 13358356 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 803A5EE499E for ; Fri, 18 Aug 2023 23:15:12 +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:Content-Type:MIME-Version: Message-ID:Subject:To:From:Date:Reply-To:Cc:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=1fykh2vxS4HAiMcL1i5gBkMyK10pI3xQH3QZ0GBr4JM=; b=oY5cFOoBNWTwmmzJg6LefVNIi8 ippNxdEVxYyXkqUPOJRXZ3i8m4ETRiQjRtXZht6FDVZ5zDHJ7pW4Jpj1ZTEdsunfFAXjkbMvXhFdb uobap6mVPeqRa+fMpMWJQvNSWOY0+WtGrYDhSHoXvCWwIiRxB98EGq/Dk8Y347DuFSr7ziKubjFte ZPgUfWoNudkiGJ5AatzhOArxRKXU+vPKgvcJjvpsdj/9IjKLWSQvdVM4Qecy7YYyCYA5DOWaaP9bb w5nAMXUQsmlGmNiiamz/Oepu/3eQ+oRoH8njJU+RfRDlQoYgfAk1trmv4LrJv0CZBHQex9OKcGEU7 pf5NJNZw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qX8gR-00A97i-0j; Fri, 18 Aug 2023 23:15:11 +0000 Received: from pidgin.makrotopia.org ([185.142.180.65]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qX8gO-00A97F-0k; Fri, 18 Aug 2023 23:15:09 +0000 Received: from local by pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.96) (envelope-from ) id 1qX8g4-000153-2C; Fri, 18 Aug 2023 23:14:49 +0000 Date: Sat, 19 Aug 2023 00:14:26 +0100 From: Daniel Golle To: Felix Fietkau , John Crispin , Sean Wang , Mark Lee , Lorenzo Bianconi , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Matthias Brugger , AngeloGioacchino Del Regno , Daniel Golle , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH net-next 0/4] net: ethernet: mtk_eth_soc: improve support for MT7988 Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230818_161508_271200_FAD4473C X-CRM114-Status: UNSURE ( 7.02 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org This series fixes and completes commit 445eb6448ed3b ("net: ethernet: mtk_eth_soc: add basic support for MT7988 SoC") and also adds support for using the in-SoC SRAM to previous MT7986 and MT7981 SoCs. Daniel Golle (4): net: ethernet: mtk_eth_soc: fix register definitions for MT7988 net: ethernet: mtk_eth_soc: add reset bits for MT7988 net: ethernet: mtk_eth_soc: add support for in-SoC SRAM net: ethernet: mtk_eth_soc: support 36-bit DMA addressing on MT7988 drivers/net/ethernet/mediatek/mtk_eth_soc.c | 190 +++++++++++++++----- drivers/net/ethernet/mediatek/mtk_eth_soc.h | 42 ++++- 2 files changed, 182 insertions(+), 50 deletions(-) base-commit: c2e5f4fd1148727801a63d938cec210f16b48864