[PATCH V10 02/12] soc: mediatek: add header for mediatek SIP interface

Dawei Chien dawei.chien at mediatek.com
Fri Jun 4 03:29:49 PDT 2021

From: Henry Chen <henryc.chen at mediatek.com>

Add a header to collect SIPs and add one SIP call to initialize power
management hardware for the SIP interface defined to access the SPM
handling vcore voltage and ddr rate changes on mt8183 (and most likely
later socs).

Signed-off-by: Henry Chen <henryc.chen at mediatek.com>
Signed-off-by: Arvin Wang <arvin.wang at mediatek.com>
 include/linux/soc/mediatek/mtk_sip_svc.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/include/linux/soc/mediatek/mtk_sip_svc.h b/include/linux/soc/mediatek/mtk_sip_svc.h
index 082398e0cfb1..079bbcb361ba 100644
--- a/include/linux/soc/mediatek/mtk_sip_svc.h
+++ b/include/linux/soc/mediatek/mtk_sip_svc.h
@@ -22,4 +22,8 @@
 			   ARM_SMCCC_OWNER_SIP, fn_id)
+/* VCOREFS */
+	MTK_SIP_SMC_CMD(0x506)

More information about the Linux-mediatek mailing list