summaryrefslogtreecommitdiff
path: root/include/dt-bindings/clock
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2022-08-15 04:34:28 +0300
committerAbel Vesa <abel.vesa@linaro.org>2022-09-02 21:09:52 +0300
commitc68cd258a67730c24566b9688d7c134e67459ac6 (patch)
tree8b899167b28f45845d9597c33a15353712a9bb4c /include/dt-bindings/clock
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868 (diff)
downloadlinux-c68cd258a67730c24566b9688d7c134e67459ac6.tar.xz
clk: imx8mp: tune the order of enet_qos_root_clk
The enet_qos_root_clk takes sim_enet_root_clk as parent. When registering enet_qos_root_clk, it will be put into clk orphan list, because sim_enet_root_clk is not ready. When sim_enet_root_clk is ready, clk_core_reparent_orphans_nolock will set enet_qos_root_clk parent to sim_enet_root_clk. Because CLK_OPS_PARENT_ENABLE is set, sim_enet_root_clk will be enabled and disabled during the enet_qos_root_clk reparent phase. All the above are correct. But with M7 booted early and using enet, M7 enet feature will be broken, because clk driver probe phase disable the needed clks, in case M7 firmware not configure sim_enet_root_clk. And tune the order would also save cpu cycles. Reviewed-by: Ye Li <ye.li@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Abel Vesa <abel.vesa@linaro.org> Signed-off-by: Abel Vesa <abel.vesa@linaro.org> Link: https://lore.kernel.org/r/20220815013428.476015-1-peng.fan@oss.nxp.com
Diffstat (limited to 'include/dt-bindings/clock')
0 files changed, 0 insertions, 0 deletions