OMAP4: clock data: Export control to enable/disable CORE/PER M3 clocks
authorRajendra Nayak <rnayak@ti.com>
Wed, 22 Dec 2010 04:08:14 +0000 (21:08 -0700)
committerPaul Walmsley <paul@pwsan.com>
Wed, 22 Dec 2010 04:08:14 +0000 (21:08 -0700)
commitcb13459b38c8f2e99df4923d2a71ce6db99f2436
tree2d274632e1df8b2948bd213147c4b7c047019341
parente0cb70c565acffb210ffa2a4590637d1844d13c5
OMAP4: clock data: Export control to enable/disable CORE/PER M3 clocks

The CORE and PER M3 post dividers are different from the rest of the
DPLL post dividers as in they go to SCRM, and are used
there to export clocks for instance used by external sensor.

There is no automatic HW dependency in PRCM to manage them. Hence these
two clocks (dpll post dividers) should be managed by SW and explicitly
enabled/disabled.

Add control in clock framework to handle that.

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