Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1475254rdb; Wed, 6 Dec 2023 23:08:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IFHlvgKRbWuxlfTuhejFCx6C/tBllr3o5JEcuRpTlNTLbkCq808NqSXG9MMn8l2DUHofaCZ X-Received: by 2002:a17:90b:4c0f:b0:286:815b:8c51 with SMTP id na15-20020a17090b4c0f00b00286815b8c51mr2005661pjb.44.1701932894569; Wed, 06 Dec 2023 23:08:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701932894; cv=none; d=google.com; s=arc-20160816; b=tDhbhiYS6DnwDqaUvwJZlUGOvfs7hDdAYN186hcSC276TqchL/pW6/K9jpm5bSaQuk HBG6B4BEmQTz9wE80tGDmtT+vnIJtWv1w48aV7OnU843ZXkV/G/bJJWsXD2uMt35YBBF rdlX/vvZSdBMxity8MmlstUjOS4rmCF6q8OEKp2db6i6uvYvbxBBiQUomRz9b+7tOwx8 KwpTlWmXFEz2PiPRGEr7FKO5MdgAi6ZGj2b7Kds4UxPiOXr0nOqwkmk9fDIPiP4ciMjO ax77j+0tILdPapU7EJEf5OkNVxrcdK5xkvpbljYEBrDiWTU+Kh9N16cinYo+pous4WNH 1Mvw== 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=TVyclZazJvX0BLnaExZFu9C3yH6+5Ao3su3cId334Q4=; fh=0Q5nThHpcqxhTuYPafxHj+TuRjwsk4lTGXpM+LoLmQc=; b=a/ZtzsVJyv2Z6BowUU+VmQZPUtxbL695/kC0W1s0U0zA4zQnWKPr3SX2dFc3gv58Ak osb0xxgMi+rWulFHfXDdZht7DqTRLB80BwsEX2veQnO7OBDrGszQdKdffM7468Lrfwge 1VpkltMNns2L2ZdC+0xR32ZghKPUIwvd32bRQOdn7whxqsLFKQOAfN17wpIvnnsN8LIz D1Cj6VrrzGu9/rNHAQhgVMjZferROO/N4BgUX7hQhazOp/qBoJNpiH4lqMFWFYuSWGJ5 1bFcFSB0gplV3olsqmzYmm7bA0OmES3mQ4sP8PKBAyaGB86RZxZtB764KzEeRltVmejI i4JA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=YQkAT+Nx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id ci22-20020a17090afc9600b00286d452783esi578292pjb.5.2023.12.06.23.08.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 23:08:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=YQkAT+Nx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 40B3B80E068C; Wed, 6 Dec 2023 23:08:13 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377638AbjLGHH6 (ORCPT + 99 others); Thu, 7 Dec 2023 02:07:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229456AbjLGHH4 (ORCPT ); Thu, 7 Dec 2023 02:07:56 -0500 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B84B5D5C for ; Wed, 6 Dec 2023 23:08:01 -0800 (PST) Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-548f853fc9eso736149a12.1 for ; Wed, 06 Dec 2023 23:08:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1701932880; x=1702537680; 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=TVyclZazJvX0BLnaExZFu9C3yH6+5Ao3su3cId334Q4=; b=YQkAT+Nxdj3his7EyWpn1VUSiZ7ie8RiRYyZQ4gQKDDZ8OfTB3L/IeHEp/Lbd0LxDu Be2zYwp/3MbEjlgeuwDsALXmMr5MebJkB7r80DPjB58ulbuFAvhzToO1KUqhnkvfLjRb s1FuZVZp4HKAHR5QMicQlX483eg/y+yApoHpiyIfnZRWcq8cIvak/jeEO3ZCSC/tzEln gmSp/ScUAbavTL9nVCZZwJKpDHBTkQFUlK6OZCo6cIzHg5uWgHXJ16N2ePjN6QiTLlHS kgrRNRmX9ozJTwmNRRm+GUDtJufuJNIKV1Ns154h1ecEJLdmvPwio7F2OaSangP1Z96D 6hfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701932880; x=1702537680; 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=TVyclZazJvX0BLnaExZFu9C3yH6+5Ao3su3cId334Q4=; b=W1wAvoYQ26vD2UX3O3MmsMK0wY55gsLsyX0ifxQzDdxNl5Hs51LCj7oIapqa1Nv7U7 juOXQ9DVriI6KpJmOn55VNRlCf69DjCr7UvAHa3M+OzDlKmMaEx9iWUrqFIT8W5d2/Fu 7uRUcXsVYcMLO9clA8muFwWXI5vk5Dmr8btfWiWU5wBURPiYHor73V77lCIKzGrnfqe5 T5xUgHkajmHyrQMfAYcbjZTJEx4g2YDQq3TZPaRMICjEQo+Fiq+jWCTqm+0v7fMlULR7 gfr+Dsogk/wzywIEDsylv+pagNb8HNs8kaFiwtiTueYyJ8rPTPAFstkDrrg0FtV8Smie z6GA== X-Gm-Message-State: AOJu0YwMnR/uUEe90OnNqfz8FqNEMqwF7/j5fX9IDNx1VqRv8/Mp8r0z UmrOoBLVUnxYVLV1V9pt6Z9wVw== X-Received: by 2002:a05:6402:176b:b0:54c:4837:9fd8 with SMTP id da11-20020a056402176b00b0054c48379fd8mr565439edb.47.1701932880051; Wed, 06 Dec 2023 23:08:00 -0800 (PST) Received: from claudiu-X670E-Pro-RS.. ([82.78.167.22]) by smtp.gmail.com with ESMTPSA id b41-20020a509f2c000000b0054cb88a353dsm420818edf.14.2023.12.06.23.07.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 23:07:59 -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, geert+renesas@glider.be, magnus.damm@gmail.com, mturquette@baylibre.com, sboyd@kernel.org, linus.walleij@linaro.org, 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-clk@vger.kernel.org, linux-gpio@vger.kernel.org, Claudiu Beznea Subject: [PATCH v2 00/11] renesas: rzg3s: Add support for Ethernet Date: Thu, 7 Dec 2023 09:06:49 +0200 Message-Id: <20231207070700.4156557-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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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 lindbergh.monkeyblade.net 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 (snail.vger.email [0.0.0.0]); Wed, 06 Dec 2023 23:08:13 -0800 (PST) From: Claudiu Beznea Hi, Series adds Ethernet support for Renesas RZ/G3S. Along with it preparatory cleanups and fixes were included. Patches 1-2 are clock specific. Patches 3-7 are pinctrl specific. Patches 8-11 are device tree specific. It is expected that patches will be integrated though Geert's tree. Thank you, Claudiu Beznea Changes in v2: - patches 1/14 and 14/14 from v1 were integrated thus, didn't include them in this version - dropped patch 3/14 "clk: renesas: rzg2l-cpg: Add support for MSTOP" from v1 and associated changes; a follow up will be done on it after the current series will be accepted - addressed review comments - fixed typos in commit title and description - collected tags - removed IEN functinality form patch 6/12 and added it in a separate patch (patch 7/12) - patch 11/14] "arm64: renesas: rzg3s-smarc-som: Invert the logic for SW_SD2_EN macro from" from v1 was replaced by patch 10/11 in this version "arm64: renesas: rzg3s-smarc-som: Use switches' names to select on-board functionalities" Claudiu Beznea (11): clk: renesas: rzg2l-cpg: Check reset monitor registers clk: renesas: r9a08g045-cpg: Add clock and reset support for ETH0 and ETH1 pinctrl: renesas: rzg2l: Move arg and index 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 pinctrl: renesas: rzg2l: Add input enable to the Ethernet pins dt-bindings: net: renesas,etheravb: Document RZ/G3S support arm64: renesas: r9a08g045: Add the Ethernet nodes arm64: renesas: rzg3s-smarc-som: Use switches' names to select on-board functionalities arm64: dts: renesas: rzg3s-smarc-som: Enable the Ethernet interfaces .../bindings/net/renesas,etheravb.yaml | 1 + arch/arm64/boot/dts/renesas/r9a08g045.dtsi | 38 ++++ .../boot/dts/renesas/rzg3s-smarc-som.dtsi | 173 ++++++++++++++++-- drivers/clk/renesas/r9a08g045-cpg.c | 10 + drivers/clk/renesas/rzg2l-cpg.c | 59 ++++-- drivers/pinctrl/renesas/pinctrl-rzg2l.c | 164 +++++++++++++++-- 6 files changed, 398 insertions(+), 47 deletions(-) -- 2.39.2