* [PATCH] clk: mvebu: flag the crypto clk as CLK_IGNORE_UNUSED
@ 2015-06-16 11:22 Boris Brezillon
2015-06-16 15:02 ` Kevin Hilman
0 siblings, 1 reply; 2+ messages in thread
From: Boris Brezillon @ 2015-06-16 11:22 UTC (permalink / raw)
To: linux-arm-kernel
Fixes: 29e623475c50267ee3aaa49ebb6cbe107bce8d2a ("clk: mvebu: add
missing CESA gate clk").
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 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.
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Cc: <stable@vger.kernel.org> #4.1
---
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..7c2a58c 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] 2+ messages in thread
* [PATCH] clk: mvebu: flag the crypto clk as CLK_IGNORE_UNUSED
2015-06-16 11:22 [PATCH] clk: mvebu: flag the crypto clk as CLK_IGNORE_UNUSED Boris Brezillon
@ 2015-06-16 15:02 ` Kevin Hilman
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Hilman @ 2015-06-16 15:02 UTC (permalink / raw)
To: linux-arm-kernel
Boris Brezillon <boris.brezillon@free-electrons.com> writes:
> Fixes: 29e623475c50267ee3aaa49ebb6cbe107bce8d2a ("clk: mvebu: add
> missing CESA gate clk").
Which was:
Reported-by: Kevin Hilman <khilman@linaro.org>
> 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 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.
>
> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
> Cc: <stable@vger.kernel.org> #4.1
> ---
> 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..7c2a58c 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 }
Doesn't compile. Needs trailing ','
> { "tdm", NULL, 25, 0 },
> { "ddr", NULL, 28, CLK_IGNORE_UNUSED },
> { "sata1", NULL, 30, 0 },
With that fixed, I tested this on top of next-20150615 where mirabox was
previously broken and I confirm it's now working.
Tested-by: Kevin Hilman <khilman@linaro.org>
Kevin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-06-16 15:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-16 11:22 [PATCH] clk: mvebu: flag the crypto clk as CLK_IGNORE_UNUSED Boris Brezillon
2015-06-16 15:02 ` Kevin Hilman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).