1 /* 2 * Arm SCP/MCP Software 3 * Copyright (c) 2019-2022, Arm Limited and Contributors. All rights reserved. 4 * 5 * SPDX-License-Identifier: BSD-3-Clause 6 * 7 * Description: 8 * Timer sub-element (alarm) indices. 9 */ 10 11 #ifndef JUNO_ALARM_IDX_H 12 #define JUNO_ALARM_IDX_H 13 14 #define JUNO_ALARM_ELEMENT_IDX 0 15 16 /* Alarm indices for XRP7724 */ 17 enum juno_xrp7724_alarm_idx { 18 JUNO_XRP7724_ALARM_IDX_PSU_VSYS, 19 JUNO_XRP7724_ALARM_IDX_PSU_VBIG, 20 JUNO_XRP7724_ALARM_IDX_PSU_VLITTLE, 21 JUNO_XRP7724_ALARM_IDX_PSU_VGPU, 22 JUNO_XRP7724_ALARM_IDX_COUNT, 23 }; 24 25 /* Alarm indices for DVFS */ 26 enum juno_dvfs_alarm_idx { 27 JUNO_DVFS_ALARM_VLITTLE_IDX = JUNO_XRP7724_ALARM_IDX_COUNT, 28 JUNO_DVFS_ALARM_BIG_IDX, 29 JUNO_DVFS_ALARM_GPU_IDX, 30 #ifdef BUILD_HAS_SCMI_PERF_FAST_CHANNELS 31 JUNO_SCMI_FAST_CHANNEL_IDX, 32 #endif 33 JUNO_DVFS_ALARM_IDX_CNT, 34 }; 35 36 enum juno_misc_alarm_idx { 37 JUNO_PPU_ALARM_IDX = JUNO_DVFS_ALARM_IDX_CNT, 38 JUNO_THERMAL_ALARM_IDX, 39 #ifdef BUILD_HAS_MOD_STATISTICS 40 JUNO_STATISTICS_ALARM_IDX, 41 #endif 42 JUNO_SYSTEM_POWER_ALARM_IDX, 43 JUNO_ALARM_IDX_COUNT 44 }; 45 46 #endif /* JUNO_ALARM_IDX_H */ 47