blob: 9dda1a57f524f3f0e2ea772cae3f8b773548210d [file] [log] [blame]
Haojian Zhuang1b5c2252017-06-01 15:20:46 +08001/*
2 * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef __HISI_IPC_H__
8#define __HISI_IPC_H__
9
10enum pm_mode {
11 PM_ON = 0,
12 PM_OFF,
13};
14
15void hisi_ipc_pm_on_off(unsigned int core, unsigned int cluster,
16 enum pm_mode mode);
17void hisi_ipc_pm_suspend(unsigned int core, unsigned int cluster,
18 unsigned int affinity_level);
19void hisi_ipc_psci_system_off(unsigned int core, unsigned int cluster);
20void hisi_ipc_psci_system_reset(unsigned int core, unsigned int cluster,
21 unsigned int cmd_id);
22int hisi_ipc_init(void);
23
24#endif /* __HISI_IPC_H__ */