1 /* SPDX-License-Identifier: BSD-2-Clause */ 2 /* 3 * Copyright (c) 2021, Microchip 4 */ 5 6 #ifndef SMC_IDS_H 7 #define SMC_IDS_H 8 #include <optee_msg.h> 9 #include <sm/optee_smc.h> 10 11 #define SAM_SMC_SIP_PL310_ENABLE 1 12 #define SAM_SMC_SIP_PL310_DISABLE 2 13 #define SAM_SMC_SIP_PL310_EN_WRITEBACK 3 14 #define SAM_SMC_SIP_PL310_DIS_WRITEBACK 4 15 16 #define SAMA5_SMC_SIP_SCMI_CALL_ID 0x200 17 18 #define SAMA5_SMC_SIP_SFR_SET_USB_SUSPEND 0x300 19 20 #define SAMA5_SMC_SIP_SET_SUSPEND_MODE 0x400 21 #define SAMA5_SMC_SIP_GET_SUSPEND_MODE 0x401 22 23 /* SAMA5 SMC return codes */ 24 #define SAMA5_SMC_SIP_RETURN_SUCCESS 0x0 25 #define SAMA5_SMC_SIP_RETURN_EINVAL 0x1 26 27 #endif /* SMC_IDS_H */ 28