xref: /rk3399_ARM-atf/plat/st/stm32mp2/include/stm32mp2_smc.h (revision b47dddd061e92054c3b2096fc8aa9688bfef68d6)
1 /*
2  * Copyright (c) 2024, STMicroelectronics - All Rights Reserved
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef STM32MP2_SMC_H
8 #define STM32MP2_SMC_H
9 
10 #define STM32_COMMON_SIP_NUM_CALLS			1U
11 
12 /*
13  * STM32_SIP_SMC_STGEN_SET_RATE call API
14  * This service is opened to secure world only.
15  *
16  * Argument a0: (input) SMCC ID
17  *		(output) status return code
18  * Argument a1: (input) Frequency to set (given by sender)
19  */
20 #define STM32_SIP_SMC_STGEN_SET_RATE                    0x82000000
21 
22 #endif /* STM32MP2_SMC_H */
23