mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-31 16:38:12 +00:00
bf6edb4bb1
As we want to actually define the parent frequency in the device tree for the ICST clocks, modify the clock registration function to take a parent argument. Cc: Mike Turquette <mturquette@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
20 lines
562 B
C
20 lines
562 B
C
#include <asm/hardware/icst.h>
|
|
|
|
/**
|
|
* 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);
|