linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peng Fan <peng.fan@nxp.com>
To: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	 Conor Dooley <conor+dt@kernel.org>,
	Shawn Guo <shawnguo@kernel.org>,
	 Sascha Hauer <s.hauer@pengutronix.de>,
	 Pengutronix Kernel Team <kernel@pengutronix.de>,
	 Fabio Estevam <festevam@gmail.com>, Frank Li <Frank.Li@nxp.com>
Cc: devicetree@vger.kernel.org, imx@lists.linux.dev,
	 linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org,  Peng Fan <peng.fan@nxp.com>,
	Richard Zhu <hongxing.zhu@nxp.com>
Subject: [PATCH v2 08/11] arm64: dts: imx95-19x19-evk: Add Tsettle delay in m2 regulator
Date: Mon, 18 Aug 2025 09:25:38 +0800	[thread overview]
Message-ID: <20250818-imx9-dts-v2-8-8ba787fb5280@nxp.com> (raw)
In-Reply-To: <20250818-imx9-dts-v2-0-8ba787fb5280@nxp.com>

From: Richard Zhu <hongxing.zhu@nxp.com>

M.2 device only can be enabled after all Power Rails reach their minimum
operating voltage (PCI Express M.2 Specification r5.1 3.1.4 Power-up
Timing). Set a delay equal to the max value of Tsettle in m2 regulator.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
 arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts b/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts
index 39815b21d235d2f8cfa49720d3be49d056ea039a..6d2f09404bdb8bee62532f1e02f59bd5a899833e 100644
--- a/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts
@@ -136,6 +136,13 @@ reg_m2_pwr: regulator-m2-pwr {
 		regulator-max-microvolt = <3300000>;
 		gpio = <&i2c7_pcal6524 20 GPIO_ACTIVE_HIGH>;
 		enable-active-high;
+		/*
+		 * M.2 device only can be enabled(W_DISABLE1#) after all Power
+		 * Rails reach their minimum operating voltage (PCI Express M.2
+		 * Specification r5.1 3.1.4 Power-up Timing).
+		 * Set a delay equal to the max value of Tsettle here.
+		 */
+		startup-delay-us = <5000>;
 	};
 
 	reg_pcie0: regulator-pcie {

-- 
2.37.1


  parent reply	other threads:[~2025-08-18  1:26 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-18  1:25 [PATCH v2 00/11] arm64: dts: imx95: various updates Peng Fan
2025-08-18  1:25 ` [PATCH v2 01/11] arm64: dts: imx95: Correct the lpuart7 and lpuart8 srcid Peng Fan
2025-08-18 15:54   ` Frank Li
2025-08-18  1:25 ` [PATCH v2 02/11] arm64: dts: imx95: Add System Counter node Peng Fan
2025-08-18  1:25 ` [PATCH v2 03/11] arm64: dts: imx95: Add LMM/CPU nodes Peng Fan
2025-08-18  1:25 ` [PATCH v2 04/11] arm64: dts: imx95: Add more V2X MUs Peng Fan
2025-08-18  1:25 ` [PATCH v2 05/11] arm64: dts: imx95: Add OCOTP node Peng Fan
2025-08-18  1:25 ` [PATCH v2 06/11] arm64: dts: imx95: Add coresight nodes Peng Fan
2025-08-18 15:55   ` Frank Li
2025-08-18  1:25 ` [PATCH v2 07/11] arm64: dts: imx95-evk: Update alias Peng Fan
2025-08-18  1:25 ` Peng Fan [this message]
2025-08-18  1:25 ` [PATCH v2 09/11] arm64: dts: imx95-19x19-evk: Add pca9632 node Peng Fan
2025-08-18  1:25 ` [PATCH v2 10/11] arm64: dts: imx95-19x19-evk: Add pf09 and pf53 thermal zones Peng Fan
2025-08-18  1:25 ` [PATCH v2 11/11] arm64: dts: imx95-15x15-evk: Change pinctrl settings for usdhc2 Peng Fan
2025-08-18 18:24 ` [PATCH v2 00/11] arm64: dts: imx95: various updates Rob Herring (Arm)
2025-08-19  1:19   ` Peng Fan
2025-08-22  9:17 ` Shawn Guo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250818-imx9-dts-v2-8-8ba787fb5280@nxp.com \
    --to=peng.fan@nxp.com \
    --cc=Frank.Li@nxp.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=festevam@gmail.com \
    --cc=hongxing.zhu@nxp.com \
    --cc=imx@lists.linux.dev \
    --cc=kernel@pengutronix.de \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=s.hauer@pengutronix.de \
    --cc=shawnguo@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).