Skip to content

Commit c11f49e

Browse files
committed
feat(soc): update esp32h21 pau registers
1 parent 9f489c2 commit c11f49e

File tree

4 files changed

+24
-8
lines changed

4 files changed

+24
-8
lines changed

components/soc/esp32h21/include/soc/Kconfig.soc_caps.in

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,23 @@ config SOC_PM_SUPPORT_TOP_PD
669669

670670
config SOC_PM_PAU_LINK_NUM
671671
int
672-
default 4
672+
default 5
673+
674+
config SOC_PM_PAU_REGDMA_LINK_CONFIGURABLE
675+
bool
676+
default y
677+
678+
config SOC_PM_CPU_RETENTION_BY_SW
679+
bool
680+
default y
681+
682+
config SOC_PM_MODEM_RETENTION_BY_REGDMA
683+
bool
684+
default y
685+
686+
config SOC_PM_SUPPORT_DEEPSLEEP_CHECK_STUB_ONLY
687+
bool
688+
default y
673689

674690
config SOC_CLK_RC_FAST_SUPPORT_CALIBRATION
675691
bool

components/soc/esp32h21/include/soc/soc_caps.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -528,11 +528,11 @@
528528
#define SOC_PM_SUPPORT_RC_FAST_PD (1)
529529
#define SOC_PM_SUPPORT_VDDSDIO_PD (1)
530530
#define SOC_PM_SUPPORT_TOP_PD (1)
531-
#define SOC_PM_PAU_LINK_NUM (4)
532-
// #define SOC_PM_CPU_RETENTION_BY_SW (1)
533-
// #define SOC_PM_MODEM_RETENTION_BY_REGDMA (1)
534-
// #define SOC_PM_SUPPORT_DEEPSLEEP_CHECK_STUB_ONLY (1) /*!<Supports CRC only the stub code in RTC memory */
535-
// #define SOC_PM_RETENTION_SW_TRIGGER_REGDMA (1) /*!< In esp32H2, regdma will power off when entering sleep */
531+
#define SOC_PM_PAU_LINK_NUM (5)
532+
#define SOC_PM_PAU_REGDMA_LINK_CONFIGURABLE (1)
533+
#define SOC_PM_CPU_RETENTION_BY_SW (1)
534+
#define SOC_PM_MODEM_RETENTION_BY_REGDMA (1)
535+
#define SOC_PM_SUPPORT_DEEPSLEEP_CHECK_STUB_ONLY (1) /*!<Supports CRC only the stub code in RTC memory */
536536

537537
/*-------------------------- CLOCK SUBSYSTEM CAPS ----------------------------------------*/
538538
#define SOC_CLK_RC_FAST_SUPPORT_CALIBRATION (1)

components/soc/esp32h21/register/soc/pau_reg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
2+
* SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/

components/soc/esp32h21/register/soc/pau_struct.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD
2+
* SPDX-FileCopyrightText: 2025 Espressif Systems (Shanghai) CO LTD
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/

0 commit comments

Comments
 (0)