xref: /rk3399_ARM-atf/plat/mediatek/mt8195/include/plat_sip_calls.h (revision 43997d2257422c0f05c9adf4d5a14dae5e59ef5b)
1 /*
2  * Copyright (c) 2020, MediaTek Inc. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 
7 #ifndef PLAT_SIP_CALLS_H
8 #define PLAT_SIP_CALLS_H
9 
10 /*******************************************************************************
11  * Plat SiP function constants
12  ******************************************************************************/
13 #define MTK_PLAT_SIP_NUM_CALLS    6
14 
15 /* DFD */
16 #define MTK_SIP_KERNEL_DFD_AARCH32	0x82000205
17 #define MTK_SIP_KERNEL_DFD_AARCH64	0xC2000205
18 
19 /* DP/eDP */
20 #define MTK_SIP_DP_CONTROL_AARCH32	0x82000523
21 #define MTK_SIP_DP_CONTROL_AARCH64	0xC2000523
22 
23 /* APUSYS SMC call */
24 #define MTK_SIP_APUSYS_CONTROL_AARCH32	0x8200051E
25 #define MTK_SIP_APUSYS_CONTROL_AARCH64	0xC200051E
26 
27 #endif /* PLAT_SIP_CALLS_H */
28