From d89b9cb674abe01bc1292d9e138316c551a06077 Mon Sep 17 00:00:00 2001 From: Li Shuai Date: Tue, 11 Mar 2025 16:39:28 +0800 Subject: [PATCH] change(esp_hw_support): this change needs to be reverted when the PMU build --- .../esp32h21/include/soc/Kconfig.soc_caps.in | 24 +++++-------------- .../soc/esp32h21/include/soc/soc_caps.h | 18 +++++++------- 2 files changed, 15 insertions(+), 27 deletions(-) diff --git a/components/soc/esp32h21/include/soc/Kconfig.soc_caps.in b/components/soc/esp32h21/include/soc/Kconfig.soc_caps.in index a37d41c1d9..e044bee30e 100644 --- a/components/soc/esp32h21/include/soc/Kconfig.soc_caps.in +++ b/components/soc/esp32h21/include/soc/Kconfig.soc_caps.in @@ -59,14 +59,6 @@ config SOC_FLASH_ENC_SUPPORTED bool default y -config SOC_PMU_SUPPORTED - bool - default y - -config SOC_LP_TIMER_SUPPORTED - bool - default y - config SOC_SPI_FLASH_SUPPORTED bool default y @@ -83,10 +75,6 @@ config SOC_PAU_SUPPORTED bool default y -config SOC_PM_SUPPORTED - bool - default y - config SOC_XTAL_SUPPORT_32M bool default y @@ -717,23 +705,23 @@ config SOC_PHY_DIG_REGS_MEM_SIZE config SOC_PM_SUPPORT_BT_WAKEUP bool - default n + default y config SOC_PM_SUPPORT_EXT1_WAKEUP bool - default n + default y config SOC_PM_SUPPORT_EXT1_WAKEUP_MODE_PER_PIN bool - default n + default y config SOC_PM_SUPPORT_CPU_PD bool - default n + default y config SOC_PM_SUPPORT_MODEM_PD bool - default n + default y config SOC_PM_SUPPORT_XTAL32K_PD bool @@ -753,7 +741,7 @@ config SOC_PM_SUPPORT_VDDSDIO_PD config SOC_PM_SUPPORT_TOP_PD bool - default n + default y config SOC_PM_PAU_LINK_NUM int diff --git a/components/soc/esp32h21/include/soc/soc_caps.h b/components/soc/esp32h21/include/soc/soc_caps.h index 13c7a1c1a0..8f9ff82c7f 100644 --- a/components/soc/esp32h21/include/soc/soc_caps.h +++ b/components/soc/esp32h21/include/soc/soc_caps.h @@ -54,8 +54,8 @@ // #define SOC_SECURE_BOOT_SUPPORTED 1 //TODO: [ESP32H21] IDF-11500 // #define SOC_BOD_SUPPORTED 1 //TODO: [ESP32H21] IDF-11530 // #define SOC_APM_SUPPORTED 1 //TODO: [ESP32H21] IDF-11494 -#define SOC_PMU_SUPPORTED 1 -#define SOC_LP_TIMER_SUPPORTED 1 +// #define SOC_PMU_SUPPORTED 1 +// #define SOC_LP_TIMER_SUPPORTED 1 // #define SOC_LP_AON_SUPPORTED 1 // #define SOC_LP_PERIPHERALS_SUPPORTED 1 // #define SOC_CLK_TREE_SUPPORTED 1 //TODO: [ESP32H21] IDF-11521 @@ -78,7 +78,7 @@ // #define SOC_LIGHT_SLEEP_SUPPORTED 1 //TODO: [ESP32H21] IDF-11517, IDF-11520 // #define SOC_DEEP_SLEEP_SUPPORTED 1 //TODO: [ESP32H21] IDF-11515 // #define SOC_MODEM_CLOCK_SUPPORTED 1 -#define SOC_PM_SUPPORTED 1 +// #define SOC_PM_SUPPORTED 1 /*-------------------------- XTAL CAPS ---------------------------------------*/ #define SOC_XTAL_SUPPORT_32M 1 @@ -520,16 +520,16 @@ #define SOC_PHY_DIG_REGS_MEM_SIZE (21*4) /*-------------------------- Power Management CAPS ----------------------------*/ -#define SOC_PM_SUPPORT_BT_WAKEUP (0) -#define SOC_PM_SUPPORT_EXT1_WAKEUP (0) -#define SOC_PM_SUPPORT_EXT1_WAKEUP_MODE_PER_PIN (0) /*!