]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ARM: dts: imx: Set default tuning step for imx6sx usdhc
authorXiaolei Wang <xiaolei.wang@windriver.com>
Wed, 26 Jul 2023 07:57:47 +0000 (15:57 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 Aug 2023 12:23:35 +0000 (14:23 +0200)
commite878458d820cb4d4c4fa5fd709beaa2e124af1f4
tree83aaac104672ff5ad61a3d250dbf1861fe948c24
parent430c29a54e4a2c5d4e73a9dc1a818cb8ceebefbc
ARM: dts: imx: Set default tuning step for imx6sx usdhc

[ Upstream commit 0a2b96e42a0284c4fc03022236f656a085ca714a ]

If the tuning step is not set, the tuning step is set to 1.
For some sd cards, the following Tuning timeout will occur.

Tuning failed, falling back to fixed sampling clock

So set the default tuning step. This refers to the NXP vendor's
commit below:

https://github.com/nxp-imx/linux-imx/blob/lf-6.1.y/
arch/arm/boot/dts/imx6sx.dtsi#L1108-L1109

Fixes: 1e336aa0c025 ("mmc: sdhci-esdhc-imx: correct the tuning start tap and step setting")
Signed-off-by: Xiaolei Wang <xiaolei.wang@windriver.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/imx6sx.dtsi