clock44xx.h 604 B

1234567891011121314151617181920212223
  1. /*
  2. * OMAP4 clock function prototypes and macros
  3. *
  4. * Copyright (C) 2009 Texas Instruments, Inc.
  5. */
  6. #ifndef __ARCH_ARM_MACH_OMAP2_CLOCK_44XX_H
  7. #define __ARCH_ARM_MACH_OMAP2_CLOCK_44XX_H
  8. unsigned long omap3_dpll_recalc(struct clk *clk);
  9. unsigned long omap3_clkoutx2_recalc(struct clk *clk);
  10. int omap3_noncore_dpll_set_rate(struct clk *clk, unsigned long rate);
  11. /* DPLL modes */
  12. #define DPLL_LOW_POWER_STOP 0x1
  13. #define DPLL_LOW_POWER_BYPASS 0x5
  14. #define DPLL_LOCKED 0x7
  15. #define OMAP4430_MAX_DPLL_MULT 2048
  16. #define OMAP4430_MAX_DPLL_DIV 128
  17. extern const struct clkops clkops_noncore_dpll_ops;
  18. #endif