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: 13358364 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 B09A9EE499F for ; Fri, 18 Aug 2023 23:15:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:To:From :Date:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=b6PZjW9FgFifDplwgEPyl2mlH+AEOSuq8lOUuX50mQE=; b=jrIDyRYYhSjc17 +2x3RAuJDEtR2GS0HzI2e+GpAMBvlX1KAJ/C0yhMYGFPuE/BPYSfMySLz0UzahOIYLa2Arr6ToJmm ypzd7BErrtLP2b/E1UbB8E3D8k6ZOqIqAQWiVLcK2I+tlQGh/pb2oFcETGglbBX+EEv/Mo1uwV58Q krftjDiGNUtrsev5ssKHbgNrEXXiGkBT8Btz5HpRoZDQQmS2MNY2bo2pjHSks9OoCTFD4ykb4hno0 jvrgB26/ijK5dAbwJhap9RD6gSzTpQJtBWgY+Y5tmmbJx7/VYhElxFb4Zpb3ZY4gmAPDxYnTmUuDQ uWJYsLDE1I3YY7jW8xAQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qX8gQ-00A97e-2a; Fri, 18 Aug 2023 23:15:10 +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-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 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