forked from Minki/linux
b4777a2138
Convert all OMAP3 specific platform files to use COMMON clk and keep all the changes under the CONFIG_COMMON_CLK macro check so it does not break any existing code. At a later point switch to COMMON clk and get rid of all old/legacy code. Signed-off-by: Rajendra Nayak <rnayak@ti.com> Signed-off-by: Mike Turquette <mturquette@ti.com> Signed-off-by: Paul Walmsley <paul@pwsan.com>
29 lines
804 B
C
29 lines
804 B
C
/*
|
|
* OMAP3-common clock function prototypes and macros
|
|
*
|
|
* Copyright (C) 2007-2010 Texas Instruments, Inc.
|
|
* Copyright (C) 2007-2010 Nokia Corporation
|
|
*/
|
|
|
|
#ifndef __ARCH_ARM_MACH_OMAP2_CLOCK3XXX_H
|
|
#define __ARCH_ARM_MACH_OMAP2_CLOCK3XXX_H
|
|
|
|
int omap3xxx_clk_init(void);
|
|
#ifdef CONFIG_COMMON_CLK
|
|
int omap3_dpll4_set_rate(struct clk_hw *clk, unsigned long rate,
|
|
unsigned long parent_rate);
|
|
int omap3_core_dpll_m2_set_rate(struct clk_hw *clk, unsigned long rate,
|
|
unsigned long parent_rate);
|
|
#else
|
|
int omap3_dpll4_set_rate(struct clk *clk, unsigned long rate);
|
|
int omap3_core_dpll_m2_set_rate(struct clk *clk, unsigned long rate);
|
|
#endif
|
|
void omap3_clk_lock_dpll5(void);
|
|
|
|
extern struct clk *sdrc_ick_p;
|
|
extern struct clk *arm_fck_p;
|
|
|
|
extern const struct clkops clkops_noncore_dpll_ops;
|
|
|
|
#endif
|