From c9d4913393573ac9fcc5d2d8f64114829a498745 Mon Sep 17 00:00:00 2001 From: "chaijie@espressif.com" Date: Wed, 4 Sep 2024 15:02:15 +0800 Subject: [PATCH] fix(sleep): fix_wrong_sleep_param_for_lp_memory_retention --- components/esp_hw_support/port/esp32c5/pmu_param.c | 2 +- .../esp_hw_support/port/esp32c5/private_include/pmu_param.h | 2 +- components/esp_hw_support/port/esp32c61/pmu_param.c | 2 +- .../esp_hw_support/port/esp32c61/private_include/pmu_param.h | 2 +- components/esp_hw_support/port/esp32p4/pmu_param.c | 2 +- .../esp_hw_support/port/esp32p4/private_include/pmu_param.h | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/components/esp_hw_support/port/esp32c5/pmu_param.c b/components/esp_hw_support/port/esp32c5/pmu_param.c index 755ffcae99..c9b691c719 100644 --- a/components/esp_hw_support/port/esp32c5/pmu_param.c +++ b/components/esp_hw_support/port/esp32c5/pmu_param.c @@ -390,7 +390,7 @@ const pmu_hp_system_retention_param_t * pmu_hp_system_retention_param_default(pm #define PMU_LP_SLEEP_POWER_CONFIG_DEFAULT() { \ .dig_power = { \ - .mem_dslp = 1, \ + .mem_dslp = 0, \ .peri_pd_en = 0, \ }, \ .clk_power = { \ diff --git a/components/esp_hw_support/port/esp32c5/private_include/pmu_param.h b/components/esp_hw_support/port/esp32c5/private_include/pmu_param.h index ff4ae179de..8e9909749b 100644 --- a/components/esp_hw_support/port/esp32c5/private_include/pmu_param.h +++ b/components/esp_hw_support/port/esp32c5/private_include/pmu_param.h @@ -309,7 +309,7 @@ typedef struct { .lp_sys[PMU_MODE_LP_SLEEP] = { \ .dig_power = { \ .peri_pd_en = ((pd_flags) & PMU_SLEEP_PD_LP_PERIPH) ? 1 : 0, \ - .mem_dslp = 1 \ + .mem_dslp = 0 \ }, \ .clk_power = { \ .xpd_xtal32k = ((pd_flags) & PMU_SLEEP_PD_XTAL32K) ? 0 : 1, \ diff --git a/components/esp_hw_support/port/esp32c61/pmu_param.c b/components/esp_hw_support/port/esp32c61/pmu_param.c index f824c44975..226f03c7fd 100644 --- a/components/esp_hw_support/port/esp32c61/pmu_param.c +++ b/components/esp_hw_support/port/esp32c61/pmu_param.c @@ -389,7 +389,7 @@ const pmu_hp_system_retention_param_t * pmu_hp_system_retention_param_default(pm #define PMU_LP_SLEEP_POWER_CONFIG_DEFAULT() { \ .dig_power = { \ - .mem_dslp = 1, \ + .mem_dslp = 0, \ .peri_pd_en = 0, \ }, \ .clk_power = { \ diff --git a/components/esp_hw_support/port/esp32c61/private_include/pmu_param.h b/components/esp_hw_support/port/esp32c61/private_include/pmu_param.h index ee5384e527..36fa4c4a3c 100644 --- a/components/esp_hw_support/port/esp32c61/private_include/pmu_param.h +++ b/components/esp_hw_support/port/esp32c61/private_include/pmu_param.h @@ -305,7 +305,7 @@ typedef struct { .lp_sys[PMU_MODE_LP_SLEEP] = { \ .dig_power = { \ .peri_pd_en = ((pd_flags) & PMU_SLEEP_PD_LP_PERIPH) ? 1 : 0, \ - .mem_dslp = 1 \ + .mem_dslp = 0 \ }, \ .clk_power = { \ .xpd_xtal32k = ((pd_flags) & PMU_SLEEP_PD_XTAL32K) ? 0 : 1, \ diff --git a/components/esp_hw_support/port/esp32p4/pmu_param.c b/components/esp_hw_support/port/esp32p4/pmu_param.c index 362f6b9b73..0905a1268a 100644 --- a/components/esp_hw_support/port/esp32p4/pmu_param.c +++ b/components/esp_hw_support/port/esp32p4/pmu_param.c @@ -292,7 +292,7 @@ const pmu_hp_system_retention_param_t * pmu_hp_system_retention_param_default(pm .lp_pad_slp_sel = 0, \ .bod_source_sel = 0, \ .vddbat_mode = 0, \ - .mem_dslp = 1, \ + .mem_dslp = 0, \ .peri_pd_en = 0, \ }, \ .clk_power = { \ diff --git a/components/esp_hw_support/port/esp32p4/private_include/pmu_param.h b/components/esp_hw_support/port/esp32p4/private_include/pmu_param.h index 966b5611de..bd44cb9d94 100644 --- a/components/esp_hw_support/port/esp32p4/private_include/pmu_param.h +++ b/components/esp_hw_support/port/esp32p4/private_include/pmu_param.h @@ -303,7 +303,7 @@ typedef struct { .bod_source_sel = 0, \ .vddbat_mode = 0, \ .peri_pd_en = ((pd_flags) & PMU_SLEEP_PD_LP_PERIPH) ? 1 : 0, \ - .mem_dslp = 1 \ + .mem_dslp = 0 \ }, \ .clk_power = { \ .xpd_lppll = 0,\