Message ID | cover.1692660046.git.daniel@makrotopia.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b82d:0:b0:3f2:4152:657d with SMTP id z13csp3371942vqi; Mon, 21 Aug 2023 19:42:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHq2SFajgnH1GjDcDfIxaCfoqCN0Xtr3CfZhen6odoIj4G6/XzeA6RLqx4/v1n3d/o6F31L X-Received: by 2002:a17:903:234e:b0:1b9:f7f4:5687 with SMTP id c14-20020a170903234e00b001b9f7f45687mr5575174plh.24.1692672160999; Mon, 21 Aug 2023 19:42:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692672160; cv=none; d=google.com; s=arc-20160816; b=oKzL3YGz9A5nH92F2kb8NhmsGf6g2ZhEYFo/MVd0Uc+M8K6AwsOC2AvmtGJBhv1TvA Yt6spqvkLKXBiKlmW4zfzUMiKnxLYw+5NxbxyGS8QWDRRt/bC2eI2jQs+8gHOEeamJb9 4iLxGSITSNlpSDAx4ZBCIUlxHa0+xW1uFiYfstLSDfGMUXEmpkh3OQxzR6EYW6uZ5qQ6 WKKxCWmj/9YbFpQ5kC4GaVst50SSCnhUH+BVG9IuFCn4k7dhz+92Nq67PeShedpYzgFx i9yS+2w1glu0fMVJU2w2pbPiJInZ1k2x1GOp0RAulU0bZmIpXhCXNJdl/vFmv05mzfvm PtmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:to:from:date; bh=Q68c5jw0p9HvyOnVHm1hEPITt7oEYR8bWMU7MwSEsEo=; fh=X1vQ7pCsbQpxViGgjgqIn/1e1UlakaNBc5eoPlgDJr0=; b=HSAXrWdDVzISP8DY1JSUIY+iGlD3Uz6vtGQCESVOue+pby/pbbWSnXf2IDQk7EqtWK UAIDJnCB2HyU7+/873BRjtMhCCN3OofmvuG8oCMbmVyBfCliv85/j/eQ9cFGv47aV0Sl nW611sEBrOEKQgktPPortVo4y87GRdwzBYLND9oM5xsqSFSGevqJCxjEscblAqLJW0FP 7MT6wFxPx5QcqK8lTD+LPxczpjfXE5fOCiav30dw10VdwJ3Vh9HRkQk5Mlc+W1JP9hlT uDYPB9ur+paOPIssxHKbZ65NVwYFytQqcQ5Od+7IunB3v7e+Psap8qHQv7uipLbnMtcz UpEw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n8-20020a170902e54800b001b8b4330585si8769850plf.510.2023.08.21.19.42.27; Mon, 21 Aug 2023 19:42:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231687AbjHUX3Z (ORCPT <rfc822;telecom888@gmail.com> + 99 others); Mon, 21 Aug 2023 19:29:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44962 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231669AbjHUX3Y (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 21 Aug 2023 19:29:24 -0400 Received: from pidgin.makrotopia.org (pidgin.makrotopia.org [185.142.180.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 19019189; Mon, 21 Aug 2023 16:29:19 -0700 (PDT) Received: from local by pidgin.makrotopia.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.96) (envelope-from <daniel@makrotopia.org>) id 1qYEKU-0004Ta-2s; Mon, 21 Aug 2023 23:29:03 +0000 Date: Tue, 22 Aug 2023 00:28:44 +0100 From: Daniel Golle <daniel@makrotopia.org> To: Felix Fietkau <nbd@nbd.name>, John Crispin <john@phrozen.org>, Sean Wang <sean.wang@mediatek.com>, Mark Lee <Mark-MC.Lee@mediatek.com>, Lorenzo Bianconi <lorenzo@kernel.org>, "David S. Miller" <davem@davemloft.net>, Eric Dumazet <edumazet@google.com>, Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>, Matthias Brugger <matthias.bgg@gmail.com>, AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>, Daniel Golle <daniel@makrotopia.org>, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: [PATCH net-next v2 0/4] net: ethernet: mtk_eth_soc: improve support for MT7988 Message-ID: <cover.1692660046.git.daniel@makrotopia.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1774895404164401884 X-GMAIL-MSGID: 1774895404164401884 |
Series |
net: ethernet: mtk_eth_soc: improve support for MT7988
|
|
Message
Daniel Golle
Aug. 21, 2023, 11:28 p.m. UTC
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. Changes since v1: * SRAM is actual memory and doesn't require __iomem * Introduce stub ADDR64 operations on 32-bit platforms to avoid compiler warning 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 | 194 +++++++++++++++----- drivers/net/ethernet/mediatek/mtk_eth_soc.h | 53 +++++- 2 files changed, 197 insertions(+), 50 deletions(-) base-commit: 7eb6deb3f55678216a6a0e956846c04958093ea5