xref: /rk3399_ARM-atf/plat/imx/common/include/imx_sip_svc.h (revision 025514ba80f9bd51af460ff29c4a325904c1812c)
1 /*
2  * Copyright (c) 2015-2019, ARM Limited and Contributors. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef __IMX_SIP_SVC_H__
8 #define __IMX_SIP_SVC_H__
9 
10 /* SMC function IDs for SiP Service queries */
11 #define IMX_SIP_SRTC			0xC2000002
12 #define IMX_SIP_SRTC_SET_TIME		0x00
13 
14 #if (defined(PLAT_IMX8QM) || defined(PLAT_IMX8QX))
15 int imx_srtc_handler(uint32_t smc_fid, void *handle, u_register_t x1,
16 		     u_register_t x2, u_register_t x3, u_register_t x4);
17 #endif
18 
19 #endif /* __IMX_SIP_SVC_H__ */
20