mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
Merge branch 'fix/esp32p4_xtal_path_not_on_top_v5.4' into 'release/v5.4'
fix(esp_hw_support): fix esp32p4 xtal_xpd depends on TOP power domain (v5.4) See merge request espressif/esp-idf!38452
This commit is contained in:
@@ -2310,7 +2310,9 @@ FORCE_INLINE_ATTR bool top_domain_pd_allowed(void) {
|
||||
#if SOC_PM_SUPPORT_MODEM_PD
|
||||
top_pd_allowed &= modem_domain_pd_allowed();
|
||||
#endif
|
||||
#if SOC_XTAL_CLOCK_PATH_DEPENDS_ON_TOP_DOMAIN
|
||||
top_pd_allowed &= (s_config.domain[ESP_PD_DOMAIN_XTAL].pd_option != ESP_PD_OPTION_ON);
|
||||
#endif
|
||||
|
||||
return top_pd_allowed;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user