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