Skip to content

Commit 0a2b96e

Browse files
xiaoleiwang123456Shawn Guo
authored andcommitted
ARM: dts: imx: Set default tuning step for imx6sx usdhc
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: 1e336aa ("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>
1 parent f02b533 commit 0a2b96e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

arch/arm/boot/dts/nxp/imx/imx6sx.dtsi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1009,6 +1009,8 @@
10091009
<&clks IMX6SX_CLK_USDHC1>;
10101010
clock-names = "ipg", "ahb", "per";
10111011
bus-width = <4>;
1012+
fsl,tuning-start-tap = <20>;
1013+
fsl,tuning-step= <2>;
10121014
status = "disabled";
10131015
};
10141016

@@ -1021,6 +1023,8 @@
10211023
<&clks IMX6SX_CLK_USDHC2>;
10221024
clock-names = "ipg", "ahb", "per";
10231025
bus-width = <4>;
1026+
fsl,tuning-start-tap = <20>;
1027+
fsl,tuning-step= <2>;
10241028
status = "disabled";
10251029
};
10261030

@@ -1033,6 +1037,8 @@
10331037
<&clks IMX6SX_CLK_USDHC3>;
10341038
clock-names = "ipg", "ahb", "per";
10351039
bus-width = <4>;
1040+
fsl,tuning-start-tap = <20>;
1041+
fsl,tuning-step= <2>;
10361042
status = "disabled";
10371043
};
10381044

0 commit comments

Comments
 (0)