diff options
Diffstat (limited to 'plat/mediatek/common/mtk_sip_svc.h')
-rw-r--r-- | plat/mediatek/common/mtk_sip_svc.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/plat/mediatek/common/mtk_sip_svc.h b/plat/mediatek/common/mtk_sip_svc.h index eb1c2e60..94a60363 100644 --- a/plat/mediatek/common/mtk_sip_svc.h +++ b/plat/mediatek/common/mtk_sip_svc.h @@ -43,10 +43,13 @@ #define MTK_SIP_SVC_VERSION_MINOR 0x1 /* Number of Mediatek SiP Calls implemented */ -#define MTK_SIP_NUM_CALLS 1 +#define MTK_SIP_NUM_CALLS 4 /* Mediatek SiP Service Calls function IDs */ #define MTK_SIP_SET_AUTHORIZED_SECURE_REG 0x82000001 +#define MTK_SIP_PWR_ON_MTCMOS 0x82000402 +#define MTK_SIP_PWR_OFF_MTCMOS 0x82000403 +#define MTK_SIP_PWR_MTCMOS_SUPPORT 0x82000404 /* Mediatek SiP Calls error code */ enum { @@ -62,5 +65,7 @@ enum { * Return MTK_SIP_E_SUCCESS on success, and MTK_SIP_E_INVALID_PARAM on failure. */ uint64_t mt_sip_set_authorized_sreg(uint32_t sreg, uint32_t val); - +uint64_t mt_sip_pwr_on_mtcmos(uint32_t val); +uint64_t mt_sip_pwr_off_mtcmos(uint32_t val); +uint64_t mt_sip_pwr_mtcmos_support(void); #endif /* __PLAT_SIP_SVC_H__ */ |