From: Haibo Chen Date: Wed, 18 Dec 2019 07:49:00 +0000 (+0800) Subject: LF-311 ARM: dts: imx6sx: add tuning step and tuning start tap for usdhc X-Git-Tag: rel_imx_5.10.35_2.0.0-somdevices.0~577^2~2^2~529 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=513ec462680e03c197e90ad7eec092834f9a3827;p=linux.git LF-311 ARM: dts: imx6sx: add tuning step and tuning start tap for usdhc If usdhc want to support SDR104/HS200, it need to do tuning, so need to config the tuning step and tuning start tap. Otherwise some card may meet tuning issue as the following log show: mmc2: Tuning failed, falling back to fixed sampling clock Signed-off-by: Haibo Chen Reviewed-by: Dong Aisheng --- diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi index 480ae0bb0386..2d414820545c 100644 --- a/arch/arm/boot/dts/imx6sx.dtsi +++ b/arch/arm/boot/dts/imx6sx.dtsi @@ -1095,6 +1095,8 @@ <&clks IMX6SX_CLK_USDHC1>; clock-names = "ipg", "ahb", "per"; bus-width = <4>; + fsl,tuning-start-tap = <20>; + fsl,tuning-step= <2>; status = "disabled"; }; @@ -1107,6 +1109,8 @@ <&clks IMX6SX_CLK_USDHC2>; clock-names = "ipg", "ahb", "per"; bus-width = <4>; + fsl,tuning-start-tap = <20>; + fsl,tuning-step= <2>; status = "disabled"; }; @@ -1119,6 +1123,8 @@ <&clks IMX6SX_CLK_USDHC3>; clock-names = "ipg", "ahb", "per"; bus-width = <4>; + fsl,tuning-start-tap = <20>; + fsl,tuning-step= <2>; status = "disabled"; }; @@ -1131,6 +1137,8 @@ <&clks IMX6SX_CLK_USDHC4>; clock-names = "ipg", "ahb", "per"; bus-width = <4>; + fsl,tuning-start-tap = <20>; + fsl,tuning-step= <2>; status = "disabled"; };