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