Received: by 2002:ab2:69cc:0:b0:1fd:c486:4f03 with SMTP id n12csp280901lqp; Tue, 11 Jun 2024 04:36:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW/Lbtjr4LQ5Q11xgfYOfTWXc660VH1CCRj3NUE8MiYd5BKWiFLWylqfs3bkHzsdTwOPSW8xe53IjJwknew/5MNElSoI864FhIAwXQ8wQ== X-Google-Smtp-Source: AGHT+IHbgvrkhNHCzOTm5agrWuMLvpsp8lODV8N9Y2+2ExKKuLMo3YexsZkGJiAE/lrRrKAB7XvT X-Received: by 2002:a50:9359:0:b0:57c:5fcf:b570 with SMTP id 4fb4d7f45d1cf-57c5fcfb69bmr6223892a12.32.1718105798301; Tue, 11 Jun 2024 04:36:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718105798; cv=pass; d=google.com; s=arc-20160816; b=fm6+grFoXgqCG5zUYVxPNYgOjcg4q4zfp9PutCNj7C5SWe33uqbAgG4r+dLj80Fbhe 8vsrU+XER8+8UXlPSOYUKpS8xhx+D0tnTVjXkZndDf6T8CgCfjGNuOCs8hDZdBbr9QCE 3gPE385TpmeRPY3keB6XyM/uIPqo1tBb//5/8fVd2ULCTDI/bluhnMZhrgwwUF4AC/pB Sfglb8rAgju/htKGzHdNvww32KV4ScmrjLSBFobTrs8Zu9CqCZi6S1lhoZsJ42z1tLP8 nbRhm2cxSCHy97cdVWx66zfldGgUoqspfvMlavo1QRjnZLaPQm1tvPdXJ0Um8VXXm/ta anjQ== 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:references:in-reply-to:message-id :date:subject:cc:to:from; bh=W8HTGinxDIB1ETxBLQodQudzk6EWTY07IA/ccGAyseM=; fh=euLdGf6/mbn+BTdRQixZpDYPaLYVhM5osBbradXTqRU=; b=VGikY5/kVLFAcy1lo5TYywfJg3ZbpjHb0hpZHJebD5qeDF7ad4jt2OjoZmOJxFysFr bKqWL/oOzZ8jChSzTG2/8IhkNMB1td9r76S5dHk54QmpFu5JHjeP/2Pp6PLHOpLnlfLD YMfQ0XShB0YySwFMsXGYzTZjX8l0r/+Xgt+KFwUkz6XIexQX/DuZ5AK1BUjsU18ncYUk ptfMhCtiuyOHkUOpqrimRuvpDmz2epJRkCPGxNDNYE7oV3TGRhoRQdqhJpnj6PobYzO/ d048+3Z+Yaa9VJCt7n9m5rZyzA1urW6RRUDBHrIQouZZI0Wm3qgHLeuKrt4kq/qCxxJt 3eaQ==; 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-209760-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209760-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=renesas.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57c69e5b43dsi3542312a12.101.2024.06.11.04.36.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 04:36:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-209760-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; 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-209760-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-209760-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 0A7E91F24AD5 for ; Tue, 11 Jun 2024 11:36:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AD21B17DE3B; Tue, 11 Jun 2024 11:33:30 +0000 (UTC) Received: from relmlie6.idc.renesas.com (relmlor2.renesas.com [210.160.252.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4D86517C238; Tue, 11 Jun 2024 11:33:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.160.252.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718105610; cv=none; b=R+fxDwS0gUGa4QLf9CP+VmotcScfJFn5Ix9PUWzjFxPwGjvqW933sAIxOk6U5DREYvfUeJdLxGiRhgapWioYrLf6lNJo/tUXGaeWD9GW0Ont6KYqYJ/PVx6PxU2EGL0MX3sFbVoJufdBTh5+/L4mHtqZ9bO8kJHdJDRkj3evUv4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718105610; c=relaxed/simple; bh=rNLwxnX2uzIbPvclexQueU9358TEaM3Ctz22bta13/o=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=BS1nzzKzA8S+O0LqAtt0/WUbSmXGagmwCSNI1s1rJ8gF9i9emj9JHuDFq/mzxytSo2EPeIExx6irzV762fRzOermgb2uyGdPUI1QYHHRWHiLW6xLN10qziL/Llsr25h1x76iodFVKG5i1/Qc4bDGxJkqMpl4QaRKgtwa4CcULD8= 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.172 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,229,1712588400"; d="scan'208";a="211449692" Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie6.idc.renesas.com with ESMTP; 11 Jun 2024 20:33:27 +0900 Received: from renesas-deb12.mshome.net (unknown [10.226.92.82]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id 17D574008C4F; Tue, 11 Jun 2024 20:33:22 +0900 (JST) From: Paul Barker To: Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Linus Walleij , Lad Prabhakar 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 v2 8/9] arm64: dts: renesas: rzg2lc: Set Ethernet PVDD to 1.8V Date: Tue, 11 Jun 2024 12:32:02 +0100 Message-Id: <20240611113204.3004-9-paul.barker.ct@bp.renesas.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240611113204.3004-1-paul.barker.ct@bp.renesas.com> References: <20240611113204.3004-1-paul.barker.ct@bp.renesas.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit On the RZ/G2LC SMARC SOM, the RGMII interface between the SoC and the Ethernet PHY operates at 1.8V. The power supply for this interface may be correctly configured in u-boot, but the kernel should not be relying on this. Now that the RZ/G2L pinctrl driver supports configuring the Ethernet power supply voltage, we can simply specify the desired voltage in the device tree. Signed-off-by: Paul Barker Reviewed-by: Geert Uytterhoeven --- Changes v1->v2: * Picked up Geert's Reviewed-by tag. arch/arm64/boot/dts/renesas/rzg2lc-smarc-som.dtsi | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/rzg2lc-smarc-som.dtsi b/arch/arm64/boot/dts/renesas/rzg2lc-smarc-som.dtsi index 664311fd2098..b4ef5ea8a9e3 100644 --- a/arch/arm64/boot/dts/renesas/rzg2lc-smarc-som.dtsi +++ b/arch/arm64/boot/dts/renesas/rzg2lc-smarc-som.dtsi @@ -130,6 +130,7 @@ &pinctrl { eth0_pins: eth0 { txc { pinmux = ; /* ET0_TXC */ + power-source = <1800>; output-enable; }; @@ -147,8 +148,12 @@ mux { , /* ET0_RXD0 */ , /* ET0_RXD1 */ , /* ET0_RXD2 */ - , /* ET0_RXD3 */ - ; /* IRQ0 */ + ; /* ET0_RXD3 */ + power-source = <1800>; + }; + + irq { + pinmux = ; /* IRQ0 */ }; }; -- 2.39.2