From: Anson Huang Date: Tue, 3 Mar 2020 07:59:04 +0000 (+0800) Subject: arm64: dts: imx8mn-evk: change to use off-on-delay-us in regulator X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~577^2~2^2~502 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=568135ba2a240d7cd5a8b759a13387531d937458;p=linux.git arm64: dts: imx8mn-evk: change to use off-on-delay-us in regulator After commit f7907e57aea2 ("regulator: fixed: add off-on-delay"), user can use "off-on-delay-us" to define the regulator off-delay time. 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. This patch add the off-on-delay-us to each board, make sure the sd power reset behavior is align with the specification. Without this patch, when do quick system suspend/resume test, some sd card can't work at SD3.0 mode after system resume back. Signed-off-by: Haibo Chen Acked-by: Leonard Crestez Signed-off-by: Anson Huang --- diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi index 0ba61bad9d25..a5c829fe1069 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi @@ -51,6 +51,7 @@ regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>; + off-on-delay-us = <12000>; enable-active-high; };