2012-01-11 12:52:34 +00:00
|
|
|
#include <linux/clk.h>
|
|
|
|
#include <linux/clkdev.h>
|
|
|
|
#include <linux/err.h>
|
|
|
|
#include <linux/io.h>
|
|
|
|
#include <linux/clk-provider.h>
|
2013-04-16 19:38:29 +00:00
|
|
|
#include <linux/of.h>
|
2012-01-11 12:52:34 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* The Nomadik clock tree is described in the STN8815A12 DB V4.2
|
|
|
|
* reference manual for the chip, page 94 ff.
|
|
|
|
*/
|
|
|
|
|
2013-04-16 19:38:29 +00:00
|
|
|
static const __initconst struct of_device_id cpu8815_clk_match[] = {
|
|
|
|
{ .compatible = "fixed-clock", .data = of_fixed_clk_setup, },
|
|
|
|
{ /* sentinel */ }
|
|
|
|
};
|
|
|
|
|
2012-01-11 12:52:34 +00:00
|
|
|
void __init nomadik_clk_init(void)
|
|
|
|
{
|
2013-04-16 19:38:29 +00:00
|
|
|
of_clk_init(cpu8815_clk_match);
|
2012-01-11 12:52:34 +00:00
|
|
|
}
|