OMAP4: powerdomains: add PRCM partition data; use OMAP4 PRM functions
authorPaul Walmsley <paul@pwsan.com>
Wed, 22 Dec 2010 04:05:14 +0000 (21:05 -0700)
committerPaul Walmsley <paul@pwsan.com>
Wed, 22 Dec 2010 04:05:14 +0000 (21:05 -0700)
commita64bb9cda8b12f599766c7dfe81770d2082a133a
tree29886a8c126757dde407a315220e69d1b6a4554a
parentc4d7e58fb52c632d8e33cd23a4917d7a7f8302ac
OMAP4: powerdomains: add PRCM partition data; use OMAP4 PRM functions

OMAP4 powerdomain control registers are split between the PRM hardware
module and the PRCM_MPU local PRCM.  Add this PRCM partition
information to each OMAP4 powerdomain record, and convert the OMAP4
powerdomain function implementations to use the OMAP4 PRM instance
functions.

Also fixes a potential null pointer dereference of pwrdm->name.

The autogeneration scripts have been updated.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Rajendra Nayak <rnayak@ti.com>
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: BenoƮt Cousson <b-cousson@ti.com>
Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Tested-by: Rajendra Nayak <rnayak@ti.com>
arch/arm/mach-omap2/powerdomain.c
arch/arm/mach-omap2/powerdomain44xx.c
arch/arm/mach-omap2/powerdomains44xx_data.c
arch/arm/plat-omap/include/plat/powerdomain.h