> -----Original Message----- > From: Kevin Groeneveld <kgroeneveld@xxxxxxxxxxxx> > Sent: 2022年12月2日 1:34 > To: Bough Chen <haibo.chen@xxxxxxx>; adrian.hunter@xxxxxxxxx; > ulf.hansson@xxxxxxxxxx; linux-mmc@xxxxxxxxxxxxxxx > Cc: dl-linux-imx <linux-imx@xxxxxxx>; shawnguo@xxxxxxxxxx; > s.hauer@xxxxxxxxxxxxxx; kernel@xxxxxxxxxxxxxx; festevam@xxxxxxxxx; > Aisheng Dong <aisheng.dong@xxxxxxx>; Y.B. Lu <yangbo.lu@xxxxxxx> > Subject: Re: [PATCH 1/2] mmc: sdhci-esdhc-imx: fix the mask for tuning start > point > > On 2020-05-26 06:22, haibo.chen@xxxxxxx wrote: > > According the RM, the bit[6~0] of register ESDHC_TUNING_CTRL is > > TUNING_START_TAP, bit[7] of this register is to disable the command > > CRC check for standard tuning. So fix it here. > > Which RM? I just checked imx6sl, imx7s and imx8mm reference manuals and > they all show bits 7~0 is for TUNING_START_TAP. Please refer to the latest imx93 RM, I just confirm that this RM already correct this info. > > I have been experiencing some infrequent hard to reproduce communication > errors with an SDIO WiFi module on imx8mm and wondered if this could be > related. This should related to the auto tuning bit setting, usdhc has an IC bug of the auto tuning method for SDIO device which has a interrupt input. Please refer to https://patchwork.kernel.org/project/linux-mmc/patch/1629285415-7495-4-git-send-email-haibo.chen@xxxxxxx/ I will continue to upstream this these weeks. Best Regards Haibo Chen > > For example: > ath10k_sdio mmc2:0001:1: failed to write to address 0x129ec: -84 > > > Kevin