diff options
author | Tero Kristo <t-kristo@ti.com> | 2015-02-27 16:54:14 +0100 |
---|---|---|
committer | Tero Kristo <t-kristo@ti.com> | 2015-06-02 11:30:58 +0200 |
commit | f3b19aa5cab65f7e73613aa37f6851ce56b794d1 (patch) | |
tree | d71464c084f3a7bb56568ae7291fe19561a8d222 /arch/arm/mach-omap2/clock.h | |
parent | Linux 4.1-rc2 (diff) | |
download | linux-f3b19aa5cab65f7e73613aa37f6851ce56b794d1.tar.xz linux-f3b19aa5cab65f7e73613aa37f6851ce56b794d1.zip |
ARM: OMAP2+: clock: export driver API to setup/get clock features
As most of the clock driver support code is going to be moved under
drivers/clk/ti, an API for setting / getting the SoC specific clock
features is needed. This patch provides this API and changes the
existing code to use it.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/clock.h')
-rw-r--r-- | arch/arm/mach-omap2/clock.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/arm/mach-omap2/clock.h b/arch/arm/mach-omap2/clock.h index 652ed0ab86ec..ac21856d245d 100644 --- a/arch/arm/mach-omap2/clock.h +++ b/arch/arm/mach-omap2/clock.h @@ -225,24 +225,6 @@ void omap2_clk_writel(u32 val, struct clk_hw_omap *clk, void __iomem *reg); extern u16 cpu_mask; -/* - * Clock features setup. Used instead of CPU type checks. - */ -struct ti_clk_features { - u32 flags; - long fint_min; - long fint_max; - long fint_band1_max; - long fint_band2_min; - u8 dpll_bypass_vals; - u8 cm_idlest_val; -}; - -#define TI_CLK_DPLL_HAS_FREQSEL (1 << 0) -#define TI_CLK_DPLL4_DENY_REPROGRAM (1 << 1) - -extern struct ti_clk_features ti_clk_features; - extern const struct clkops clkops_omap2_dflt_wait; extern const struct clkops clkops_omap2_dflt; |