aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/cclock33xx_data.c
diff options
context:
space:
mode:
authorVaibhav Hiremath <hvaibhav@ti.com>2013-05-20 09:28:09 -0400
committerBenoit Cousson <benoit.cousson@linaro.org>2013-06-18 20:51:23 -0400
commit75fbbca2b11ce7c8ee728a8c5d0e58b477eccf4f (patch)
tree7f73c1b71517ae659ee660d48ebd57c6bdb41423 /arch/arm/mach-omap2/cclock33xx_data.c
parent4fd8a19e28f73495837cca7ad1329069d373e98a (diff)
ARM: AM33XX: clock data: Enable clkout2 as part of init
clkout2 comes out on the pad and is being used by various external on-board peripherals like, Audio codecs and stuff. So enable the clkout2 by default during init sequence itself. Also, add the missing entry of "clkout2_ck" to the clock table. Signed-off-by: Vaibhav Hiremath <hvaibhav@ti.com> Acked-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Benoit Cousson <benoit.cousson@linaro.org>
Diffstat (limited to 'arch/arm/mach-omap2/cclock33xx_data.c')
-rw-r--r--arch/arm/mach-omap2/cclock33xx_data.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/cclock33xx_data.c b/arch/arm/mach-omap2/cclock33xx_data.c
index 6fd0ed14bca4..a8140b6885e3 100644
--- a/arch/arm/mach-omap2/cclock33xx_data.c
+++ b/arch/arm/mach-omap2/cclock33xx_data.c
@@ -979,6 +979,7 @@ static struct omap_clk am33xx_clks[] = {
979 CLK(NULL, "trace_pmd_clk_mux_ck", &trace_pmd_clk_mux_ck), 979 CLK(NULL, "trace_pmd_clk_mux_ck", &trace_pmd_clk_mux_ck),
980 CLK(NULL, "stm_clk_div_ck", &stm_clk_div_ck), 980 CLK(NULL, "stm_clk_div_ck", &stm_clk_div_ck),
981 CLK(NULL, "trace_clk_div_ck", &trace_clk_div_ck), 981 CLK(NULL, "trace_clk_div_ck", &trace_clk_div_ck),
982 CLK(NULL, "clkout2_ck", &clkout2_ck),
982}; 983};
983 984
984 985
@@ -989,6 +990,7 @@ static const char *enable_init_clks[] = {
989 "l4hs_gclk", 990 "l4hs_gclk",
990 "l4fw_gclk", 991 "l4fw_gclk",
991 "l4ls_gclk", 992 "l4ls_gclk",
993 "clkout2_ck", /* Required for external peripherals like, Audio codecs */
992}; 994};
993 995
994int __init am33xx_clk_init(void) 996int __init am33xx_clk_init(void)