blob: 1dfa9fa031c2287a38ea8155242ecace6b1bf573 [file] [log] [blame]
Konstantin Porotchkinf69ec582018-06-07 18:31:14 +03001/*
2 * Copyright (C) 2018 Marvell International Ltd.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 * https://spdx.org/licenses
6 */
7
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +00008#ifndef MSS_PM_IPC_H
9#define MSS_PM_IPC_H
Konstantin Porotchkinf69ec582018-06-07 18:31:14 +030010
11#include <mss_ipc_drv.h>
12
13/* Currently MSS does not support Cluster level Power Down */
14#define DISABLE_CLUSTER_LEVEL
15
16
17/*****************************************************************************
18 * mss_pm_ipc_msg_send
19 *
20 * DESCRIPTION: create and transmit IPC message
21 *****************************************************************************
22 */
23int mss_pm_ipc_msg_send(unsigned int channel_id, unsigned int msg_id,
24 const psci_power_state_t *target_state);
25
26/*****************************************************************************
27 * mss_pm_ipc_msg_trigger
28 *
29 * DESCRIPTION: Trigger IPC message interrupt to MSS
30 *****************************************************************************
31 */
32int mss_pm_ipc_msg_trigger(void);
33
34
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000035#endif /* MSS_PM_IPC_H */