This patch adds correct register definitions for the secur clock, used by the
Samsung crypto engine.

Signed-off-by: Maurus Cuelenaere <[email protected]>
---
 arch/arm/mach-s3c64xx/clock.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-s3c64xx/clock.c b/arch/arm/mach-s3c64xx/clock.c
index d3e11a1..8cbe949 100644
--- a/arch/arm/mach-s3c64xx/clock.c
+++ b/arch/arm/mach-s3c64xx/clock.c
@@ -716,6 +716,15 @@ static struct clksrc_clk clksrcs[] = {
                .reg_div        = { .reg = S3C_CLK_DIV0, .shift = 20, .size = 4 
 },
                .reg_src        = { .reg = NULL, .shift = 0, .size = 0  },
                .sources        = &clkset_camif,
+       },  {
+               .clk    = {
+                       .name           = "secur",
+                       .id             = -1,
+                       .ctrlbit        = S3C_CLKCON_SCLK_SECUR,
+                       .enable         = s3c64xx_sclk_ctrl,
+                       .parent         = &clk_h2,
+               },
+               .reg_div        = { .reg = S3C_CLK_DIV0, .shift = 18, .size = 2 
},
        },
 };
 
-- 
1.7.1


--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to