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