ARM: OMAP5: powerdomain data: fix powerdomain powerstate
authorNishanth Menon <nm@ti.com>
Wed, 20 Aug 2014 13:13:16 +0000 (08:13 -0500)
committerNishanth Menon <nm@ti.com>
Mon, 8 Sep 2014 16:22:40 +0000 (11:22 -0500)
Update the power domain power states for final production chip
capability. OFF mode, OSWR etc have been descoped for various domains.

Signed-off-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Kevin Hilman <khilman@linaro.org>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
arch/arm/mach-omap2/powerdomains54xx_data.c

index ce1d752af991becba6dc8225a826844fbacee285..60d7ed8ef8ca4c0183f061da53594bbceb4c05ff 100644 (file)
@@ -35,7 +35,7 @@ static struct powerdomain core_54xx_pwrdm = {
        .prcm_offs        = OMAP54XX_PRM_CORE_INST,
        .prcm_partition   = OMAP54XX_PRM_PARTITION,
        .pwrsts           = PWRSTS_RET_ON,
-       .pwrsts_logic_ret = PWRSTS_OFF_RET,
+       .pwrsts_logic_ret = PWRSTS_RET,
        .banks            = 5,
        .pwrsts_mem_ret = {
                [0] = PWRSTS_OFF_RET,   /* core_nret_bank */
@@ -107,8 +107,8 @@ static struct powerdomain cpu0_54xx_pwrdm = {
        .voltdm           = { .name = "mpu" },
        .prcm_offs        = OMAP54XX_PRCM_MPU_PRM_C0_INST,
        .prcm_partition   = OMAP54XX_PRCM_MPU_PARTITION,
-       .pwrsts           = PWRSTS_OFF_RET_ON,
-       .pwrsts_logic_ret = PWRSTS_OFF_RET,
+       .pwrsts           = PWRSTS_RET_ON,
+       .pwrsts_logic_ret = PWRSTS_RET,
        .banks            = 1,
        .pwrsts_mem_ret = {
                [0] = PWRSTS_OFF_RET,   /* cpu0_l1 */
@@ -124,8 +124,8 @@ static struct powerdomain cpu1_54xx_pwrdm = {
        .voltdm           = { .name = "mpu" },
        .prcm_offs        = OMAP54XX_PRCM_MPU_PRM_C1_INST,
        .prcm_partition   = OMAP54XX_PRCM_MPU_PARTITION,
-       .pwrsts           = PWRSTS_OFF_RET_ON,
-       .pwrsts_logic_ret = PWRSTS_OFF_RET,
+       .pwrsts           = PWRSTS_RET_ON,
+       .pwrsts_logic_ret = PWRSTS_RET,
        .banks            = 1,
        .pwrsts_mem_ret = {
                [0] = PWRSTS_OFF_RET,   /* cpu1_l1 */
@@ -158,7 +158,7 @@ static struct powerdomain mpu_54xx_pwrdm = {
        .prcm_offs        = OMAP54XX_PRM_MPU_INST,
        .prcm_partition   = OMAP54XX_PRM_PARTITION,
        .pwrsts           = PWRSTS_RET_ON,
-       .pwrsts_logic_ret = PWRSTS_OFF_RET,
+       .pwrsts_logic_ret = PWRSTS_RET,
        .banks            = 2,
        .pwrsts_mem_ret = {
                [0] = PWRSTS_OFF_RET,   /* mpu_l2 */