Paul Walmsley | b045d08 | 2008-03-18 11:24:28 +0200 | [diff] [blame] | 1 | /* |
Paul Walmsley | 82e9bd5 | 2009-12-08 16:18:47 -0700 | [diff] [blame] | 2 | * OMAP3 clock function prototypes and macros |
Paul Walmsley | b045d08 | 2008-03-18 11:24:28 +0200 | [diff] [blame] | 3 | * |
Paul Walmsley | 82e9bd5 | 2009-12-08 16:18:47 -0700 | [diff] [blame] | 4 | * Copyright (C) 2007-2009 Texas Instruments, Inc. |
| 5 | * Copyright (C) 2007-2009 Nokia Corporation |
Paul Walmsley | 542313c | 2008-07-03 12:24:45 +0300 | [diff] [blame] | 6 | */ |
| 7 | |
Paul Walmsley | 82e9bd5 | 2009-12-08 16:18:47 -0700 | [diff] [blame] | 8 | #ifndef __ARCH_ARM_MACH_OMAP2_CLOCK_34XX_H |
| 9 | #define __ARCH_ARM_MACH_OMAP2_CLOCK_34XX_H |
Paul Walmsley | b045d08 | 2008-03-18 11:24:28 +0200 | [diff] [blame] | 10 | |
Paul Walmsley | e80a972 | 2010-01-26 20:13:12 -0700 | [diff] [blame] | 11 | int omap3xxx_clk_init(void); |
Paul Walmsley | 82e9bd5 | 2009-12-08 16:18:47 -0700 | [diff] [blame] | 12 | int omap3_dpll4_set_rate(struct clk *clk, unsigned long rate); |
| 13 | int omap3_core_dpll_m2_set_rate(struct clk *clk, unsigned long rate); |
| 14 | void omap3_clk_lock_dpll5(void); |
Russell King | c0bf313 | 2009-02-19 13:29:22 +0000 | [diff] [blame] | 15 | |
Paul Walmsley | 82e9bd5 | 2009-12-08 16:18:47 -0700 | [diff] [blame] | 16 | extern struct clk *sdrc_ick_p; |
| 17 | extern struct clk *arm_fck_p; |
Paul Walmsley | b045d08 | 2008-03-18 11:24:28 +0200 | [diff] [blame] | 18 | |
Paul Walmsley | 82e9bd5 | 2009-12-08 16:18:47 -0700 | [diff] [blame] | 19 | /* OMAP34xx-specific clkops */ |
| 20 | extern const struct clkops clkops_omap3430es2_ssi_wait; |
| 21 | extern const struct clkops clkops_omap3430es2_hsotgusb_wait; |
| 22 | extern const struct clkops clkops_omap3430es2_dss_usbhost_wait; |
Tony Lindgren | 4751227 | 2010-02-15 09:27:25 -0800 | [diff] [blame] | 23 | extern const struct clkops omap3_clkops_noncore_dpll_ops; |
Paul Walmsley | b045d08 | 2008-03-18 11:24:28 +0200 | [diff] [blame] | 24 | |
Ranjith Lohithakshan | 3cc4a2f | 2010-02-24 12:05:55 -0700 | [diff] [blame] | 25 | /* AM35xx-specific clkops */ |
| 26 | extern const struct clkops clkops_am35xx_ipss_module_wait; |
| 27 | extern const struct clkops clkops_am35xx_ipss_wait; |
| 28 | |
Mike Turquette | a7e069f | 2010-02-24 12:06:00 -0700 | [diff] [blame^] | 29 | /* OMAP36xx-specific clkops */ |
| 30 | extern const struct clkops clkops_omap36xx_pwrdn_with_hsdiv_wait_restore; |
| 31 | |
Paul Walmsley | b045d08 | 2008-03-18 11:24:28 +0200 | [diff] [blame] | 32 | #endif |