diff options
author | Alexander Stein <alexander.stein@ew.tq-group.com> | 2023-04-21 14:55:17 +0300 |
---|---|---|
committer | Abel Vesa <abel.vesa@linaro.org> | 2023-05-18 13:36:07 +0300 |
commit | 912d7af473f163ccdeb02aaabc3534177936b86c (patch) | |
tree | 3e6457ddcda8c299b6bd347c87c3efdc499580fe | |
parent | 370da75066e32bef008ca17290f4aa644500100c (diff) | |
download | linux-912d7af473f163ccdeb02aaabc3534177936b86c.tar.xz |
clk: imx6ul: retain early UART clocks during kernel init
Make sure to keep UART clocks enabled during kernel init if
earlyprintk or earlycon are active.
Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20230421115517.1940990-1-alexander.stein@ew.tq-group.com
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
-rw-r--r-- | drivers/clk/imx/clk-imx6ul.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/clk/imx/clk-imx6ul.c b/drivers/clk/imx/clk-imx6ul.c index e3696a88b5a3..f9394e94f69d 100644 --- a/drivers/clk/imx/clk-imx6ul.c +++ b/drivers/clk/imx/clk-imx6ul.c @@ -544,6 +544,8 @@ static void __init imx6ul_clocks_init(struct device_node *ccm_node) clk_set_parent(hws[IMX6UL_CLK_ENET1_REF_SEL]->clk, hws[IMX6UL_CLK_ENET_REF]->clk); clk_set_parent(hws[IMX6UL_CLK_ENET2_REF_SEL]->clk, hws[IMX6UL_CLK_ENET2_REF]->clk); + + imx_register_uart_clocks(); } CLK_OF_DECLARE(imx6ul, "fsl,imx6ul-ccm", imx6ul_clocks_init); |