Commit Graph

358 Commits

Author SHA1 Message Date
Song Ruo Jing
0631340e2c Merge branch 'feature/esp32h21_regi2c_support' into 'master'
feat(regi2c): add regi2c support for esp32h21

Closes IDF-11550 and IDF-11858

See merge request espressif/esp-idf!37369
2025-05-21 11:22:07 +08:00
Song Ruo Jing
8262915e28 refactor(regi2c): remove regi2c_defs.h from some targets 2025-05-19 21:46:40 +08:00
wuzhenghui
077ce905ed fix(esp_hw_support): fix sleep iram safe code inlined to flash 2025-05-19 21:02:24 +08:00
wuzhenghui
9b5944b795 feat(esp_hw_support): support switch to VBAT power supply in deepsleep on esp32p4 2025-05-08 16:44:58 +08:00
sibeibei
26d6f0fc13 fix(pm): fix tbtt interrupt timing error when BLE RTC is configured to use MODEM_CLOCK_LPCLK_SRC_MAIN_XTAL on C6EC01 and later version 2025-04-27 16:59:11 +08:00
Wu Zheng Hui
fe3da7167e Merge branch 'fix/fix_esp32p4_retention_cost' into 'master'
fix(esp_hw_support): optimize retention cost and update sleep time compensation

See merge request espressif/esp-idf!37920
2025-04-23 13:20:49 +08:00
wuzhenghui
6c4447ae2e fix(esp_hw_support): fix wrong APB clock freq on retenion 2025-04-22 22:02:35 +08:00
wuzhenghui
cdc040c8ad feat(esp_hw_support): count pau backup time into sleep rejection judgment 2025-04-22 22:02:34 +08:00
wuzhenghui
a1471f4f78 feat(esp_hw_support): remeasure sleep_time_overhead_out if min_freq_mhz changed 2025-04-22 22:02:34 +08:00
Li Shuai
8e25a37f67 Merge branch 'feat/support_hp_uarts_wakeup_modes_during_light_sleep' into 'master'
support hp uarts wakeup modes during light sleep

See merge request espressif/esp-idf!37730
2025-04-22 17:49:02 +08:00
Wu Zheng Hui
d41cb1346e Merge branch 'fix/fix_cache_hit_bypass_iram_safe_assertion' into 'master'
fix(esp_hw_support): fix cache hit bypass iram safe assertion on p4

See merge request espressif/esp-idf!38371
2025-04-22 16:22:37 +08:00
Li Shuai
d115a3daac feat(esp_driver_uart): support hp uarts wakeup modes 1 2 3 during light sleep 2025-04-21 14:03:34 +08:00
Li Shuai
7eaf504d56 change(esp_hw_support): adpate the sleep exit flow execute time when sleep iram optimization is disabled 2025-04-17 22:01:10 +08:00
Li Shuai
87b8e64953 change(esp_hw_support): force invalidate all cache before exiting the sleep flow when sleep iram is disabled 2025-04-17 22:01:10 +08: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
Wu Zheng Hui
d98c580d40 Merge branch 'fix/esp32p4_xtal_path_not_on_top' into 'master'
fix(esp_hw_support): fix esp32p4 xtal_xpd depends on TOP power domain

See merge request espressif/esp-idf!38328
2025-04-15 14:54:13 +08:00
wuzhenghui
b41fb377f9 change(esp_hw_support): allow sar power keep on during lightsleep
Closes https://github.com/espressif/esp-idf/issues/12426
2025-04-11 18:15:33 +08:00
wuzhenghui
dbec79a508 fix(esp_hw_support): fix cache hit bypass iram safe assertion on p4 2025-04-11 15:35:34 +08:00
wuzhenghui
5fbc742248 fix(esp_hw_support): fix esp32p4 xtal_xpd depends on TOP power domain 2025-04-09 17:10:57 +08:00
Li Shuai
29a470b530 fix(esp_hw_support): fix modem wakeup req always high caused by pmu min slp cycle update 2025-04-09 15:26:57 +08:00
wuzhenghui
1bb28afe8e fix(esp_hw_support): fix esp_sleep_enable_timer_wakeup API code coverity 2025-04-08 13:44:28 +08:00
Wu Zheng Hui
ebb6c4caae Merge branch 'fix/fix_sleep_reject_on_esp32' into 'master'
fix(esp_hw_support): fix short duration sleep requests rejected in pd_flash lightsleep

Closes PM-382

See merge request espressif/esp-idf!37878
2025-04-02 15:58:30 +08:00
Song Ruo Jing
35b46448a9 fix(sleep): uart suspend/flush should also check if port is enabled on esp32 2025-03-28 15:03:19 +08:00
Li Shuai
921cfa0a8e Merge branch 'feat/support_runtime_periphs_icg_ctrl_in_sleep' into 'master'
support runtime ICG control for peripherals to be used/kept during light sleep

Closes IDF-7595

See merge request espressif/esp-idf!37377
2025-03-20 13:03:48 +08:00
wuzhenghui
ed4813c9c0 fix(esp_hw_support): fix min sleep time calculation missmatch in powerdown flash decision 2025-03-19 19:27:09 +08:00
Li Shuai
157faa3344 feat(esp_hw_support): support runtime clock for peripherals to be ungated during sleep 2025-03-18 10:42:15 +08:00
Li Shuai
410fb091d9 change(esp_hw_support): change for pmu build pass 2025-03-17 11:24:39 +08:00
Li Shuai
e351f17790 change(esp_hw_support): support power management dfs flow 2025-03-17 11:24:39 +08:00
Armando
d64ca3a5d1 fix(mspi): fixed cpu and mspi freq mismatch issue when in dfs/sleep on p4 2025-03-07 12:27:16 +08:00
Wu Zheng Hui
714e626dc2 Merge branch 'fix/fix_sleep_modes_breaking_change' into 'master'
fix(esp_hw_support): warning instead of error when enabling uart/gpio wakeup in pd_top sleep

See merge request espressif/esp-idf!37293
2025-02-27 22:42:52 +08:00
wuzhenghui
6bd6be3ed8 fix(esp_hw_support): warning instead of error when enabling uart/gpio wakeup in pd_top sleep 2025-02-27 16:15:36 +08:00
wuzhenghui
dd2bde0847 fix(esp_hw_support): fix lightsleep destroys deepsleep rtc parameters 2025-02-26 10:13:07 +08:00
Wu Zheng Hui
e57f02e920 Merge branch 'doc/add_wakeup_source_usage_precautions' into 'master'
change(doc): added more usage notes about PM_POWER_DOWN_PERIPHERAL_IN_LIGHT_SLEEP

Closes IDF-12166

See merge request espressif/esp-idf!36879
2025-02-20 21:00:15 +08:00
wuzhenghui
0f69fda3d5 change(doc): added more usage notes about PM_POWER_DOWN_PERIPHERAL_IN_LIGHT_SLEEP 2025-02-19 20:54:21 +08:00
wuzhenghui
51205a8fd8 fix(esp_hw_support): fix esp32s2/esp32s3 RTC IOMUX clock management 2025-02-19 16:02:25 +08:00
Wu Zheng Hui
e95103aa56 Merge branch 'fix/add_sleep_duration_check_for_timer_wakeup' into 'master'
fix(esp_hw_support): add timer wakeup sleep duration check

Closes IDFGH-14485

See merge request espressif/esp-idf!36793
2025-02-13 10:42:58 +08:00
Wu Zheng Hui
254b3210bc Merge branch 'fix/fix_sleep_clock_wait_calculation' into 'master'
fix(esp_hw_support): fix lp/hp hw clock wait time calculation

Closes PM-39

See merge request espressif/esp-idf!34583
2025-02-12 11:30:43 +08:00
wuzhenghui
dc93eb533a fix(esp_hw_support): add timer wakeup sleep duration check
Closes https://github.com/espressif/esp-idf/issues/15255
2025-02-07 19:43:54 +08:00
Li Shuai
377914d579 change(esp_hw_support): fix wifi mac rx buffer link exception caused by pll clock 2025-01-17 17:16:39 +08:00
Jiang Jiang Jian
0f0068fff3 Merge branch 'fix/fix_branch_predictor_access_flash_after_cache_diabled' into 'master'
fix(esp_hw_support): fix branch predictor access flash after cache disabled

Closes PM-329

See merge request espressif/esp-idf!36281
2025-01-14 10:56:17 +08:00
wuzhenghui
7a4cc8ed35 fix(esp_hw_support): fix branch predictor access flash after cache disabled 2025-01-13 10:28:09 +08:00
laokaiyao
fd7b80833c feat(touch): support touch v1 in new touch driver 2025-01-10 16:42:22 +08:00
Song Ruo Jing
486c95557a Merge branch 'bugfix/gpio_8_16_bit_access' into 'master'
feat(gpio): add gpio_config_as_analog() API

Closes IDF-10247 and IDFGH-12754

See merge request espressif/esp-idf!35856
2025-01-10 15:14:19 +08:00
Song Ruo Jing
3fde2017cd refactor(rtcio): update comments for rtc_io header file
Closes https://github.com/espressif/esp-idf/issues/13735
2025-01-08 16:49:34 +08:00
Armando
14b5db0e87 refactor(mspi): rename to mspi_ll.h 2025-01-07 16:16:06 +08:00
wuzhenghui
c80c8354db change(esp_hw_support): switch to sleep_flags earlier to identify sleep state 2025-01-06 10:18:43 +08:00
Kevin (Lao Kaiyao)
c39b8729cc Merge branch 'feature/support_rtc_power_done_for_touch_wakeup' into 'master'
feat(touch): support rtc power done for touch wakeup

Closes IDF-11754, IDF-11713, IDF-5241, and IDF-11912

See merge request espressif/esp-idf!35463
2024-12-30 11:24:18 +08:00
laokaiyao
678ddba550 feat(touch): allow RTC power down during the deep sleep 2024-12-26 19:14:12 +08:00
wuzhenghui
ec16bd7132 fix(esp_hw_support): fix p4 OTG phy bad suspend cause high power consumption on sleep 2024-12-26 14:44:22 +08:00