diff options
author | Alexander Stein <alexander.stein@ew.tq-group.com> | 2023-04-21 13:55:17 +0200 |
---|---|---|
committer | Abel Vesa <abel.vesa@linaro.org> | 2023-05-18 12:36:07 +0200 |
commit | 912d7af473f163ccdeb02aaabc3534177936b86c (patch) | |
tree | 3e6457ddcda8c299b6bd347c87c3efdc499580fe /drivers/clk/imx | |
parent | clk: imx: imx6sx: Remove CLK_SET_RATE_PARENT from the LDB clocks (diff) | |
download | linux-912d7af473f163ccdeb02aaabc3534177936b86c.tar.xz linux-912d7af473f163ccdeb02aaabc3534177936b86c.zip |
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>
Diffstat (limited to 'drivers/clk/imx')
-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); |