This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3715 IVA problem : off mode issue and register mapping issue

Other Parts Discussed in Thread: AM3715

Hi,

I am developing android using AM3715 and TI android 2.3.4 SDK v2.1,
I have 2 questions and need help:

1. How to disable IVA in AM3715, even it's not exist?.

Now I am debug suspend/resume issue (we are using AM3715), I found the system will not get into off mode "sometimes" when IVA2.2 is not hit off status, and it will cause dss,usb,per,core domain can't hit off too. I have tried some patchs and settings to stop IVA but without success, and check TRM, the 4 domain have dependency on IVA, but, IVA is not exist in AM3715, why I can see it in cat /debug/pm_debug/count? and it can hit off mode sometimes?

Does anyone know how to turn it off?

resume count log :

usbhost_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0
sgx_pwrdm (ON),OFF:1,RET:0,INA:0,ON:2,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0
per_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0
dss_pwrdm (ON),OFF:0,RET:3,INA:4,ON:7,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0
cam_pwrdm (OFF),OFF:1,RET:1,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0
core_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0
neon_pwrdm (ON),OFF:16,RET:1288,INA:387,ON:1692,RET-LOGIC-OFF:0
mpu_pwrdm (ON),OFF:16,RET:1288,INA:387,ON:1692,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0 
iva2_pwrdm (ON),OFF:0,RET:0,INA:0,ON:1,RET-LOGIC-OFF:0,RET-MEMBANK1-OFF:0,RET-MEMBANK2-OFF:0,RET-MEMBANK3-OFF:0,RET-MEMBANK4-OFF:0 per_clkdm->per_pwrdm (11) usbhost_clkdm->usbhost_pwrdm (3) cam_clkdm->cam_pwrdm (0)
dss_clkdm->dss_pwrdm (0)
core_l4_clkdm->core_pwrdm (16)
core_l3_clkdm->core_pwrdm (5)
d2d_clkdm->core_pwrdm (0)
sgx_clkdm->sgx_pwrdm (2)
iva2_clkdm->iva2_pwrdm (0)
neon_clkdm->neon_pwrdm (0)
mpu_clkdm->mpu_pwrdm (0)
prm_clkdm->wkup_pwrdm (0)
cm_clkdm->core_pwrdm (0)

2. IVA2 register address error? why?

During the off mode debug, I cat the debug/pm_debug/register/1 then found the IVA address is wrong, it should be 48004000, but become 48104000? how to fix it?

  cat 1
MOD: CM_IVA2 (48014000)   04 => 00000017  20 => 00000001  34 => 00000001  40 => 00080a00   44 => 00000001  48 => 00000003 MOD: CM_OCP (48004800)   00 => 00000010  10 => 00000001 MOD: CM_MPU (48004900)   04 => 00000037  24 => 00000001  34 => 00000001  40 => 00112c0c   44 => 00000001  48 => 00000003  4c => 00000001

MOD: CM_CORE (48004a00)   10 => 0003e042  20 => ffffffbd  24 => 0000001f  28 => 0000000d   30 => fffffed9  34 => 0000001f  38 => 0000000c  40 => 0000130a   48 => 0000003f  4c => 00000003

MOD: CM_SGX (48004b00)   20 => 00000001  40 => 00000005  48 => 00000001

MOD: CM_WKUP (48004c00)   00 => 00000001  10 => 0000002d  20 => 000002f2  30 => 0000003f   40 => 00000014 MOD: CM_CCR (48004d00)   00 => 38310007  04 => 00000011  20 => 00000001  30 => 00000001   34 => 00000001  40 => 08a60c00  44 => 0481b00c  48 => 00000009   4c => 00003c0c  50 => 00000001  70 => 00000003

 Best Regards,