mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] soc: mediatek: Add command for APU SMC call
@ 2021-12-10 17:12 Flora Fu
  0 siblings, 0 replies; only message in thread
From: Flora Fu @ 2021-12-10 17:12 UTC (permalink / raw)
  To: Matthias Brugger, Pi-Cheng Chen
  Cc: linux-kernel, linux-arm-kernel, linux-mediatek, Flora Fu

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.

Signed-off-by: Flora Fu <flora.fu@mediatek.com>

---
 include/linux/soc/mediatek/mtk_sip_svc.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/linux/soc/mediatek/mtk_sip_svc.h b/include/linux/soc/mediatek/mtk_sip_svc.h
index 082398e0cfb1..b0c19593f40d 100644
--- a/include/linux/soc/mediatek/mtk_sip_svc.h
+++ b/include/linux/soc/mediatek/mtk_sip_svc.h
@@ -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
-- 
2.18.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-10 17:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-10 17:12 [PATCH] soc: mediatek: Add command for APU SMC call Flora Fu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®