From 3b6f8b1f3da033a6f851516d90fab9598f643e42 Mon Sep 17 00:00:00 2001 From: Li Shuai Date: Wed, 28 Aug 2024 14:31:39 +0800 Subject: [PATCH] fix(esp32c61): enable soc caps macro to fix regdma wait compare bug --- .../soc/esp32c61/include/soc/Kconfig.soc_caps.in | 12 ++++++++++++ components/soc/esp32c61/include/soc/soc_caps.h | 2 ++ 2 files changed, 14 insertions(+) diff --git a/components/soc/esp32c61/include/soc/Kconfig.soc_caps.in b/components/soc/esp32c61/include/soc/Kconfig.soc_caps.in index 5a8a112cfa..84726d1f45 100644 --- a/components/soc/esp32c61/include/soc/Kconfig.soc_caps.in +++ b/components/soc/esp32c61/include/soc/Kconfig.soc_caps.in @@ -863,6 +863,18 @@ config SOC_PM_PAU_LINK_NUM int default 4 +config SOC_PM_PAU_REGDMA_LINK_MULTI_ADDR + bool + default y + +config SOC_PM_PAU_REGDMA_LINK_WIFIMAC + bool + default y + +config SOC_PM_PAU_REGDMA_UPDATE_CACHE_BEFORE_WAIT_COMPARE + bool + default y + config SOC_CLK_RC_FAST_SUPPORT_CALIBRATION bool default y diff --git a/components/soc/esp32c61/include/soc/soc_caps.h b/components/soc/esp32c61/include/soc/soc_caps.h index f894135e89..97eb9686ca 100644 --- a/components/soc/esp32c61/include/soc/soc_caps.h +++ b/components/soc/esp32c61/include/soc/soc_caps.h @@ -444,6 +444,8 @@ #define SOC_PM_PAU_REGDMA_LINK_MULTI_ADDR (1) #define SOC_PM_PAU_REGDMA_LINK_WIFIMAC (1) +#define SOC_PM_PAU_REGDMA_UPDATE_CACHE_BEFORE_WAIT_COMPARE (1) + /*-------------------------- CLOCK SUBSYSTEM CAPS ----------------------------------------*/ #define SOC_CLK_RC_FAST_SUPPORT_CALIBRATION (1) #define SOC_MODEM_CLOCK_IS_INDEPENDENT (1)