blob: 720091ddced10f28a6461139bd37362e73b21f7a [file] [log] [blame]
Paul Walmsleyb045d082008-03-18 11:24:28 +02001/*
Paul Walmsley82e9bd52009-12-08 16:18:47 -07002 * OMAP3 clock function prototypes and macros
Paul Walmsleyb045d082008-03-18 11:24:28 +02003 *
Paul Walmsley82e9bd52009-12-08 16:18:47 -07004 * Copyright (C) 2007-2009 Texas Instruments, Inc.
5 * Copyright (C) 2007-2009 Nokia Corporation
Paul Walmsley542313c2008-07-03 12:24:45 +03006 */
7
Paul Walmsley82e9bd52009-12-08 16:18:47 -07008#ifndef __ARCH_ARM_MACH_OMAP2_CLOCK_34XX_H
9#define __ARCH_ARM_MACH_OMAP2_CLOCK_34XX_H
Paul Walmsleyb045d082008-03-18 11:24:28 +020010
Paul Walmsleye80a9722010-01-26 20:13:12 -070011int omap3xxx_clk_init(void);
Paul Walmsley82e9bd52009-12-08 16:18:47 -070012int omap3_dpll4_set_rate(struct clk *clk, unsigned long rate);
13int omap3_core_dpll_m2_set_rate(struct clk *clk, unsigned long rate);
14void omap3_clk_lock_dpll5(void);
Russell Kingc0bf3132009-02-19 13:29:22 +000015
Paul Walmsley82e9bd52009-12-08 16:18:47 -070016extern struct clk *sdrc_ick_p;
17extern struct clk *arm_fck_p;
Paul Walmsleyb045d082008-03-18 11:24:28 +020018
Paul Walmsley82e9bd52009-12-08 16:18:47 -070019/* OMAP34xx-specific clkops */
20extern const struct clkops clkops_omap3430es2_ssi_wait;
21extern const struct clkops clkops_omap3430es2_hsotgusb_wait;
22extern const struct clkops clkops_omap3430es2_dss_usbhost_wait;
Tony Lindgren47512272010-02-15 09:27:25 -080023extern const struct clkops omap3_clkops_noncore_dpll_ops;
Paul Walmsleyb045d082008-03-18 11:24:28 +020024
Ranjith Lohithakshan3cc4a2f2010-02-24 12:05:55 -070025/* AM35xx-specific clkops */
26extern const struct clkops clkops_am35xx_ipss_module_wait;
27extern const struct clkops clkops_am35xx_ipss_wait;
28
Mike Turquettea7e069f2010-02-24 12:06:00 -070029/* OMAP36xx-specific clkops */
30extern const struct clkops clkops_omap36xx_pwrdn_with_hsdiv_wait_restore;
31
Paul Walmsleyb045d082008-03-18 11:24:28 +020032#endif