diff options
| author | Cathy Xu <ot_cathy.xu@mediatek.com> | 2026-03-26 06:05:16 +0300 |
|---|---|---|
| committer | Ulf Hansson <ulf.hansson@linaro.org> | 2026-03-26 13:38:13 +0300 |
| commit | 59b0efd867fbbcad6d378e8aa08dda44d1f48651 (patch) | |
| tree | 2250e5e3d683cb199ff9b33c88b61c5c636d8026 | |
| parent | 49eb823cbe648dba791cfe1c16e4f6fcfd32f5ca (diff) | |
| download | linux-59b0efd867fbbcad6d378e8aa08dda44d1f48651.tar.xz | |
mmc: mtk-sd: disable new_tx/rx and modify related settings for mt8189
Disable new_tx/rx to avoid data transmission instability, and adjust
.data_tune, .stop_dly_sel, and .pop_en_cnt to fit the overall
configuration after disabling new_tx/rx, making it more compatible
with mt8189.
Fixes: 846a3a2fdff5 ("mmc: mtk-sd: add support for MT8189 SoC")
Tested-by: Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com>
Signed-off-by: Cathy Xu <ot_cathy.xu@mediatek.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
| -rw-r--r-- | drivers/mmc/host/mtk-sd.c | 10 |
1 files 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, }; |
