File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed
Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -2441,6 +2441,11 @@ FORCE_INLINE_ATTR bool top_domain_pd_allowed(void) {
24412441#if SOC_XTAL_CLOCK_PATH_DEPENDS_ON_TOP_DOMAIN
24422442 top_pd_allowed &= (s_config .domain [ESP_PD_DOMAIN_XTAL ].pd_option != ESP_PD_OPTION_ON );
24432443#endif
2444+ #if SOC_PM_TOP_PD_NOT_ALLOWED
2445+ // TODO: PM-436, Need to use efuse_hal_chip_revision() to determine whether
2446+ // the TOP domain power-down is allowed
2447+ top_pd_allowed = false;
2448+ #endif
24442449
24452450 return top_pd_allowed ;
24462451}
Original file line number Diff line number Diff line change @@ -1615,6 +1615,10 @@ config SOC_EXT_MEM_CACHE_TAG_IN_CPU_DOMAIN
16151615 bool
16161616 default y
16171617
1618+ config SOC_PM_TOP_PD_NOT_ALLOWED
1619+ bool
1620+ default y
1621+
16181622config SOC_PM_PAU_LINK_NUM
16191623 int
16201624 default 5
Original file line number Diff line number Diff line change 636636#define SOC_PM_CPU_RETENTION_BY_SW (1)
637637#define SOC_PM_MODEM_RETENTION_BY_REGDMA (1)
638638#define SOC_EXT_MEM_CACHE_TAG_IN_CPU_DOMAIN (1)
639+ #define SOC_PM_TOP_PD_NOT_ALLOWED (1)
639640
640641#define SOC_PM_PAU_LINK_NUM (5)
641642#define SOC_PM_PAU_REGDMA_LINK_CONFIGURABLE (1)
You can’t perform that action at this time.
0 commit comments