]> git.baikalelectronics.ru Git - kernel.git/commit
clk: imx: imx6ul: Move csi_sel mux to correct base register
authorStefan Riedmueller <s.riedmueller@phytec.de>
Mon, 27 Sep 2021 07:28:56 +0000 (09:28 +0200)
committerAbel Vesa <abel.vesa@nxp.com>
Fri, 1 Oct 2021 07:15:51 +0000 (10:15 +0300)
commitf34611d3b8e4767b7ba49cd6fbd098ae2ba80c3d
tree4ea5c17c37885151026a5c3020bcaa6c9e7883e3
parent1d74d4f0f72b9460155e0ed18fd76af5406edcae
clk: imx: imx6ul: Move csi_sel mux to correct base register

The csi_sel mux register is located in the CCM register base and not the
CCM_ANALOG register base. So move it to the correct position in code.

Otherwise changing the parent of the csi clock can lead to a complete
system failure due to the CCM_ANALOG_PLL_SYS_TOG register being falsely
modified.

Also remove the SET_RATE_PARENT flag since one possible supply for the
csi_sel mux is the system PLL which we don't want to modify.

Signed-off-by: Stefan Riedmueller <s.riedmueller@phytec.de>
Reviewed-by: Abel Vesa <abel.vesa@nxp.com>
Link: https://lore.kernel.org/r/20210927072857.3940880-1-s.riedmueller@phytec.de
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
drivers/clk/imx/clk-imx6ul.c