Commit 52b14728 authored by Tero Kristo's avatar Tero Kristo Committed by Mike Turquette

CLK: TI: add omap5 clock init file

clk-54xx.c now contains the clock init functionality for omap5, including
DT clock registration and adding of static clkdev entries.
Signed-off-by: default avatarTero Kristo <t-kristo@ti.com>
Tested-by: default avatarNishanth Menon <nm@ti.com>
Acked-by: default avatarTony Lindgren <tony@atomide.com>
Signed-off-by: default avatarMike Turquette <mturquette@linaro.org>
parent 21876ea5
...@@ -666,6 +666,7 @@ void __init omap5_init_early(void) ...@@ -666,6 +666,7 @@ void __init omap5_init_early(void)
omap54xx_clockdomains_init(); omap54xx_clockdomains_init();
omap54xx_hwmod_init(); omap54xx_hwmod_init();
omap_hwmod_init_postsetup(); omap_hwmod_init_postsetup();
omap_clk_init = omap5xxx_dt_clk_init;
} }
void __init omap5_init_late(void) void __init omap5_init_late(void)
......
...@@ -3,4 +3,5 @@ obj-y += clk.o autoidle.o clockdomain.o ...@@ -3,4 +3,5 @@ obj-y += clk.o autoidle.o clockdomain.o
clk-common = dpll.o composite.o divider.o gate.o \ clk-common = dpll.o composite.o divider.o gate.o \
fixed-factor.o mux.o fixed-factor.o mux.o
obj-$(CONFIG_ARCH_OMAP4) += $(clk-common) clk-44xx.o obj-$(CONFIG_ARCH_OMAP4) += $(clk-common) clk-44xx.o
obj-$(CONFIG_SOC_OMAP5) += $(clk-common) clk-54xx.o
endif endif
This diff is collapsed.
...@@ -264,6 +264,7 @@ int of_ti_clk_autoidle_setup(struct device_node *node); ...@@ -264,6 +264,7 @@ int of_ti_clk_autoidle_setup(struct device_node *node);
int ti_clk_add_component(struct device_node *node, struct clk_hw *hw, int type); int ti_clk_add_component(struct device_node *node, struct clk_hw *hw, int type);
int omap4xxx_dt_clk_init(void); int omap4xxx_dt_clk_init(void);
int omap5xxx_dt_clk_init(void);
#ifdef CONFIG_OF #ifdef CONFIG_OF
void of_ti_clk_allow_autoidle_all(void); void of_ti_clk_allow_autoidle_all(void);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment