From nobody Mon Feb 9 13:46:00 2026 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (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 DB82522B5A3 for ; Tue, 22 Apr 2025 07:12:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745305974; cv=none; b=ihcDh696VlRTI/Bi6grZLAbZSpo+n9Dqz2PRTpyYcS21JCgsV2+0phjyxV8nyMHMndYYN+Jnqrv/hzQb90gXYph0TadrpVu0UtkEf6AgOMoLJywzVPjh2iL5crh3XjVa6iIoPVS0TRpVsb/h7EOCAyeCJxVG4tVvi1ZtgJOn18o= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1745305974; c=relaxed/simple; bh=4NejS/YFsqMdyl6br68502mPfPaLMjz4bZByJd90VT4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=mtYAGj9ZDDb/utYvNhITFA+A7IkcgfieEka0rvjGzAiOsdAE6e2+PN9vglJYEjFNTLbpYcsdh7GC3rD2YOYXfkZhHrLwBj2ik4Rs2REmPmcO6u9LowUFdzEIb3cuMElSeC+LrNkF3gZLjRHijHLVDJ2X50b5YWfOuZhTR0/isy4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1u77o8-0002Zv-NA; Tue, 22 Apr 2025 09:12:40 +0200 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1u77o8-001Va5-1K; Tue, 22 Apr 2025 09:12:40 +0200 Received: from localhost ([::1] helo=dude05.red.stw.pengutronix.de) by dude05.red.stw.pengutronix.de with esmtp (Exim 4.96) (envelope-from ) id 1u77o8-000iPF-16; Tue, 22 Apr 2025 09:12:40 +0200 From: Ahmad Fatoum Date: Tue, 22 Apr 2025 09:12:35 +0200 Subject: [PATCH] arm64: dts: imx8mp: use 800MHz NoC OPP for nominal drive mode 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: quoted-printable Message-Id: <20250422-imx8m-nominal-noc-v1-1-889592ff65a5@pengutronix.de> X-B4-Tracking: v=1; b=H4sIAGJBB2gC/x2MywqAIBAAfyX2nKCL0uNXooPVVgupoRBC+O9Jp 2EOMy8kikwJxuaFSA8nDr6KahtYT+sPErxVB5RopEYU7HLvhA+Ovb0qV9GT2hYjcTCdhtrdkXb O/3OaS/kAzJCKomMAAAA= X-Change-ID: 20250422-imx8m-nominal-noc-8e1db5029574 To: Shawn Guo , Sascha Hauer , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Pengutronix Kernel Team , imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Fabio Estevam , Ahmad Fatoum , Peng Fan , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.14.2 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: a.fatoum@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org When running in nominal drive mode, the maximum allowed frequency for the NoC is 800MHz, but the OPP table for the i.MX8MP interconnect device listed the 1GHz operating point for the NoC, regardless of the active mode. The newly introduced imx8mp-nominal.dtsi header reconfigures the clock controller to observe nominal drive mode limits, so have it modify the maximum NoC OPP as well. Fixes: 255fbd9eabe7 ("arm64: dts: imx8mp: Add optional nominal drive mode D= TSI") Signed-off-by: Ahmad Fatoum --- Support for &{label/node} syntax was first vendored into Linux with v6.2. It's useful here to avoid one-off labels while still ensuring that a compile error results when the original node disappears. --- arch/arm64/boot/dts/freescale/imx8mp-nominal.dtsi | 2 ++ arch/arm64/boot/dts/freescale/imx8mp.dtsi | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-nominal.dtsi b/arch/arm64= /boot/dts/freescale/imx8mp-nominal.dtsi index a1b75c9068b288a2fba73bbd96b1519a50df85a3..115a6da08643bc1b23731c146df= 9c9dc36b4e85c 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-nominal.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-nominal.dtsi @@ -62,3 +62,5 @@ &media_blk_ctrl { <0>, <0>, <400000000>, <1039500000>; }; + +/delete-node/ &{noc_opp_table/opp-1000000000}; diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dt= s/freescale/imx8mp.dtsi index ce6793b2d57eef9489645f498a89f4bd8f3388d5..7c1c87eab54cc632643f206bd80= ce7b7b49505de 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -1645,6 +1645,12 @@ opp-200000000 { opp-hz =3D /bits/ 64 <200000000>; }; =20 + /* Nominal drive mode maximum */ + opp-800000000 { + opp-hz =3D /bits/ 64 <800000000>; + }; + + /* Overdrive mode maximum */ opp-1000000000 { opp-hz =3D /bits/ 64 <1000000000>; }; --- base-commit: 8ffd015db85fea3e15a77027fda6c02ced4d2444 change-id: 20250422-imx8m-nominal-noc-8e1db5029574 Best regards, --=20 Ahmad Fatoum