From patchwork Fri Aug 23 14:11:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Detlev Casanova X-Patchwork-Id: 13775270 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 ADDEAC531DC for ; Fri, 23 Aug 2024 14:12:29 +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:Date:Subject:Cc :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=SW6aWwd1vqZ4qYoR5cKiLVaDMFPr7pBckDfyGhhxxSI=; b=ecDKZbPzyfGLUG iBjpR95jvUwRGO8fEVPYJbuqwpDDhVKdV/mAuV7d+jehe6HYkXJytu7CqNw/oanr2z6MjZyfmHwEb QF41pSnJspK5+iWWXHr5EiiKqCe0jFCpMUkNqFti2mqAkcfgGvtuwy5J8YEaPbzpz66wRyiItAGww foy94jNm+h7zW7FvzdKh5Cxb1T6/ssU3FnCjEgkcDum0Nf969XKahqFuGVYiVczdnfh+Z6jTDCjk4 45yPwuxUhQiZJNod55DmR7BR64vEx0BKWwR5AIaafyKzUUrPW0k+2WiIpRj53SoCLwwAdV18Pe3yM AkGWXk1/I5oPU/9ULm8A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1shV1d-0000000H2GI-135u; Fri, 23 Aug 2024 14:12:25 +0000 Received: from sender4-pp-f112.zoho.com ([136.143.188.112]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1shV1X-0000000H2Co-3hDy; Fri, 23 Aug 2024 14:12:21 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1724422312; cv=none; d=zohomail.com; s=zohoarc; b=CrToZ2LTI//Gtte2hJPQcZ5QDN3uDirJqmj6R94r4N99Rbo4pAcHJ6JNdarmMzkEBpZSaLOFNlq/oDGKAg5gN+qfHGE6GEM+YUFWn8xcca65Cf2glLacy4w6ntuR8tof5ZtEPftnF+E8nrsAQUdmGRdd+eP3plHpLgnxRUEk7I8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1724422312; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To; bh=lNp4RfIxi4nUXP7c0Aub3ROaeoojv7EDzsSfORBjjkE=; b=kbuhsOTJ3xVK/tDGbTBlwkX0UY7Mpu8vkInysRClwom94FqXCu4HH10B1eLl66Zmfa5q3S3FD1evCvg+7Al53IfPtVT0FmikSPANKwRaMHDKdxBik8YMuPwYhwxEC66EgheFyBIeV7B7CcsIFEo/bEPGFCdQTf53XjmGnIxqDB8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=collabora.com; spf=pass smtp.mailfrom=detlev.casanova@collabora.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1724422312; s=zohomail; d=collabora.com; i=detlev.casanova@collabora.com; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Transfer-Encoding:Message-Id:Reply-To; bh=lNp4RfIxi4nUXP7c0Aub3ROaeoojv7EDzsSfORBjjkE=; b=j16wgxcSJxUO1zGqi/UroUioB6/Ww52ql5liESPdnZOVqwk/aSTsYxSFeoCFmyXz uN0O/2Ecu09IUH3arc/q0HKIHzbK3g3bVe7mXFdhPF9TH4cpaFsp0+UJprejLqRdEBH oMXB7agPk6YwuXuePWrRV2JFeGJQWCfBWWnMVAbo= Received: by mx.zohomail.com with SMTPS id 1724422310105193.1328447504353; Fri, 23 Aug 2024 07:11:50 -0700 (PDT) From: Detlev Casanova To: linux-kernel@vger.kernel.org Cc: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Alexandre Torgue , Jose Abreu , Maxime Coquelin , David Wu , Giuseppe Cavallaro , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, kernel@collabora.com, Detlev Casanova Subject: [PATCH v3 0/3] Add GMAC support for rk3576 Date: Fri, 23 Aug 2024 10:11:12 -0400 Message-ID: <20240823141318.51201-1-detlev.casanova@collabora.com> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 X-ZohoMailClient: External X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240823_071220_035914_AAF3C8AA X-CRM114-Status: UNSURE ( 8.28 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org Add the necessary constants and functions to support the GMAC devices on the rk3576. Changes since v2: - Fix typos in RK3576_GMAC_CLK_SELET_* - Also fix typo for RK3588_GMAC_CLK_SELET_* Changes since v1: - Add binding in net/snps,dwmac.yaml too Detlev. David Wu (1): ethernet: stmmac: dwmac-rk: Add GMAC support for RK3576 Detlev Casanova (2): ethernet: stmmac: dwmac-rk: Fix typo for RK3588 code dt-bindings: net: Add support for rk3576 dwmac .../bindings/net/rockchip-dwmac.yaml | 2 + .../devicetree/bindings/net/snps,dwmac.yaml | 1 + .../net/ethernet/stmicro/stmmac/dwmac-rk.c | 164 +++++++++++++++++- 3 files changed, 163 insertions(+), 4 deletions(-)