[RFC 05/13] soc: mediatek: Add command for APU SMC call

Flora Fu flora.fu at mediatek.com
Sat Oct 23 04:14:01 PDT 2021


Add command for APU SMC call.
The tinyys start and stop sequence will porcess in ATF.

Signed-off-by: Flora Fu <flora.fu at mediatek.com>
---
 include/linux/soc/mediatek/mtk_sip_svc.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/linux/soc/mediatek/mtk_sip_svc.h b/include/linux/soc/mediatek/mtk_sip_svc.h
index 082398e0cfb1..ce44d26a3922 100644
--- a/include/linux/soc/mediatek/mtk_sip_svc.h
+++ b/include/linux/soc/mediatek/mtk_sip_svc.h
@@ -22,4 +22,6 @@
 	ARM_SMCCC_CALL_VAL(ARM_SMCCC_FAST_CALL, MTK_SIP_SMC_CONVENTION, \
 			   ARM_SMCCC_OWNER_SIP, fn_id)
 
+/* APUSYS SMC call */
+#define MTK_SIP_APUSYS_CONTROL MTK_SIP_SMC_CMD(0x51E)
 #endif
-- 
2.18.0




More information about the Linux-mediatek mailing list