[PATCH 13/15] ARM: AM33XX: Add aes0 crypto clock data

2012-12-21 Thread Mark A. Greer
From: "Mark A. Greer" 

Add clock data for for the SHA0 crypto module
on the am33xx SoC.

CC: Paul Walmsley 
Signed-off-by: Mark A. Greer 
---
 arch/arm/mach-omap2/cclock33xx_data.c | 5 +
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/mach-omap2/cclock33xx_data.c 
b/arch/arm/mach-omap2/cclock33xx_data.c
index 56d6755..ca8e6cb 100644
--- a/arch/arm/mach-omap2/cclock33xx_data.c
+++ b/arch/arm/mach-omap2/cclock33xx_data.c
@@ -416,6 +416,10 @@ static struct clk sha0_fck;
 DEFINE_STRUCT_CLK_HW_OMAP(sha0_fck, NULL);
 DEFINE_STRUCT_CLK(sha0_fck, dpll_core_ck_parents, clk_ops_null);
 
+static struct clk aes0_fck;
+DEFINE_STRUCT_CLK_HW_OMAP(aes0_fck, NULL);
+DEFINE_STRUCT_CLK(aes0_fck, dpll_core_ck_parents, clk_ops_null);
+
 /*
  * Modules clock nodes
  *
@@ -881,6 +885,7 @@ static struct omap_clk am33xx_clks[] = {
CLK(NULL,   "smartreflex0_fck", &smartreflex0_fck,  
CK_AM33XX),
CLK(NULL,   "smartreflex1_fck", &smartreflex1_fck,  
CK_AM33XX),
CLK(NULL,   "sha0_fck", &sha0_fck,  CK_AM33XX),
+   CLK(NULL,   "aes0_fck", &aes0_fck,  CK_AM33XX),
CLK(NULL,   "timer1_fck",   &timer1_fck,CK_AM33XX),
CLK(NULL,   "timer2_fck",   &timer2_fck,CK_AM33XX),
CLK(NULL,   "timer3_fck",   &timer3_fck,CK_AM33XX),
-- 
1.7.12

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH 13/15] ARM: AM33XX: Add aes0 crypto clock data

2012-12-23 Thread Peter Korsgaard
> "Mark" == Mark A Greer  writes:

 Mark> From: "Mark A. Greer" 
 Mark> Add clock data for for the SHA0 crypto module

s/SHA/AES/

Reviewed-by: Peter Korsgaard 
 
 Mark> +static struct clk aes0_fck;
 Mark> +DEFINE_STRUCT_CLK_HW_OMAP(aes0_fck, NULL);
 Mark> +DEFINE_STRUCT_CLK(aes0_fck, dpll_core_ck_parents, clk_ops_null);

-- 
Bye, Peter Korsgaard
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html