Commit Graph
135 Commits
Author SHA1 Message Date
wuzhenghui 0099fb6dee fix(esp_hw_support): fix regdma wait crypto module timeout in PU top sleep retention 2026-09-18 12:20:43 +08:00
muhaidong f5cf14b319 fix(wifi): fix regdma restore ba bitmap fail issue 2026-09-15 20:51:25 +08:00
wuzhenghui b56b2312d4 fix(esp_hw_support): wait pll ready before modem clock retention for s31 2026-09-15 20:49:12 +08:00
wuzhenghui 230e6e0019 fix(esp_hw_support): wait DS/ECDSA idle before restore its PCR on wakeup 2026-09-09 17:13:29 +08:00
wuzhenghui 6be25041e0 change(esp_hw_support): optimize sleep_phy retention static RAM cost 2026-09-04 18:00:47 +08:00
Jiang Jiang Jian 59512efe9c Merge branch 'fix/use_conflict_cb_for_regi2c_when_regdma_rf_is_used_v6.1' into 'release/v6.1'
feat(sleep): applied regi2c conflict process at regdma rf (6.1)

See merge request espressif/esp-idf!52411
2026-09-04 17:17:09 +08:00
cjin 275e34f318 fix(phy): added fe set freq reset to rf retention list 2026-09-04 10:27:25 +08:00
cjin 3c875310d1 feat(modem): add phy retention related api 2026-09-04 10:27:25 +08:00
cjin a79519d844 feat(phy): add skip list to sleep phy link context and fix deinit crash 2026-09-04 10:27:25 +08:00
cjin 506e3b30ed feat(sleep): add config SOC_PM_SUPPORT_REGDMA_TRIGGERED_PHY 2026-09-04 10:27:25 +08:00
cjin ee6cda2551 feat(phy): added skip method for phy retention list 2026-09-04 10:27:25 +08:00
cjin 639ae612ed feat(phy): rename sleep modem state to sleep phy 2026-09-04 10:27:25 +08:00
sibeibei f1f52f3e8f fix(wifi): fix wifi wakeup failed from modem state 2026-09-03 19:04:17 +08:00
Alexey Lapshin a494009a0c feat(build): add RISC-V ZCMP post-link workaround check
Validate linked RISC-V executables when
CONFIG_COMPILER_ENABLE_RISCV_ZCMP is enabled on affected chips.
Disassemble each function and reject mstatus.MIE clears that lack an
earlier mintthresh write of 0xff.

Handle csrrci, csrrw, and register-mask csrrc patterns while ignoring
csrrs. Add build-only coverage for valid and invalid sequences with
CMake v1 and v2.

Stop the hardware stack guard before switching stacks during restart,
and keep ZCMP disabled for TEE test apps that still require the
workaround.
2026-08-03 14:10:00 +08:00
sibeibei 0627c301f4 fix(esp_hw_support): use symbolic reg and document modem syscon workaround 2026-07-30 19:46:30 +08:00
sibeibei c15ce5ae4a fix(esp_hw_support): use N_REGS_SYSCON() for modem syscon retention count 2026-07-30 19:46:30 +08:00
sibeibei 7144df0c3c feat(wifi): sel pll clk when sleep to modem 2026-07-30 19:46:30 +08:00
sibeibei c86e76dffe Revert "feat(wifi): enable pll clk in modem state"
This reverts commit e238c5bdc6.
2026-07-30 19:46:30 +08:00
Li Shuai a95e35309d fix(esp_hw_support): fix missing CPU retention register range macros for ESP32S31 2026-07-10 18:13:29 +08:00
sibeibei 1aeb773781 feat(wifi): enable pll clk in modem state 2026-06-10 20:41:04 +08:00
sibeibei 3ec6a50986 update(sleep_clock.c): update clock retention 2026-06-10 20:39:42 +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 f73d67acb2 revert(esp_hw_support): add modem_lpcon retention for esp32h21 2026-05-22 15:18:24 +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
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 5710783a89 feat(esp_hw_support): support entry 2 xtalx2 power pu in esp32h4 2026-05-21 19:55:37 +08:00
cjin e7921ed7dc feat(sleep): added attach attribute to system and modem clock retention 2026-05-21 11:46:16 +08:00
Li Shuai 0d9587952d change(esp_wifi): support wifi module retention runtime attach and detach 2026-05-21 11:46:16 +08:00
Alexey Gerenkov edb75262a1 Merge branch 'feature/update-esp-clang-to-esp-21.1.3_20260304' into 'master'
feat(tools): update esp-clang version to esp-21.1.3_20260408

Closes IDF-14965, LLVM-501, and LLVM-531

See merge request espressif/esp-idf!46361
2026-05-13 22:54:10 +08:00
cjin 19760a8722 feat(ble): supported ble light sleep feat on esp32h4 2026-05-11 08:34:15 +08:00
cjin b6643c4786 feat(ble): supported ble light sleep feat on esp32s31 2026-05-11 08:34:15 +08:00
Jiang Jiang Jian 57309c9f32 Merge branch 'fix/disable_core1_branch_predictor_in_sleep_process' into 'master'
fix(esp_hw_support): fix core1 branch predictor access ext mem after cache disabled by core0

See merge request espressif/esp-idf!48251
2026-05-08 14:49:15 +08:00
Alexey Gerenkov f16bb34ff7 fix(build): fix Clang 21 build warnings/errors 2026-05-07 17:42:38 +03:00
wuzhenghui d0766f2a7f fix(esp_hw_support): fix core1 branch predictor access ext mem after cache disabled by core0 2026-05-07 20:58:55 +08:00
Jiang Jiang Jian d9cfb2908a Merge branch 'bugfix/idf_13957' into 'master'
bugfix: fix wifi loss packet and missing interrupt issues when switching root clock source

Closes WIFI-7270, IDF-13957, and IDF-11064

See merge request espressif/esp-idf!46459
2026-05-07 20:57:31 +08:00
wuzhenghui a07e2c8d85 feat(esp_hw_support): support esp32s31 CPU/FPU retention 2026-05-07 08:39:56 +08:00
sibeibei 8d46db9b42 Revert "fix(esp_hw_support): fix the issue of wifi rx packet loss when switchng soc root clock source"
This reverts commit 45ea08b955.
2026-05-06 15:49:47 +08:00
Omar Chebib c27c33a832 fix(riscv): implement a workaround for Zcmp hardware bug 2026-04-10 15:03:09 +08:00
hebinglin bcb6fab9af change(esp_hw_support): add modem_lpcon retention for esp32h21 2026-03-25 15:40:07 +08:00
hebinglin c09aaa64bf change(esp_hw_support): support esp32h21eco1 sleep flow 2026-03-25 15:38:49 +08:00
armando c60ed4b338 fix(spm): rename scp (scratchpad) to spm (scratchpad memory) 2026-03-17 01:29:34 +00:00
Jiang Jiang Jian 287e416247 Merge branch 'bugfix/bt-4272' into 'master'
fix invalid phy link pointer during sleep modem state deinit

Closes BT-4272

See merge request espressif/esp-idf!46569
2026-03-13 15:07:06 +08:00
Li Shuai 2e39d80b2c fix(esp_hw_support): fix invalid phy link pointer during sleep modem state deinit 2026-03-12 20:16:11 +08:00
armando c96f69faef change(mem): deprecated tcm and added scp memory utils 2026-03-11 11:18:15 +08:00
Song Ruo Jing 600bf5b6d7 refactor(esp_hal_regi2c): move regi2c implementation from esp_rom to esp_hal_regi2c 2026-03-10 15:08:51 +08:00
Jiang Jiang Jian 96b67d244f Merge branch 'bugfix/pm-673' into 'master'
fix analog i2c master race cause by phy retention link

Closes PM-673

See merge request espressif/esp-idf!46133
2026-03-05 19:24:55 +08:00
wuzhenghui d2be19ba18 feat(esp_hw_support): support esp32s31 system sleep retention 2026-03-03 21:42:48 +08:00
Li Shuai bca8610c7b fix(esp_hw_support): fix analog i2c master race cause by phy retention link 2026-02-28 17:16:31 +08:00
wuzhenghui b7edaebed9 feat(esp_hw_support): support esp32p4 & esp32h4 RV FPU context retention in pd_cpu sleep 2026-02-05 15:39:40 +08:00