diff mbox series

[V11,03/19] soc: mediatek: add header for mediatek SIP interface

Message ID 20210812085846.2628-4-dawei.chien@mediatek.com (mailing list archive)
State Not Applicable, archived
Headers show
Series Add driver for dvfsrc, support for interconnect | expand

Commit Message

Dawei Chien Aug. 12, 2021, 8:58 a.m. UTC
From: Henry Chen <henryc.chen@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@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(+)

Comments

AngeloGioacchino Del Regno Feb. 3, 2022, 3:14 p.m. UTC | #1
Il 12/08/21 10:58, Dawei Chien ha scritto:
> From: Henry Chen <henryc.chen@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@mediatek.com>
> Signed-off-by: Arvin Wang <arvin.wang@mediatek.com>

Please sign-off this and all the other patches that you send.
Dawei Chien Feb. 11, 2022, 3:50 a.m. UTC | #2
On Thu, 2022-02-03 at 16:14 +0100, AngeloGioacchino Del Regno wrote:
> Il 12/08/21 10:58, Dawei Chien ha scritto:
> > From: Henry Chen <henryc.chen@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@mediatek.com>
> > Signed-off-by: Arvin Wang <arvin.wang@mediatek.com>
> 
> Please sign-off this and all the other patches that you send.

Thank you for your review, I would sign-off all the others patches on
next version.
diff mbox series

Patch

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_CALL_VAL(ARM_SMCCC_FAST_CALL, MTK_SIP_SMC_CONVENTION, \
 			   ARM_SMCCC_OWNER_SIP, fn_id)
 
+/* VCOREFS */
+#define MTK_SIP_VCOREFS_CONTROL \
+	MTK_SIP_SMC_CMD(0x506)
+
 #endif