C.S.M
35f2cca5f2
Merge branch 'refactor/update_locks' into 'master'
...
refactor(hw_support): Use esp_os_enter_critical instead of portENTER_CRITICAL_SAFE
Closes IDF-13397
See merge request espressif/esp-idf!39922
2025-06-19 10:45:51 +08:00
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
d6c483a073
fix(sleep): Fix CPU clk src when restoring CPU frequency after wakeup for c5
2025-06-17 16:56:03 +08:00
Song Ruo Jing
6d293c8582
feat(clk): Add basic clock support for esp32h21
2025-06-16 15:05:32 +08:00
wuzhenghui
65b7e70564
feat(driver): support acquire/release clock source dependency for all drivers
2025-05-27 21:21:38 +08:00
wuzhenghui
113f40a3e0
feat(esp_hw_support): support gate PLL div clock source by reference count
2025-05-27 19:55:23 +08:00
wuzhenghui
34f249a28b
feat(esp_hw_support): support esp_perip_clk_init for esp32c5
2025-05-27 19:55:22 +08:00
hongshuqing
5981ae8a11
feat(pmu): support ldo dbias and ocode read from efuse for chip762
2025-05-21 18:05:05 +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
hongshuqing
6a7191b2d9
feat(pmu): support ldo dbias & ocode read from efuse for chip752mp
2025-05-07 20:13:11 +08:00
harshal.patil
ab229a34b3
feat(cpu_region_protect): Enable basic memory protection for SPIRAM
2025-04-29 11:48:27 +05:30
Jiang Jiang Jian
c508207349
Merge branch 'bugfix/fix_tbtt_interrupt_timing_error' into 'master'
...
fix(pm): fix tbtt interrupt timing error when BLE RTC is configured to use...
Closes WIFIBUG-1151
See merge request espressif/esp-idf!38771
2025-04-29 11:12:30 +08:00
Li Shuai
75976706a6
change(esp_hw_support): update pmu sleep parameters for esp32c5 eco2
2025-04-27 17:58:28 +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
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
laokaiyao
0abc755342
feat(rom): update rom for c5 eco2
...
Breaking: Starting from this commit, ESP-IDF can only support ESP32-C5 v1.0 (ECO2)
2025-04-16 11:01:36 +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
gaoxu
09dbbe4452
refactor(rng): refactor to use hal/ll apis for c5
2025-03-23 17:07:30 +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
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
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
2fce894c82
change(esp_phy): fix some wifi power save issues and optimize phy sleep for esp32c5 eco1 and beta5
2025-01-17 17:16:37 +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
Armando
784e87a9b2
feat(ocode): supported ocode on esp32c5
2025-01-02 10:12:47 +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
nilesh.kale
1e11340061
feat(bootloader_support): enabled RSA based secure boot scheme for ESP32C5 ECO1
...
This commit enabled RSA based secure boot scheme for ESP32C5 ECO1 module.
This update also adds a check to ensure the selected secure boot scheme is
valid for ECO0 modules.
2024-12-03 16:48:56 +05:30
Song Ruo Jing
7e90a41bc9
Merge branch 'refactor/regi2c_mst_clock_enable' into 'master'
...
refactor(regi2c): analog i2c mst clock should be enabled/disabled per usage
Closes IDF-10492 and IDF-10693
See merge request espressif/esp-idf!32682
2024-11-05 15:15:26 +08:00
Jiang Jiang Jian
1f47975472
Merge branch 'bugfix/idf-11064' into 'master'
...
fix some issues on esp32c5 eco1
Closes IDF-11064 and IDF-11066
See merge request espressif/esp-idf!34350
2024-11-04 20:46:01 +08:00
Song Ruo Jing
2cb35a2955
refactor(regi2c): ana i2c master clock is enabled per request
2024-11-04 12:37:17 +08:00
Li Shuai
45ea08b955
fix(esp_hw_support): fix the issue of wifi rx packet loss when switchng soc root clock source
2024-11-04 11:19:29 +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
wuzhenghui
3881d4031d
fix(esp_hw_support): enable all supported slow clock at pmu_init
2024-10-24 14:22:51 +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
Mahavir Jain
2a6be654cd
Merge branch 'ci/enable_memprot_tests_for_esp32c61' into 'master'
...
Clear PMA entries before usage and enable tests for ESP32-C61
Closes IDF-10932
See merge request espressif/esp-idf!33438
2024-09-20 21:32:18 +08:00