From bf42ad4c579d6340000a4fafc7add9299c9a8e26 Mon Sep 17 00:00:00 2001 From: Anson Huang Date: Wed, 17 Apr 2019 13:39:28 +0800 Subject: [PATCH] MLK-21554-3 clk: imx6sx: keep OCRAM_S always ON OCRAM_S is used as iram tlb table for low power modes, clock needs to be always ON. Signed-off-by: Anson Huang Reviewed-by: Leonard Crestez --- drivers/clk/imx/clk-imx6sx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/imx/clk-imx6sx.c b/drivers/clk/imx/clk-imx6sx.c index de1f4d8f9008..3ee589c189e5 100644 --- a/drivers/clk/imx/clk-imx6sx.c +++ b/drivers/clk/imx/clk-imx6sx.c @@ -454,7 +454,7 @@ static void __init imx6sx_clocks_init(struct device_node *ccm_node) clks[IMX6SX_CLK_GPT_BUS] = imx_clk_gate2("gpt_bus", "perclk", base + 0x6c, 20); clks[IMX6SX_CLK_GPT_SERIAL] = imx_clk_gate2("gpt_serial", "perclk", base + 0x6c, 22); clks[IMX6SX_CLK_GPU] = imx_clk_gate2("gpu", "gpu_core_podf", base + 0x6c, 26); - clks[IMX6SX_CLK_OCRAM_S] = imx_clk_gate2("ocram_s", "ahb", base + 0x6c, 28); + clks[IMX6SX_CLK_OCRAM_S] = imx_clk_gate2_flags("ocram_s", "ahb", base + 0x6c, 28, CLK_IS_CRITICAL); clks[IMX6SX_CLK_CANFD] = imx_clk_gate2("canfd", "can_podf", base + 0x6c, 30); /* CCGR2 */ -- 2.17.1