|
@@ -36,14 +36,7 @@ static struct powerdomain iva_7xx_pwrdm = {
|
|
|
.prcm_offs = DRA7XX_PRM_IVA_INST,
|
|
|
.prcm_partition = DRA7XX_PRM_PARTITION,
|
|
|
.pwrsts = PWRSTS_OFF_ON,
|
|
|
- .pwrsts_logic_ret = PWRSTS_OFF,
|
|
|
.banks = 4,
|
|
|
- .pwrsts_mem_ret = {
|
|
|
- [0] = PWRSTS_OFF_RET, /* hwa_mem */
|
|
|
- [1] = PWRSTS_OFF_RET, /* sl2_mem */
|
|
|
- [2] = PWRSTS_OFF_RET, /* tcm1_mem */
|
|
|
- [3] = PWRSTS_OFF_RET, /* tcm2_mem */
|
|
|
- },
|
|
|
.pwrsts_mem_on = {
|
|
|
[0] = PWRSTS_ON, /* hwa_mem */
|
|
|
[1] = PWRSTS_ON, /* sl2_mem */
|
|
@@ -76,12 +69,7 @@ static struct powerdomain ipu_7xx_pwrdm = {
|
|
|
.prcm_offs = DRA7XX_PRM_IPU_INST,
|
|
|
.prcm_partition = DRA7XX_PRM_PARTITION,
|
|
|
.pwrsts = PWRSTS_OFF_ON,
|
|
|
- .pwrsts_logic_ret = PWRSTS_OFF,
|
|
|
.banks = 2,
|
|
|
- .pwrsts_mem_ret = {
|
|
|
- [0] = PWRSTS_OFF_RET, /* aessmem */
|
|
|
- [1] = PWRSTS_OFF_RET, /* periphmem */
|
|
|
- },
|
|
|
.pwrsts_mem_on = {
|
|
|
[0] = PWRSTS_ON, /* aessmem */
|
|
|
[1] = PWRSTS_ON, /* periphmem */
|
|
@@ -95,11 +83,7 @@ static struct powerdomain dss_7xx_pwrdm = {
|
|
|
.prcm_offs = DRA7XX_PRM_DSS_INST,
|
|
|
.prcm_partition = DRA7XX_PRM_PARTITION,
|
|
|
.pwrsts = PWRSTS_OFF_ON,
|
|
|
- .pwrsts_logic_ret = PWRSTS_OFF,
|
|
|
.banks = 1,
|
|
|
- .pwrsts_mem_ret = {
|
|
|
- [0] = PWRSTS_OFF_RET, /* dss_mem */
|
|
|
- },
|
|
|
.pwrsts_mem_on = {
|
|
|
[0] = PWRSTS_ON, /* dss_mem */
|
|
|
},
|
|
@@ -111,13 +95,8 @@ static struct powerdomain l4per_7xx_pwrdm = {
|
|
|
.name = "l4per_pwrdm",
|
|
|
.prcm_offs = DRA7XX_PRM_L4PER_INST,
|
|
|
.prcm_partition = DRA7XX_PRM_PARTITION,
|
|
|
- .pwrsts = PWRSTS_RET_ON,
|
|
|
- .pwrsts_logic_ret = PWRSTS_RET,
|
|
|
+ .pwrsts = PWRSTS_ON,
|
|
|
.banks = 2,
|
|
|
- .pwrsts_mem_ret = {
|
|
|
- [0] = PWRSTS_OFF_RET, /* nonretained_bank */
|
|
|
- [1] = PWRSTS_OFF_RET, /* retained_bank */
|
|
|
- },
|
|
|
.pwrsts_mem_on = {
|
|
|
[0] = PWRSTS_ON, /* nonretained_bank */
|
|
|
[1] = PWRSTS_ON, /* retained_bank */
|
|
@@ -132,9 +111,6 @@ static struct powerdomain gpu_7xx_pwrdm = {
|
|
|
.prcm_partition = DRA7XX_PRM_PARTITION,
|
|
|
.pwrsts = PWRSTS_OFF_ON,
|
|
|
.banks = 1,
|
|
|
- .pwrsts_mem_ret = {
|
|
|
- [0] = PWRSTS_OFF_RET, /* gpu_mem */
|
|
|
- },
|
|
|
.pwrsts_mem_on = {
|
|
|
[0] = PWRSTS_ON, /* gpu_mem */
|
|
|
},
|
|
@@ -148,8 +124,6 @@ static struct powerdomain wkupaon_7xx_pwrdm = {
|
|
|
.prcm_partition = DRA7XX_PRM_PARTITION,
|
|
|
.pwrsts = PWRSTS_ON,
|
|
|
.banks = 1,
|
|
|
- .pwrsts_mem_ret = {
|
|
|
- },
|
|
|
.pwrsts_mem_on = {
|
|
|
[0] = PWRSTS_ON, /* wkup_bank */
|
|
|
},
|
|
@@ -161,15 +135,7 @@ static struct powerdomain core_7xx_pwrdm = {
|
|
|
.prcm_offs = DRA7XX_PRM_CORE_INST,
|
|
|
.prcm_partition = DRA7XX_PRM_PARTITION,
|
|
|
.pwrsts = PWRSTS_ON,
|
|
|
- .pwrsts_logic_ret = PWRSTS_RET,
|
|
|
.banks = 5,
|
|
|
- .pwrsts_mem_ret = {
|
|
|
- [0] = PWRSTS_OFF_RET, /* core_nret_bank */
|
|
|
- [1] = PWRSTS_OFF_RET, /* core_ocmram */
|
|
|
- [2] = PWRSTS_OFF_RET, /* core_other_bank */
|
|
|
- [3] = PWRSTS_OFF_RET, /* ipu_l2ram */
|
|
|
- [4] = PWRSTS_OFF_RET, /* ipu_unicache */
|
|
|
- },
|
|
|
.pwrsts_mem_on = {
|
|
|
[0] = PWRSTS_ON, /* core_nret_bank */
|
|
|
[1] = PWRSTS_ON, /* core_ocmram */
|
|
@@ -226,11 +192,7 @@ static struct powerdomain vpe_7xx_pwrdm = {
|
|
|
.prcm_offs = DRA7XX_PRM_VPE_INST,
|
|
|
.prcm_partition = DRA7XX_PRM_PARTITION,
|
|
|
.pwrsts = PWRSTS_OFF_ON,
|
|
|
- .pwrsts_logic_ret = PWRSTS_OFF,
|
|
|
.banks = 1,
|
|
|
- .pwrsts_mem_ret = {
|
|
|
- [0] = PWRSTS_OFF_RET, /* vpe_bank */
|
|
|
- },
|
|
|
.pwrsts_mem_on = {
|
|
|
[0] = PWRSTS_ON, /* vpe_bank */
|
|
|
},
|
|
@@ -260,14 +222,8 @@ static struct powerdomain l3init_7xx_pwrdm = {
|
|
|
.name = "l3init_pwrdm",
|
|
|
.prcm_offs = DRA7XX_PRM_L3INIT_INST,
|
|
|
.prcm_partition = DRA7XX_PRM_PARTITION,
|
|
|
- .pwrsts = PWRSTS_RET_ON,
|
|
|
- .pwrsts_logic_ret = PWRSTS_RET,
|
|
|
+ .pwrsts = PWRSTS_ON,
|
|
|
.banks = 3,
|
|
|
- .pwrsts_mem_ret = {
|
|
|
- [0] = PWRSTS_OFF_RET, /* gmac_bank */
|
|
|
- [1] = PWRSTS_OFF_RET, /* l3init_bank1 */
|
|
|
- [2] = PWRSTS_OFF_RET, /* l3init_bank2 */
|
|
|
- },
|
|
|
.pwrsts_mem_on = {
|
|
|
[0] = PWRSTS_ON, /* gmac_bank */
|
|
|
[1] = PWRSTS_ON, /* l3init_bank1 */
|
|
@@ -283,9 +239,6 @@ static struct powerdomain eve3_7xx_pwrdm = {
|
|
|
.prcm_partition = DRA7XX_PRM_PARTITION,
|
|
|
.pwrsts = PWRSTS_OFF_ON,
|
|
|
.banks = 1,
|
|
|
- .pwrsts_mem_ret = {
|
|
|
- [0] = PWRSTS_OFF_RET, /* eve3_bank */
|
|
|
- },
|
|
|
.pwrsts_mem_on = {
|
|
|
[0] = PWRSTS_ON, /* eve3_bank */
|
|
|
},
|
|
@@ -299,9 +252,6 @@ static struct powerdomain emu_7xx_pwrdm = {
|
|
|
.prcm_partition = DRA7XX_PRM_PARTITION,
|
|
|
.pwrsts = PWRSTS_OFF_ON,
|
|
|
.banks = 1,
|
|
|
- .pwrsts_mem_ret = {
|
|
|
- [0] = PWRSTS_OFF_RET, /* emu_bank */
|
|
|
- },
|
|
|
.pwrsts_mem_on = {
|
|
|
[0] = PWRSTS_ON, /* emu_bank */
|
|
|
},
|
|
@@ -314,11 +264,6 @@ static struct powerdomain dsp2_7xx_pwrdm = {
|
|
|
.prcm_partition = DRA7XX_PRM_PARTITION,
|
|
|
.pwrsts = PWRSTS_OFF_ON,
|
|
|
.banks = 3,
|
|
|
- .pwrsts_mem_ret = {
|
|
|
- [0] = PWRSTS_OFF_RET, /* dsp2_edma */
|
|
|
- [1] = PWRSTS_OFF_RET, /* dsp2_l1 */
|
|
|
- [2] = PWRSTS_OFF_RET, /* dsp2_l2 */
|
|
|
- },
|
|
|
.pwrsts_mem_on = {
|
|
|
[0] = PWRSTS_ON, /* dsp2_edma */
|
|
|
[1] = PWRSTS_ON, /* dsp2_l1 */
|
|
@@ -334,11 +279,6 @@ static struct powerdomain dsp1_7xx_pwrdm = {
|
|
|
.prcm_partition = DRA7XX_PRM_PARTITION,
|
|
|
.pwrsts = PWRSTS_OFF_ON,
|
|
|
.banks = 3,
|
|
|
- .pwrsts_mem_ret = {
|
|
|
- [0] = PWRSTS_OFF_RET, /* dsp1_edma */
|
|
|
- [1] = PWRSTS_OFF_RET, /* dsp1_l1 */
|
|
|
- [2] = PWRSTS_OFF_RET, /* dsp1_l2 */
|
|
|
- },
|
|
|
.pwrsts_mem_on = {
|
|
|
[0] = PWRSTS_ON, /* dsp1_edma */
|
|
|
[1] = PWRSTS_ON, /* dsp1_l1 */
|
|
@@ -354,9 +294,6 @@ static struct powerdomain cam_7xx_pwrdm = {
|
|
|
.prcm_partition = DRA7XX_PRM_PARTITION,
|
|
|
.pwrsts = PWRSTS_OFF_ON,
|
|
|
.banks = 1,
|
|
|
- .pwrsts_mem_ret = {
|
|
|
- [0] = PWRSTS_OFF_RET, /* vip_bank */
|
|
|
- },
|
|
|
.pwrsts_mem_on = {
|
|
|
[0] = PWRSTS_ON, /* vip_bank */
|
|
|
},
|
|
@@ -370,9 +307,6 @@ static struct powerdomain eve4_7xx_pwrdm = {
|
|
|
.prcm_partition = DRA7XX_PRM_PARTITION,
|
|
|
.pwrsts = PWRSTS_OFF_ON,
|
|
|
.banks = 1,
|
|
|
- .pwrsts_mem_ret = {
|
|
|
- [0] = PWRSTS_OFF_RET, /* eve4_bank */
|
|
|
- },
|
|
|
.pwrsts_mem_on = {
|
|
|
[0] = PWRSTS_ON, /* eve4_bank */
|
|
|
},
|
|
@@ -386,9 +320,6 @@ static struct powerdomain eve2_7xx_pwrdm = {
|
|
|
.prcm_partition = DRA7XX_PRM_PARTITION,
|
|
|
.pwrsts = PWRSTS_OFF_ON,
|
|
|
.banks = 1,
|
|
|
- .pwrsts_mem_ret = {
|
|
|
- [0] = PWRSTS_OFF_RET, /* eve2_bank */
|
|
|
- },
|
|
|
.pwrsts_mem_on = {
|
|
|
[0] = PWRSTS_ON, /* eve2_bank */
|
|
|
},
|
|
@@ -402,9 +333,6 @@ static struct powerdomain eve1_7xx_pwrdm = {
|
|
|
.prcm_partition = DRA7XX_PRM_PARTITION,
|
|
|
.pwrsts = PWRSTS_OFF_ON,
|
|
|
.banks = 1,
|
|
|
- .pwrsts_mem_ret = {
|
|
|
- [0] = PWRSTS_OFF_RET, /* eve1_bank */
|
|
|
- },
|
|
|
.pwrsts_mem_on = {
|
|
|
[0] = PWRSTS_ON, /* eve1_bank */
|
|
|
},
|