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