clock34xx.h 1023 字节
Newer Older
P
Paul Walmsley 已提交
1
/*
2
 * OMAP3 clock function prototypes and macros
P
Paul Walmsley 已提交
3
 *
4 5
 * Copyright (C) 2007-2009 Texas Instruments, Inc.
 * Copyright (C) 2007-2009 Nokia Corporation
P
Paul Walmsley 已提交
6 7
 */

8 9
#ifndef __ARCH_ARM_MACH_OMAP2_CLOCK_34XX_H
#define __ARCH_ARM_MACH_OMAP2_CLOCK_34XX_H
P
Paul Walmsley 已提交
10

11
int omap3xxx_clk_init(void);
12 13 14
int omap3_dpll4_set_rate(struct clk *clk, unsigned long rate);
int omap3_core_dpll_m2_set_rate(struct clk *clk, unsigned long rate);
void omap3_clk_lock_dpll5(void);
15

16 17
extern struct clk *sdrc_ick_p;
extern struct clk *arm_fck_p;
P
Paul Walmsley 已提交
18

19 20 21 22
/* OMAP34xx-specific clkops */
extern const struct clkops clkops_omap3430es2_ssi_wait;
extern const struct clkops clkops_omap3430es2_hsotgusb_wait;
extern const struct clkops clkops_omap3430es2_dss_usbhost_wait;
23
extern const struct clkops omap3_clkops_noncore_dpll_ops;
P
Paul Walmsley 已提交
24

25 26 27 28
/* AM35xx-specific clkops */
extern const struct clkops clkops_am35xx_ipss_module_wait;
extern const struct clkops clkops_am35xx_ipss_wait;

29 30 31
/* OMAP36xx-specific clkops */
extern const struct clkops clkops_omap36xx_pwrdn_with_hsdiv_wait_restore;

P
Paul Walmsley 已提交
32
#endif