[PATCH] ARM: dts: imx6qdl-udoo: Disable usbh1 to avoid kernel hang

Fabio Estevam festevam at gmail.com
Sun Feb 11 11:21:53 PST 2018


Hi Markus,

On Sun, Feb 11, 2018 at 11:58 AM, Fabio Estevam <festevam at gmail.com> wrote:

>> With your changes the board will boot again, so a step forward (but
>> USB will not working).

If you re-enable USBH1 and apply this quick hack:

--- a/drivers/clk/imx/clk-imx6q.c
+++ b/drivers/clk/imx/clk-imx6q.c
@@ -920,5 +920,11 @@ static void __init imx6q_clocks_init(struct
device_node *ccm_node)
        }

        imx_register_uart_clocks(uart_clks);
+
+       if (of_machine_is_compatible("udoo,imx6dl-udoo") ||
+           of_machine_is_compatible("udoo,imx6q-udoo"))
+               clk_prepare_enable(clk[IMX6QDL_CLK_CKO]);
+
 }
 CLK_OF_DECLARE(imx6q, "fsl,imx6q-ccm", imx6q_clocks_init);

Does USB work again?

I don't have access to my udoo board at the moment.



More information about the linux-arm-kernel mailing list