clockdomains: integrate OMAP3 clocks with clockdomain code
authorPaul Walmsley <paul@pwsan.com>
Sat, 19 Apr 2008 01:43:59 +0000 (19:43 -0600)
committerTony Lindgren <tony@atomide.com>
Thu, 24 Apr 2008 00:00:55 +0000 (17:00 -0700)
commit8aa3d5aaf9c31caca0f6a4c83d19b9b92e32ebce
tree186b7fa3c70544bf346c14d68a81f285974059b7
parent2712ea0fce3dcbc9a06b84e29713004ab35279ce
clockdomains: integrate OMAP3 clocks with clockdomain code

This patch integrates the OMAP3 clock tree with the clockdomain code.
This patch:

- marks OMAP34xx clocks with their corresponding clockdomain.

- adds code to convert the clockdomain name to a clockdomain pointer in the
  struct clk during clk_register().

- modifies OMAP2 clock usecounting to call into the clockdomain code
  when clocks are enabled or disabled.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/clock.c
arch/arm/mach-omap2/clock.h
arch/arm/mach-omap2/clock34xx.c
arch/arm/mach-omap2/clock34xx.h
include/asm-arm/arch-omap/clock.h