feat(mt8196): refactor LPM header include paths to use lpm_v2

These changes align the project with the latest directory structure
and ensure consistency in header references.

Signed-off-by: Wenzhen Yu <wenzhen.yu@mediatek.com>
Change-Id: I7f3c42cbd9a803064bbfed67cd8f309638da8441
This commit is contained in:
Wenzhen Yu 2025-02-05 13:33:49 +08:00 committed by Gavin Liu
parent 0d8c101cd9
commit 6fac00a490
4 changed files with 8 additions and 8 deletions

View file

@ -14,7 +14,7 @@
#include <lib/mtk_init/mtk_init.h>
#include <lib/pm/mtk_pm.h>
#include <lpm/mt_lp_rm.h>
#include <lpm_v2/mt_lp_rm.h>
#include "mt_cpu_pm.h"
#include "mt_cpu_pm_cpc.h"
#include "mt_cpu_pm_mbox.h"
@ -773,11 +773,13 @@ static int cpupm_pwr_state_valid(unsigned int afflv, unsigned int state)
static int cpupm_invoke(unsigned int func_id, void *priv)
{
int ret = MTK_CPUPM_E_OK;
#ifdef CPU_PM_SUSPEND_NOTIFY
int i, reverse = 0;
struct cpupm_invoke_data *save_status = (struct cpupm_invoke_data *) priv;
unsigned int cpu_status;
#endif
struct cpupm_pwr_req *req = (struct cpupm_pwr_req *)priv;
unsigned int pwr_req = req->req;
unsigned int cpu_status;
switch (func_id) {
#ifdef CPU_PM_SUSPEND_NOTIFY

View file

@ -7,9 +7,9 @@
#ifndef MT_CPU_PM_SMC_H
#define MT_CPU_PM_SMC_H
#include <lpm/mt_lp_rm.h>
#include <lpm/mt_lpm_dispatch.h>
#include <lpm/mt_lpm_smc.h>
#include <lpm_v2/mt_lp_rm.h>
#include <lpm_v2/mt_lpm_dispatch.h>
#include <lpm_v2/mt_lpm_smc.h>
void cpupm_smc_init(void);

View file

@ -12,7 +12,7 @@
#include <platform_def.h>
#include <lib/pm/mtk_pm.h>
#include <lpm/mt_lp_rm.h>
#include <lpm_v2/mt_lp_rm.h>
#include "mt_cpu_pm.h"
#include "mt_lp_irqremain.h"

View file

@ -29,8 +29,6 @@ $(eval $(call add_defined_option,CPU_PM_DOMAIN_CORE_ONLY))
$(eval $(call add_defined_option,CPU_PM_CORE_ARCH64_ONLY))
$(eval $(call add_defined_option,CPU_PM_TINYSYS_SUPPORT))
$(eval $(call add_defined_option,CPU_PM_SUSPEND_NOTIFY))
$(eval $(call add_defined_option,CPU_PM_PWR_REQ))
$(eval $(call add_defined_option,CPU_PM_PWR_REQ_DEBUG))