|
@@ -26,6 +26,7 @@
|
|
|
#include "powerdomains.h"
|
|
|
|
|
|
#include "prcm-common.h"
|
|
|
+#include "prcm44xx.h"
|
|
|
#include "prm-regbits-44xx.h"
|
|
|
#include "prm44xx.h"
|
|
|
#include "prcm_mpu44xx.h"
|
|
@@ -34,6 +35,7 @@
|
|
|
static struct powerdomain core_44xx_pwrdm = {
|
|
|
.name = "core_pwrdm",
|
|
|
.prcm_offs = OMAP4430_PRM_CORE_INST,
|
|
|
+ .prcm_partition = OMAP4430_PRM_PARTITION,
|
|
|
.omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP4430),
|
|
|
.pwrsts = PWRSTS_RET_ON,
|
|
|
.pwrsts_logic_ret = PWRSTS_OFF_RET,
|
|
@@ -59,6 +61,7 @@ static struct powerdomain core_44xx_pwrdm = {
|
|
|
static struct powerdomain gfx_44xx_pwrdm = {
|
|
|
.name = "gfx_pwrdm",
|
|
|
.prcm_offs = OMAP4430_PRM_GFX_INST,
|
|
|
+ .prcm_partition = OMAP4430_PRM_PARTITION,
|
|
|
.omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP4430),
|
|
|
.pwrsts = PWRSTS_OFF_ON,
|
|
|
.banks = 1,
|
|
@@ -75,6 +78,7 @@ static struct powerdomain gfx_44xx_pwrdm = {
|
|
|
static struct powerdomain abe_44xx_pwrdm = {
|
|
|
.name = "abe_pwrdm",
|
|
|
.prcm_offs = OMAP4430_PRM_ABE_INST,
|
|
|
+ .prcm_partition = OMAP4430_PRM_PARTITION,
|
|
|
.omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP4430),
|
|
|
.pwrsts = PWRSTS_OFF_RET_ON,
|
|
|
.pwrsts_logic_ret = PWRDM_POWER_OFF,
|
|
@@ -94,6 +98,7 @@ static struct powerdomain abe_44xx_pwrdm = {
|
|
|
static struct powerdomain dss_44xx_pwrdm = {
|
|
|
.name = "dss_pwrdm",
|
|
|
.prcm_offs = OMAP4430_PRM_DSS_INST,
|
|
|
+ .prcm_partition = OMAP4430_PRM_PARTITION,
|
|
|
.omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP4430),
|
|
|
.pwrsts = PWRSTS_OFF_RET_ON,
|
|
|
.pwrsts_logic_ret = PWRSTS_OFF,
|
|
@@ -111,6 +116,7 @@ static struct powerdomain dss_44xx_pwrdm = {
|
|
|
static struct powerdomain tesla_44xx_pwrdm = {
|
|
|
.name = "tesla_pwrdm",
|
|
|
.prcm_offs = OMAP4430_PRM_TESLA_INST,
|
|
|
+ .prcm_partition = OMAP4430_PRM_PARTITION,
|
|
|
.omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP4430),
|
|
|
.pwrsts = PWRSTS_OFF_RET_ON,
|
|
|
.pwrsts_logic_ret = PWRSTS_OFF_RET,
|
|
@@ -132,6 +138,7 @@ static struct powerdomain tesla_44xx_pwrdm = {
|
|
|
static struct powerdomain wkup_44xx_pwrdm = {
|
|
|
.name = "wkup_pwrdm",
|
|
|
.prcm_offs = OMAP4430_PRM_WKUP_INST,
|
|
|
+ .prcm_partition = OMAP4430_PRM_PARTITION,
|
|
|
.omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP4430),
|
|
|
.pwrsts = PWRSTS_ON,
|
|
|
.banks = 1,
|
|
@@ -147,6 +154,7 @@ static struct powerdomain wkup_44xx_pwrdm = {
|
|
|
static struct powerdomain cpu0_44xx_pwrdm = {
|
|
|
.name = "cpu0_pwrdm",
|
|
|
.prcm_offs = OMAP4430_PRCM_MPU_CPU0_INST,
|
|
|
+ .prcm_partition = OMAP4430_PRCM_MPU_PARTITION,
|
|
|
.omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP4430),
|
|
|
.pwrsts = PWRSTS_OFF_RET_ON,
|
|
|
.pwrsts_logic_ret = PWRSTS_OFF_RET,
|
|
@@ -163,6 +171,7 @@ static struct powerdomain cpu0_44xx_pwrdm = {
|
|
|
static struct powerdomain cpu1_44xx_pwrdm = {
|
|
|
.name = "cpu1_pwrdm",
|
|
|
.prcm_offs = OMAP4430_PRCM_MPU_CPU1_INST,
|
|
|
+ .prcm_partition = OMAP4430_PRCM_MPU_PARTITION,
|
|
|
.omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP4430),
|
|
|
.pwrsts = PWRSTS_OFF_RET_ON,
|
|
|
.pwrsts_logic_ret = PWRSTS_OFF_RET,
|
|
@@ -179,6 +188,7 @@ static struct powerdomain cpu1_44xx_pwrdm = {
|
|
|
static struct powerdomain emu_44xx_pwrdm = {
|
|
|
.name = "emu_pwrdm",
|
|
|
.prcm_offs = OMAP4430_PRM_EMU_INST,
|
|
|
+ .prcm_partition = OMAP4430_PRM_PARTITION,
|
|
|
.omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP4430),
|
|
|
.pwrsts = PWRSTS_OFF_ON,
|
|
|
.banks = 1,
|
|
@@ -194,6 +204,7 @@ static struct powerdomain emu_44xx_pwrdm = {
|
|
|
static struct powerdomain mpu_44xx_pwrdm = {
|
|
|
.name = "mpu_pwrdm",
|
|
|
.prcm_offs = OMAP4430_PRM_MPU_INST,
|
|
|
+ .prcm_partition = OMAP4430_PRM_PARTITION,
|
|
|
.omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP4430),
|
|
|
.pwrsts = PWRSTS_OFF_RET_ON,
|
|
|
.pwrsts_logic_ret = PWRSTS_OFF_RET,
|
|
@@ -214,6 +225,7 @@ static struct powerdomain mpu_44xx_pwrdm = {
|
|
|
static struct powerdomain ivahd_44xx_pwrdm = {
|
|
|
.name = "ivahd_pwrdm",
|
|
|
.prcm_offs = OMAP4430_PRM_IVAHD_INST,
|
|
|
+ .prcm_partition = OMAP4430_PRM_PARTITION,
|
|
|
.omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP4430),
|
|
|
.pwrsts = PWRSTS_OFF_RET_ON,
|
|
|
.pwrsts_logic_ret = PWRDM_POWER_OFF,
|
|
@@ -237,6 +249,7 @@ static struct powerdomain ivahd_44xx_pwrdm = {
|
|
|
static struct powerdomain cam_44xx_pwrdm = {
|
|
|
.name = "cam_pwrdm",
|
|
|
.prcm_offs = OMAP4430_PRM_CAM_INST,
|
|
|
+ .prcm_partition = OMAP4430_PRM_PARTITION,
|
|
|
.omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP4430),
|
|
|
.pwrsts = PWRSTS_OFF_ON,
|
|
|
.banks = 1,
|
|
@@ -253,6 +266,7 @@ static struct powerdomain cam_44xx_pwrdm = {
|
|
|
static struct powerdomain l3init_44xx_pwrdm = {
|
|
|
.name = "l3init_pwrdm",
|
|
|
.prcm_offs = OMAP4430_PRM_L3INIT_INST,
|
|
|
+ .prcm_partition = OMAP4430_PRM_PARTITION,
|
|
|
.omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP4430),
|
|
|
.pwrsts = PWRSTS_OFF_RET_ON,
|
|
|
.pwrsts_logic_ret = PWRSTS_OFF_RET,
|
|
@@ -270,6 +284,7 @@ static struct powerdomain l3init_44xx_pwrdm = {
|
|
|
static struct powerdomain l4per_44xx_pwrdm = {
|
|
|
.name = "l4per_pwrdm",
|
|
|
.prcm_offs = OMAP4430_PRM_L4PER_INST,
|
|
|
+ .prcm_partition = OMAP4430_PRM_PARTITION,
|
|
|
.omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP4430),
|
|
|
.pwrsts = PWRSTS_OFF_RET_ON,
|
|
|
.pwrsts_logic_ret = PWRSTS_OFF_RET,
|
|
@@ -292,6 +307,7 @@ static struct powerdomain l4per_44xx_pwrdm = {
|
|
|
static struct powerdomain always_on_core_44xx_pwrdm = {
|
|
|
.name = "always_on_core_pwrdm",
|
|
|
.prcm_offs = OMAP4430_PRM_ALWAYS_ON_INST,
|
|
|
+ .prcm_partition = OMAP4430_PRM_PARTITION,
|
|
|
.omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP4430),
|
|
|
.pwrsts = PWRSTS_ON,
|
|
|
};
|
|
@@ -300,6 +316,7 @@ static struct powerdomain always_on_core_44xx_pwrdm = {
|
|
|
static struct powerdomain cefuse_44xx_pwrdm = {
|
|
|
.name = "cefuse_pwrdm",
|
|
|
.prcm_offs = OMAP4430_PRM_CEFUSE_INST,
|
|
|
+ .prcm_partition = OMAP4430_PRM_PARTITION,
|
|
|
.omap_chip = OMAP_CHIP_INIT(CHIP_IS_OMAP4430),
|
|
|
.pwrsts = PWRSTS_OFF_ON,
|
|
|
};
|