aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/clk
diff options
context:
space:
mode:
authorTero Kristo <t-kristo@ti.com>2016-09-30 07:10:11 -0400
committerTero Kristo <t-kristo@ti.com>2017-03-08 05:58:41 -0500
commitb6f27b2db2df395d65b02a758861c7fc54edbec1 (patch)
tree85d4b90f58889ee477c7d8ced254fed41cdc2f3d /include/linux/clk
parent1ae79c46cf195ea39407bd5a2b234304d537980f (diff)
clk: ti: add clkdm_lookup to the exported functions
This will be needed to move some additional clockdomain functionality under clock driver. Signed-off-by: Tero Kristo <t-kristo@ti.com> Acked-by: Tony Lindgren <tony@atomide.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 07308db5a15d..bc7fd8f0fb5d 100644
--- a/include/linux/clk/ti.h
+++ b/include/linux/clk/ti.h
@@ -213,6 +213,7 @@ struct clk_omap_reg {
213 * @clk_writel: pointer to register write function 213 * @clk_writel: pointer to register write function
214 * @clkdm_clk_enable: pointer to clockdomain enable function 214 * @clkdm_clk_enable: pointer to clockdomain enable function
215 * @clkdm_clk_disable: pointer to clockdomain disable function 215 * @clkdm_clk_disable: pointer to clockdomain disable function
216 * @clkdm_lookup: pointer to clockdomain lookup function
216 * @cm_wait_module_ready: pointer to CM module wait ready function 217 * @cm_wait_module_ready: pointer to CM module wait ready function
217 * @cm_split_idlest_reg: pointer to CM module function to split idlest reg 218 * @cm_split_idlest_reg: pointer to CM module function to split idlest reg
218 * 219 *
@@ -228,6 +229,7 @@ struct ti_clk_ll_ops {
228 int (*clkdm_clk_enable)(struct clockdomain *clkdm, struct clk *clk); 229 int (*clkdm_clk_enable)(struct clockdomain *clkdm, struct clk *clk);
229 int (*clkdm_clk_disable)(struct clockdomain *clkdm, 230 int (*clkdm_clk_disable)(struct clockdomain *clkdm,
230 struct clk *clk); 231 struct clk *clk);
232 struct clockdomain * (*clkdm_lookup)(const char *name);
231 int (*cm_wait_module_ready)(u8 part, s16 prcm_mod, u16 idlest_reg, 233 int (*cm_wait_module_ready)(u8 part, s16 prcm_mod, u16 idlest_reg,
232 u8 idlest_shift); 234 u8 idlest_shift);
233 int (*cm_split_idlest_reg)(void __iomem *idlest_reg, s16 *prcm_inst, 235 int (*cm_split_idlest_reg)(void __iomem *idlest_reg, s16 *prcm_inst,