summaryrefslogtreecommitdiffstats
path: root/drivers/clk/imx/clk.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-01-12 09:49:17 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2017-01-19 15:22:59 +0100
commit9a89ed9d281ec1aac0b105456b414bcbda8f4383 (patch)
tree324956ae5795888f4c53d478c6f334572f716d25 /drivers/clk/imx/clk.h
parent0ada0c03af9389de862577b86987417d7b12dcc2 (diff)
downloadbarebox-9a89ed9d281ec1aac0b105456b414bcbda8f4383.tar.gz
barebox-9a89ed9d281ec1aac0b105456b414bcbda8f4383.tar.xz
clk: imx: Add clk-cpu support
Taken from the kernel as of 4.10-rc3. Needed for i.MX7 Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/clk/imx/clk.h')
-rw-r--r--drivers/clk/imx/clk.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/clk/imx/clk.h b/drivers/clk/imx/clk.h
index 1dbfbf711..362b1592a 100644
--- a/drivers/clk/imx/clk.h
+++ b/drivers/clk/imx/clk.h
@@ -125,5 +125,8 @@ struct clk *imx_clk_gate_exclusive(const char *name, const char *parent,
void imx_check_clocks(struct clk *clks[], unsigned int count);
+struct clk *imx_clk_cpu(const char *name, const char *parent_name,
+ struct clk *div, struct clk *mux, struct clk *pll,
+ struct clk *step);
#endif /* __IMX_CLK_H */