blob: ed4e195ac643465cbbfbc46992b345b5d5ee5b48 [file] [log] [blame]
Chungying Lua566cc92023-03-15 14:16:28 +08001/*
2 * Copyright (c) 2023, MediaTek Inc. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef APUSYS_H
8#define APUSYS_H
9
10#define MODULE_TAG "[APUSYS]"
11
Chungying Luf1f14b32023-03-15 15:31:56 +080012enum MTK_APUSYS_KERNEL_OP {
Chungying Lu15ffb072023-04-19 17:17:23 +080013 MTK_APUSYS_KERNEL_OP_APUSYS_PWR_TOP_ON, /* 0 */
14 MTK_APUSYS_KERNEL_OP_APUSYS_PWR_TOP_OFF, /* 1 */
15 MTK_APUSYS_KERNEL_OP_APUSYS_RV_SETUP_REVISER, /* 2 */
16 MTK_APUSYS_KERNEL_OP_APUSYS_RV_RESET_MP, /* 3 */
17 MTK_APUSYS_KERNEL_OP_APUSYS_RV_SETUP_BOOT, /* 4 */
18 MTK_APUSYS_KERNEL_OP_APUSYS_RV_START_MP, /* 5 */
19 MTK_APUSYS_KERNEL_OP_APUSYS_RV_STOP_MP, /* 6 */
Karl Li03facb02023-04-24 16:45:49 +080020 MTK_APUSYS_KERNEL_OP_DEVAPC_INIT_RCX, /* 7 */
Chungying Lu59c1c2b2023-04-25 15:39:10 +080021 MTK_APUSYS_KERNEL_OP_APUSYS_RV_SETUP_SEC_MEM, /* 8 */
Chungying Lu4f3b5da2023-05-12 18:37:32 +080022 MTK_APUSYS_KERNEL_OP_APUSYS_RV_DISABLE_WDT_ISR, /* 9 */
23 MTK_APUSYS_KERNEL_OP_APUSYS_RV_CLEAR_WDT_ISR, /* 10 */
24 MTK_APUSYS_KERNEL_OP_APUSYS_RV_CG_GATING, /* 11 */
25 MTK_APUSYS_KERNEL_OP_APUSYS_RV_CG_UNGATING, /* 12 */
Chungying Luf1f14b32023-03-15 15:31:56 +080026 MTK_APUSYS_KERNEL_OP_NUM,
27};
28
Chungying Lua566cc92023-03-15 14:16:28 +080029#endif