ARM: davinci: add runtime PM support for clock management
authorKevin Hilman <khilman@ti.com>
Thu, 31 May 2012 16:59:53 +0000 (09:59 -0700)
committerSekhar Nori <nsekhar@ti.com>
Sun, 1 Jul 2012 11:56:26 +0000 (17:26 +0530)
commitce9dcb8784611c50974d1c6b600c71f5c0a29308
treeda210e30a548d98a531adca2d60795083de33d66
parent07caba966dee241cd6599618a243be721195de38
ARM: davinci: add runtime PM support for clock management

Add runtime PM core support to davinci by using the pm_clk
infrastructure of the PM core.

When runtime PM is enabled, the davinci runtime PM implementation will
use the pm_clk layer to enable/disable clocks on demand.  When runtime
PM is disabled, the pm_clk core will automatically enable clocks when
the driver is bound and disable clocks when the driver is unbound.

Cc: Mark A. Greer <mgreer@animalcreek.com>
Cc: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
[nsekhar@ti.com: pruned list of header file includes and removed some
debug code]
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/mach-davinci/Makefile
arch/arm/mach-davinci/pm_domain.c [new file with mode: 0644]