]> git.dujemihanovic.xyz Git - linux.git/commit
clk: imx: imx8ulp: update clk flag for system critical clock
authorJacky Bai <ping.bai@nxp.com>
Fri, 31 Mar 2023 06:38:14 +0000 (14:38 +0800)
committerAbel Vesa <abel.vesa@linaro.org>
Sun, 9 Apr 2023 14:12:49 +0000 (17:12 +0300)
commit8a05f5cccdbe851265bf513643ada48c26b1267f
treec8e43633ad2c90dfb1e28e09837c97c070ff037f
parent66d72c62d20eb571b7ab624813b1b98b626ab493
clk: imx: imx8ulp: update clk flag for system critical clock

In order to support bus fabric clock frequency changed on the fly,
need to update some bus clocks'flags to make sure these clocks'frequency
and parent can be changed on the fly. For these clocks, HW can make sure
no glitch will be introduced when changing on the fly.

In order to support DDR DFS, the HW register bit for DDR_SEL
and DDR_DIV clock will be modified by TF-A. So need to update
these two clock's flag to make sure that the linux kernel side
can correct these clocks' SW state to reflect the actual HW state.

Reviewed-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20230331063814.2462059-6-peng.fan@oss.nxp.com
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
drivers/clk/imx/clk-imx8ulp.c