1
2struct regmap;
3
4
5
6
7enum icst_control_type {
8 ICST_VERSATILE,
9 ICST_INTEGRATOR_AP_CM,
10 ICST_INTEGRATOR_AP_SYS,
11 ICST_INTEGRATOR_AP_PCI,
12 ICST_INTEGRATOR_CP_CM_CORE,
13 ICST_INTEGRATOR_CP_CM_MEM,
14 ICST_INTEGRATOR_IM_PD1,
15};
16
17
18
19
20
21
22
23
24struct clk_icst_desc {
25 const struct icst_params *params;
26 u32 vco_offset;
27 u32 lock_offset;
28};
29
30struct clk *icst_clk_register(struct device *dev,
31 const struct clk_icst_desc *desc,
32 const char *name,
33 const char *parent_name,
34 void __iomem *base);
35
36struct clk *icst_clk_setup(struct device *dev,
37 const struct clk_icst_desc *desc,
38 const char *name,
39 const char *parent_name,
40 struct regmap *map,
41 enum icst_control_type ctype);
42