feat(mt8186): add Vcore DVFS driver
Add Vcore DVFS to SPM driver.
TEST=build pass
BUG=b:202871018
Change-Id: I52b241b2cdb792be74390cbaa09a728ddbe6593a
diff --git a/plat/mediatek/mt8186/drivers/spm/mt_spm_internal.h b/plat/mediatek/mt8186/drivers/spm/mt_spm_internal.h
index 760900d..8cf2062 100644
--- a/plat/mediatek/mt8186/drivers/spm/mt_spm_internal.h
+++ b/plat/mediatek/mt8186/drivers/spm/mt_spm_internal.h
@@ -577,6 +577,8 @@
extern void __spm_clean_after_wakeup(void);
extern wake_reason_t __spm_output_wake_reason(int state_id,
const struct wake_status *wakesta);
+extern void __spm_sync_vcore_dvfs_power_control(struct pwr_ctrl *dest_pwr_ctrl,
+ const struct pwr_ctrl *src_pwr_ctrl);
extern void __spm_set_pcm_wdt(int en);
extern uint32_t _spm_get_wake_period(int pwake_time, wake_reason_t last_wr);
extern void __spm_set_fw_resume_option(struct pwr_ctrl *pwrctrl);