From 50882da878459a97a77135535753b9ac2d9cc1bc Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Wed, 20 Sep 2017 10:56:34 -0700 Subject: ARM: imx: clk: enable OCOTP clock by default For some reason USDHC and USB access crashes the kernel if the OCOTP clock is not enabled. It seems not to be software related since there is no direct access from the USDHC/Chipidea USB driver to the OCOTP IP. It might be that the hardware checks the fuses to determine if the particular SoC is supposed to let user access a certain peripheral... Signed-off-by: Stefan Agner Acked-by: Max Krummenacher (cherry picked from commit bce5146373372651052654b84cd3b773ac4d1882) --- drivers/clk/imx/clk-imx6ul.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/imx/clk-imx6ul.c b/drivers/clk/imx/clk-imx6ul.c index e2c1719d13ef..442b8f64a80a 100644 --- a/drivers/clk/imx/clk-imx6ul.c +++ b/drivers/clk/imx/clk-imx6ul.c @@ -78,6 +78,7 @@ static int const clks_init_on[] __initconst = { IMX6UL_CLK_AIPSTZ1, IMX6UL_CLK_AIPSTZ2, IMX6UL_CLK_AIPSTZ3, IMX6UL_CLK_AXI, IMX6UL_CLK_ARM, IMX6UL_CLK_ROM, IMX6UL_CLK_MMDC_P0_FAST, IMX6UL_CLK_MMDC_P0_IPG, + IMX6UL_CLK_OCOTP }; static struct clk_div_table clk_enet_ref_table[] = { -- cgit v1.2.3