imx8mq: Set ARM core clock directly from ARM PLL
authorPeng Fan <peng.fan@nxp.com>
Wed, 22 Apr 2020 03:18:23 +0000 (11:18 +0800)
committerStefano Babic <sbabic@denx.de>
Fri, 1 May 2020 11:46:21 +0000 (13:46 +0200)
commit712a341c76742e84a17b31ae84bab7fa9231b546
tree57d2c9c1ea61280ac8ef87335b5bd6fb780b77c7
parent15a7426045ba048bb4defe49b1cae885bffb1853
imx8mq: Set ARM core clock directly from ARM PLL

For ARM core clock, there are two input branches, and can select via mux:
one from ARM PLL directly, second from CCM A53 clock root.

Currently we are using second branch. But IC confirmed the CCM A53 root
signoff timing is 1Ghz, so we should switch to input from ARM PLL directly.

This patch fixes the CORE SEL slice configuration and switch ARM clock
to ARM PLL.

Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/include/asm/arch-imx8m/clock_imx8mq.h
arch/arm/mach-imx/imx8m/clock_imx8mq.c