Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp2034782lqz; Tue, 2 Apr 2024 05:38:01 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXxGgL7D71Fx7+Uh5QPVzJ7w29Z+yHhWeU+XOjtjDL3nMzeS7AdkSVd8VsXi54nM0QenvO7RPMJePtdEHHQNmSWSvhQCoTJ3jctPC+zTw== X-Google-Smtp-Source: AGHT+IFWo6pi3fkjbSoj8wg1Wj7swq3pxsG3EfAHUku9D70n5pIA7H5ZzBdctkwp0UtqtSZtinCh X-Received: by 2002:a05:622a:1482:b0:432:f681:cb46 with SMTP id t2-20020a05622a148200b00432f681cb46mr5958429qtx.41.1712061480970; Tue, 02 Apr 2024 05:38:00 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712061480; cv=pass; d=google.com; s=arc-20160816; b=Wh88uPt2NU6HEwiGMvmXzSTActcYw4ItBI+I6mf90noLN0gpm1d+Jw2q0MjLVJ5aRM VTZZJnXouesE8558rM9ubiZ5knqGN1Zho9edhtRRj5oYZmN94JMweogpy8D8y4oU795j 8kruGDIFvkTH9vxSTwbRG/2Mu/U52PHF6900+8k6o+Rnpc+xYx7SCWpIn3PiyoZoFQlP 8xK5tRw0/JGnKC0/GxgV+FN3LfxrWrCZ0ZOnZuyXaxH9P0db1hBGtOU9mruV0kT6lmbt 54iGJvAQeFaKj0Ot1iwMBDCKPOHVgN/H1LDu+SW6Jla+tn3i95PPkwqRjjqMrk5i2uGY Gg7w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:from :dkim-signature; bh=vbMj3lx6/AbEHxFwUiXuMUpd+hrzcJ437vem59DVMVE=; fh=GkQQq2lGYFltmHLh2anSTwfoM75mpOR2vHRqGZbnsXw=; b=tdjeUCi09V+Ih5wC1XqerTGhxfjmxn8bEoXWi03xHBOqUzN/njLe5n2MfgUrES34/D NFsyRhOuQfV9eE6BwgbRHHKN+g5MOa0gGt1ANzb40Cjg7N1vty9eimL7D30Mu+4P9kSJ dK1awQV4uz2oqHFkhQP1OrYCjfLw0vdQrAI1JlogpKbn6JjZ+ozph3+dhtYPBC1igCnL dQZeIfFtap9JxgzCyi35R6m1G4qFan7cudLXWLTFKgIx3kSNgxPq49YIt6hm1VcAfyHB vnPv/vzLrcLh/wbQ93YexxYIC5khlpy95qsf/dDUJuSIbzCP3/FW5+wYSDQBY+tXJaL8 TM8A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Qr4KMBLU; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-127949-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127949-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id x6-20020a05622a000600b004309753aeafsi11937644qtw.662.2024.04.02.05.38.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 02 Apr 2024 05:38:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-127949-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=Qr4KMBLU; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-127949-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-127949-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 9492D1C233FA for ; Tue, 2 Apr 2024 12:37:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A4F3D7F7FA; Tue, 2 Apr 2024 12:36:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="Qr4KMBLU" Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5FDD078B63; Tue, 2 Apr 2024 12:36:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712061402; cv=none; b=pbtBhMSCNPbe1QufSSiYTreASXchZCQd1Um5ziA3v3YgrpNblQ0q3nGwztF1Zr8lB7YZcBHHdnWDr0tt6Lpm7qSSodfNaiaTtllocyrAGdVNrZuvyT0tGv9Gw8biVJxsaaaGiwSL6fZiQQHmCrWSxuGEgoLALDCbwUM+gGPxtLs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712061402; c=relaxed/simple; bh=CqoAkQqjHL6tWHYJw4f9BhF7XnKfqr4ur0BOKMnjGwY=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=I1s3pNNcPeeiU0/hlpa3rZTo70XHNvpwajxzo89Pkdkt5OJY0x9yW3eajrtStE5yE10+AHO1j25iOftocYViCepVHp+DNKsBzZHiOphaISTw1WcDy/GMmkArfJROIDjAAt6x9BtKwvFWxNZXLHJVswSk8GSh6BdVKYqENEDSCYg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=Qr4KMBLU; arc=none smtp.client-ip=217.70.183.199 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id CE393FF810; Tue, 2 Apr 2024 12:36:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1712061393; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=vbMj3lx6/AbEHxFwUiXuMUpd+hrzcJ437vem59DVMVE=; b=Qr4KMBLUPrDOshUpxPGyYmIyAe9REwoFnf81l5s5Cd1aYPEMEXbC+uiezz1MyirfLQTVf3 vCk0KCQ83dECqHCONREOe8nt1qvvH4vmMBj7yYMsIe7amQhH3LBNeq+VwyF2t+Yt4LrpSj V5vKw5RCsHmSEy32P22ST58gflprLoHFN+LZh2F0HX+uo77UllaXMsWX1pRysGV4358GzU z0bbqwEWWRV8WmNZHf5/8CKhDVj+ptKpibvGH26mixv3g2EHfNQanpfrmUGznMmf6m/k0B kqUWlviZzGnsI4Ers/NzAvje4jkr3bzhahVCwMA+f57PclaNazf5H7XCkIOJyQ== From: Romain Gantois Subject: [PATCH net-next 0/3] net: stmmac: Add support for RZN1 GMAC devices Date: Tue, 02 Apr 2024 14:36:59 +0200 Message-Id: <20240402-rzn1-gmac1-v1-0-5be2b2894d8c@bootlin.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-B4-Tracking: v=1; b=H4sIAOz7C2YC/x3MPQqAMAxA4atIZgNt/fcq4iBtqhmM0oqI4t0tj t/w3gORAlOEPnsg0MmRN0nQeQZ2mWQmZJcMRplSlcpguEXjvE5WY91W1rdNVzhFkII9kOfrnw0 gdKDQdcD4vh9T22SNZgAAAA== To: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Geert Uytterhoeven , Magnus Damm , Alexandre Torgue , Jose Abreu , Maxime Coquelin , Russell King , =?utf-8?q?Cl=C3=A9ment_L=C3=A9ger?= Cc: Thomas Petazzoni , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, Romain Gantois X-Mailer: b4 0.13.0 X-GND-Sasl: romain.gantois@bootlin.com Hello everyone, This is version one of my series that adds support for a Gigabit Ethernet controller featured in the Renesas r9a06g032 SoC, of the RZ/N1 family. This GMAC device is based on a Synopsys IP and is compatible with the stmmac driver. My former colleague Clément Léger originally sent a series for this driver, but an issue in bringing up the PCS clock had blocked the upstreaming process. This issue has since been resolved by the following series: https://lore.kernel.org/all/20240326-rxc_bugfix-v6-0-24a74e5c761f@bootlin.com/ This series consists of a devicetree binding describing the RZN1 GMAC controller IP, a node for the GMAC1 device in the r9a06g032 SoC device tree, and the GMAC driver itself which is a glue layer in stmmac. Best Regards, Romain Gantois --- Clément Léger (3): dt-bindings: net: renesas,rzn1-gmac: Document RZ/N1 GMAC support net: stmmac: add support for RZ/N1 GMAC ARM: dts: r9a06g032: describe GMAC1 .../devicetree/bindings/net/renesas,rzn1-gmac.yaml | 66 ++++++++++++++++ MAINTAINERS | 6 ++ arch/arm/boot/dts/renesas/r9a06g032.dtsi | 19 +++++ drivers/net/ethernet/stmicro/stmmac/Kconfig | 12 +++ drivers/net/ethernet/stmicro/stmmac/Makefile | 1 + drivers/net/ethernet/stmicro/stmmac/dwmac-rzn1.c | 87 ++++++++++++++++++++++ 6 files changed, 191 insertions(+) --- base-commit: 5fc68320c1fb3c7d456ddcae0b4757326a043e6f change-id: 20240402-rzn1-gmac1-685cf8793d0e Best regards, -- Romain Gantois