Merge tag 'extcon-next-for-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git...
[linux/fpc-iii.git] / drivers / clk / versatile / clk-icst.h
blobe36ca1a20e90862b1958e25c10d82a5aff1b4a13
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;
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);