aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clk/ti/clock.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/ti/clock.h')
-rw-r--r--drivers/clk/ti/clock.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/clk/ti/clock.h b/drivers/clk/ti/clock.h
index d9b43bfc2532..90b86aadfda7 100644
--- a/drivers/clk/ti/clock.h
+++ b/drivers/clk/ti/clock.h
@@ -22,6 +22,7 @@ struct clk_omap_divider {
22 u8 shift; 22 u8 shift;
23 u8 width; 23 u8 width;
24 u8 flags; 24 u8 flags;
25 s8 latch;
25 const struct clk_div_table *table; 26 const struct clk_div_table *table;
26}; 27};
27 28
@@ -33,6 +34,7 @@ struct clk_omap_mux {
33 u32 *table; 34 u32 *table;
34 u32 mask; 35 u32 mask;
35 u8 shift; 36 u8 shift;
37 s8 latch;
36 u8 flags; 38 u8 flags;
37}; 39};
38 40
@@ -194,6 +196,8 @@ struct clk *ti_clk_register(struct device *dev, struct clk_hw *hw,
194int ti_clk_add_alias(struct device *dev, struct clk *clk, const char *con); 196int ti_clk_add_alias(struct device *dev, struct clk *clk, const char *con);
195void ti_clk_add_aliases(void); 197void ti_clk_add_aliases(void);
196 198
199void ti_clk_latch(struct clk_omap_reg *reg, s8 shift);
200
197struct clk_hw *ti_clk_build_component_mux(struct ti_clk_mux *setup); 201struct clk_hw *ti_clk_build_component_mux(struct ti_clk_mux *setup);
198 202
199int ti_clk_parse_divider_data(int *div_table, int num_dividers, int max_div, 203int ti_clk_parse_divider_data(int *div_table, int num_dividers, int max_div,