Commit Graph
39 Commits
Author SHA1 Message Date
cjin 6f5e9e7b8e fix(sleep): fix reject trigger when wifi is enabled 2026-08-03 10:21:32 +08:00
cjin 63565f7f02 feat(modem): add phy retention related api 2026-07-17 11:04:26 +08:00
cjin 0d8ef62e8f feat(sleep): add config SOC_PM_SUPPORT_REGDMA_TRIGGERED_PHY 2026-07-17 11:04:26 +08:00
cjin 6ec7a718f9 feat(sleep_modem): allow multi modem to enable rf with regdma 2026-07-17 11:04:26 +08:00
cjin 226f11da96 feat(modem): rename the sleep modem functions 2026-07-17 11:04:26 +08:00
cjin d151c1804b feat(phy): rename sleep modem state to sleep phy 2026-07-17 11:04:26 +08:00
Li Shuai 0d9587952d change(esp_wifi): support wifi module retention runtime attach and detach 2026-05-21 11:46:16 +08:00
wuzhenghui f1f3f204fe feat(esp_hw_support): support esp32s31 lightsleep/deepsleep example 2026-05-06 20:15:01 +08:00
sibeibei 5c936ee229 fix(wifi): fix modem sleep flag clear failed 2026-04-23 20:30:26 +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
sibeibei 86809e4cc8 fix: clear modem RF flag before PMU sleep to prevent open rf failed on next wake-up 2026-01-30 15:06:07 +08:00
sibeibei 00f45acc4b fix: add mutex protection for software trigger RegDMA start to avoid data races 2025-12-09 14:55:08 +08:00
wuzhenghui 3e7892122e feat(esp_hw_support): support lightsleep and deepsleep on esp32h21 2025-09-26 14:02:55 +08:00
Konstantin Kondrashov dcf486359e feat(log): Optimize log tag init for bin logging 2025-09-15 15:59:52 +03:00
Li Shuai 1e54f38b51 change(esp_hw_support): optimize esp_sleep_start function internal iram memory usage 2025-04-17 22:01:10 +08:00
Li Shuai 954270dda3 change(esp_hw_support): optimize sleep memory (iram or flash) usage control by PM_SLP_IRAM_OPT 2025-04-17 22:01:10 +08:00
Li Shuai 641be3ad1f change(esp_hw_support): update power domain pd allowed check logic 2024-11-18 15:40:47 +08:00
Li Shuai d57ee7d87e refactor(esp_hw_support): seperate sleep modem state support for each target 2024-09-19 20:04:44 +08:00
Li Shuai dad039e27f change(esp_hw_support): support wifi modem state for esp32c5 2024-09-19 20:04:44 +08:00
Li Shuai 262be04b21 change(esp_hw_support): modify system and modem clock to support modem domain power down 2024-03-29 16:13:52 +08:00
Li Shuai 080d09387c change(esp_hw_support): modify the style of module argument from bitmap to number 2024-03-29 15:22:52 +08:00
Li Shuai fd421ba9bb change(esp_hw_support): rename interface name of get modules bitmap to get created modules 2024-03-29 14:41:57 +08:00
wuzhenghui 9b3dc69908 refactor(esp_hw_support): move regdma structure defination to soc components 2024-01-23 11:51:44 +08:00
cjin 797edb54fa fix(pm): place extra link opt in iram 2023-12-04 14:46:42 +08:00
xiaqilin a0ecd49725 feat(pm): change power up/down register callback name 2023-11-21 10:18:55 +08:00
cjin e98e291601 fix(pm): switch root clk src to PLL for modem reg opt and added callback 2023-11-21 10:18:32 +08:00
xiaqilin b9baf49782 fix(pm): add mac/bb power down/up prepare for fix esp32c6 pll issue 2023-11-21 10:18:03 +08:00
liuning c6db306833 sleep_modem: split esp_wifi_internal_mac_sleep_configure, add lock for pm functions 2023-09-18 11:49:52 +08:00
liuning 90698bf1f5 fix(sleep_modem): fix lightsleep failure if enable lightsleep at phy disabled 2023-09-18 11:46:32 +08:00
cjin 574800b50a feat: added ble wake up overhead support 2023-09-05 20:40:04 +08:00
wuzhenghui a5c992c8af fix(esp_pm): fix PM_SLP_IRAM_OPT/PM_RTOS_IDLE_OPT feature
- Fix flash accessed code to resolve issues with PM_SLP_IRAM_OPT/PM_RTOS_IDLE_OPT enabled
2023-07-14 21:21:19 +08:00
Li Shuai 19809bdebf power save: fix bcn_timeout and disconnect with error code 201, m f probe req l=0 issue 2023-07-13 16:59:31 +08:00
xiaqilin 59ffcd07d6 ieee802154: change BLE_BB/ieee802154_BB 2023-07-03 02:21:58 +00:00
cjin f3457133f6 ble:added esp32c6 light sleep support 2023-06-16 15:37:03 +08:00
Li Shuai 94ebda298a fix the issue of failure of receiving beacons in modem state caused by enabling light sleep in wifi min/max modem sleep mode 2023-04-07 05:57:15 +00:00
wuzhenghui cb55d51be4 bugfix: set I2C_MST_SEL_160M always be 1 2023-03-17 19:45:56 +08:00
Li Shuai 1a10eabe41 Power Management: refactor the configuration of each module in sleep mode 2023-03-04 00:17:40 +08:00
Li Shuai 200f69e6eb auto beacon: support esp32c6 autobeacon (advanced DTIM sleep feature)
modem retention: Support esp32c6 wifi MAC and baseband sleep retention

sleep_modem: wifi MAC modem wakeup protect in modem state before PMU trigger sleep enable request

sleep modem: provide a interface to get whether the Modem power domain is allowed to power off during sleep

add i2c_ana master header file to project

auto beacon: release PMU's lock on root clock source (it is locked in the PLL)

wifi receiving beacon frame in PMU modem state strongly depends on the BBPLL
clock, PMU will forcibly lock the root clock source as PLL, when the root
clock source of the software system is selected as PLL, we need to release
the root clock source locking.

When it is judged that the PLL is locked by PMU after wakeing up from the PMU
modem state, switch the root clock source to the PLL in the sleep process (a
critical section).

auto beacon: fix the failure to receive broadcast/multicast frames in modem state

When the multicast field in the beacon frame received in the PMU modem state is
True, the PMU switches to the PMU active state (the PMU waits for the HP LDO to
stabilize and then restores the MAC context) and starts to receive
broadcast/multicast frames (Broadcast/Multicast frames will be sent after a
minimum delay of 48 us after the beacon frame), because the PMU waits for the HP
LDO to stabilize too long (~154 us), which will cause broadcast/multicast frame
reception to be missed.

auto beacon: select the PLL clock source as the REGDMA backup clock source when the PMU switches to ACTIVE from MODEM state

update Digital Peripheral (M2A switch) REGDMA restore time parameter

auto beacon: fix the issue that only channel 1 can connect to AP in modem state
2023-03-04 00:17:40 +08:00
Li Shuai 3a5fe2ab63 light sleep: rename sleep mac bb to modem, it includes MAC and baseband of wifi, bt and ieee802.15.4 modules 2023-03-04 00:17:40 +08:00