]> Gentwo Git Trees - linux/.git/commit
mmc: sdhci-esdhc-imx: widen auto-tuning window for manual tuning
authorHaibo Chen <haibo.chen@nxp.com>
Wed, 9 Apr 2025 07:55:48 +0000 (15:55 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 14 May 2025 14:59:17 +0000 (16:59 +0200)
commit8cdba34313712e0dbc4c5650c8f2dcf315c13e6f
tree3f710354e842e36e77e6c985a7302cdcdf63ed3b
parentbe953af79cc67a3a073fd75cf2bd542353d2ad35
mmc: sdhci-esdhc-imx: widen auto-tuning window for manual tuning

Expand the auto-tuning window width from 0 to 3 for manual tuning to
account for sampling point shifts caused by temperature change. This change
is based on hardware recommendation, providing enough margin for the
auto-tuning logic to locate valid sampling points.

When config the manual tuning final sample delay, need deduct the auto
tuning window width according to the IP logic.

Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Signed-off-by: Luke Wang <ziniu.wang_1@nxp.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20250409075550.3413032-5-ziniu.wang_1@nxp.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-esdhc-imx.c