Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
7a9ad671 LW |
2 | /** |
3 | * struct clk_icst_desc - descriptor for the ICST VCO | |
4 | * @params: ICST parameters | |
5 | * @vco_offset: offset to the ICST VCO from the provided memory base | |
6 | * @lock_offset: offset to the ICST VCO locking register from the provided | |
7 | * memory base | |
8 | */ | |
91b87a47 LW |
9 | struct clk_icst_desc { |
10 | const struct icst_params *params; | |
7a9ad671 LW |
11 | u32 vco_offset; |
12 | u32 lock_offset; | |
91b87a47 LW |
13 | }; |
14 | ||
15 | struct clk *icst_clk_register(struct device *dev, | |
7a9ad671 | 16 | const struct clk_icst_desc *desc, |
ae6e694e | 17 | const char *name, |
bf6edb4b | 18 | const char *parent_name, |
7a9ad671 | 19 | void __iomem *base); |