blob: dad51b6ffd0085f72bf7292437d5bedb35fe77df [file] [log] [blame]
Linus Walleij91b87a42012-06-11 17:29:54 +02001#include <asm/hardware/icst.h>
2
Linus Walleij7a9ad672012-11-20 23:01:04 +01003/**
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 Walleij91b87a42012-06-11 17:29:54 +020010struct clk_icst_desc {
11 const struct icst_params *params;
Linus Walleij7a9ad672012-11-20 23:01:04 +010012 u32 vco_offset;
13 u32 lock_offset;
Linus Walleij91b87a42012-06-11 17:29:54 +020014};
15
16struct clk *icst_clk_register(struct device *dev,
Linus Walleij7a9ad672012-11-20 23:01:04 +010017 const struct clk_icst_desc *desc,
18 void __iomem *base);