TestSuites: Utils: Power retention initial code
authorAbraham Arce <x0066660@ti.com>
Mon, 20 Sep 2010 04:38:48 +0000 (23:38 -0500)
committerRicardo Perez Olivares <x0081762@ti.com>
Mon, 20 Sep 2010 21:01:11 +0000 (16:01 -0500)
commitefbfcdbf66a2a8ca44dcaa36e54b5ebd167ae189
tree3100a83c9e48a6782f497051924b5116dbde90b4
parent74626ddc7bffda393df5c81d144ea4cea320a2ef
TestSuites: Utils: Power retention initial code

- handlerPoweRetention.sh "enable"
  @operation  operation to perform, enable
              echo 1 > /sys/class/graphics/fb0/blank
              echo 0 > /sys/devices/system/cpu/cpu1/online
              The way it is enable may change in future

- handlerPoweRetention.sh "check" <power domain>
  @operation  operation to perform, check
  @domain     power domain where to check retention
              e.g. core_pwrdm, abe_pwrdm

  "check" operation can be used when checking if retention
  is not broken after a set of processes are executed

- handlerPoweRetention.sh "disable"
  @operation  operation to perform, disable
              echo 0 > /sys/class/graphics/fb0/blank
              echo 1 > /sys/devices/system/cpu/cpu1/online
              The way it is disable may change in future

- handlerPoweRetention.sh "run" <power domain> <command>
  @operation  operation to perform, run
  @domain     power domain where to check retention
              e.g. core_pwrdm, abe_pwrdm
  @command    the command to run

  "run" operation can be used when we need to check if a
   process is not breaking retention

Signed-off-by: Abraham Arce <x0066660@ti.com>
utils/handlers/handlerPowerRetention.sh [new file with mode: 0755]