]>
Commit | Line | Data |
---|---|---|
1c4c5fe0 TA |
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 | ||
12 | #ifndef __SAMSUNG_CLK_PLL_H | |
13 | #define __SAMSUNG_CLK_PLL_H | |
14 | ||
15 | enum pll45xx_type { | |
16 | pll_4500, | |
17 | pll_4502, | |
18 | pll_4508 | |
19 | }; | |
20 | ||
21 | enum pll46xx_type { | |
22 | pll_4600, | |
23 | pll_4650, | |
24 | pll_4650c, | |
25 | }; | |
26 | ||
27 | extern struct clk * __init samsung_clk_register_pll35xx(const char *name, | |
28 | const char *pname, const void __iomem *con_reg); | |
29 | extern struct clk * __init samsung_clk_register_pll36xx(const char *name, | |
30 | const char *pname, const void __iomem *con_reg); | |
31 | extern struct clk * __init samsung_clk_register_pll45xx(const char *name, | |
32 | const char *pname, const void __iomem *con_reg, | |
33 | enum pll45xx_type type); | |
34 | extern struct clk * __init samsung_clk_register_pll46xx(const char *name, | |
35 | const char *pname, const void __iomem *con_reg, | |
36 | enum pll46xx_type type); | |
37 | extern struct clk * __init samsung_clk_register_pll2550x(const char *name, | |
38 | const char *pname, const void __iomem *reg_base, | |
39 | const unsigned long offset); | |
40 | ||
41 | #endif /* __SAMSUNG_CLK_PLL_H */ |