Skip to content

Commit 283f1b9

Browse files
Dong Aishengbebarino
authored andcommitted
clk: imx6q: fix uart earlycon unwork
The earlycon depends on the bootloader setup UART clocks being retained. There're actually two uart clocks (ipg, per) on MX6QDL, but the 'Fixes' commit change to register only one which means another clock may be disabled during booting phase and result in the earlycon unwork. Cc: [email protected] # v5.10+ Fixes: 379c9a2 ("clk: imx: Fix reparenting of UARTs not associated with stdout") Signed-off-by: Dong Aisheng <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Abel Vesa <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
1 parent f828b0b commit 283f1b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/imx/clk-imx6q.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -974,6 +974,6 @@ static void __init imx6q_clocks_init(struct device_node *ccm_node)
974974
hws[IMX6QDL_CLK_PLL3_USB_OTG]->clk);
975975
}
976976

977-
imx_register_uart_clocks(1);
977+
imx_register_uart_clocks(2);
978978
}
979979
CLK_OF_DECLARE(imx6q, "fsl,imx6q-ccm", imx6q_clocks_init);

0 commit comments

Comments
 (0)