ARM: AM33XX: clock data: Enable clkout2 as part of init
authorVaibhav Hiremath <hvaibhav@ti.com>
Mon, 20 May 2013 13:28:09 +0000 (18:58 +0530)
committerBenoit Cousson <benoit.cousson@linaro.org>
Wed, 19 Jun 2013 00:51:23 +0000 (19:51 -0500)
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>
arch/arm/mach-omap2/cclock33xx_data.c

index 6fd0ed14bca40babbb157fcffdc79e39662ade48..a8140b6885e3174d690d6683502b4354c4b1da6e 100644 (file)
@@ -979,6 +979,7 @@ static struct omap_clk am33xx_clks[] = {
        CLK(NULL,       "trace_pmd_clk_mux_ck", &trace_pmd_clk_mux_ck),
        CLK(NULL,       "stm_clk_div_ck",       &stm_clk_div_ck),
        CLK(NULL,       "trace_clk_div_ck",     &trace_clk_div_ck),
+       CLK(NULL,       "clkout2_ck",           &clkout2_ck),
 };
 
 
@@ -989,6 +990,7 @@ static const char *enable_init_clks[] = {
        "l4hs_gclk",
        "l4fw_gclk",
        "l4ls_gclk",
+       "clkout2_ck",   /* Required for external peripherals like, Audio codecs */
 };
 
 int __init am33xx_clk_init(void)
This page took 0.03524 seconds and 5 git commands to generate.