From 12491d21cf83ffd98884e6bab622eb02f0322b4d Mon Sep 17 00:00:00 2001 From: hongshuqing Date: Thu, 23 Apr 2026 17:43:07 +0800 Subject: [PATCH] feat(pmu): chip764 active dbias update --- components/esp_hw_support/port/esp32s31/pmu_sleep.c | 4 ++-- .../port/esp32s31/private_include/pmu_param.h | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/components/esp_hw_support/port/esp32s31/pmu_sleep.c b/components/esp_hw_support/port/esp32s31/pmu_sleep.c index 2f4f9ba18cc..8449304dcd7 100644 --- a/components/esp_hw_support/port/esp32s31/pmu_sleep.c +++ b/components/esp_hw_support/port/esp32s31/pmu_sleep.c @@ -206,7 +206,7 @@ const pmu_sleep_config_t* pmu_sleep_config_default( analog_default.hp_sys.analog.pd_cur = PMU_PD_CUR_SLEEP_ON; analog_default.hp_sys.analog.bias_sleep = PMU_BIASSLP_SLEEP_ON; analog_default.hp_sys.analog.dbg_atten = PMU_DBG_ATTEN_ACTIVE_DEFAULT; - analog_default.hp_sys.analog.dbias = HP_CALI_ACTIVE_DBIAS_DEFAULT; + analog_default.hp_sys.analog.dbias = HP_CALI_DBIAS_DEFAULT; // Analog parameters in LP_SLEEP analog_default.lp_sys[LP(SLEEP)].analog.pd_cur = PMU_PD_CUR_SLEEP_ON; @@ -222,7 +222,7 @@ const pmu_sleep_config_t* pmu_sleep_config_default( config->analog.hp_sys.analog.pd_cur = PMU_PD_CUR_SLEEP_ON; config->analog.hp_sys.analog.bias_sleep = PMU_BIASSLP_SLEEP_ON; config->analog.hp_sys.analog.dbg_atten = PMU_DBG_ATTEN_ACTIVE_DEFAULT; - config->analog.hp_sys.analog.dbias = HP_CALI_ACTIVE_DBIAS_DEFAULT; + config->analog.hp_sys.analog.dbias = HP_CALI_DBIAS_DEFAULT; } config->power = power_default; diff --git a/components/esp_hw_support/port/esp32s31/private_include/pmu_param.h b/components/esp_hw_support/port/esp32s31/private_include/pmu_param.h index 71a473fa548..652d9d82601 100644 --- a/components/esp_hw_support/port/esp32s31/private_include/pmu_param.h +++ b/components/esp_hw_support/port/esp32s31/private_include/pmu_param.h @@ -16,13 +16,11 @@ extern "C" { #endif -#define HP_CALI_DBIAS_DEFAULT 24 -#define LP_CALI_DBIAS_DEFAULT 24 +#define HP_CALI_DBIAS_DEFAULT 26 +#define LP_CALI_DBIAS_DEFAULT 26 #define HP_CALI_DBIAS_SLP_1V1 22 #define LP_CALI_DBIAS_SLP_1V1 22 -#define HP_CALI_ACTIVE_DBIAS_DEFAULT 24 // For HP regulator - // FOR XTAL FORCE PU IN SLEEP #define PMU_PD_CUR_SLEEP_ON 0 #define PMU_BIASSLP_SLEEP_ON 0