0001
0002 struct regmap;
0003
0004
0005
0006
0007 enum icst_control_type {
0008 ICST_VERSATILE,
0009 ICST_INTEGRATOR_AP_CM,
0010 ICST_INTEGRATOR_AP_SYS,
0011 ICST_INTEGRATOR_AP_PCI,
0012 ICST_INTEGRATOR_CP_CM_CORE,
0013 ICST_INTEGRATOR_CP_CM_MEM,
0014 ICST_INTEGRATOR_IM_PD1,
0015 };
0016
0017
0018
0019
0020
0021
0022
0023
0024 struct clk_icst_desc {
0025 const struct icst_params *params;
0026 u32 vco_offset;
0027 u32 lock_offset;
0028 };
0029
0030 struct clk *icst_clk_register(struct device *dev,
0031 const struct clk_icst_desc *desc,
0032 const char *name,
0033 const char *parent_name,
0034 void __iomem *base);
0035
0036 struct clk *icst_clk_setup(struct device *dev,
0037 const struct clk_icst_desc *desc,
0038 const char *name,
0039 const char *parent_name,
0040 struct regmap *map,
0041 enum icst_control_type ctype);