1 /* 2 * Copyright (c) 2020, MediaTek Inc. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #ifndef MT_SPM_RESOURCE_REQ_H 8 #define MT_SPM_RESOURCE_REQ_H 9 10 /* SPM resource request internal bit */ 11 #define MT_SPM_BIT_XO_FPM 0 12 #define MT_SPM_BIT_26M 1 13 #define MT_SPM_BIT_INFRA 2 14 #define MT_SPM_BIT_SYSPLL 3 15 #define MT_SPM_BIT_DRAM_S0 4 16 #define MT_SPM_BIT_DRAM_S1 5 17 18 /* SPM resource request internal bit_mask */ 19 #define MT_SPM_XO_FPM BIT(MT_SPM_BIT_XO_FPM) 20 #define MT_SPM_26M BIT(MT_SPM_BIT_26M) 21 #define MT_SPM_INFRA BIT(MT_SPM_BIT_INFRA) 22 #define MT_SPM_SYSPLL BIT(MT_SPM_BIT_SYSPLL) 23 #define MT_SPM_DRAM_S0 BIT(MT_SPM_BIT_DRAM_S0) 24 #define MT_SPM_DRAM_S1 BIT(MT_SPM_BIT_DRAM_S1) 25 #endif /* MT_SPM_RESOURCE_REQ_H */ 26