xref: /rk3399_ARM-atf/plat/mediatek/mt8173/include/plat_sip_calls.h (revision 7ace1cc088adf4e0dc10f41fa2571129d9f52e53)
1b659b1a7SJimmy Huang /*
2b659b1a7SJimmy Huang  * Copyright (c) 2016, ARM Limited and Contributors. All rights reserved.
3b659b1a7SJimmy Huang  *
4b659b1a7SJimmy Huang  * Redistribution and use in source and binary forms, with or without
5b659b1a7SJimmy Huang  * modification, are permitted provided that the following conditions are met:
6b659b1a7SJimmy Huang  *
7b659b1a7SJimmy Huang  * Redistributions of source code must retain the above copyright notice, this
8b659b1a7SJimmy Huang  * list of conditions and the following disclaimer.
9b659b1a7SJimmy Huang  *
10b659b1a7SJimmy Huang  * Redistributions in binary form must reproduce the above copyright notice,
11b659b1a7SJimmy Huang  * this list of conditions and the following disclaimer in the documentation
12b659b1a7SJimmy Huang  * and/or other materials provided with the distribution.
13b659b1a7SJimmy Huang  *
14b659b1a7SJimmy Huang  * Neither the name of ARM nor the names of its contributors may be used
15b659b1a7SJimmy Huang  * to endorse or promote products derived from this software without specific
16b659b1a7SJimmy Huang  * prior written permission.
17b659b1a7SJimmy Huang  *
18b659b1a7SJimmy Huang  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19b659b1a7SJimmy Huang  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20b659b1a7SJimmy Huang  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21b659b1a7SJimmy Huang  * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
22b659b1a7SJimmy Huang  * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23b659b1a7SJimmy Huang  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24b659b1a7SJimmy Huang  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25b659b1a7SJimmy Huang  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26b659b1a7SJimmy Huang  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27b659b1a7SJimmy Huang  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28b659b1a7SJimmy Huang  * POSSIBILITY OF SUCH DAMAGE.
29b659b1a7SJimmy Huang  */
30b659b1a7SJimmy Huang 
31b659b1a7SJimmy Huang #ifndef __PLAT_SIP_CALLS_H__
32b659b1a7SJimmy Huang #define __PLAT_SIP_CALLS_H__
33b659b1a7SJimmy Huang 
34b659b1a7SJimmy Huang /*******************************************************************************
35b659b1a7SJimmy Huang  * Plat SiP function constants
36b659b1a7SJimmy Huang  ******************************************************************************/
37*7ace1cc0SYi Zheng #define MTK_PLAT_SIP_NUM_CALLS	6
38b659b1a7SJimmy Huang 
39b659b1a7SJimmy Huang #define MTK_SIP_PWR_ON_MTCMOS			0x82000402
40b659b1a7SJimmy Huang #define MTK_SIP_PWR_OFF_MTCMOS			0x82000403
41b659b1a7SJimmy Huang #define MTK_SIP_PWR_MTCMOS_SUPPORT		0x82000404
42*7ace1cc0SYi Zheng #define MTK_SIP_SET_HDCP_KEY_NUM		0x82000405
43*7ace1cc0SYi Zheng #define MTK_SIP_CLR_HDCP_KEY			0x82000406
44*7ace1cc0SYi Zheng #define MTK_SIP_SET_HDCP_KEY_EX			0x82000407
45b659b1a7SJimmy Huang 
46b659b1a7SJimmy Huang #endif /* __PLAT_SIP_CALLS_H__ */
47