Konstantin Porotchkin | f69ec58 | 2018-06-07 18:31:14 +0300 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2018 Marvell International Ltd. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | * https://spdx.org/licenses |
| 6 | */ |
| 7 | |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame] | 8 | #ifndef MSS_PM_IPC_H |
| 9 | #define MSS_PM_IPC_H |
Konstantin Porotchkin | f69ec58 | 2018-06-07 18:31:14 +0300 | [diff] [blame] | 10 | |
| 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 | */ |
| 23 | int 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 | */ |
| 32 | int mss_pm_ipc_msg_trigger(void); |
| 33 | |
| 34 | |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame] | 35 | #endif /* MSS_PM_IPC_H */ |