aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/clk-provider.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/clk-provider.h')
-rw-r--r--include/linux/clk-provider.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
index fb39d5add173..a39c0c530778 100644
--- a/include/linux/clk-provider.h
+++ b/include/linux/clk-provider.h
@@ -33,6 +33,8 @@
33#define CLK_RECALC_NEW_RATES BIT(9) /* recalc rates after notifications */ 33#define CLK_RECALC_NEW_RATES BIT(9) /* recalc rates after notifications */
34#define CLK_SET_RATE_UNGATE BIT(10) /* clock needs to run to set rate */ 34#define CLK_SET_RATE_UNGATE BIT(10) /* clock needs to run to set rate */
35#define CLK_IS_CRITICAL BIT(11) /* do not gate, ever */ 35#define CLK_IS_CRITICAL BIT(11) /* do not gate, ever */
36/* parents need enable during gate/ungate, set rate and re-parent */
37#define CLK_OPS_PARENT_ENABLE BIT(12)
36 38
37struct clk; 39struct clk;
38struct clk_hw; 40struct clk_hw;
@@ -293,6 +295,7 @@ void clk_unregister_fixed_rate(struct clk *clk);
293struct clk_hw *clk_hw_register_fixed_rate_with_accuracy(struct device *dev, 295struct clk_hw *clk_hw_register_fixed_rate_with_accuracy(struct device *dev,
294 const char *name, const char *parent_name, unsigned long flags, 296 const char *name, const char *parent_name, unsigned long flags,
295 unsigned long fixed_rate, unsigned long fixed_accuracy); 297 unsigned long fixed_rate, unsigned long fixed_accuracy);
298void clk_hw_unregister_fixed_rate(struct clk_hw *hw);
296 299
297void of_fixed_clk_setup(struct device_node *np); 300void of_fixed_clk_setup(struct device_node *np);
298 301