diff options
author | Rajendra Nayak <rnayak@ti.com> | 2011-02-25 22:49:02 (GMT) |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2011-02-25 23:10:17 (GMT) |
commit | 70db8a6273692fdf5226c007c9882a10b3203963 (patch) | |
tree | 2d8fdbe3f29f7434ff3d97306990c057a82762a0 /arch/arm/mach-omap2/dpll44xx.c | |
parent | 97f678989afe5dd1584a0877dfd8b0d2e124b73a (diff) | |
download | linux-70db8a6273692fdf5226c007c9882a10b3203963.tar.xz |
omap4: dpll: Enable auto gate control for all MX postdividers
Enable hardware gate control for all dpll MX and X2 postdividers.
This requires the allow_idle/deny_idle functions to be
populated for all clock nodes (mx/x2 post dividers) in
clkops.
Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/dpll44xx.c')
-rw-r--r-- | arch/arm/mach-omap2/dpll44xx.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/dpll44xx.c b/arch/arm/mach-omap2/dpll44xx.c index 94a3592..4e4da61 100644 --- a/arch/arm/mach-omap2/dpll44xx.c +++ b/arch/arm/mach-omap2/dpll44xx.c @@ -76,3 +76,9 @@ void omap4_dpllmx_deny_gatectrl(struct clk *clk) v |= mask; __raw_writel(v, clk->clksel_reg); } + +const struct clkops clkops_omap4_dpllmx_ops = { + .allow_idle = omap4_dpllmx_allow_gatectrl, + .deny_idle = omap4_dpllmx_deny_gatectrl, +}; + |