Skip to content
Commit 95fd990f authored by Filip Drazic's avatar Filip Drazic Committed by Soren Brinkmann
Browse files

zynqmp: pm: Provide state argument to the pm_self_suspend API call



The state argument of the pm_self_suspend API encodes the state to
which the APU intends to suspend. The state can be:
- PM_APU_STATE_CPU_IDLE - processor power down, all memories remain
  on
- PM_APU_STATE_SUSPEND_TO_RAM - all processors powered down, L2$
  powered down, all OCM banks in retention and DDR in
  self-refresh.
The calls for setting requirements for L2$ and OCM banks are now
redundant and removed.

Signed-off-by: default avatarFilip Drazic <filip.drazic@aggios.com>
[ sb
 - remove redundant #defines
]
Signed-off-by: default avatarSören Brinkmann <soren.brinkmann@xilinx.com>
parent eccc7cde
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment