Commit | Line | Data |
---|---|---|
91b87a47 LW |
1 | #include <asm/hardware/icst.h> |
2 | ||
7a9ad671 LW |
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 | */ | |
91b87a47 LW |
10 | struct clk_icst_desc { |
11 | const struct icst_params *params; | |
7a9ad671 LW |
12 | u32 vco_offset; |
13 | u32 lock_offset; | |
91b87a47 LW |
14 | }; |
15 | ||
16 | struct clk *icst_clk_register(struct device *dev, | |
7a9ad671 LW |
17 | const struct clk_icst_desc *desc, |
18 | void __iomem *base); |