devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/2] arm64: dts: freescale: imx8m[mp]-verdin: Fix SD regulator startup delay
@ 2024-10-24 13:06 Francesco Dolcini
  2024-10-24 13:06 ` [PATCH v1 1/2] arm64: dts: freescale: imx8mm-verdin: " Francesco Dolcini
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Francesco Dolcini @ 2024-10-24 13:06 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
  Cc: Francesco Dolcini, devicetree, imx, linux-arm-kernel,
	linux-kernel

From: Francesco Dolcini <francesco.dolcini@toradex.com>

The power switch used to power the SD card interface might have
more than 2ms turn-on time, increase the startup delay to 20ms to
prevent failures.

Francesco Dolcini (2):
  arm64: dts: freescale: imx8mm-verdin: Fix SD regulator startup delay
  arm64: dts: freescale: imx8mp-verdin: Fix SD regulator startup delay

 arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi | 2 +-
 arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

-- 
2.39.5


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH v1 1/2] arm64: dts: freescale: imx8mm-verdin: Fix SD regulator startup delay
  2024-10-24 13:06 [PATCH v1 0/2] arm64: dts: freescale: imx8m[mp]-verdin: Fix SD regulator startup delay Francesco Dolcini
@ 2024-10-24 13:06 ` Francesco Dolcini
  2024-10-24 13:06 ` [PATCH v1 2/2] arm64: dts: freescale: imx8mp-verdin: " Francesco Dolcini
  2024-11-02  3:03 ` [PATCH v1 0/2] arm64: dts: freescale: imx8m[mp]-verdin: " Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Francesco Dolcini @ 2024-10-24 13:06 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
  Cc: Francesco Dolcini, devicetree, imx, linux-arm-kernel,
	linux-kernel, stable

From: Francesco Dolcini <francesco.dolcini@toradex.com>

The power switch used to power the SD card interface might have
more than 2ms turn-on time, increase the startup delay to 20ms to
prevent failures.

Fixes: 6a57f224f734 ("arm64: dts: freescale: add initial support for verdin imx8m mini")
Cc: <stable@vger.kernel.org>
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
---
 arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi
index c20c2da17524..01042c1e9e7d 100644
--- a/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mm-verdin.dtsi
@@ -162,7 +162,7 @@ reg_usdhc2_vmmc: regulator-usdhc2 {
 		regulator-max-microvolt = <3300000>;
 		regulator-min-microvolt = <3300000>;
 		regulator-name = "+V3.3_SD";
-		startup-delay-us = <2000>;
+		startup-delay-us = <20000>;
 	};
 
 	reserved-memory {
-- 
2.39.5


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH v1 2/2] arm64: dts: freescale: imx8mp-verdin: Fix SD regulator startup delay
  2024-10-24 13:06 [PATCH v1 0/2] arm64: dts: freescale: imx8m[mp]-verdin: Fix SD regulator startup delay Francesco Dolcini
  2024-10-24 13:06 ` [PATCH v1 1/2] arm64: dts: freescale: imx8mm-verdin: " Francesco Dolcini
@ 2024-10-24 13:06 ` Francesco Dolcini
  2024-11-02  3:03 ` [PATCH v1 0/2] arm64: dts: freescale: imx8m[mp]-verdin: " Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Francesco Dolcini @ 2024-10-24 13:06 UTC (permalink / raw)
  To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam
  Cc: Francesco Dolcini, devicetree, imx, linux-arm-kernel,
	linux-kernel, stable

From: Francesco Dolcini <francesco.dolcini@toradex.com>

The power switch used to power the SD card interface might have
more than 2ms turn-on time, increase the startup delay to 20ms to
prevent failures.

Fixes: a39ed23bdf6e ("arm64: dts: freescale: add initial support for verdin imx8m plus")
Cc: <stable@vger.kernel.org>
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
---
 arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi
index e9518b7c7aa8..b8c24fe228fa 100644
--- a/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi
@@ -175,7 +175,7 @@ reg_usdhc2_vmmc: regulator-usdhc2 {
 		regulator-max-microvolt = <3300000>;
 		regulator-min-microvolt = <3300000>;
 		regulator-name = "+V3.3_SD";
-		startup-delay-us = <2000>;
+		startup-delay-us = <20000>;
 	};
 
 	reserved-memory {
-- 
2.39.5


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH v1 0/2] arm64: dts: freescale: imx8m[mp]-verdin: Fix SD regulator startup delay
  2024-10-24 13:06 [PATCH v1 0/2] arm64: dts: freescale: imx8m[mp]-verdin: Fix SD regulator startup delay Francesco Dolcini
  2024-10-24 13:06 ` [PATCH v1 1/2] arm64: dts: freescale: imx8mm-verdin: " Francesco Dolcini
  2024-10-24 13:06 ` [PATCH v1 2/2] arm64: dts: freescale: imx8mp-verdin: " Francesco Dolcini
@ 2024-11-02  3:03 ` Shawn Guo
  2 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2024-11-02  3:03 UTC (permalink / raw)
  To: Francesco Dolcini
  Cc: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Shawn Guo,
	Sascha Hauer, Pengutronix Kernel Team, Fabio Estevam,
	Francesco Dolcini, devicetree, imx, linux-arm-kernel,
	linux-kernel

On Thu, Oct 24, 2024 at 03:06:49PM +0200, Francesco Dolcini wrote:
> From: Francesco Dolcini <francesco.dolcini@toradex.com>
> 
> The power switch used to power the SD card interface might have
> more than 2ms turn-on time, increase the startup delay to 20ms to
> prevent failures.
> 
> Francesco Dolcini (2):
>   arm64: dts: freescale: imx8mm-verdin: Fix SD regulator startup delay
>   arm64: dts: freescale: imx8mp-verdin: Fix SD regulator startup delay

Applied both, thanks!


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-11-02  3:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-24 13:06 [PATCH v1 0/2] arm64: dts: freescale: imx8m[mp]-verdin: Fix SD regulator startup delay Francesco Dolcini
2024-10-24 13:06 ` [PATCH v1 1/2] arm64: dts: freescale: imx8mm-verdin: " Francesco Dolcini
2024-10-24 13:06 ` [PATCH v1 2/2] arm64: dts: freescale: imx8mp-verdin: " Francesco Dolcini
2024-11-02  3:03 ` [PATCH v1 0/2] arm64: dts: freescale: imx8m[mp]-verdin: " Shawn Guo

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).