change(esp_hw_support): allow rtc_periph pd when top pd for esp32h4 eco1

This commit is contained in:
hebinglin
2026-04-17 17:29:27 +08:00
parent 4b2e135fd0
commit c2a371a20d
5 changed files with 19 additions and 3 deletions
+2 -2
View File
@@ -2962,9 +2962,9 @@ static SLEEP_FN_ATTR uint32_t get_power_down_flags(void)
}
#endif
#if CONFIG_IDF_TARGET_ESP32C6
#if SOC_PM_TOP_DEPENDS_ON_RTC_PERIPH
if (!(pd_flags & PMU_SLEEP_PD_TOP)) {
// TOP power domain depends on the RTC_PERIPH power domain on ESP32C6, RTC_PERIPH should only be disabled when the TOP domain is down.
// TOP power domain depends on the RTC_PERIPH power domain on ESP32C6 and ESP32H4, RTC_PERIPH should only be disabled when the TOP domain is down.
pd_flags &= ~RTC_SLEEP_PD_RTC_PERIPH;
}
#endif