aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRavikumar Kattekola2016-03-17 13:41:34 -0500
committerPraneeth Bajjuri2016-03-18 17:35:09 -0500
commit7a9ce2cdb5492362670cd58b30ae40ee2db14279 (patch)
treed03ffab34cd64f74f42a15466066caab2b5c843a
parent7a1d3bac6c5db888f5a27e3c20d2240a84190f16 (diff)
downloadkernel-video-7a9ce2cdb5492362670cd58b30ae40ee2db14279.tar.gz
kernel-video-7a9ce2cdb5492362670cd58b30ae40ee2db14279.tar.xz
kernel-video-7a9ce2cdb5492362670cd58b30ae40ee2db14279.zip
pm: dra7: Restrict vip/vpe power domain state to INA
VIP/VPE drivers do not support context save/restore. Restrict PD state to Inactive till support is added. This also enables quick resume of camera on wake up. Change-Id: I62911e268639568b9d4b58c855eca430bb896e89 Signed-off-by: Ravikumar Kattekola <rk@ti.com>
-rw-r--r--arch/arm/mach-omap2/powerdomains7xx_data.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-omap2/powerdomains7xx_data.c b/arch/arm/mach-omap2/powerdomains7xx_data.c
index 6fb12903646..b7f054da997 100644
--- a/arch/arm/mach-omap2/powerdomains7xx_data.c
+++ b/arch/arm/mach-omap2/powerdomains7xx_data.c
@@ -226,7 +226,7 @@ static struct powerdomain vpe_7xx_pwrdm = {
226 .name = "vpe_pwrdm", 226 .name = "vpe_pwrdm",
227 .prcm_offs = DRA7XX_PRM_VPE_INST, 227 .prcm_offs = DRA7XX_PRM_VPE_INST,
228 .prcm_partition = DRA7XX_PRM_PARTITION, 228 .prcm_partition = DRA7XX_PRM_PARTITION,
229 .pwrsts = PWRSTS_OFF_ON, 229 .pwrsts = PWRSTS_INA_ON,
230 .pwrsts_logic_ret = PWRSTS_OFF, 230 .pwrsts_logic_ret = PWRSTS_OFF,
231 .banks = 1, 231 .banks = 1,
232 .pwrsts_mem_ret = { 232 .pwrsts_mem_ret = {
@@ -354,7 +354,7 @@ static struct powerdomain cam_7xx_pwrdm = {
354 .name = "cam_pwrdm", 354 .name = "cam_pwrdm",
355 .prcm_offs = DRA7XX_PRM_CAM_INST, 355 .prcm_offs = DRA7XX_PRM_CAM_INST,
356 .prcm_partition = DRA7XX_PRM_PARTITION, 356 .prcm_partition = DRA7XX_PRM_PARTITION,
357 .pwrsts = PWRSTS_OFF_ON, 357 .pwrsts = PWRSTS_INA_ON,
358 .banks = 1, 358 .banks = 1,
359 .pwrsts_mem_ret = { 359 .pwrsts_mem_ret = {
360 [0] = PWRSTS_OFF, /* vip_bank */ 360 [0] = PWRSTS_OFF, /* vip_bank */