Commit Graph
100 Commits
Author SHA1 Message Date
hebinglin 27fe024e30 fix(esp_hw_support): pmu_icg_mapping define mistake 2026-08-20 17:23:26 +08:00
He Binglin dce537e00e Merge branch 'feat/esp_idf_h4_retention_clk_icg' into 'master'
feat(esp_hw_support): refactor PMU sleep icg and support retention ICG

See merge request espressif/esp-idf!48915
2026-07-31 10:35:19 +08:00
hebinglin 57daf0a8f7 feat(esp_hw_support): add backup clk icg support 2026-07-29 17:09:34 +08:00
hebinglin a4889bd73d change(esp_hw_support): refactor pmu/esp_sleep param struct 2026-07-29 15:23:09 +08:00
hebinglin 33591e16b6 change(esp_hw_support): split the sleep_clock_icg APIs into sleep_clock_icg.c 2026-07-29 15:23:09 +08:00
hebinglin d6b0a50c5d change(esp_hw_support): add esp sleep lock APIs for use in the sleep flow 2026-07-29 15:23:09 +08:00
He Binglin fcf2df659d Merge branch 'feat/esp_idf_h4_cut_m2a_analog_wait' into 'master'
Feat/esp idf h4 cut m2a analog wait

See merge request espressif/esp-idf!49061
2026-07-15 11:44:05 +08:00
He Binglin a82577b080 Merge branch 'feat/esp_idf_h4_support_bus_lowpower' into 'master'
feat(esp_hw_support): support esp32h4 esp32s31 bus hw low power

Closes PM-812

See merge request espressif/esp-idf!50563
2026-07-15 11:31:26 +08:00
hebinglin 7d6c54996a feat(esp_hw_support): support esp32h4 esp32s31 bus hw low power 2026-07-14 18:14:07 +08:00
hebinglin e71b30c279 feat(esp_hw_support): add analog_wait calibration in sleep flow for h4 2026-07-14 17:13:32 +08:00
He Binglin e1b1969b8a Merge branch 'fix/esp_idf_h4h21_ana_wait_short' into 'master'
fix(esp_hw_support): fix xtal unstable when carry 154 and ble cases

See merge request espressif/esp-idf!50249
2026-07-13 11:51:58 +08:00
hebinglin bd61356c03 feat(esp_hw_support): add analog_wait_ctrl_retention in s2m m2s m2a to reduce retention time 2026-07-09 19:43:35 +08:00
hebinglin 4d383a7d8a fix(esp_hw_support): fix xtal unstable when carry 154 and ble cases 2026-07-09 14:29:12 +08:00
He Binglin 12ad118657 Merge branch 'change/esp_idf_dpd_optimize' into 'master'
Change/esp idf dpd optimize

Closes PM-765 and PM-728

See merge request espressif/esp-idf!49761
2026-06-23 19:55:08 +08:00
hebinglin a6884a9d4d change(esp_hw_support): support optional delay for DPD entry and exit 2026-06-23 14:54:30 +08:00
hebinglin 619ac952b6 fix(spi_flash): fix dpd failed when spi hal placed in flash 2026-06-23 14:54:11 +08:00
He Binglin 02c225b604 Merge branch 'feat/esp_idf_h21_power_optimization' into 'master'
Feat/esp idf h21 power optimization

Closes PM-778 and PM-678

See merge request espressif/esp-idf!49223
2026-06-10 14:18:52 +08:00
He Binglin 74c3a56614 Merge branch 'feat/esp_idf_h21_clock_output_support' into 'master'
feat(esp_hw_support): support clock output in esp32h21

Closes PM-785 and IDF-11582

See merge request espressif/esp-idf!49393
2026-06-09 15:26:34 +08:00
hebinglin eb6bb0acf0 feat(esp_hw_support): support clock output in esp32h21 2026-06-09 14:16:05 +08:00
He Binglin 0f37d02b9d Merge branch 'fix/esp_idf_lp_uart_wakeup_muti_times' into 'master'
fix(ulp): fix lp uart keep wakeup triggered

Closes PM-658

See merge request espressif/esp-idf!49365
2026-06-08 18:09:25 +08:00
hebinglin 46ff88717c fix(ulp): fix lp uart keep wakeup triggered 2026-06-08 16:17:09 +08:00
hebinglin 044f67835e feat(esp_hw_support): decrease iomux gpio spi retention reg nums for h21 2026-06-08 14:48:35 +08:00
He Binglin 06f50a4b8d Merge branch 'bugfix/esp_idf_retention_bt_4365' into 'master'
fix(esp_hw_support): fix retention hang when no module in link

Closes BT-4365

See merge request espressif/esp-idf!49291
2026-06-05 11:23:46 +08:00
hebinglin 35ebcefc9b fix(esp_hw_support): fix retention hang when no module in link 2026-06-04 22:26:56 +08:00
hebinglin b24a1ff521 feat(esp_hw_support): use xtalx2 in retention for h21 2026-06-03 15:03:59 +08:00
hebinglin 71646532e5 feat(esp_hw_support): optimize active clk power for h21 2026-06-03 15:03:59 +08:00
hebinglin 14a2392510 feat(esp_hw_support): optimize pmu param for h21 2026-06-03 15:03:51 +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
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 fa5132aa2f revert(ci): fix top domain power down not allow caused by ble power save not done 2026-05-22 15:18:31 +08:00
hebinglin 9d59b00734 revert(ci): fix the ci issue Test target MISMATCH 2026-05-22 15:18:31 +08:00
hebinglin 14b1e9e3b3 revert(ci): fix the ci issue of Test target MISMATCH by esp32h21 2026-05-22 15:18:31 +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
hebinglin 23f6b5985a change(esp_hw_support): disable flash pd in h4 h21 c5 c61 2026-05-22 12:30:44 +08:00
hebinglin 2e59c25ecb docs(pm): add flash sleep strategy recommendations 2026-05-22 12:30:09 +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
He Binglin 9c9c74cce2 Merge branch 'change/esp_idf_h4_re_enable_lslp_ci' into 'master'
change(examples): add esp32h4 lslp ci test

Closes IDF-15611

See merge request espressif/esp-idf!48763
2026-05-22 10:38:57 +08:00
hebinglin defa3ccaa9 change(examples): add esp32h4 lslp ci test 2026-05-21 22:07:07 +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
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
He Binglin a7b070f306 Merge branch 'bugfix/esp_idf_h4_ci_issues' into 'master'
fix(esp_rom): fix RTC_SLEEP_MODE_REG addr mismatch

Closes IDFCI-11614, IDFCI-11613, IDFCI-11611, IDFCI-11609, IDFCI-11498, IDFCI-11497, IDFCI-11496, IDFCI-11495, IDFCI-11493, IDFCI-11492, IDFCI-11491, IDFCI-11490, IDFCI-11489, IDFCI-11488, IDFCI-11487, IDFCI-11486, and IDFCI-11485

See merge request espressif/esp-idf!48758
2026-05-21 11:42:39 +08:00
hebinglin 84a3cfc0c1 fix(esp_rom): fix RTC_SLEEP_MODE_REG addr mismatch 2026-05-20 19:58:18 +08:00
hebinglin 8545a91284 feat(esp_hw_support): keep esp32h21 apm_func_ctrl value after sleep 2026-05-20 15:06:58 +08:00
He Binglin 49d8998189 Merge branch 'bugfix/esp_idf_s2_rtc_wdt_mistakenly_enabled' into 'master'
Bugfix/esp idf s2 rtc wdt mistakenly enabled

See merge request espressif/esp-idf!48582
2026-05-18 14:42:17 +08:00
hebinglin 1339cc41f9 change(modem): update esp32h21 modem_syscon header 2026-05-18 14:15:27 +08:00
hebinglin 482eb947c7 fix(esp_hw_support): fix rtc wdt mistakenly enabled during lslp in esp32s2 2026-05-15 17:31:51 +08:00
He Binglin 92e1d04b4f Merge branch 'bugfix/esp_idf_ulp_wakeupcauses_record' into 'master'
fix(ulp): record wakeup causes before lp core request sleep

Closes PM-677 and IDFCI-8878

See merge request espressif/esp-idf!46467
2026-04-22 20:13:17 +08:00
hebinglin 6ce373ccfb fix(esp_hw_support): fix LP core exception interrupt not being cleared 2026-04-22 16:22:13 +08:00
hebinglin b8e0ee431c change(ulp): add HP Core wakeup causes save test cases 2026-04-22 16:22:13 +08:00
hebinglin 0603e0eb23 fix(ulp): record wakeup causes before lp core request sleep 2026-04-22 16:22:11 +08:00
He Binglin 1714d6a2c4 Merge branch 'feat/esp_idfesp32h4_eco1_sleep_support' into 'master'
Feat/ESP32H4 ECO1 Sleep Support

Closes PM-633

See merge request espressif/esp-idf!47023
2026-04-20 15:44:19 +08:00
hebinglin 386911b35f change(esp_hw_support): remove invalid modem clock preinit for esp32h4 eco1 2026-04-17 17:29:43 +08:00
hebinglin c2a371a20d change(esp_hw_support): allow rtc_periph pd when top pd for esp32h4 eco1 2026-04-17 17:29:27 +08:00
hebinglin 4b2e135fd0 feat(esp_hw_support): optimize esp32h4 eco1 active current 2026-04-16 12:10:23 +08:00
hebinglin d4337bdcef change(esp_hw_support): update pmu analog param for esp32h4 eco1 2026-04-16 12:10:19 +08:00
He Binglin 4e1b02d90c Merge branch 'change/esp_idf_ulp_add_int_api' into 'master'
change(ulp): add lp periph intr enable apis

See merge request espressif/esp-idf!47160
2026-04-14 17:23:22 +08:00
hebinglin 40d8483c2e change(ulp): add lp periph intr enable apis 2026-04-14 12:24:17 +08:00
He Binglin bb1fe0eaca Merge branch 'feat/esp_idf_esp32h21_eco1_sleep_support' into 'master'
Feat/esp idf esp32h21 eco1 sleep support

Closes PM-678 and IDF-15438

See merge request espressif/esp-idf!46484
2026-03-25 19:58:08 +08:00
hebinglin bcb6fab9af change(esp_hw_support): add modem_lpcon retention for esp32h21 2026-03-25 15:40:07 +08:00
hebinglin f9078e7538 feat(esp_hw_support): optimize esp32h21 eco1 active current 2026-03-25 15:40:05 +08:00
hebinglin 17d0bf1810 fix(esp_hw_support): fix mem_mask set issue 2026-03-25 15:38:50 +08:00
hebinglin 4ed44adf85 feat(esp_hw_support): support vdd_flash fast discharge 2026-03-25 15:38:50 +08:00
hebinglin 6f2d7083bb fix(esp_hw_support): reset lp mem privilege 2026-03-25 15:38:50 +08:00
hebinglin 470b9d024e change(esp_hw_support): optimize esp32h21eco1 pmu params 2026-03-25 15:38:49 +08:00
hebinglin 474d89b4c2 fix(clk): update H21 ECO1 to use 64MHz clock for mspi 2026-03-25 15:38:49 +08:00
hebinglin c09aaa64bf change(esp_hw_support): support esp32h21eco1 sleep flow 2026-03-25 15:38:49 +08:00
He Binglin 1180967ff7 Merge branch 'change/esp_idf_flash_dpd_in_safe' into 'master'
Change: place flash dpd code in iram safe and add restart cases when rtc_clk iram opt

See merge request espressif/esp-idf!45311
2026-03-23 15:35:25 +08:00
hebinglin dfac6f6ef4 change(esp_system): add iram opt for rtc clk resart cases 2026-03-20 16:50:05 +08:00
hebinglin 5a0369edf8 change(esp_hw_support): move dpd apis in esp_sleep_start_safe 2026-03-20 16:50:05 +08:00
He Binglin c37304c910 Merge branch 'change/esp_idf_uart_wakeup_refactor' into 'master'
Change: derecate uart wakeup old config apis and add modes descriptions in docs

Closes PM-408 and PM-669

See merge request espressif/esp-idf!45862
2026-03-06 17:33:44 +08:00
hebinglin 96af3e4d2e change(example): change uart wakeup mode 0 edge threshold 2026-03-06 11:23:27 +08:00
hebinglin 17f6dce4d0 fix(esp_driver_uart): add iram_safe sdkconfig in hp uart wakeup cases 2026-03-06 11:23:27 +08:00
hebinglin 01fa2032a6 feat(doc): add uart wakeup migration guides 2026-03-06 11:23:27 +08:00
hebinglin 8642f65ab0 fix(esp_driver_uart): restore enable pad clock in uart_set_wakeup_threshold 2026-03-06 11:23:27 +08:00
hebinglin e2030fb740 change(docs): add uart wakeup mode 0 1 2 3 description 2026-03-06 11:23:27 +08:00
hebinglin 048a9ae514 change(esp_hw_support): deprecate uart_set_wakeup_threshold and uart_get_wakeup_threshold 2026-03-06 11:23:27 +08:00
He Binglin e880ce192b Merge branch 'bugfix/esp_idf_s2_options_test_esp_pm' into 'master'
fix(esp_pm): change esp32s2 esp32c5 pm_trace io to avoid conflicts with mspi

Closes IDFCI-3647

See merge request espressif/esp-idf!46135
2026-03-03 11:20:14 +08:00
He Binglin 90c845b8c0 Merge branch 'feat/esp_idf_c5c61_pmu_powerdomain_optimization' into 'master'
feat(esp_hw_support): support power domain power-down optimization

Closes PM-671

See merge request espressif/esp-idf!45863
2026-03-02 21:25:06 +08:00
hebinglin aee00ddafc fix(esp_pm): change esp32s2 esp32c5 pm_trace io to avoid conflicts with mspi 2026-03-02 18:02:14 +08:00
hebinglin 242508aa12 feat(esp_hw_support): support power domain power-down optimization 2026-03-02 14:22:48 +08:00
He Binglin 1b547ca0ba Merge branch 'bugfix/esp_idf_s3_deepsleep_dead' into 'master'
fix(hal): fix the issue of dual-core contention for RTC_CNTL regs

See merge request espressif/esp-idf!41680
2026-03-02 11:35:53 +08:00
hebinglin baeabe48c3 fix(hal): fix the issue of dual-core contention for RTC_CNTL regs 2026-02-10 12:08:03 +08:00
hebinglin 5a3a4c1270 change(esp_hw_support): optimize modem low-power clock source array size 2026-02-04 12:36:42 +08:00
hebinglin f0e523db6e change(esp_hw_support): split the APIs in modem_clock_impl.c into modem_clock_impl.h 2026-02-04 12:36:38 +08:00
hebinglin 5049fb6a49 change(esp_hw_support): optimize modem clock configure size 2026-02-04 12:32:06 +08:00
hebinglin 5119bf8ac2 change(esp_hw_support): move modem_clock files to modem folder 2026-02-04 12:02:22 +08:00
hebinglin c282040d0e change(esp_hw_support): add modem clock bit operation defs for related clocks 2026-02-04 11:35:09 +08:00