xref: /rk3399_ARM-atf/plat/nvidia/tegra/include/drivers/bpmp_ipc.h (revision 26e2b93a85a772a4098c93422a41ddae50e3e918)
1 /*
2  * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef __BPMP_IPC_H__
8 #define __BPMP_IPC_H__
9 
10 #include <stdbool.h>
11 #include <stdint.h>
12 #include <utils_def.h>
13 
14 /**
15  * Currently supported reset identifiers
16  */
17 #define TEGRA_RESET_ID_XUSB_PADCTL	U(114)
18 #define TEGRA_RESET_ID_GPCDMA		U(70)
19 
20 /**
21  * Function to initialise the IPC with the bpmp
22  */
23 int32_t tegra_bpmp_ipc_init(void);
24 
25 /**
26  * Handler to reset a module
27  */
28 int32_t tegra_bpmp_ipc_reset_module(uint32_t rst_id);
29 
30 #endif /* __BPMP_IPC_H__ */
31