All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] clk: mvebu: flag the crypto clk as CLK_IGNORE_UNUSED
@ 2015-06-16 15:56 ` Boris Brezillon
  0 siblings, 0 replies; 15+ messages in thread
From: Boris Brezillon @ 2015-06-16 15:56 UTC (permalink / raw)
  To: Thomas Petazzoni, Gregory CLEMENT, Jason Cooper,
	Sebastian Hesselbarth, Andrew Lunn, Mike Turquette, Stephen Boyd,
	linux-clk
  Cc: Tawfik Bayouk, Lior Amsalem, Nadav Haklai, Eran Ben-Avi,
	linux-arm-kernel, Kevin Hilman, Boris Brezillon, stable

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 <khilman@linaro.org>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Tested-by: Kevin Hilman <khilman@linaro.org>
Fixes: 29e623475c50267ee3aaa49ebb6cbe107bce8d2a ("clk: mvebu: add
missing CESA gate clk").
Cc: <stable@vger.kernel.org> #4.1
---
Changes since v1:
- add the Reported-by tag
- add the missing trailing ','

 drivers/clk/mvebu/armada-370.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 },
-- 
1.9.1


^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2015-06-18 20:52 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-16 15:56 [PATCH v2] clk: mvebu: flag the crypto clk as CLK_IGNORE_UNUSED Boris Brezillon
2015-06-16 15:56 ` Boris Brezillon
2015-06-16 15:56 ` Boris Brezillon
2015-06-17 11:57 ` Gregory CLEMENT
2015-06-17 11:57   ` Gregory CLEMENT
2015-06-17 11:57   ` Gregory CLEMENT
2015-06-18 18:36   ` Michael Turquette
2015-06-18 18:36     ` Michael Turquette
2015-06-18 18:36     ` Michael Turquette
2015-06-18 18:49     ` Gregory CLEMENT
2015-06-18 18:49       ` Gregory CLEMENT
2015-06-18 19:47     ` Boris Brezillon
2015-06-18 19:47       ` Boris Brezillon
2015-06-18 20:52       ` Michael Turquette
2015-06-18 20:52         ` Michael Turquette

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.