MLK-17586-3 i.MX7ULP: change USDHC clock rate
authorHaibo Chen <haibo.chen@nxp.com>
Wed, 14 Mar 2018 09:15:23 +0000 (17:15 +0800)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 11:28:42 +0000 (04:28 -0700)
commit0e4ce4b6b3f8d06f5b63850e04a1e4deb9b07624
tree0f5a045448ac78242c81c985d06221abf610e4ba
parent78e717c7e0897e759abdbe5bf28b46ae56d403ee
MLK-17586-3 i.MX7ULP: change USDHC clock rate

Change USDHC0 and USDHC1 per clock source from APLL_PFD1,
and set the APll_PFD1 clock rate to 352.8MHz.

Also gate off APll_PFD1/2/3 before boot OS, otherwise set
the clock rate of APll_PFD1/2/3 during OS boot up will triger
some warning message.

Reviewed-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
(cherry picked from commit 07ef0fab23204684d82f27baf721a72b247f30c5)
(cherry picked from commit 1c30a73542990afbe48bf7a398baba9c5efaf4fe)
arch/arm/include/asm/arch-mx7ulp/scg.h
arch/arm/mach-imx/mx7ulp/clock.c
arch/arm/mach-imx/mx7ulp/scg.c
arch/arm/mach-imx/mx7ulp/soc.c