ARM: OMAP: clock: list all clk_hw_omap clks to enable/disable autoidle
authorRajendra Nayak <rnayak@ti.com>
Fri, 1 Jun 2012 08:32:49 +0000 (14:02 +0530)
committerPaul Walmsley <paul@pwsan.com>
Tue, 13 Nov 2012 02:10:18 +0000 (19:10 -0700)
commit23fb8ba3a8f55f28a7a89b64b3711fcf72239d7f
treefcc04341ecf1d9c6a20261f3669a25a35506a246
parent7a2bd1cc3926327c0393deb52e8300af75b1c9e1
ARM: OMAP: clock: list all clk_hw_omap clks to enable/disable autoidle

Platforms can call omap2_init_clk_hw_omap_clocks() to register a clock
using clk_hw_omap. omap2_clk_enable_autoidle_all() and
omap2_clk_disable_autoidle_all() can then be used to run through
all the clocks which support autoidle to enable/disable them.

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Mike Turquette <mturquette@ti.com>
[paul@pwsan.com: added kerneldoc on non-trivial new functions]
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/clock.c
arch/arm/mach-omap2/clock.h
arch/arm/mach-omap2/io.c