summaryrefslogtreecommitdiffstats
path: root/include/linux/clk
diff options
context:
space:
mode:
authorTero Kristo2014-10-03 15:57:13 +0200
committerPaul Walmsley2014-11-13 17:26:33 +0100
commite3ab6013ab06d3a861ed00c1f8d32aa4e6b66ddd (patch)
tree7d7a4cf6ab47a690ddde45dadaa6efe0d8f36f4d /include/linux/clk
parentARM: OMAP4: clock: add support for determine_rate for omap4 regm4xen DPLL (diff)
downloadkernel-qcow2-linux-e3ab6013ab06d3a861ed00c1f8d32aa4e6b66ddd.tar.gz
kernel-qcow2-linux-e3ab6013ab06d3a861ed00c1f8d32aa4e6b66ddd.tar.xz
kernel-qcow2-linux-e3ab6013ab06d3a861ed00c1f8d32aa4e6b66ddd.zip
ARM: OMAP3: clock: add support for dpll4_set_rate_and_parent
Expand the support of omap4 per-dpll to provide set_rate_and_parent. This is required for proper behavior of clk_change_rate with determine_rate support. Signed-off-by: Tero Kristo <t-kristo@ti.com> Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'include/linux/clk')
-rw-r--r--include/linux/clk/ti.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/clk/ti.h b/include/linux/clk/ti.h
index abc702a73aca..74e5341463c9 100644
--- a/include/linux/clk/ti.h
+++ b/include/linux/clk/ti.h
@@ -291,6 +291,8 @@ int omap2_clk_disable_autoidle_all(void);
void omap2_clk_enable_init_clocks(const char **clk_names, u8 num_clocks);
int omap3_dpll4_set_rate(struct clk_hw *clk, unsigned long rate,
unsigned long parent_rate);
+int omap3_dpll4_set_rate_and_parent(struct clk_hw *hw, unsigned long rate,
+ unsigned long parent_rate, u8 index);
int omap2_dflt_clk_enable(struct clk_hw *hw);
void omap2_dflt_clk_disable(struct clk_hw *hw);
int omap2_dflt_clk_is_enabled(struct clk_hw *hw);