[V7,02/13] soc: mediatek: add header for mediatek SIP interface
diff mbox series

Message ID 1610092095-5113-3-git-send-email-henryc.chen@mediatek.com
State New, archived
Headers show
  • Add driver for dvfsrc, support for active state of scpsys
Related show

Commit Message

Henry Chen Jan. 8, 2021, 7:48 a.m. UTC
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@mediatek.com>
Signed-off-by: Arvin Wang <arvin.wang@mediatek.com>
 include/linux/soc/mediatek/mtk_sip_svc.h | 4 ++++
 1 file changed, 4 insertions(+)

diff mbox series

diff --git a/include/linux/soc/mediatek/mtk_sip_svc.h b/include/linux/soc/mediatek/mtk_sip_svc.h
index 082398e..079bbcb 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)