Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp427117lqb; Fri, 24 May 2024 02:47:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWY0+l7KyrbPgksv+9RHZAEbk/Kn9roandiG7CZW+AuZdAq2KEUJU9A3+sHOWslxxzrq2bbK4eAeZ5zlRDRkiF7n7k2WOdJS9PkhxyJpQ== X-Google-Smtp-Source: AGHT+IGBDMV+ljnjybQ5vFtFiXr399x7m9vPOU+SGLRZt17Jmyc4uofH/TwI+SMKtuVFe6CZ2Gfb X-Received: by 2002:a17:903:2451:b0:1f3:c58:f4ea with SMTP id d9443c01a7336-1f448940177mr20791515ad.32.1716544042377; Fri, 24 May 2024 02:47:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716544042; cv=pass; d=google.com; s=arc-20160816; b=D6Tw1iygKeLiHIfPRSHpyluP8/dUl2uZ9uvvdByu02inAMzJwKMBcsM/F9Yt2Avsod 8VtNF5CDe2/+dat+7GIPAQGCgL031/Mn4tyHZ8EruZBIZIeHo5gPfbAjLsELmpu0EGUD Np+YuvSjtNT2oFWWCvEu8vwFVne4IZin/nrJECBR9cw5MjaCWP30zigQwcOflWIc+NHF V5ZrBBrePzrJ/g8I+w7ybT3JfI9+3AHImeCuOqwD5h9IbNmsTL9lYMC2ig5kruJGoeOq EW3+NasP+lfwOe6eXjyZpa2iOuWi3eu/0+MRKnrDRQ1nupWNxVf2mDdMHOLMASS9tcEf gPHw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=ZTJAnkyXmOSbb1GtAU7XtRNA6fzKoJZfE/rliAFricQ=; fh=H7Etj99Fa67GhYekAZgeFDGx01e8SCZtJmp9x3zHWII=; b=cftGhnxtUnyag851vY7TtKpfAEWt/Gv1pZZ8tnxQBsmWCx67YHmKu/Ayx+lFiei6ag uUKT1CqUC0MY70B6+MQd5RpQRZWM+RD6Q9dgaV1N2L2dP/GV07i51I2UbQiYwSToNPd3 aAg9FmCffbsBKYFn+1py8BrqjQpv6lpWJdeoG0wZ/rH/rSDJUjHiVbZdiF9QFlZzJFTp LkPH2ZxGwjUJ9oTcWOxbR1juWJWnMgLcXA3ezFpL+r0VVZHwphndJCnpj3RROjToHfrp qGVhljeRqqqK6/9L7ujK+H8+wZNWru/njf+qLOC+XBIygJBQhWaxmPW0jpNEzC2xRC00 2TtA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=bp.renesas.com dmarc=pass fromdomain=bp.renesas.com); spf=pass (google.com: domain of linux-kernel+bounces-188573-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188573-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f44c971463si10254855ad.321.2024.05.24.02.47.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 02:47:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-188573-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=bp.renesas.com dmarc=pass fromdomain=bp.renesas.com); spf=pass (google.com: domain of linux-kernel+bounces-188573-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188573-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 4A99EB20586 for ; Fri, 24 May 2024 09:47:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5EB2B85642; Fri, 24 May 2024 09:46:55 +0000 (UTC) Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DA3E342067; Fri, 24 May 2024 09:46:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.160.252.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716544014; cv=none; b=LqUPbMkZR6UbcG1bnKD/fvNJgEpdhmT5oQav66QiTt1Hjy230RUnjo8tel0F6MInPBFq/QLAb3xHO6fBHr41/K+fxGj+JYaFlZiWSdXmBxH2DrC7YSHl3nwyssIlYWu2gexDlD24GXhDRePp2wy+EbVcCVQPm3pWdTHyPPVpneI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716544014; c=relaxed/simple; bh=scV16I7S0smAdJpge2lvj7tLR+MMYrxI9eFUzY/Jfgg=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=pKNWXkE2MxsUtMQDR5RZIzBu2SgC9Io+seciw/Cq65GkYHI1x6H1s1qqefR5lOeOt848l4fFOtyDlcoxKO5hi5Qjt6NT7euNRbFimFs16w9nMViDtp3IcMZ8G+jgrMLsuW9QFGzNGZl5BjiQdEcQMV5nvw2JkeoP6Km6zOVcHKE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=bp.renesas.com; spf=pass smtp.mailfrom=bp.renesas.com; arc=none smtp.client-ip=210.160.252.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=bp.renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bp.renesas.com X-IronPort-AV: E=Sophos;i="6.08,185,1712588400"; d="scan'208";a="205579804" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 24 May 2024 18:46:44 +0900 Received: from renesas-deb12.cephei.uk (unknown [10.226.93.196]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 49D534006CD0; Fri, 24 May 2024 18:46:40 +0900 (JST) From: Paul Barker To: Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij Cc: Paul Barker , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/9] Configure GbEth for RGMII on RZ/G2L family Date: Fri, 24 May 2024 10:45:54 +0100 Message-Id: <20240524094603.988-1-paul.barker.ct@bp.renesas.com> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit For devices in the RZ/G2L family, we have so far relied on U-Boot correctly configuring the Ethernet interfaces in RGMII mode with PVDD=1.8V before the kernel is booted. Instead, the required configuration should be described in the device tree and activated within the pinctrl driver. Paul Barker (9): pinctrl: renesas: rzg2l: Fix variable names in OEN functions pinctrl: renesas: rzg2l: Refactor pin to OEN bit translation pinctrl: renesas: rzg2l: Support output enable on RZ/G2L arm64: dts: renesas: rzg2l: Enable Ethernet TXC output arm64: dts: renesas: rzg2lc: Enable Ethernet TXC output arm64: dts: renesas: rzg2ul: Enable Ethernet TXC output arm64: dts: renesas: rzg2l: Set Ethernet PVDD to 1.8V arm64: dts: renesas: rzg2lc: Set Ethernet PVDD to 1.8V arm64: dts: renesas: rzg2ul: Set Ethernet PVDD to 1.8V .../boot/dts/renesas/rzg2l-smarc-som.dtsi | 86 ++++++++++++------- .../boot/dts/renesas/rzg2lc-smarc-som.dtsi | 43 ++++++---- .../boot/dts/renesas/rzg2ul-smarc-som.dtsi | 86 ++++++++++++------- drivers/pinctrl/renesas/pinctrl-rzg2l.c | 78 ++++++++++------- 4 files changed, 182 insertions(+), 111 deletions(-) -- 2.39.2