Home
last modified time | relevance | path

Searched hist:"2 a6b56aafb0cb3cd8bbedde4f7e5498acb30fad8" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/arm64/boot/dts/freescale/
H A Dimx8mm-evk.dtsidiff 2a6b56aafb0cb3cd8bbedde4f7e5498acb30fad8 Thu Nov 17 03:54:02 CST 2022 Haibo Chen <haibo.chen@nxp.com> arm64: dts: imx8m[m,q]-evk: change to use 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: Haibo Chen <haibo.chen@nxp.com>
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>
H A Dimx8mq-evk.dtsdiff 2a6b56aafb0cb3cd8bbedde4f7e5498acb30fad8 Thu Nov 17 03:54:02 CST 2022 Haibo Chen <haibo.chen@nxp.com> arm64: dts: imx8m[m,q]-evk: change to use 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: Haibo Chen <haibo.chen@nxp.com>
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>