clk-pll.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * Copyright (c) 2013 Samsung Electronics Co., Ltd.
  3. * Copyright (c) 2013 Linaro Ltd.
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License version 2 as
  7. * published by the Free Software Foundation.
  8. *
  9. * Common Clock Framework support for all PLL's in Samsung platforms
  10. */
  11. #ifndef __SAMSUNG_CLK_PLL_H
  12. #define __SAMSUNG_CLK_PLL_H
  13. enum pll45xx_type {
  14. pll_4500,
  15. pll_4502,
  16. pll_4508
  17. };
  18. enum pll46xx_type {
  19. pll_4600,
  20. pll_4650,
  21. pll_4650c,
  22. };
  23. extern struct clk * __init samsung_clk_register_pll35xx(const char *name,
  24. const char *pname, const void __iomem *con_reg);
  25. extern struct clk * __init samsung_clk_register_pll36xx(const char *name,
  26. const char *pname, const void __iomem *con_reg);
  27. extern struct clk * __init samsung_clk_register_pll45xx(const char *name,
  28. const char *pname, const void __iomem *con_reg,
  29. enum pll45xx_type type);
  30. extern struct clk * __init samsung_clk_register_pll46xx(const char *name,
  31. const char *pname, const void __iomem *con_reg,
  32. enum pll46xx_type type);
  33. extern struct clk * __init samsung_clk_register_pll2550x(const char *name,
  34. const char *pname, const void __iomem *reg_base,
  35. const unsigned long offset);
  36. #endif /* __SAMSUNG_CLK_PLL_H */