blob: 87f098dde71de828f1711d410efd4b2a9e778949 [file] [log] [blame]
Paul Walmsley657ebfa2010-02-22 22:09:20 -07001/*
2 * OMAP3-common clock function prototypes and macros
3 *
4 * Copyright (C) 2007-2010 Texas Instruments, Inc.
5 * Copyright (C) 2007-2010 Nokia Corporation
6 */
7
8#ifndef __ARCH_ARM_MACH_OMAP2_CLOCK3XXX_H
9#define __ARCH_ARM_MACH_OMAP2_CLOCK3XXX_H
10
11int omap3xxx_clk_init(void);
Rajendra Nayakb4777a22012-04-27 15:53:48 +053012#ifdef CONFIG_COMMON_CLK
13int omap3_dpll4_set_rate(struct clk_hw *clk, unsigned long rate,
14 unsigned long parent_rate);
15int omap3_core_dpll_m2_set_rate(struct clk_hw *clk, unsigned long rate,
16 unsigned long parent_rate);
17#else
Paul Walmsley657ebfa2010-02-22 22:09:20 -070018int omap3_dpll4_set_rate(struct clk *clk, unsigned long rate);
19int omap3_core_dpll_m2_set_rate(struct clk *clk, unsigned long rate);
Rajendra Nayakb4777a22012-04-27 15:53:48 +053020#endif
Paul Walmsley657ebfa2010-02-22 22:09:20 -070021void omap3_clk_lock_dpll5(void);
22
23extern struct clk *sdrc_ick_p;
24extern struct clk *arm_fck_p;
25
26extern const struct clkops clkops_noncore_dpll_ops;
27
28#endif