]> git.baikalelectronics.ru Git - kernel.git/commit
clk: imx: Add 'CLK_SET_RATE_NO_REPARENT' for composite-7ulp
authorJacky Bai <ping.bai@nxp.com>
Tue, 14 Sep 2021 06:52:04 +0000 (14:52 +0800)
committerAbel Vesa <abel.vesa@nxp.com>
Thu, 30 Sep 2021 13:22:55 +0000 (16:22 +0300)
commitdb3a83f719b308abfe5b02b7ab85c16f1ef1e0df
tree497ac2b6f6a16e5f240d811a69ff0527b01e5ad7
parente6fe2d08ee6207aebd89018b7e2e780b4ea266a6
clk: imx: Add 'CLK_SET_RATE_NO_REPARENT' for composite-7ulp

For the imx_composite-7ulp clock type, The clock parent should
be changed explicitly by end user of this clock, if the the
'CLK_SET_RATE_NO_REPARENT' flag is not set, when user want to
set a clock frequency that can NOT get from HW accurately, then
the clock's parent will be switch to another clock parent sometimes.
This is NOT what we expected and introduced some additional debug
effort, so add the 'CLK_SET_RATE_NO_REPARENT' to avoid such unexpected
result.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Abel Vesa <abel.vesa@nxp.com>
Link: https://lore.kernel.org/r/20210914065208.3582128-6-ping.bai@nxp.com
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
drivers/clk/imx/clk-composite-7ulp.c