blob: 6a979689f976ea10c68e65fb0262d22a7d146c4d [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
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +00007#ifndef HISI_IPC_H
8#define HISI_IPC_H
Haojian Zhuang1b5c2252017-06-01 15:20:46 +08009
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
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000024#endif /* HISI_IPC_H */