apusys.h 931 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Copyright (c) 2023, MediaTek Inc. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #ifndef APUSYS_H
  7. #define APUSYS_H
  8. #define MODULE_TAG "[APUSYS]"
  9. enum MTK_APUSYS_KERNEL_OP {
  10. MTK_APUSYS_KERNEL_OP_APUSYS_PWR_TOP_ON, /* 0 */
  11. MTK_APUSYS_KERNEL_OP_APUSYS_PWR_TOP_OFF, /* 1 */
  12. MTK_APUSYS_KERNEL_OP_APUSYS_RV_SETUP_REVISER, /* 2 */
  13. MTK_APUSYS_KERNEL_OP_APUSYS_RV_RESET_MP, /* 3 */
  14. MTK_APUSYS_KERNEL_OP_APUSYS_RV_SETUP_BOOT, /* 4 */
  15. MTK_APUSYS_KERNEL_OP_APUSYS_RV_START_MP, /* 5 */
  16. MTK_APUSYS_KERNEL_OP_APUSYS_RV_STOP_MP, /* 6 */
  17. MTK_APUSYS_KERNEL_OP_DEVAPC_INIT_RCX, /* 7 */
  18. MTK_APUSYS_KERNEL_OP_APUSYS_RV_SETUP_SEC_MEM, /* 8 */
  19. MTK_APUSYS_KERNEL_OP_APUSYS_RV_DISABLE_WDT_ISR, /* 9 */
  20. MTK_APUSYS_KERNEL_OP_APUSYS_RV_CLEAR_WDT_ISR, /* 10 */
  21. MTK_APUSYS_KERNEL_OP_APUSYS_RV_CG_GATING, /* 11 */
  22. MTK_APUSYS_KERNEL_OP_APUSYS_RV_CG_UNGATING, /* 12 */
  23. MTK_APUSYS_KERNEL_OP_NUM,
  24. };
  25. #endif