From dc627eea98b1e12f9ff2ecd241a34a2056fdddbd Mon Sep 17 00:00:00 2001 From: Boris Brezillon Date: Tue, 16 Jun 2015 17:56:19 +0200 Subject: clk: mvebu: flag the crypto clk as CLK_IGNORE_UNUSED The crypto SRAM, used by the armada 370 cpuidle code to workaround a bug in the BootROM code, requires the crypto clk to be up and running. Flag the crypto clk as IGNORE_UNUSED until we add the proper infrastructure to define the crypto SRAM in the DT and reference the crypto clk in this SRAM node. Reported-by: Kevin Hilman Signed-off-by: Boris Brezillon Tested-by: Kevin Hilman Signed-off-by: Michael Turquette diff --git a/drivers/clk/mvebu/armada-370.c b/drivers/clk/mvebu/armada-370.c index c19fd77..2c7c108 100644 --- a/drivers/clk/mvebu/armada-370.c +++ b/drivers/clk/mvebu/armada-370.c @@ -163,7 +163,7 @@ static const struct clk_gating_soc_desc a370_gating_desc[] __initconst = { { "pex1", "pex1_en", 9, 0 }, { "sata0", NULL, 15, 0 }, { "sdio", NULL, 17, 0 }, - { "crypto", NULL, 23, 0 }, + { "crypto", NULL, 23, CLK_IGNORE_UNUSED }, { "tdm", NULL, 25, 0 }, { "ddr", NULL, 28, CLK_IGNORE_UNUSED }, { "sata1", NULL, 30, 0 }, -- cgit v0.10.2