diff options
author | Peng Fan <peng.fan@nxp.com> | 2022-11-17 17:53:59 +0800 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2022-11-19 11:08:15 +0800 |
commit | cbc44b22c8a8d9f63390221e84354a2c500f0c85 (patch) | |
tree | e956decd926dbd0014769d994008528a01a5e5bd /arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | |
parent | f4927bb2a2f8b72c0ace0233c05c3924285892a9 (diff) | |
download | lwn-cbc44b22c8a8d9f63390221e84354a2c500f0c85.tar.gz lwn-cbc44b22c8a8d9f63390221e84354a2c500f0c85.zip |
arm64: dts: imx8mn-evk: set off-on-delay-us in regulator
Some SD Card controller and power circuitry has increased capacitance,
so the usual toggling of regulator to power the card off and on
is insufficient.
According to SD spec, for sd card power reset operation, the sd card
supply voltage needs 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, 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: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi index 8cb87c7a0f03..e066fa9af834 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn-evk.dtsi @@ -36,6 +36,7 @@ regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; gpio = <&gpio2 19 GPIO_ACTIVE_HIGH>; + off-on-delay-us = <12000>; enable-active-high; }; |