public inbox for linux-mediatek@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] mmc: mtk-sd: disable new_tx/rx and modify related settings for mt8189
@ 2026-02-04  2:06 Cathy Xu
  2026-02-04 14:35 ` Ulf Hansson
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Cathy Xu @ 2026-02-04  2:06 UTC (permalink / raw)
  To: Chaotian Jing, Ulf Hansson, Matthias Brugger,
	AngeloGioacchino Del Regno
  Cc: linux-mmc, linux-kernel, linux-arm-kernel, linux-mediatek,
	Mengqi Zhang, Wenbin Mei, Andy-ld Lu, Yong Mao, Cathy Xu

Disable new_tx/rx and modify related settings helps avoid data
transmission instability, and better compatibility for mt8189.

Signed-off-by: Cathy Xu <ot_cathy.xu@mediatek.com>
---
 drivers/mmc/host/mtk-sd.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c
index 302ac8529c4f..b2680cc054bd 100644
--- a/drivers/mmc/host/mtk-sd.c
+++ b/drivers/mmc/host/mtk-sd.c
@@ -682,15 +682,15 @@ static const struct mtk_mmc_compatible mt8189_compat = {
 	.needs_top_base = true,
 	.pad_tune_reg = MSDC_PAD_TUNE0,
 	.async_fifo = true,
-	.data_tune = true,
+	.data_tune = false,
 	.busy_check = true,
 	.stop_clk_fix = true,
-	.stop_dly_sel = 1,
-	.pop_en_cnt = 2,
+	.stop_dly_sel = 3,
+	.pop_en_cnt = 8,
 	.enhance_rx = true,
 	.support_64g = true,
-	.support_new_tx = true,
-	.support_new_rx = true,
+	.support_new_tx = false,
+	.support_new_rx = false,
 	.support_spm_res_release = true,
 };
 
-- 
2.45.2



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-03-09  7:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-04  2:06 [PATCH] mmc: mtk-sd: disable new_tx/rx and modify related settings for mt8189 Cathy Xu
2026-02-04 14:35 ` Ulf Hansson
2026-03-09  7:31   ` Cathy Xu (许华婷)
2026-02-05 11:47 ` AngeloGioacchino Del Regno
2026-03-09  7:32   ` Cathy Xu (许华婷)
2026-02-20 17:23 ` Louis-Alexis Eyraud

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox