forked from espressif/esp-idf
change(esp_hw_support): force top domain power up during sleep
This commit is contained in:
@@ -2441,6 +2441,11 @@ FORCE_INLINE_ATTR bool top_domain_pd_allowed(void) {
|
|||||||
#if SOC_XTAL_CLOCK_PATH_DEPENDS_ON_TOP_DOMAIN
|
#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);
|
top_pd_allowed &= (s_config.domain[ESP_PD_DOMAIN_XTAL].pd_option != ESP_PD_OPTION_ON);
|
||||||
#endif
|
#endif
|
||||||
|
#if SOC_PM_TOP_PD_NOT_ALLOWED
|
||||||
|
// TODO: PM-436, Need to use efuse_hal_chip_revision() to determine whether
|
||||||
|
// the TOP domain power-down is allowed
|
||||||
|
top_pd_allowed = false;
|
||||||
|
#endif
|
||||||
|
|
||||||
return top_pd_allowed;
|
return top_pd_allowed;
|
||||||
}
|
}
|
||||||
|
@@ -1631,6 +1631,10 @@ config SOC_EXT_MEM_CACHE_TAG_IN_CPU_DOMAIN
|
|||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
config SOC_PM_TOP_PD_NOT_ALLOWED
|
||||||
|
bool
|
||||||
|
default y
|
||||||
|
|
||||||
config SOC_PM_PAU_LINK_NUM
|
config SOC_PM_PAU_LINK_NUM
|
||||||
int
|
int
|
||||||
default 5
|
default 5
|
||||||
|
@@ -640,6 +640,7 @@
|
|||||||
#define SOC_PM_CPU_RETENTION_BY_SW (1)
|
#define SOC_PM_CPU_RETENTION_BY_SW (1)
|
||||||
#define SOC_PM_MODEM_RETENTION_BY_REGDMA (1)
|
#define SOC_PM_MODEM_RETENTION_BY_REGDMA (1)
|
||||||
#define SOC_EXT_MEM_CACHE_TAG_IN_CPU_DOMAIN (1)
|
#define SOC_EXT_MEM_CACHE_TAG_IN_CPU_DOMAIN (1)
|
||||||
|
#define SOC_PM_TOP_PD_NOT_ALLOWED (1)
|
||||||
|
|
||||||
#define SOC_PM_PAU_LINK_NUM (5)
|
#define SOC_PM_PAU_LINK_NUM (5)
|
||||||
#define SOC_PM_PAU_REGDMA_LINK_CONFIGURABLE (1)
|
#define SOC_PM_PAU_REGDMA_LINK_CONFIGURABLE (1)
|
||||||
|
Reference in New Issue
Block a user