blob: 5562a67625f1af641b5f10ae8339f1d946d18f56 [file] [log] [blame]
developerc0c07822021-03-29 16:50:30 +08001/*
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 ******************************************************************************/
developer47917892021-11-01 16:43:47 +080013#define MTK_PLAT_SIP_NUM_CALLS 6
Rex-BC Chen17903042021-08-10 11:10:58 +080014
15/* DFD */
16#define MTK_SIP_KERNEL_DFD_AARCH32 0x82000205
17#define MTK_SIP_KERNEL_DFD_AARCH64 0xC2000205
Rex-BC Chenb48c6c42021-04-12 11:10:31 +080018
19/* DP/eDP */
20#define MTK_SIP_DP_CONTROL_AARCH32 0x82000523
21#define MTK_SIP_DP_CONTROL_AARCH64 0xC2000523
developerc0c07822021-03-29 16:50:30 +080022
developer47917892021-11-01 16:43:47 +080023/* APUSYS SMC call */
24#define MTK_SIP_APUSYS_CONTROL_AARCH32 0x8200051E
25#define MTK_SIP_APUSYS_CONTROL_AARCH64 0xC200051E
26
developerc0c07822021-03-29 16:50:30 +080027#endif /* PLAT_SIP_CALLS_H */