]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: add off-on-delay-us for usdhc2 regulator
authorHaibo Chen <haibo.chen@nxp.com>
Wed, 19 Nov 2025 03:22:40 +0000 (11:22 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Jan 2026 12:10:15 +0000 (13:10 +0100)
[ Upstream commit ca643894a37a25713029b36cfe7d1bae515cac08 ]

For SD card, according to the spec requirement, for sd card power reset
operation, it need sd card supply voltage to be lower than 0.5v and keep
over 1ms, otherwise, next time power back the sd card supply voltage to
3.3v, sd card can't support SD3.0 mode again.

To match such requirement on imx8qm-mek board, add 4.8ms delay between
sd power off and power on.

Fixes: 307fd14d4b14 ("arm64: dts: imx: add imx8qm mek support")
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/freescale/imx8qm-mek.dts

index 470e4e4aa8c78cdba267d845d0b6c3a0fbcc921d..059f8c0ab93d9fb6a679e71093516e10f6ce9b0b 100644 (file)
@@ -34,6 +34,7 @@
                regulator-max-microvolt = <3000000>;
                gpio = <&lsio_gpio4 7 GPIO_ACTIVE_HIGH>;
                enable-active-high;
+               off-on-delay-us = <4800>;
        };
 };