refactor(pmu): move S31 dbias vol gap getter from efuse_ll to pmu_ll

Keep PMU calibration efuse reads in the PMU LL layer, matching other chips.
This commit is contained in:
Michael.B
2026-09-19 01:25:16 +08:00
parent 72e5590290
commit 6fc617c06a
3 changed files with 7 additions and 7 deletions
@@ -20,7 +20,6 @@
#include "soc/regi2c_dig_reg.h"
#include "regi2c_ctrl.h"
#include "soc/rtc.h"
#include "hal/efuse_ll.h"
#include "hal/efuse_hal.h"
#include "esp_hw_log.h"
#include "soc/hp_sys_clkrst_reg.h"
@@ -36,7 +35,7 @@ static uint8_t get_lp_hp_gap(void)
uint32_t blk_version = efuse_hal_blk_version();
uint8_t lp_hp_gap_efuse = 0;
if (blk_version >= 1) {
lp_hp_gap_efuse = efuse_ll_get_dbias_vol_gap();
lp_hp_gap_efuse = pmu_ll_get_dbias_vol_gap();
bool gap_flag = lp_hp_gap_efuse >> 4;
uint8_t gap_abs_value = lp_hp_gap_efuse & 0xf;
if (gap_flag) {