diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2014-03-13 10:19:15 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-03-28 21:03:15 +0100 |
commit | 1184234a5ed338f745ec36e425f166cf9d16ae5b (patch) | |
tree | dd4b32e35a0ffae06b184a99a3488029fe21075a /include | |
parent | b1cc0d7fc6728acbed7360b315593c3535ce7d75 (diff) | |
download | barebox-1184234a5ed338f745ec36e425f166cf9d16ae5b.tar.gz barebox-1184234a5ed338f745ec36e425f166cf9d16ae5b.tar.xz |
clk: Add parent round/set rate for mux and gate
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/clk.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/clk.h b/include/linux/clk.h index 71b046607f..07b27cf148 100644 --- a/include/linux/clk.h +++ b/include/linux/clk.h @@ -276,6 +276,10 @@ struct clk *clk_gate_inverted(const char *name, const char *parent, void __iomem int clk_is_enabled(struct clk *clk); int clk_is_enabled_always(struct clk *clk); +long clk_parent_round_rate(struct clk *clk, unsigned long rate, + unsigned long *prate); +int clk_parent_set_rate(struct clk *clk, unsigned long rate, + unsigned long parent_rate); int clk_register(struct clk *clk); |