This source file includes following definitions.
- _allow_idle
- _deny_idle
1
2
3
4
5
6
7
8
9 #include <linux/kernel.h>
10 #include <linux/errno.h>
11 #include <linux/clk.h>
12 #include <linux/io.h>
13
14 #include "clock.h"
15 #include "cm2xxx.h"
16 #include "cm-regbits-24xx.h"
17
18
19
20
21
22
23
24
25
26
27
28
29 static void _allow_idle(struct clk_hw_omap *clk)
30 {
31 if (!clk || !clk->dpll_data)
32 return;
33
34 omap2xxx_cm_set_dpll_auto_low_power_stop();
35 }
36
37
38
39
40
41
42
43 static void _deny_idle(struct clk_hw_omap *clk)
44 {
45 if (!clk || !clk->dpll_data)
46 return;
47
48 omap2xxx_cm_set_dpll_disable_autoidle();
49 }
50
51
52
53 const struct clk_hw_omap_ops clkhwops_omap2xxx_dpll = {
54 .allow_idle = _allow_idle,
55 .deny_idle = _deny_idle,
56 };