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>
Thu, 29 Apr 2021 07:56:04 +0000 (00:56 -0700)
commit2c98dc1cdb45dbbd4196cfd04c677e0fc702efe9
tree3da4cc2c66415cb5aaa4df04b8a0575fd6cdaf5c
parent7db000367fd5f8f0ba1627d8a825753c9dde7eb6
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)
(cherry picked from commit 0e4ce4b6b3f8d06f5b63850e04a1e4deb9b07624)
(cherry picked from commit 113a509e4d4ea84b55b296efa5f760b7192f9487)
(cherry picked from commit e01af8fc7daf0700c13f46e985e2e956f753feff)
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