Commit Graph
3057 Commits
Author SHA1 Message Date
sibeibei f7a2fc94a6 feat(pm): select XTAL for HP dig_sysclk in modem state
On ESP32-S31, SOC and modem APB are decoupled, so the digital
system can run from XTAL while the modem domain stays in modem state.
2026-06-10 20:41:47 +08:00
sibeibei 1aeb773781 feat(wifi): enable pll clk in modem state 2026-06-10 20:41:04 +08:00
sibeibei 9a3b0b5f02 update(pmu_sleep): enable SOC_PM_PMU_MIN_SLP_SLOW_CLK_CYCLE_FIXED 2026-06-10 20:40:09 +08:00
sibeibei 4c9cdf8710 update(pmu_param): update hp modem clk config 2026-06-10 20:39:53 +08:00
sibeibei 3ec6a50986 update(sleep_clock.c): update clock retention 2026-06-10 20:39:42 +08:00
sibeibei 32a7c32c25 bugfix(apm): workaround to clear apm related reg on S31
Until full TEE/APM retention is supported (IDF-14620).
2026-06-10 20:39:29 +08:00
sibeibei d0434b0ddd change(esp_hw_support): enable wifi beacon wakeup and support wifi modem state for esp32s31 2026-06-10 20:39:21 +08:00
hebinglin f35500a156 fix(esp_hw_support): fix retention hang when no module in link 2026-06-05 11:32:50 +08:00
Jiang Jiang Jian 1280ccfbec Merge branch 'bugfix/add_monitor_en_rst_in_pvt_func_backport_v6.1' into 'release/v6.1'
feat(pvt): fix monitor en rst error in pvt func on v 6.1

See merge request espressif/esp-idf!49028
2026-06-05 10:29:54 +08:00
Jiang Jiang Jian d5ad96e397 Merge branch 'task/v2_aware_component_and_test_gates_v6.1' into 'release/v6.1'
fix(components): linux host-build failure fixes+ disable esp_tee in buildv2 + esp_hw_support and xtensa fixes (v6.1)

See merge request espressif/esp-idf!48919
2026-06-05 10:27:29 +08:00
yanzihan@espressif.com 431ff945c7 feat(pvt): fix monitor en rst error in pvt func on v6.1 2026-06-04 17:34:54 +08:00
morris ce34e39eac Merge branch 'feat/debug_probe_esp32s31_v6.1' into 'release/v6.1'
feat(debug): add esp32s31 debug probe support (v6.1)

See merge request espressif/esp-idf!48893
2026-06-04 11:19:51 +08:00
morris fe819275c0 Merge branch 'doc/update_ldo_doc_esp32s31_v6.1' into 'release/v6.1'
docs(ldo): corrected the LDO channel numbers in the programming guide (v6.1)

See merge request espressif/esp-idf!49159
2026-06-04 11:01:17 +08:00
wuzhenghui 01fff26fee fix(esp_hw_support): fix possible dead lock in deepsleep process 2026-06-02 17:48:02 +08:00
morris 2b36e6308a docs(ldo): corrected the LDO channel numbers in the programming guide 2026-06-02 14:51:17 +08:00
wuzhenghui 93cbc81ecf change(sleep_gpio): streamline GPIO sleep configuration logic 2026-05-29 14:12:09 +08:00
Sudeep Mohanty 29f6318b02 fix(esp_hw_support): move linux spinlock.h to esp_hw_support/include/linux
Moved the linux spinlock.h stub into esp_hw_support/include/linux.
esp_hw_support's INCLUDE_DIRS already places include/linux before
include, so the correct include files are picked up for the linux
target.

- Drop the FreeRTOS-Kernel-SMP linux spinlock.h duplicate.
- rv_decode_test: use PRIV_REQUIRES esp_hw_support instead of
  hardcoding component include paths.
2026-05-26 13:10:41 +02:00
morris e20db709aa feat(debug): add esp32s31 debug probe support
- add ESP32-S31 debug probe LL, target IDs, capability macros, and GPIO signal mapping
- allow LP probe channels to configure four signal bytes while keeping 16 GPIO outputs
- add HP and LP probe read tests, including LP 32-bit read verification
- keep existing vbat LP probe usage aligned with the new LP channel behavior
2026-05-25 19:03:37 +08:00
morris c23e87b81b Merge branch 'bugfix/esp32s31_raise_ahb_clk_freq' into 'master'
fix(clk): raised ESP32S31 axi/ahb clock freq up to 106mhz at max

Closes IDF-14696

See merge request espressif/esp-idf!48207
2026-05-25 18:23:37 +08:00
morris 7ce07cb910 Merge branch 'refactor/enable_io_mux_clock' into 'master'
fix(iomux): move source gating to IOMUX consumers

Closes IDF-12975 and IDF-12852

See merge request espressif/esp-idf!48530
2026-05-25 12:31:50 +08:00
Aditi 18cbdbf2b1 feat(esp_wifi): Add improvements for privacy extension
1) Add support for MAC randomization in Active scan and connect
  2) Add support for randomizaton of sequence numbers
  3) Add support for randomization of dialog token for GAS frames
2026-05-25 11:22:45 +08:00
He Binglin 3bf83125b4 Merge branch 'change/esp_idf_ext1_unhold' into 'master'
Optimize parts of the sleep wake-up flow

See merge request espressif/esp-idf!47322
2026-05-25 11:15:22 +08:00
morris 38c4f27102 fix(iomux): move clock source gating to IOMUX consumers
Remove io_mux_set_clock_source internal source enabling and make SDM,
ana_cmpr, and gpio glitch filter drivers explicitly manage clock source
enable/disable with safe cleanup paths.
2026-05-22 19:10:08 +08:00
He Binglin f3ee69582e Merge branch 'change/esp_idf_h4h21_modem_clock_retention_passive' into 'master'
Change/esp idf h4h21 modem clock retention passive

Closes IDFCI-11613, IDFCI-11628, and IDFCI-11614

See merge request espressif/esp-idf!48557
2026-05-22 18:02:24 +08:00
He Binglin eec18ba80a Merge branch 'doc/esp_idf_flash_pwr_description' into 'master'
docs(pm): add flash sleep strategy recommendations

See merge request espressif/esp-idf!45689
2026-05-22 17:44:50 +08:00
hebinglin b160ba668d change(esp_hw_support): add i2c_mst_st_map and lp_apb_st_map in h4 i2c_mst enable way 2026-05-22 15:18:31 +08:00
hebinglin f73d67acb2 revert(esp_hw_support): add modem_lpcon retention for esp32h21 2026-05-22 15:18:24 +08:00
Wu Zheng Hui 2fcaddb700 Merge branch 'fix/fix_psram_data_corrupt_after_lightsleep' into 'master'
fix(esp_hw_support):fix psram data corrupt after lightsleep

Closes PM-941

See merge request espressif/esp-idf!48322
2026-05-22 15:11:41 +08:00
hebinglin 23f6b5985a change(esp_hw_support): disable flash pd in h4 h21 c5 c61 2026-05-22 12:30:44 +08:00
hebinglin 418ffbe2a6 change(esp_pm): move timer wakeup set out of critical section 2026-05-22 11:45:21 +08:00
hebinglin 64bf345683 revert(esp_hw_support): esp32h4 beta5 i2c config retention when pd modem refer to PM-487 2026-05-22 11:09:33 +08:00
He Binglin 9c3a6b3f5d Merge branch 'feat/esp_idf_h4_optimize' into 'master'
Feat/esp idf h4 retention and active clk power optimize

Closes PM-746, PM-745, and PM-736

See merge request espressif/esp-idf!48319
2026-05-22 10:55:43 +08:00
Ondrej Kosta fc41e66e47 Merge branch 'feat/gmac_s31' into 'master'
Feat/gmac s31

Closes IDF-14730

See merge request espressif/esp-idf!48029
2026-05-21 22:51:44 +08:00
hebinglin 23f1ba150a change(esp_hw_support): change dcm_vset to optimize active and sleep current 2026-05-21 20:03:55 +08:00
hebinglin a5b75c89d0 change(esp_hw_support): Align modem analog parameters with the active state in h4 2026-05-21 20:03:55 +08:00
hebinglin 1c98c0367d change(esp_hw_support): remove bbpll pu in retention to decrease the retetion duration 2026-05-21 20:03:55 +08:00
hebinglin 1c279178fa feat(esp_hw_support): support bbpll pd in modem state 2026-05-21 20:03:45 +08:00
hebinglin 1bfa301ee6 change(esp_hw_support): pd xtalx2 in modem state and selected as a2s&s2a retention clk 2026-05-21 19:55:38 +08:00
hebinglin 5710783a89 feat(esp_hw_support): support entry 2 xtalx2 power pu in esp32h4 2026-05-21 19:55:37 +08:00
hebinglin 2c91b280f4 change(esp_hw_support): disable some periph clk in cpu start 2026-05-21 19:53:51 +08:00
hebinglin 8104c5c491 feat(esp_hw_support): keep apm_func_ctrl value after sleep 2026-05-21 19:53:51 +08:00
hebinglin 312076e955 feat(esp_hw_support): decrease retention current and duration 2026-05-21 19:53:51 +08:00
hebinglin b46b72cf19 feat(esp_hw_support): allow lp io clk close in cpu start 2026-05-21 19:53:51 +08:00
Ondrej Kosta 6a82c094fb fix(esp_clk_tree): temporarily disabled gating of all ref_clks on ESP32S31 2026-05-21 13:18:57 +02:00
Li Shuai d7a2e15164 Merge branch 'feat/pm-683' into 'master'
support sleep retention runtime module attach/detach feature

Closes PM-683, PM-656, and BT-4216

See merge request espressif/esp-idf!47164
2026-05-21 17:07:58 +08:00
Song Ruo Jing 3ba8d08d02 fix(clk): raised axi/ahb clock freq up to 106mhz at max 2026-05-21 16:39:40 +08:00
Ondrej Kosta c7d6c41198 feat(clk_tree): support derived PLL clocks
Add a generic derived-PLL clock engine to esp_clk_tree_common that
handles acquire/release, mux selection, and divider programming for
target-defined derived clocks. Per-target descriptors (ESP32-P4,
ESP32-S31) plug into the engine via
esp_clk_tree_get_derived_clk_desc().
2026-05-21 15:59:42 +08:00
Island b970c5f674 Merge branch 'ble_dev/esp32h21_chip_20260513' into 'master'
Ble dev/esp32h21 chip 20260513

Closes BLERP-2798, IDF-11626, IDF-11652, IDF-11653, IDF-11655, IDF-14811, IDF-14812, IDF-14813, IDF-14814, and IDF-14815

See merge request espressif/esp-idf!48499
2026-05-21 14:00:09 +08:00
Armando (Dou Yiwen) a6c0ea2289 Merge branch 'feat/sdmmc_s31' into 'master'
sdmmc: s31 support

Closes IDF-14705 and IDF-14706

See merge request espressif/esp-idf!47232
2026-05-21 04:59:49 +00:00
He Binglin e3fb6a0047 Merge branch 'feat/esp_idf_h21_keep_apm_func' into 'master'
feat(esp_hw_support): keep esp32h21 apm_func_ctrl value after sleep

See merge request espressif/esp-idf!48733
2026-05-21 12:05:18 +08:00