clk: mvebu: add missing CESA gate clk
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Tue, 26 May 2015 12:42:57 +0000 (14:42 +0200)
committerMichael Turquette <mturquette@linaro.org>
Wed, 3 Jun 2015 22:17:07 +0000 (15:17 -0700)
Even if not documented in the datasheet, the Armada 370 SoC can actually
gate the CESA (crypto engine) clock.
Add an entry in the gating_desc table to be able to reference the CESA
gateclk in the crypto node.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Michael Turquette <mturquette@linaro.org>
Documentation/devicetree/bindings/clock/mvebu-gated-clock.txt
drivers/clk/mvebu/armada-370.c

index 31c7c0c1ce8f6b47a625f8b6f41eafc6a35d402a..660e64912cceb69146f1ea6b4a18e8b533944223 100644 (file)
@@ -19,6 +19,7 @@ ID    Clock   Peripheral
 9      pex1    PCIe Cntrl 1
 15     sata0   SATA Host 0
 17     sdio    SDHCI Host
+23     crypto  CESA (crypto engine)
 25     tdm     Time Division Mplx
 28     ddr     DDR Cntrl
 30     sata1   SATA Host 0
index 756f0f39d6a3d9f4d3ffcd19a9eae6166c7ba3e3..c19fd77e6c27a309f64c6212f147f11190910d96 100644 (file)
@@ -163,6 +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 },
        { "tdm", NULL, 25, 0 },
        { "ddr", NULL, 28, CLK_IGNORE_UNUSED },
        { "sata1", NULL, 30, 0 },