]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
OMAP2+: clockdomain: Add 2 APIs to control clockdomain from hwmod framework
authorBenoit Cousson <b-cousson@ti.com>
Sun, 10 Jul 2011 11:56:54 +0000 (05:56 -0600)
committerPaul Walmsley <paul@pwsan.com>
Sun, 10 Jul 2011 11:56:54 +0000 (05:56 -0600)
commit113a74137f5c85f2c7914e78350f70247ef9447c
treef2eaea43a00c23424aa27a418f6a37a81caa8d83
parenta5122ff8ceb2b1f207965a3608d3da3af832e513
OMAP2+: clockdomain: Add 2 APIs to control clockdomain from hwmod framework

Duplicate the existing API for clockdomain enable from clock to enable
a clock domain from hwmod framework.
This will be needed when the hwmod framework will move from the current
clock centric approach to the module based approach.

These APIs are returning 0 for the moment for OMAP2 and OMAP3 until
their hwmods are updated with the clksm attribute.

Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Cc: Kevin Hilman <khilman@ti.com>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/clockdomain.c
arch/arm/mach-omap2/clockdomain.h