clk-nomadik.c 496 B

123456789101112131415161718192021
  1. #include <linux/clk.h>
  2. #include <linux/clkdev.h>
  3. #include <linux/err.h>
  4. #include <linux/io.h>
  5. #include <linux/clk-provider.h>
  6. #include <linux/of.h>
  7. /*
  8. * The Nomadik clock tree is described in the STN8815A12 DB V4.2
  9. * reference manual for the chip, page 94 ff.
  10. */
  11. static const __initconst struct of_device_id cpu8815_clk_match[] = {
  12. { .compatible = "fixed-clock", .data = of_fixed_clk_setup, },
  13. { /* sentinel */ }
  14. };
  15. void __init nomadik_clk_init(void)
  16. {
  17. of_clk_init(cpu8815_clk_match);
  18. }