From 4df0db5201da44f71c0e79449bf576f1979cbf80 Mon Sep 17 00:00:00 2001 From: wuzhenghui Date: Mon, 13 Apr 2026 17:40:04 +0800 Subject: [PATCH] change(esp_hw_support): GPIO wakeup source is not avaliable if HP periph is off on s31 --- components/soc/esp32s31/include/soc/Kconfig.soc_caps.in | 8 -------- components/soc/esp32s31/include/soc/soc_caps.h | 4 ---- 2 files changed, 12 deletions(-) diff --git a/components/soc/esp32s31/include/soc/Kconfig.soc_caps.in b/components/soc/esp32s31/include/soc/Kconfig.soc_caps.in index e25b0b4cb0a..2399a115845 100644 --- a/components/soc/esp32s31/include/soc/Kconfig.soc_caps.in +++ b/components/soc/esp32s31/include/soc/Kconfig.soc_caps.in @@ -459,10 +459,6 @@ config SOC_GPIO_SUPPORT_ETM bool default y -config SOC_GPIO_SUPPORT_HP_PERIPH_PD_SLEEP_WAKEUP - bool - default y - config SOC_GPIO_NEED_SOFT_ISOLATE_DURING_PD bool default y @@ -483,10 +479,6 @@ config SOC_GPIO_OUT_RANGE_MAX int default 61 -config SOC_GPIO_HP_PERIPH_PD_SLEEP_WAKEABLE_MASK - int - default 0 - config SOC_GPIO_SUPPORT_FORCE_HOLD bool default y diff --git a/components/soc/esp32s31/include/soc/soc_caps.h b/components/soc/esp32s31/include/soc/soc_caps.h index 58c762bdb20..ee6401d6a26 100644 --- a/components/soc/esp32s31/include/soc/soc_caps.h +++ b/components/soc/esp32s31/include/soc/soc_caps.h @@ -185,8 +185,6 @@ // GPIO peripheral has the ETM extension #define SOC_GPIO_SUPPORT_ETM 1 -// GPIO0~7 on ESP32S31 can support chip deep sleep wakeup -#define SOC_GPIO_SUPPORT_HP_PERIPH_PD_SLEEP_WAKEUP (1) #define SOC_GPIO_NEED_SOFT_ISOLATE_DURING_PD (1) #define SOC_LP_IO_HAS_INDEPENDENT_WAKEUP_SOURCE (1) @@ -199,8 +197,6 @@ #define SOC_GPIO_IN_RANGE_MAX 61 #define SOC_GPIO_OUT_RANGE_MAX 61 -#define SOC_GPIO_HP_PERIPH_PD_SLEEP_WAKEABLE_MASK (0ULL | 0xFF) - // digital I/O pad powered by VDD3V3_CPU or VDD_SPI(GPIO_NUM_8~GPIO_NUM_61, excluding GPIO29/41 which are not bonded) #define SOC_GPIO_VALID_DIGITAL_IO_PAD_MASK (SOC_GPIO_VALID_GPIO_MASK & ~((1ULL << SOC_RTCIO_PIN_COUNT) - 1))