public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
From: Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com>
To: Cathy Xu <ot_cathy.xu@mediatek.com>,
	Chaotian Jing	 <chaotian.jing@mediatek.com>,
	Ulf Hansson <ulf.hansson@linaro.org>,
	Matthias Brugger <matthias.bgg@gmail.com>,
	AngeloGioacchino Del Regno	
	<angelogioacchino.delregno@collabora.com>
Cc: linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org,
	 linux-arm-kernel@lists.infradead.org,
	linux-mediatek@lists.infradead.org,
	 Mengqi Zhang <Mengqi.Zhang@mediatek.com>,
	Wenbin Mei <Wenbin.Mei@mediatek.com>,
	Andy-ld Lu	 <Andy-ld.Lu@mediatek.com>,
	Yong Mao <yong.mao@mediatek.com>
Subject: Re: [PATCH] mmc: mtk-sd: disable new_tx/rx and modify related settings for mt8189
Date: Fri, 20 Feb 2026 18:23:47 +0100	[thread overview]
Message-ID: <6122f085216c03469bc93f49f3d76b2072c24e71.camel@collabora.com> (raw)
In-Reply-To: <20260204020709.24604-1-ot_cathy.xu@mediatek.com>

Hi,

On Wed, 2026-02-04 at 10:06 +0800, Cathy Xu wrote:
> 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,
>  };
>  
I've tested this patch on Genio 720-EVK board that uses MT8391 SoC, a
MT8189 variant.
I did not get issue with these new settings when using this board eMMC
(MSDC0) or microsd (MSDC1). I did not observe issues with previous
settings but as it does not seem to cause regressions,

Tested-by: Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com>

Regards,
Louis-Alexis

      parent reply	other threads:[~2026-02-20 17:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6122f085216c03469bc93f49f3d76b2072c24e71.camel@collabora.com \
    --to=louisalexis.eyraud@collabora.com \
    --cc=Andy-ld.Lu@mediatek.com \
    --cc=Mengqi.Zhang@mediatek.com \
    --cc=Wenbin.Mei@mediatek.com \
    --cc=angelogioacchino.delregno@collabora.com \
    --cc=chaotian.jing@mediatek.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mediatek@lists.infradead.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=matthias.bgg@gmail.com \
    --cc=ot_cathy.xu@mediatek.com \
    --cc=ulf.hansson@linaro.org \
    --cc=yong.mao@mediatek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox