MLK-17189 imx8qxp: change the USDHC_CLK_ROOT source from AVPLL
authorHaibo Chen <haibo.chen@nxp.com>
Wed, 13 Dec 2017 02:56:10 +0000 (10:56 +0800)
committerHaibo Chen <haibo.chen@nxp.com>
Wed, 13 Dec 2017 06:06:26 +0000 (14:06 +0800)
commitc573014c0bd3e5d111c7078ae03dbe1c066db3c1
treecf6c387254c8722f00ca80aaebe529363015a551
parent63c48958551b1e41e716a90cc40dd143df7d2c3f
MLK-17189 imx8qxp: change the USDHC_CLK_ROOT source from AVPLL

Currently, the DPLL of conn ss is not stable, will cause usdhc
data CRC error. So here change USDHC_CLK_ROOT source from AVPLL
as a workaround. And config USDHC1_CLK_ROOT to 333MHz, USDHC2_CLK_ROOT
to 200MHz. This workaround do not impact SD performance, but decrease
the eMMC performance, HS400ES work clock change from 198MHz to 166MHz,
read performance drop about 10%, write performance drop about 6%.

Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
arch/arm/cpu/armv8/imx8/clock.c