Skip to content

Commit e483129

Browse files
Luke Wanggregkh
authored andcommitted
arm64: dts: imx91-11x11-evk: change usdhc tuning step for eMMC and SD
[ Upstream commit 5ab0c76 ] 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: 6772c4c ("arm64: dts: freescale: add i.MX91 11x11 EVK basic support") 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>
1 parent a028d99 commit e483129

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

arch/arm64/boot/dts/freescale/imx91-11x11-evk.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,7 @@
415415
pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
416416
pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
417417
pinctrl-names = "default", "state_100mhz", "state_200mhz";
418+
fsl,tuning-step = <1>;
418419
status = "okay";
419420
};
420421

@@ -429,6 +430,7 @@
429430
pinctrl-3 = <&pinctrl_usdhc2_sleep>, <&pinctrl_usdhc2_gpio_sleep>;
430431
pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep";
431432
vmmc-supply = <&reg_usdhc2_vmmc>;
433+
fsl,tuning-step = <1>;
432434
status = "okay";
433435
};
434436

0 commit comments

Comments
 (0)