xref: /openbmc/linux/drivers/clk/versatile/clk-icst.h (revision ef2b56df)
1 /**
2  * struct clk_icst_desc - descriptor for the ICST VCO
3  * @params: ICST parameters
4  * @vco_offset: offset to the ICST VCO from the provided memory base
5  * @lock_offset: offset to the ICST VCO locking register from the provided
6  *	memory base
7  */
8 struct clk_icst_desc {
9 	const struct icst_params *params;
10 	u32 vco_offset;
11 	u32 lock_offset;
12 };
13 
14 struct clk *icst_clk_register(struct device *dev,
15 			      const struct clk_icst_desc *desc,
16 			      const char *name,
17 			      const char *parent_name,
18 			      void __iomem *base);
19