clk: samsung: exynos4: Add SSS gate clock
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Mon, 19 Oct 2015 05:00:32 +0000 (14:00 +0900)
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>
Wed, 18 Nov 2015 13:02:02 +0000 (22:02 +0900)
Add a gate clock for controlling all clocks of Security Sub System
(SSS).

Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/samsung/clk-exynos4.c
include/dt-bindings/clock/exynos4.h

index 7f370d3e098379e9076210764361ebb5046c739f..ac03e4fe287141f0fd2cd9ed34e7bbd21a04c345 100644 (file)
@@ -1024,6 +1024,7 @@ static struct samsung_gate_clock exynos4_gate_clks[] __initdata = {
                        0, 0),
        GATE(CLK_AC97, "ac97", "aclk100", GATE_IP_PERIL, 27,
                        0, 0),
+       GATE(CLK_SSS, "sss", "aclk133", GATE_IP_DMC, 4, 0, 0),
        GATE(CLK_PPMUDMC0, "ppmudmc0", "aclk133", GATE_IP_DMC, 8, 0, 0),
        GATE(CLK_PPMUDMC1, "ppmudmc1", "aclk133", GATE_IP_DMC, 9, 0, 0),
        GATE(CLK_PPMUCPU, "ppmucpu", "aclk133", GATE_IP_DMC, 10, 0, 0),
index c4b1676ea674abb5c6f598525b3f0ca09e39e1e7..c40111f36d5e282ae9e1d9edb002fede6e346ec0 100644 (file)
@@ -93,6 +93,7 @@
 #define CLK_SCLK_FIMG2D                177
 
 /* gate clocks */
+#define CLK_SSS                        255
 #define CLK_FIMC0              256
 #define CLK_FIMC1              257
 #define CLK_FIMC2              258