developer | c0c0782 | 2021-03-29 16:50:30 +0800 | [diff] [blame] | 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 | ******************************************************************************/ |
Rex-BC Chen | 1790304 | 2021-08-10 11:10:58 +0800 | [diff] [blame] | 13 | #define MTK_PLAT_SIP_NUM_CALLS 4 |
| 14 | |
| 15 | /* DFD */ |
| 16 | #define MTK_SIP_KERNEL_DFD_AARCH32 0x82000205 |
| 17 | #define MTK_SIP_KERNEL_DFD_AARCH64 0xC2000205 |
Rex-BC Chen | b48c6c4 | 2021-04-12 11:10:31 +0800 | [diff] [blame] | 18 | |
| 19 | /* DP/eDP */ |
| 20 | #define MTK_SIP_DP_CONTROL_AARCH32 0x82000523 |
| 21 | #define MTK_SIP_DP_CONTROL_AARCH64 0xC2000523 |
developer | c0c0782 | 2021-03-29 16:50:30 +0800 | [diff] [blame] | 22 | |
| 23 | #endif /* PLAT_SIP_CALLS_H */ |