clk-pll.h 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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 samsung_pll_type {
  14. pll_35xx,
  15. pll_36xx,
  16. pll_2550,
  17. pll_2650,
  18. };
  19. enum pll45xx_type {
  20. pll_4500,
  21. pll_4502,
  22. pll_4508
  23. };
  24. enum pll46xx_type {
  25. pll_4600,
  26. pll_4650,
  27. pll_4650c,
  28. };
  29. extern struct clk * __init samsung_clk_register_pll45xx(const char *name,
  30. const char *pname, const void __iomem *con_reg,
  31. enum pll45xx_type type);
  32. extern struct clk * __init samsung_clk_register_pll46xx(const char *name,
  33. const char *pname, const void __iomem *con_reg,
  34. enum pll46xx_type type);
  35. extern struct clk * __init samsung_clk_register_pll2550x(const char *name,
  36. const char *pname, const void __iomem *reg_base,
  37. const unsigned long offset);
  38. #endif /* __SAMSUNG_CLK_PLL_H */