C.S.M
4860379677
refactor(hw_support): Use esp_os_enter_critical instead of portENTER_CRITICAL_SAFE in esp_hw_support
2025-06-18 11:23:34 +08:00
Song Ruo Jing
6d293c8582
feat(clk): Add basic clock support for esp32h21
2025-06-16 15:05:32 +08:00
wanckl
783ea76212
feat(soc): c61 eco3 soc header update
2025-05-26 16:04:18 +08:00
hongshuqing
5981ae8a11
feat(pmu): support ldo dbias and ocode read from efuse for chip762
2025-05-21 18:05:05 +08:00
Chai Ji’e
22f63191e6
Merge branch 'feat/support_different_pwr_glitch_dref_to_fit_eco_esp32c61' into 'master'
...
feat(power_glich): power glitch initial for esp32c5/esp32c61, only detect vddpst pwr_glitch, not support esp32c5_eco0 & eco32c61_eco0/1 no longer
See merge request espressif/esp-idf!35206
2025-05-20 16:06:57 +08:00
chaijie@espressif.com
1db79146e9
fix(pmu): fix deepsleep current too big bug for esp32c61
2025-05-20 14:06:15 +08:00
chaijie@espressif.com
24c46f1b89
refactor: move_ocode_to_pmu_init_c6_c5_c61
2025-05-20 11:08:35 +08:00
wanglei
accfa14bcd
fix(esp_hw_support): Force function calibrate_ocode not inlined to flash
2025-05-14 16:24:03 +08:00
harshal.patil
ab229a34b3
feat(cpu_region_protect): Enable basic memory protection for SPIRAM
2025-04-29 11:48:27 +05:30
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
gaoxu
bf335a38f7
fix(adc): fix adc do not enable/disable regi2c registers
2025-04-25 14:39:01 +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
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
Jiang Jiang Jian
b93ac4734b
Merge branch 'bugfix/fix_modem_state_rx_bcn_failed' into 'master'
...
fix(wifi):fix modem state rx bcn failed when tbtt update, support modem state for coexist
Closes WIFI-6538, WIFIBUG-1052, WIFIBUG-128, WIFIBUG-1064, and WIFIBUG-1088
See merge request espressif/esp-idf!37238
2025-04-09 17:58:50 +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
Li Shuai
059c50e8c8
change(esp_hw_support): add interface to calculate slow clock period by clock frequency
2025-04-09 11:41:58 +08:00
wuzhenghui
c84757d35e
fix(esp_hw_support): fix current leakage if ext32k slow clock source not exists
2025-04-08 20:07:47 +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
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
gaoxu
675fe44f1e
refactor(rng): rename/merge some adc_ll functions
2025-03-17 11:52:18 +08:00
Song Ruo Jing
4244d8af54
fix(gpio): fix bad bit shift operation and OOB (h2) in io_mux.c
2025-03-06 20:35:48 +08:00
Armando
c7ee2d7157
refactor(pmu): replace regi2c registers with LL APIs
2025-02-24 11:16:48 +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
Jiang Jiang Jian
65577b9caf
Merge branch 'fix/fix_tsens_power_after_modem_wakeup' into 'master'
...
fix(esp_hw_support): fix tsensor power enable failed after modem state wakeup
See merge request espressif/esp-idf!35886
2025-01-08 10:38:52 +08:00
wuzhenghui
52d05f113e
fix(esp_hw_support): fix lp/hp clock wait time calculation
2025-01-06 10:18:44 +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
wuzhenghui
9732af87f1
change(esp_hw_support): wait pll calibration done in regdma link instead of wait fixed value
2025-01-06 10:18:43 +08:00
Wu Zheng Hui
12bb853c64
Merge branch 'feat/wait_pll_stable_after_sleep_wakeup' into 'master'
...
feat(esp_hw_support): wait pll stable after sleep wakeup
Closes PM-280
See merge request espressif/esp-idf!34313
2024-12-26 14:27:07 +08:00
wuzhenghui
0c0d8cb8e4
fix(esp_hw_support): fix modem power enable failed after modem state wakeup
2024-12-24 10:37:46 +08:00
gaoxu
efd04b7709
feat(adc): support ADC oneshot and continuous on C61
2024-11-08 17:13:26 +08:00
Song Ruo Jing
2cb35a2955
refactor(regi2c): ana i2c master clock is enabled per request
2024-11-04 12:37:17 +08:00
wuzhenghui
f4a6f1cc96
fix(esp_hw_support): fix hp clock wait time calculation after wait pll ready
2024-10-31 20:28:29 +08:00
wuzhenghui
58b1838946
feat(esp_hw_support): wait pll stable after sleep wakeup
2024-10-31 20:28:28 +08:00
Wu Zheng Hui
cceadc4ce8
Merge branch 'fix/fix_ota_slowclock_switching' into 'master'
...
fix(esp_hw_support): fix rtc slow clock missing after the OTA app changes the slow clock source
Closes IDF-11424
See merge request espressif/esp-idf!34416
2024-10-29 21:49:03 +08:00
wuzhenghui
3881d4031d
fix(esp_hw_support): enable all supported slow clock at pmu_init
2024-10-24 14:22:51 +08:00
gaoxu
8ab0cdde60
feat(i2s): support i2s on esp32c61
2024-10-22 15:12:38 +08:00
Song Ruo Jing
7c0b1dc98c
fix(clk): rtc_clk_cpu_freq_set_xtal will always disable CPU's PLL
...
Align C6/H2/C5/C61 rtc_clk_cpu_freq_set_xtal behavior to other chips
For PMU supported chips, powering down CPU PLL in sleep will be done by PMU, not sleep code
2024-10-17 12:41:15 +08:00
Song Ruo Jing
67a87a5fcd
fix(pmu): enable all func clock icg during retention
...
This should only increase a tiny amount of the power consumption in the retention process,
but save debug time since some module register read/write relies not only APB but also func clock.
2024-10-17 12:41:15 +08:00
laokaiyao
4ed1b873b4
fix(gdma): fixed GDMA retention on C5
2024-09-30 17:38:22 +08:00
Li Shuai
8f4cb98df0
change(esp_hw_support): update modem to active state backup clock source for esp32c61
2024-09-23 10:29:48 +08:00
Jiang Jiang Jian
945af68d74
Merge branch 'feature/esp32c61_light_sleep_support_stage_3' into 'master'
...
feat(esp_hw_support): esp32c61 sleep support (Stage 3: support system peripheral sleep retention)
Closes IDF-10384, IDF-10382, and IDF-11004
See merge request espressif/esp-idf!33298
2024-09-21 16:09:36 +08:00
Lou Tianhao
bc0404ae03
fix(ci): some actions taken to pass CI
2024-09-20 14:10:45 +08:00
Lou Tianhao
6be09eb5b8
change(pm): replace SOC_CLK_RC32K_NOT_TO_USE with CONFIG_ESP_CLK_RC32K_NOT_TO_USE
2024-09-20 14:07:18 +08:00
Lou Tianhao
a30ed69f69
feat(pm): support top retention for esp32c61
2024-09-20 14:07:18 +08:00
harshal.patil
7667d9ebbe
fix(cpu_region_protect): Reset PMA entries before using them
...
- ROM uses some PMA entries so we clear such PMA entries before using them in ESP-IDF
2024-09-18 10:25:18 +05:30
Wu Zheng Hui
6abe40e590
Merge branch 'feature/optimize_esp32p4_active_power_eco1' into 'master'
...
feat(system): Optimize esp32p4 active state power consumption
Closes PM-103 and IDF-7688
See merge request espressif/esp-idf!32950
2024-09-11 23:15:29 +08:00