Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp136202rdh; Wed, 22 Nov 2023 22:15:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IGcqeeQjfp0agd04lLAI0YviGMMrq8CfPnU+WXJAB9RW/YxCb8WH7MG+YNmzkZ12tKlN0NN X-Received: by 2002:a05:6870:ab11:b0:1ea:bb5:a531 with SMTP id gu17-20020a056870ab1100b001ea0bb5a531mr5898361oab.13.1700720155485; Wed, 22 Nov 2023 22:15:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700720155; cv=none; d=google.com; s=arc-20160816; b=DwAJ8pmoyJIZ79i6YHNVuxFUnTymqvYT1Ajbg4IfmlughcABY9Tjl6PL3WpDbcs+gA LCz5DkBQYfROJM2R5uxKKouroUtuvHOLUtNaB3oApx69V7197howo4zgxg+O/Ozp5SVE VtEJ61e2QP0zQ78CRjn6fsc9QZAMxW3XoyCx5aEyvTOHqcETXvwFJedgJINIB9zFXMbj XXIoqSNe7KKwbmQodW2A+Z73nP0VS+K9M27pI9hscdgMS4Y4Vau82fKFavbtMLoVNyBf VW32E66lO6HNAGD6+v90kxZ7Xp4ZBKVJoaA4vfnDrXIzKoblo0bN5KfMeF5d7gCQg5Xa QtvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=KwevGdkeW/EqmdjRRf8uL4/0rWQsUrZxtLsAgN3TSxo=; fh=UtlQhRhLKpbK48fI8aAhq1bqi4+bdxjfHDYQgAa0jjg=; b=JJmf5rOsAZ3c9pdk93ZjuOIt1iuNLGXnhdOQwStHGcwSVd/udjK6zC4vnw8zUa44ZQ GwwoDW2R9mioePhmc5qCsVMy/FlapakmWThQuYlYv/I0Oo6SsQCUs2diBDCt+AcCbtja jCVFCYirMPgsA/HySY3KyuMSMOI/IxngAZnYMNXPRQkKMlommOzuGtpaSdCQRpHDJ4zf oCZBG0EYi4+0OO20e0ywcRL5u4g1Le2vbjLdjAzqzK3G7M0qRDl3n26O429pbwxblRLp c9EmFLOoDJ1regzH+ElPX/bXy8jjjkBU9vUZVgyf1PS6V9TGX83Zk8Mc3gXR1c5mbkAT 9RIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=gZ+ZpceU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id i34-20020a635422000000b005c215b317e9si691624pgb.478.2023.11.22.22.15.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 22:15:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=gZ+ZpceU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 854FD80532F0; Sun, 19 Nov 2023 23:01:26 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229952AbjKTHBE (ORCPT + 99 others); Mon, 20 Nov 2023 02:01:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229483AbjKTHBD (ORCPT ); Mon, 20 Nov 2023 02:01:03 -0500 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33663126 for ; Sun, 19 Nov 2023 23:00:58 -0800 (PST) Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-32fb190bf9bso2983988f8f.1 for ; Sun, 19 Nov 2023 23:00:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1700463656; x=1701068456; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=KwevGdkeW/EqmdjRRf8uL4/0rWQsUrZxtLsAgN3TSxo=; b=gZ+ZpceUYbalfqGIXbbkSPcAWX72qAJlUlzAq3hRmziQIMAdDmFV4RNt5irfiJ2gsz xJJtmlnLcHb0Nca7EeXTtRkFegdHoOCF684yjxL9ana2ir2yxhiQMwsIZQEn15kZGi+i zMkmW8P/QxLHjAitWH7Pp+RhNY1RuBtE1+MgNfUsV2m6/rBXI5rsSR7WNLA9eaRrwXIY 3ML++obL99bTuXgLOqOE5UAanPuIziRgALXiQ+pZIXGQgfcC4kdGM4/7HgvwZGRVTsAk 3lPXjY/DOo9IvT/S0Y3aTsWfoMQozeirSMyuqlpw0Jw+B8+4gNHotbqJQd61KESkUZ9L +XqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700463656; x=1701068456; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=KwevGdkeW/EqmdjRRf8uL4/0rWQsUrZxtLsAgN3TSxo=; b=pBdbmpd4v9t/Vdw/653WY+yrDUEzU6RKR3JFUaxEzWzJgpRB1R/2xkJqj4p1QMi5g1 KNpMjQvGS1g2qjBSQSqfeDCXcollpOdsnkYv14HY8LiKpNoV5Ty6GZ59P81F57IKdXsC xWLxalqeb3YVba8ZPYxpb95zXLD1g1nDnWwNFJTAX8pHqNY26SnnbCEObfEFHl5BWzNX o9itYNcy11D5zM5TrP7oOEqIbNBP0Mn5Zw6d+fEOkkFdrS0KzWnoGsSAZQ4xpPr/PC+r CATGz7MFN0kEorlogDdTWv65Mspxxm2CuK0jGLiwmykMEq9HHBDvXqgimBz+frgFzLbS /L3A== X-Gm-Message-State: AOJu0Yxu3Xu13c6YaH9HzzosoxuckfjeGFcbm4QqSuGMzeKxZyr2M+AU 09ozGGkXbwbnK/rKeFZMH3hqAA== X-Received: by 2002:a5d:5cc2:0:b0:332:c9c2:dd4e with SMTP id cg2-20020a5d5cc2000000b00332c9c2dd4emr639485wrb.31.1700463656622; Sun, 19 Nov 2023 23:00:56 -0800 (PST) Received: from claudiu-X670E-Pro-RS.. ([82.78.167.183]) by smtp.gmail.com with ESMTPSA id p2-20020a5d4582000000b003316d1a3b05sm8777667wrq.78.2023.11.19.23.00.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Nov 2023 23:00:56 -0800 (PST) From: Claudiu X-Google-Original-From: Claudiu To: s.shtylyov@omp.ru, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux@armlinux.org.uk, geert+renesas@glider.be, magnus.damm@gmail.com, mturquette@baylibre.com, sboyd@kernel.org, linus.walleij@linaro.org, p.zabel@pengutronix.de, arnd@arndb.de, m.szyprowski@samsung.com, alexandre.torgue@foss.st.com, afd@ti.com, broonie@kernel.org, alexander.stein@ew.tq-group.com, eugen.hristev@collabora.com, sergei.shtylyov@gmail.com, prabhakar.mahadev-lad.rj@bp.renesas.com, biju.das.jz@bp.renesas.com Cc: linux-renesas-soc@vger.kernel.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, claudiu.beznea@tuxon.dev, Claudiu Beznea Subject: [PATCH 00/14] renesas: rzg3s: Add support for Ethernet Date: Mon, 20 Nov 2023 09:00:10 +0200 Message-Id: <20231120070024.4079344-1-claudiu.beznea.uj@bp.renesas.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sun, 19 Nov 2023 23:01:26 -0800 (PST) From: Claudiu Beznea Hi, Series adds Ethernet support for Renesas RZ/G3S Ethernet. Along with it preparatory cleanups and fixes were included. Patches 1-4 are clock specific. Patches 5-8 are pinctrl specific. Patches 9-13 are device tree specific. Patch 14 updates multi_v7_defconfig with RAVB flag. Thank you, Claudiu Beznea Claudiu Beznea (14): clk: renesas: rzg2l-cpg: Reuse code in rzg2l_cpg_reset() clk: renesas: rzg2l-cpg: Check reset monitor registers clk: renesas: rzg2l-cpg: Add support for MSTOP clk: renesas: r9a08g045-cpg: Add clock and reset support for ETH0 and ETH1 pinctrl: renesas: rzg2l: Move arg in the main function block pinctrl: renesas: rzg2l: Add pin configuration support for pinmux groups pinctrl: renesas: rzg2l: Add support to select power source for Ethernet pins pinctrl: renesas: rzg2l: add output enable support dt-bindings: net: renesas,etheravb: Document RZ/G3S support arm64: renesas: r9a08g045: Add Ethernet nodes arm64: renesas: rzg3s-smarc-som: Invert the logic for SW_SD2_EN macro arm64: dts: renesas: Improve documentation for SW_SD0_DEV_SEL arm64: dts: renesas: rzg3s-smarc-som: Enable Ethernet interfaces arm: multi_v7_defconfig: Enable CONFIG_RAVB .../bindings/net/renesas,etheravb.yaml | 1 + arch/arm/configs/multi_v7_defconfig | 1 + arch/arm64/boot/dts/renesas/r9a08g045.dtsi | 32 ++++ .../boot/dts/renesas/rzg3s-smarc-som.dtsi | 153 +++++++++++++++- drivers/clk/renesas/r9a07g043-cpg.c | 116 ++++++------ drivers/clk/renesas/r9a07g044-cpg.c | 158 ++++++++--------- drivers/clk/renesas/r9a08g045-cpg.c | 64 +++++-- drivers/clk/renesas/r9a09g011-cpg.c | 116 ++++++------ drivers/clk/renesas/rzg2l-cpg.c | 166 +++++++++++++++--- drivers/clk/renesas/rzg2l-cpg.h | 21 ++- drivers/pinctrl/renesas/pinctrl-rzg2l.c | 166 ++++++++++++++++-- 11 files changed, 736 insertions(+), 258 deletions(-) -- 2.39.2