clk-icst.h 562 B

123456789101112131415161718192021
  1. #include <asm/hardware/icst.h>
  2. /**
  3. * struct clk_icst_desc - descriptor for the ICST VCO
  4. * @params: ICST parameters
  5. * @vco_offset: offset to the ICST VCO from the provided memory base
  6. * @lock_offset: offset to the ICST VCO locking register from the provided
  7. * memory base
  8. */
  9. struct clk_icst_desc {
  10. const struct icst_params *params;
  11. u32 vco_offset;
  12. u32 lock_offset;
  13. };
  14. struct clk *icst_clk_register(struct device *dev,
  15. const struct clk_icst_desc *desc,
  16. const char *name,
  17. const char *parent_name,
  18. void __iomem *base);