mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
Merge branch 'fix/fix_cnnt_top_dependency_v6.0' into 'release/v6.0'
fix(esp_hw_support): fix TOP domain to CNNT domian dependency (v6.0) See merge request espressif/esp-idf!44950
This commit is contained in:
@@ -2834,7 +2834,8 @@ static SLEEP_FN_ATTR uint32_t get_power_down_flags(void)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if SOC_PM_SUPPORT_CNNT_PD
|
#if SOC_PM_SUPPORT_CNNT_PD
|
||||||
if (s_config.domain[ESP_PD_DOMAIN_CNNT].pd_option != ESP_PD_OPTION_ON && top_domain_pd_allowed()) {
|
// The TOP domain depends on the CNNT domain, only after the TOP power domain has been powered off is the CNNT power domain allowed to power down.
|
||||||
|
if (s_config.domain[ESP_PD_DOMAIN_CNNT].pd_option != ESP_PD_OPTION_ON && (pd_flags & PMU_SLEEP_PD_TOP)) {
|
||||||
pd_flags |= PMU_SLEEP_PD_CNNT;
|
pd_flags |= PMU_SLEEP_PD_CNNT;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user