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