]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
arm64: dts: imx93-9x9-qsb: change usdhc tuning step for eMMC and SD
authorLuke Wang <ziniu.wang_1@nxp.com>
Tue, 3 Feb 2026 11:23:08 +0000 (19:23 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Apr 2026 11:30:33 +0000 (13:30 +0200)
commitcf8ed657fbc4cde54078bc85883688217612841d
tree0e17f91b107cbdf9cb9c22dcad4a972462a0e5bb
parent723d0ff0600beb60302ee842d1f8d2b0115ad6e6
arm64: dts: imx93-9x9-qsb: change usdhc tuning step for eMMC and SD

[ Upstream commit 08903184553def7ba1ad6ba4fa8afe1ba2ee0a21 ]

During system resume, the following errors occurred:

  [  430.638625] mmc1: error -84 writing Cache Enable bit
  [  430.643618] mmc1: error -84 doing runtime resume

For eMMC and SD, there are two tuning pass windows and the gap between
those two windows may only have one cell. If tuning step > 1, the gap may
just be skipped and host assumes those two windows as a continuous
windows. This will cause a wrong delay cell near the gap to be selected.

Set the tuning step to 1 to avoid selecting the wrong delay cell.

For SDIO, the gap is sufficiently large, so the default tuning step does
not cause this issue.

Fixes: 0565d20cd8c2 ("arm64: dts: freescale: Support i.MX93 9x9 Quick Start Board")
Signed-off-by: Luke Wang <ziniu.wang_1@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts