mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-13 05:54:23 +08:00
ba3fae06c7
This moves the ICST clock divider helper library from arch/arm/common to drivers/clk/versatile so it is maintained with the other clock drivers. We keep the structure as a helper library intact and do not fuse it with the clk-icst.c Versatile ICST clock driver: there may be other users out there that need to use this library for their clocking, and then it will be helpful to keep the library contained. (The icst.[c|h] files could just be moved to drivers/clk/lib or a similar location to share the library.) Acked-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
19 lines
530 B
C
19 lines
530 B
C
/**
|
|
* struct clk_icst_desc - descriptor for the ICST VCO
|
|
* @params: ICST parameters
|
|
* @vco_offset: offset to the ICST VCO from the provided memory base
|
|
* @lock_offset: offset to the ICST VCO locking register from the provided
|
|
* memory base
|
|
*/
|
|
struct clk_icst_desc {
|
|
const struct icst_params *params;
|
|
u32 vco_offset;
|
|
u32 lock_offset;
|
|
};
|
|
|
|
struct clk *icst_clk_register(struct device *dev,
|
|
const struct clk_icst_desc *desc,
|
|
const char *name,
|
|
const char *parent_name,
|
|
void __iomem *base);
|