summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAndrey Panov <rockford@yandex.ru>2015-03-04 23:11:30 +0300
committerSascha Hauer <s.hauer@pengutronix.de>2015-03-05 09:11:33 +0100
commit9eb9f0004347518320799504411f1157d82741f6 (patch)
tree9d8d52f27a618612064a4f4b12d81a98912b819c /include
parent78d030226d25b2c4e4cbad6228fc3f90902015c5 (diff)
downloadbarebox-9eb9f0004347518320799504411f1157d82741f6.tar.gz
barebox-9eb9f0004347518320799504411f1157d82741f6.tar.xz
CLK: Add support for composite clock from Linux kernel
Signed-off-by: Andrey Panov <rockford@yandex.ru> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/clk.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/clk.h b/include/linux/clk.h
index 49cb5a272b..fe8ae5cc1e 100644
--- a/include/linux/clk.h
+++ b/include/linux/clk.h
@@ -291,6 +291,12 @@ struct clk *clk_lookup(const char *name);
void clk_dump(int verbose);
+struct clk *clk_register_composite(const char *name,
+ const char **parent_names, int num_parents,
+ struct clk *mux_clk,
+ struct clk *rate_clk,
+ struct clk *gate_clk,
+ unsigned long flags);
#endif
struct device_node;