ARM: OMAP4: PM: Make OMAP3 Clock-domain framework compatible for OMAP4.
authorAbhijit Pagare <abhijitpagare@ti.com>
Wed, 27 Jan 2010 03:12:53 +0000 (20:12 -0700)
committerPaul Walmsley <paul@pwsan.com>
Wed, 27 Jan 2010 03:12:53 +0000 (20:12 -0700)
commit84c0c39aec31a09571fc08a752a2f4da0fe9fcf2
treecae08d44938c6df7f7bc740d2feea26086a192f4
parent3a759f09d7b9c6bbefffadd38fdc116125c49730
ARM: OMAP4: PM: Make OMAP3 Clock-domain framework compatible for OMAP4.

Here the ".clkstctrl_reg" field is added to the clockdomain stucture
as the module offsets for OMAP4 do not map one to one for powerdomains
and clockdomains as it used to for OMAP3. Hence we need to use absolute
addresses to access the control registers. Some of the clock domains have
modules falling in the address space of PRM partition. Hence  necessitating
the use of absolute adresses.

Signed-off-by: Abhijit Pagare <abhijitpagare@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Benoit Cousson <b-cousson@ti.com>
Cc: Rajendra Nayak <rnayak@ti.com>
arch/arm/mach-omap2/clockdomain.c
arch/arm/mach-omap2/clockdomains.h
arch/arm/mach-omap2/cm.h
arch/arm/mach-omap2/pm-debug.c
arch/arm/mach-omap2/prcm.c
arch/arm/plat-omap/include/plat/clockdomain.h