summaryrefslogtreecommitdiff
path: root/drivers/clk/ti/clock.h
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2019-01-15 12:15:12 +0300
committerTero Kristo <t-kristo@ti.com>2019-02-15 17:46:21 +0300
commit77b773aea5a8abccbd25101390e1ba4b33b3fca0 (patch)
tree89ddb69524266f16d42d51bc0dbd7765dc2cdc69 /drivers/clk/ti/clock.h
parentbfeffd155283772bbe78c6a05dec7c0128ee500c (diff)
downloadlinux-77b773aea5a8abccbd25101390e1ba4b33b3fca0.tar.xz
clk: ti: move clk_hw_omap list handling under generic part of the driver
Currently the clk_hw_omap list is handled under the autoidle code, but it should be accessible generically. Add a few APIs towards this, and update the autoidle code to use the generic implementations. Signed-off-by: Tero Kristo <t-kristo@ti.com> Acked-by: Tony Lindgren <tony@atomide.com> Tested-by: Keerthy <j-keerthy@ti.com>
Diffstat (limited to 'drivers/clk/ti/clock.h')
-rw-r--r--drivers/clk/ti/clock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/ti/clock.h b/drivers/clk/ti/clock.h
index 9f312a219510..e5b8af38cfa0 100644
--- a/drivers/clk/ti/clock.h
+++ b/drivers/clk/ti/clock.h
@@ -301,6 +301,7 @@ long omap4_dpll_regm4xen_round_rate(struct clk_hw *hw,
unsigned long *parent_rate);
int omap4_dpll_regm4xen_determine_rate(struct clk_hw *hw,
struct clk_rate_request *req);
+int omap2_clk_for_each(int (*fn)(struct clk_hw_omap *hw));
extern struct ti_clk_ll_ops *ti_clk_ll_ops;