feat(esp_hw_support): fix esp32p4 PVT retention link

This commit is contained in:
wuzhenghui
2026-07-17 16:26:44 +08:00
committed by yanzihan@espressif.com
parent 8f7988effc
commit 00931f555f
3 changed files with 28 additions and 6 deletions
+4
View File
@@ -779,6 +779,10 @@ static SLEEP_FN_ATTR void misc_modules_sleep_prepare(uint32_t sleep_flags, bool
static SLEEP_FN_ATTR void misc_modules_wake_prepare(uint32_t sleep_flags)
{
#if CONFIG_ESP_ENABLE_PVT && SOC_PVT_EN_WITH_SLEEP
if ((sleep_flags & PMU_SLEEP_PD_CPU) && !(sleep_flags & PMU_SLEEP_PD_TOP)) {
/* If TOP is powered down, configuration in pvt_auto_dbias_init was already restored in wakeup retention*/
pvt_auto_dbias_init();
}
pvt_func_enable(true);
#endif