Skip to contentSkip to conversation

soc: mediatek: Add command for APU SMC call

PATCH New Flora Fu 1 participant 1 message Dec 10, 2021 Arm MediaTek

lore
Share & tools
lore

Flora Fu

author
#0 lore raw

PATCH 1/1 soc: mediatek: Add command for APU SMC call

Add command for APU SMC call.
The APU microprocess's start and stop sequence will process in ATF. In some SOCs, such as mt8195, it also requires clock and pll controller through SMC call.

---
 include/linux/soc/mediatek/mtk_sip_svc.h | 3 +++
 1 file changed, 3 insertions(+)
include/linux/soc/mediatek/mtk_sip_svc.h +3 -0
index 082398e0cfb1..b0c19593f40d 100644
@@ -22,4 +22,7 @@
 	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
Signature · 1 line
2.18.0