2012-06-11 15:29:54 +00:00
|
|
|
#include <asm/hardware/icst.h>
|
|
|
|
|
2012-11-20 22:01:04 +00:00
|
|
|
/**
|
|
|
|
* 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
|
|
|
|
*/
|
2012-06-11 15:29:54 +00:00
|
|
|
struct clk_icst_desc {
|
|
|
|
const struct icst_params *params;
|
2012-11-20 22:01:04 +00:00
|
|
|
u32 vco_offset;
|
|
|
|
u32 lock_offset;
|
2012-06-11 15:29:54 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct clk *icst_clk_register(struct device *dev,
|
2012-11-20 22:01:04 +00:00
|
|
|
const struct clk_icst_desc *desc,
|
2013-11-22 10:30:05 +00:00
|
|
|
const char *name,
|
2014-01-20 20:31:41 +00:00
|
|
|
const char *parent_name,
|
2012-11-20 22:01:04 +00:00
|
|
|
void __iomem *base);
|