rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
| 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 | */ |
| 9 | struct clk_icst_desc { |
| 10 | const struct icst_params *params; |
| 11 | u32 vco_offset; |
| 12 | u32 lock_offset; |
| 13 | }; |
| 14 | |
| 15 | struct clk *icst_clk_register(struct device *dev, |
| 16 | const struct clk_icst_desc *desc, |
| 17 | const char *name, |
| 18 | const char *parent_name, |
| 19 | void __iomem *base); |