Skip to contentSkip to conversation

arm64: dts: rockchip: slow down emmc freq for rock 5 itx

PATCH Applied Jianfeng Liu 2 participants 2 messages Feb 28, 2025 – Mar 8, 2025

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: rockchip: slow down emmc freq for rock 5 itx

The current max-frequency 200000000 of emmc is not stable. When doing heavy write there will be I/O Error. After setting max-frequency to 150000000 the emmc is stable under write.

Also remove property mmc-hs200-1_8v because we are already running at HS400 mode.

Tested with fio command:
fio -filename=./test_randread -direct=1 -iodepth 1 -thread \
-rw=randwrite -ioengine=psync -bs=16k -size=1G -numjobs=10 \
-runtime=600 -group_reporting -name=mytest

---

 arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dts | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm64/boot/dts/rockchip/rk3588-rock-5-itx.dts +1 -2
index 253b23ea9fba..bcefe5356936 100644
@@ -724,10 +724,9 @@ &saradc {
 
 &sdhci {
 	bus-width = <8>;
-	max-frequency = <200000000>;
+	max-frequency = <150000000>;
 	mmc-hs400-1_8v;
 	mmc-hs400-enhanced-strobe;
-	mmc-hs200-1_8v;
 	no-sdio;
 	no-sd;
 	non-removable;
Signature · 1 line
2.43.0
maintainer Applied
#1 lore raw
Quoted 8 lines · Jianfeng Liu

The current max-frequency 200000000 of emmc is not stable. When doing heavy write there will be I/O Error. After setting max-frequency to 150000000 the emmc is stable under write.

Also remove property mmc-hs200-1_8v because we are already running at HS400 mode.

[...]

Applied, thanks!

[1/1] arm64: dts: rockchip: slow down emmc freq for rock 5 itx

      commit: b36402e4a0772d1b3da06a4f5fbd1cfe4d6f1cc0

Best regards,

Signature · 1 line
Heiko Stuebner <[email protected]>