]> 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)
commit203489f3621a0d9d611a9ead126f8dfe20ea1aaa
tree497ac2b6f6a16e5f240d811a69ff0527b01e5ad7
parentcb4312759c7e5ef27ce6bf173f868fcf14b74834
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