mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-08-15 17:07:04 +02:00
Beside standard suspend-to-RAM state, Zynq MPSoC supports suspend-to-RAM state with additional power savings, called power-off suspend-to-RAM. If this mode is set, only NODE_EXTERN must be set as wake source. Standard suspend-to-RAM procedure is unchanged. This patch adds support for setting suspend mode from higher ELs and ensuring that all conditions for power-off suspend mode are set. Signed-off-by: Siva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com> Signed-off-by: Filip Drazic <filip.drazic@aggios.com>
29 lines
752 B
C
29 lines
752 B
C
/*
|
|
* Copyright (c) 2013-2015, ARM Limited and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
/*
|
|
* Contains APU specific macros and macros to be defined depending on
|
|
* the execution environment.
|
|
*/
|
|
|
|
#ifndef _PM_CLIENT_H_
|
|
#define _PM_CLIENT_H_
|
|
|
|
#include "pm_common.h"
|
|
#include "pm_defs.h"
|
|
|
|
/* Functions to be implemented by each PU */
|
|
void pm_client_suspend(const struct pm_proc *proc, unsigned int state);
|
|
void pm_client_abort_suspend(void);
|
|
void pm_client_wakeup(const struct pm_proc *proc);
|
|
enum pm_ret_status set_ocm_retention(void);
|
|
enum pm_ret_status pm_set_suspend_mode(uint32_t mode);
|
|
|
|
/* Global variables to be set in pm_client.c */
|
|
extern const struct pm_proc *primary_proc;
|
|
|
|
#endif /* _PM_CLIENT_H_ */
|