apusys.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * Copyright (c) 2023-2024, 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_APUSYS_RV_SETUP_APUMMU, /* 13 */
  24. MTK_APUSYS_KERNEL_OP_APUSYS_LOGTOP_REG_DUMP, /* 14 */
  25. MTK_APUSYS_KERNEL_OP_APUSYS_LOGTOP_REG_WRITE, /* 15 */
  26. MTK_APUSYS_KERNEL_OP_APUSYS_LOGTOP_REG_W1C, /* 16 */
  27. MTK_APUSYS_KERNEL_OP_APUSYS_COLD_BOOT_CLR_MBOX_DUMMY, /* 17 */
  28. MTK_APUSYS_KERNEL_OP_APUSYS_SETUP_CE_BIN, /* 18 */
  29. MTK_APUSYS_KERNEL_OP_NUM,
  30. };
  31. #endif