| Linus Walleij | 91b87a4 | 2012-06-11 17:29:54 +0200 | [diff] [blame] | 1 | #include <asm/hardware/icst.h> | 
 | 2 |  | 
| Linus Walleij | 7a9ad67 | 2012-11-20 23:01:04 +0100 | [diff] [blame] | 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 |  */ | 
| Linus Walleij | 91b87a4 | 2012-06-11 17:29:54 +0200 | [diff] [blame] | 10 | struct clk_icst_desc { | 
 | 11 | 	const struct icst_params *params; | 
| Linus Walleij | 7a9ad67 | 2012-11-20 23:01:04 +0100 | [diff] [blame] | 12 | 	u32 vco_offset; | 
 | 13 | 	u32 lock_offset; | 
| Linus Walleij | 91b87a4 | 2012-06-11 17:29:54 +0200 | [diff] [blame] | 14 | }; | 
 | 15 |  | 
 | 16 | struct clk *icst_clk_register(struct device *dev, | 
| Linus Walleij | 7a9ad67 | 2012-11-20 23:01:04 +0100 | [diff] [blame] | 17 | 			      const struct clk_icst_desc *desc, | 
 | 18 | 			      void __iomem *base); |