Varun Wadekar | b374103 | 2017-09-25 13:27:45 -0700 | [diff] [blame] | 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__ */ |