AnsweredAssumed Answered

[Q4]When waking up, how to set the drivers reload by oder?--[i.MX53,WEC7]

Question asked by john Phy on Oct 30, 2013
Latest reply on Nov 6, 2013 by john Phy

Hi,

   Thanks for your attenion.

   We use I.MX53 running WEC7. The registery storage is "Hive-based Registry" and the file system is  "RAM and ROM file system".

   There are some problems need your help. Any suggestion is welcome, thanks!

 

[Q4]When waking up, how to set the drivers reload by oder?--[i.MX53,WEC7]

 

   When system wakes up from suspend, we want to relod display driver first, and then the backlight dirver. But it seems that the backlight power off first when suspending, and power on first when resuming too. Can we change this order?Why And how?

 

Below is the  test info:

 

Suspend and power off order:

;------------------------------------------------------------------------------

PID:00400002 TID:01C10006 ---+BSPTouchPowerHandler()------------------------------

PID:00400002 TID:01C10006 ---+BSPTouchInterruptDisable()-----------------------

PID:00400002 TID:01C10006 ADCDrv: IOCTL_POWER_SET called

PID:00400002 TID:01C10006 +BSPPmicPowerNotifySuspend

PID:00400002 TID:01C10006 GKP::requests a change of device power state D4!

PID:00400002 TID:01C10006 GKP:: setting power state is D4!

PID:00400002 TID:01C10006 BKL::Power state is = D4.

PID:00400002 TID:01C10006 +BSPBacklightSetIntensity

PID:00400002 TID:01C10006 BKL::Backlight to Level = +0

PID:00400002 TID:01C10006 -BSPBacklightSetIntensity

.........................

PID:00400002 TID:01C10006 SetDisplayPower = D4.

PID:00400002 TID:01C10006  CLAADisablePanel: Set Panel sleep.

PID:00400002 TID:01C10006 +SPI_PowerOff_LD9042

PID:00400002 TID:01C10006 -SPI_PowerOff_LD9042

PID:00400002 TID:01C10006  CLAADisablePanel: Set Panel power down.

;------------------------------------------------------------------------------

 

 

Wake up driver load order:

;------------------------------------------------------------------------------

PID:00400002 TID:00C00012 PWB::(+)PwrBtnThread():handle event

PID:00400002 TID:01C10006 ---+BSPTouchPowerHandler()------------------------------

PID:00400002 TID:01C10006 ---+BSPTouchInterruptEnable()-----------------------

PID:00400002 TID:01C10006 ADCDrv: IOCTL_POWER_SET called

PID:00400002 TID:01C10006 GKP::requests a change of device power state D0!

PID:00400002 TID:01C10006 GKP:: setting power state is D0!

PID:00400002 TID:01C10006 BKL::Power state is = D0.

PID:00400002 TID:01C10006 +BSPBacklightSetIntensity

PID:00400002 TID:01C10006 BKL::Backlight to Level = +27

PID:00400002 TID:01C10006 -BSPBacklightSetIntensity

.........................

PID:00400002 TID:01C10006 SetDisplayPower = D0.

PID:00400002 TID:01C10006 start initilization of LCD-------.

PID:00400002 TID:01C10006 Initialize LD9042------------.

PID:00400002 TID:01C10006 In CLAA.cpp set.

PID:00400002 TID:00C00012 PWB::(-)SetSystemPowerState ON

PID:00400002 TID:00C00012 PWB::(-)PwrBtnThread():handle event

;------------------------------------------------------------------------------

Outcomes