]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ARM: OMAP2: Clockdomain: Integrate OMAP3 clocks with clockdomain code
authorPaul Walmsley <paul@pwsan.com>
Tue, 19 Aug 2008 08:08:45 +0000 (11:08 +0300)
committerTony Lindgren <tony@atomide.com>
Tue, 19 Aug 2008 08:08:45 +0000 (11:08 +0300)
commit333943ba9e1716a3751af82f2dcc7620b83091ed
tree8646e99605d9d1519ac2f93f9399d78b89490c68
parentd1b03f615ae7ede957551dd26bf8929bdc2bb786
ARM: OMAP2: Clockdomain: 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
arch/arm/mach-omap2/clockdomains.h