clk: imx7d: enable uart2 clock when m4 is enabled
The UART clock used by M4 maybe turned off by Linux side, after the initialization of the clocks. Enable the UART2 clock when M4 is enabled. Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>5.4-rM2-2.2.x-imx-squashed
parent
2777135445
commit
a065a0f3c6
|
@ -891,6 +891,7 @@ static void __init imx7d_clocks_init(struct device_node *ccm_node)
|
|||
if (imx_src_is_m4_enabled()) {
|
||||
clk_set_parent(hws[IMX7D_ARM_M4_ROOT_SRC]->clk, hws[IMX7D_PLL_SYS_MAIN_240M_CLK]->clk);
|
||||
clk_prepare_enable(hws[IMX7D_ARM_M4_ROOT_CLK]->clk);
|
||||
clk_prepare_enable(hws[IMX7D_UART2_ROOT_CLK]->clk);
|
||||
}
|
||||
|
||||
/* use old gpt clk setting, gpt1 root clk must be twice as gpt counter freq */
|
||||
|
|
Loading…
Reference in New Issue