From c11f49e2cb2a3cc18b211a9f88f786eac43e149a Mon Sep 17 00:00:00 2001 From: wuzhenghui Date: Tue, 18 Feb 2025 21:06:07 +0800 Subject: [PATCH] feat(soc): update esp32h21 pau registers --- .../esp32h21/include/soc/Kconfig.soc_caps.in | 18 +++++++++++++++++- components/soc/esp32h21/include/soc/soc_caps.h | 10 +++++----- components/soc/esp32h21/register/soc/pau_reg.h | 2 +- .../soc/esp32h21/register/soc/pau_struct.h | 2 +- 4 files changed, 24 insertions(+), 8 deletions(-) diff --git a/components/soc/esp32h21/include/soc/Kconfig.soc_caps.in b/components/soc/esp32h21/include/soc/Kconfig.soc_caps.in index 4c7a35ad72..92a2b39f61 100644 --- a/components/soc/esp32h21/include/soc/Kconfig.soc_caps.in +++ b/components/soc/esp32h21/include/soc/Kconfig.soc_caps.in @@ -669,7 +669,23 @@ config SOC_PM_SUPPORT_TOP_PD config SOC_PM_PAU_LINK_NUM int - default 4 + default 5 + +config SOC_PM_PAU_REGDMA_LINK_CONFIGURABLE + bool + default y + +config SOC_PM_CPU_RETENTION_BY_SW + bool + default y + +config SOC_PM_MODEM_RETENTION_BY_REGDMA + bool + default y + +config SOC_PM_SUPPORT_DEEPSLEEP_CHECK_STUB_ONLY + bool + default y config SOC_CLK_RC_FAST_SUPPORT_CALIBRATION bool diff --git a/components/soc/esp32h21/include/soc/soc_caps.h b/components/soc/esp32h21/include/soc/soc_caps.h index 7fd716a7d8..1a6c4bb68a 100644 --- a/components/soc/esp32h21/include/soc/soc_caps.h +++ b/components/soc/esp32h21/include/soc/soc_caps.h @@ -528,11 +528,11 @@ #define SOC_PM_SUPPORT_RC_FAST_PD (1) #define SOC_PM_SUPPORT_VDDSDIO_PD (1) #define SOC_PM_SUPPORT_TOP_PD (1) -#define SOC_PM_PAU_LINK_NUM (4) -// #define SOC_PM_CPU_RETENTION_BY_SW (1) -// #define SOC_PM_MODEM_RETENTION_BY_REGDMA (1) -// #define SOC_PM_SUPPORT_DEEPSLEEP_CHECK_STUB_ONLY (1) /*!